/* ==========================================================================
   The Artist page
   ========================================================================== */



/* ==========================================================================
   The Artist: My Story
   ========================================================================== */
.story {
  position: relative; isolation: isolate; overflow: hidden; padding: 38px 0 40px; background: var(--mm-cream);
}
.story::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 100% 100%, rgba(62, 107, 108, .12), transparent 34%),
    radial-gradient(circle at 0% 0%, rgba(196, 146, 44, .14), transparent 30%);
}
.story__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center;
}

/* Content */
.story__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.story__eyebrow::after { content: ""; width: 32px; height: 1.5px; background: var(--mm-gold); }
.story__title { margin: 0 0 14px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.12; }
.story__title span { display: block; color: var(--mm-gold); }

.story__lead { margin: 0 0 10px; color: var(--mm-dark); font-size: 1.18rem; font-weight: 500; line-height: 1.6; }
.story__text { margin: 0 0 10px; color: var(--mm-dark); font-size: 1rem; line-height: 1.75; }

/* Pull quote */
.story__quote {
  margin: 16px 0 18px; padding: 4px 0 4px 20px; border-left: 3px solid var(--mm-gold);
}
.story__quote p {
  margin: 0; color: var(--mm-dark); font-family: var(--mm-font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-style: italic; font-weight: 500; line-height: 1.45;
}

/* Signature + tags */
.story__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.story__sign { font-family: var(--mm-font-script); font-size: 2.6rem; line-height: 1; color: var(--mm-dark); }
.story__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story__tags li {
  padding: 7px 14px; border: 1.5px solid var(--mm-gold); border-radius: 50px;
  background: rgba(255, 253, 248, .7); color: var(--mm-dark); font-size: .85rem; font-weight: 500; line-height: 1;
}

/* Media: image right with gold offset frame + floating card */
.story__media { position: relative; justify-self: end; width: min(100%, 400px); padding: 0 14px 14px 0; }
.story__media::before {
  content: ""; position: absolute; top: 14px; right: 0; bottom: 0; left: 14px; z-index: 0;
  border: 2px solid var(--mm-gold); border-radius: 18px;
}
.story__figure {
  position: relative; z-index: 1; margin: 0; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 18px; background: #efe6d3; box-shadow: 0 24px 50px rgba(31, 36, 40, .18);
}
.story__figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s ease; }
.story__media:hover .story__figure img { transform: scale(1.04); }

.story__card {
  position: absolute; left: -28px; bottom: 36px; z-index: 2; display: flex; flex-direction: column; gap: 3px;
  padding: 14px 20px; background: #fffdf8; border-left: 4px solid var(--mm-gold); border-radius: 8px;
  box-shadow: 0 16px 36px rgba(31, 36, 40, .16);
}
.story__card strong { color: var(--mm-dark); font-family: var(--mm-font-heading); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.story__card span { color: var(--mm-muted); font-size: .82rem; line-height: 1.3; }

/* Tablet */
@media (max-width: 991px) {
  .story { padding: 34px 0 36px; }
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  .story__media { width: min(100%, 320px); }
  .story__card { left: -16px; bottom: 28px; padding: 12px 16px; }
}

/* Mobile: content first, image below */
@media (max-width: 767px) {
  .story { padding: 30px 0 34px; }
  .story__grid { grid-template-columns: 1fr; gap: 28px; }
  .story__lead { font-size: 1.08rem; }
  .story__media { justify-self: center; width: min(86%, 340px); }
  .story__card { left: -10px; bottom: 22px; }
  .story__sign { font-size: 2.2rem; }
}


/* ==========================================================================
   The Artist: Creative Process
   ========================================================================== */
.process {
  position: relative; isolation: isolate; overflow: hidden; padding: 38px 0 42px;
  background: var(--mm-navy); color: #fff;
}
/* Decorative gold circles */
.process::before, .process::after {
  content: ""; position: absolute; z-index: -1; border: 1.5px solid rgba(196, 146, 44, .35); border-radius: 50%; pointer-events: none;
}
.process::before { top: -160px; right: -120px; width: 380px; height: 380px; }
.process::after  { bottom: -190px; left: -110px; width: 360px; height: 360px; border-color: rgba(255, 255, 255, .12); }

/* Heading */
.process__head { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.process__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.process__eyebrow::before, .process__eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--mm-gold); }
.process__title { margin: 0 0 8px; color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.process__intro { margin: 0; color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.7; }

/* Steps */
.process__list {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
/* Dashed line joining the number badges */
.process__list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 28px; z-index: 0;
  border-top: 1.5px dashed rgba(196, 146, 44, .6);
}
.process__step {
  position: relative; z-index: 1; margin-top: 28px; padding: 40px 22px 24px;
  background: #1a3f4d; border: 1px solid rgba(196, 146, 44, .35); border-radius: 16px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.process__step:hover { transform: translateY(-6px); border-color: var(--mm-gold); background: #1e4757; }

.process__num {
  position: absolute; top: -28px; left: 22px; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--mm-gold); color: var(--mm-navy); box-shadow: 0 0 0 6px var(--mm-navy);
  font-family: var(--mm-font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1;
}
.process__name { margin: 0 0 8px; color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.process__text { margin: 0; color: rgba(255, 255, 255, .82); font-size: .95rem; line-height: 1.7; }

/* Tablet: 2 columns */
@media (max-width: 991px) {
  .process { padding: 34px 0 38px; }
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .process__list::before { display: none; }
}

/* Mobile: single column */
@media (max-width: 575px) {
  .process { padding: 30px 0 34px; }
  .process__head { margin-bottom: 26px; }
  .process__list { grid-template-columns: 1fr; gap: 34px; }
  .process__step { padding: 38px 20px 22px; }
  .process__eyebrow::before, .process__eyebrow::after { width: 20px; }
}

/* ==========================================================================
   The Artist: My Philosophy
   ========================================================================== */
.belief {
  position: relative; isolation: isolate; overflow: hidden; padding: 38px 0 42px;
  background:
    radial-gradient(circle at 0% 100%, rgba(196, 146, 44, .18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(62, 107, 108, .1), transparent 30%),
    #f6efe0;
}
.belief__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }

/* Intro */
.belief__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.belief__eyebrow::after { content: ""; width: 32px; height: 1.5px; background: var(--mm-gold); }
.belief__title { margin: 0 0 12px; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.1; }
.belief__title span { color: var(--mm-gold); }
.belief__text { max-width: 400px; margin: 0 0 16px; color: var(--mm-dark); font-size: 1.02rem; line-height: 1.7; }
.belief__note {
  max-width: 400px; margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--mm-gold);
  color: var(--mm-dark); font-family: var(--mm-font-heading); font-size: 1.15rem; font-style: italic; line-height: 1.5;
}

/* Cards: 2 x 2 */
.belief__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.belief__card {
  position: relative; overflow: hidden; padding: 22px 22px 22px;
  background: #fffdf8; border: 1px solid rgba(196, 146, 44, .4); border-radius: 16px;
  box-shadow: 0 8px 22px rgba(31, 36, 40, .06);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Gold corner circle */
.belief__card::after {
  content: ""; position: absolute; top: -34px; right: -34px; width: 100px; height: 100px;
  border: 1.5px solid rgba(196, 146, 44, .45); border-radius: 50%; transition: transform .4s ease, border-color .3s ease;
}
.belief__num {
  display: block; margin-bottom: 6px; color: var(--mm-gold);
  font-family: var(--mm-font-heading); font-size: 2.8rem; font-weight: 700; line-height: 1; transition: color .3s ease;
}
.belief__name { margin: 0 0 6px; color: var(--mm-dark); font-size: 1.25rem; font-weight: 700; line-height: 1.2; transition: color .3s ease; }
.belief__desc { margin: 0; color: var(--mm-muted); font-size: .94rem; line-height: 1.7; transition: color .3s ease; }

.belief__card:hover { transform: translateY(-6px); background: var(--mm-navy); border-color: var(--mm-navy); box-shadow: 0 18px 36px rgba(18, 51, 63, .28); }
.belief__card:hover::after { transform: scale(1.4); border-color: rgba(196, 146, 44, .8); }
.belief__card:hover .belief__name { color: #fff; }
.belief__card:hover .belief__desc { color: rgba(255, 255, 255, .85); }

/* Tablet: intro on top, cards stay 2 columns */
@media (max-width: 991px) {
  .belief { padding: 34px 0 38px; }
  .belief__grid { grid-template-columns: 1fr; gap: 24px; }
  .belief__text, .belief__note { max-width: 560px; }
}

/* Mobile: single column */
@media (max-width: 575px) {
  .belief { padding: 30px 0 34px; }
  .belief__grid { gap: 20px; }
  .belief__list { grid-template-columns: 1fr; gap: 14px; }
  .belief__card { padding: 20px; }
  .belief__num { font-size: 2.4rem; }
}

@media (hover: none) {
  .belief__card:hover { transform: none; background: #fffdf8; border-color: rgba(196, 146, 44, .4); box-shadow: 0 8px 22px rgba(31, 36, 40, .06); }
  .belief__card:hover .belief__name { color: var(--mm-dark); }
  .belief__card:hover .belief__desc { color: var(--mm-muted); }
}

/* ==========================================================================
   The Artist: CTA band (teal)
   ========================================================================== */
.cta-band {
  --brush-w: clamp(220px, 26vw, 420px);
  position: relative; isolation: isolate; overflow: hidden; padding: 44px 0;
  background: linear-gradient(120deg, #2f5d60 0%, #1f4a50 55%, #143842 100%);
  color: #fff;
}
/* Soft light glow behind the content */
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .1), transparent 45%);
}
/* Brush artwork, half hidden behind the right edge (mirrored) */
.cta-band__brush {
  position: absolute; top: 50%; right: calc(var(--brush-w) / -2); z-index: -1;
  width: var(--brush-w); height: auto; max-width: none; transform: translateY(-50%) scaleX(-1);
  opacity: .9; pointer-events: none; user-select: none;
}

.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-band__content { max-width: 640px; }

.cta-band__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px;
  color: rgba(255, 255, 255, .85); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.cta-band__eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--mm-terracotta); }

.cta-band__title { margin: 0 0 12px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.15; }
.cta-band__title span {
  display: inline; color: #fff;
  background: linear-gradient(transparent 68%, rgba(195, 96, 47, .9) 68%);
  padding: 0 .08em;
}
.cta-band__text { max-width: 500px; margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.02rem; line-height: 1.7; }

/* Actions */
.cta-band__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.cta-band__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px; border-radius: 50px; background: #fff; color: #143842;
  font-family: var(--mm-font-body); font-size: 1.02rem; font-weight: 600; line-height: 1; white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.cta-band__btn svg { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .25s ease; }
.cta-band__btn:hover, .cta-band__btn:focus-visible {
  background: var(--mm-terracotta); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
}
.cta-band__btn:hover svg { transform: translateX(5px); }

.cta-band__phone { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.cta-band__phone-icon {
  flex: 0 0 46px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.cta-band__phone-icon svg { width: 20px; height: 20px; }
.cta-band__phone:hover .cta-band__phone-icon { background: #fff; color: #143842; border-color: #fff; }
.cta-band__phone-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.cta-band__phone-text small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.cta-band__phone-text strong { font-family: var(--mm-font-heading); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.cta-band__phone:hover { color: #fff; }

/* Tablet */
@media (max-width: 991px) {
  .cta-band { --brush-w: clamp(200px, 30vw, 300px); padding: 38px 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
}

/* Mobile */
@media (max-width: 575px) {
  .cta-band { --brush-w: 180px; padding: 34px 0; }
  .cta-band__brush { opacity: .45; }
  .cta-band__eyebrow { font-size: .78rem; }
  .cta-band__text { font-size: 1rem; }
  .cta-band__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
  .cta-band__btn { width: 100%; padding: 16px 24px; }
  .cta-band__phone { justify-content: center; }
}



/* ==========================================================================
   The Artist: Max at Work (gallery)
   ========================================================================== */
.work { padding: 38px 0 44px; background: #fffdf8; scroll-margin-top: var(--mm-header-h); }

.work__head { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.work__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px;
  color: var(--mm-gold); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.work__eyebrow::before, .work__eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--mm-gold); }
.work__title { margin: 0 0 8px; color: var(--mm-navy); font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; }
.work__intro { margin: 0; color: var(--mm-muted); font-size: 1rem; line-height: 1.7; }

/* 4 equal tiles per row */
.work__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.work__item {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: 14px; background: #e9e1d2; box-shadow: 0 8px 22px rgba(31, 36, 40, .08); cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.work__item:hover, .work__item:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(31, 36, 40, .18); }
.work__item:focus-visible { outline: 3px solid var(--mm-gold); outline-offset: 3px; }

.work__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work__item:hover .work__img, .work__item:focus-visible .work__img { transform: scale(1.07); }

/* Hover veil with a round "+" */
.work__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: rgba(18, 51, 63, .38);
}
.work__zoom {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--mm-gold); opacity: 0; transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease;
}
.work__zoom::before, .work__zoom::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--mm-navy); border-radius: 2px; }
.work__zoom::before { width: 18px; height: 2px; margin: -1px 0 0 -9px; }
.work__zoom::after { width: 2px; height: 18px; margin: -9px 0 0 -1px; }
.work__item:hover::after, .work__item:focus-visible::after { opacity: 1; }
.work__item:hover .work__zoom, .work__item:focus-visible .work__zoom { opacity: 1; transform: scale(1); }

/* Admin-only empty note */
.work__empty { max-width: 560px; margin: 0 auto; padding: 36px 24px; border: 1.5px dashed rgba(196, 146, 44, .6); border-radius: 16px; text-align: center; }
.work__empty p { margin: 0; color: var(--mm-muted); line-height: 1.7; }

/* Tablet: 3 per row */
@media (max-width: 991px) {
  .work { padding: 34px 0 38px; }
  .work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

/* Mobile: 2 per row */
@media (max-width: 575px) {
  .work { padding: 30px 0 34px; }
  .work__head { margin-bottom: 22px; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work__item { border-radius: 10px; }
}

/* Touch screens have no hover */
@media (hover: none) {
  .work__item::after, .work__zoom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .work__item, .work__img, .work__item::after, .work__zoom { transition: none; }
}