/* ==========================================================================
   Topaz Art Academy — sections.css
   hero, promo popup, achievements + team, problem, benefits,
   gallery + free-class band, booking, contact, footer, back-to-top
   ========================================================================== */

/* ------------------------------------------------------------------
   HERO — full-bleed. Pending: real photography (leave blank until
   delivered). Brand title + subheading + CTA over the field.
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: clamp(560px, 78vh, 840px);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: hero-settle 2.4s var(--ease-soft) both;
}

@keyframes hero-settle {
  from { transform: scale(1.06); opacity: 0.4; }
  to   { transform: scale(1);    opacity: 1; }
}

/* slideshow — stacked photos crossfade; the active one slowly zooms and
   drifts. Leaving, a slide keeps its zoom while it fades (the transform
   only resets after the fade, once it's invisible). js/main.js swaps
   .is-active every --hero-interval. */
.hero { --hero-interval: 6.5s; background: var(--bg-light); }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  /* a gentle lift — the photo stays close to the original; the wash
     in .hero-scrim does the heavy lifting behind the text */
  filter: brightness(1.04) contrast(0.97) saturate(0.98);
  transition:
    opacity 1.6s var(--ease-soft),
    transform 0s linear 1.6s;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.09) translate(var(--drift-x, 0), var(--drift-y, 0));
  transition:
    opacity 1.6s var(--ease-soft),
    transform 9s linear;
}
/* each photo drifts its own way */
.hero-slide:nth-child(1) { transform-origin: 50% 60%; --drift-x: -1%; }
.hero-slide:nth-child(2) { transform-origin: 30% 40%; --drift-x: 1.2%; --drift-y: -0.6%; }
.hero-slide:nth-child(3) { transform-origin: 50% 30%; --drift-y: 1%; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { transform: none; }
}

/* light plaster wash so the dark title and copy read over any photo —
   a soft glow behind the lower-left text stack that falls away
   quickly, so most of the photo shows at close to its own tones */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 60% at 22% 76%,
      rgba(237, 235, 228, 0.62) 0%,
      rgba(237, 235, 228, 0.32) 45%,
      rgba(237, 235, 228, 0) 100%
    ),
    linear-gradient(to top, rgba(237, 235, 228, 0.28) 0%, rgba(237, 235, 228, 0) 26%);
}

/* progress dots — bottom-right, level with the CTA. The active dot's
   bar fills over one interval, so it doubles as a timer. */
.hero-dots {
  position: absolute;
  right: clamp(18px, 2.4vw, 48px);
  bottom: clamp(56px, 9.6vh, 116px);
  z-index: 3;
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: whisper-in 1.4s var(--ease-soft) 1.3s both;
}
.hero-dot {
  position: relative;
  width: 44px;
  height: 22px;            /* tall hit area around a 2px bar */
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hero-dot::before,
.hero-dot span {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
}
.hero-dot::before {
  width: 100%;
  background: rgba(30, 42, 46, 0.22);
  transition: background 0.3s var(--ease-out);
}
.hero-dot:hover::before { background: rgba(30, 42, 46, 0.45); }
.hero-dot span {
  width: 0;
  background: var(--gold);
}
.hero-dot.is-active span {
  animation: hero-dot-fill var(--hero-interval) linear both;
}
.hero.is-paused .hero-dot.is-active span { animation-play-state: paused; }
.hero-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@keyframes hero-dot-fill {
  from { width: 0; }
  to   { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot.is-active span { animation: none; width: 100%; }
}

/* faint small text behind the big title */
.hero-whisper {
  position: absolute;
  right: clamp(16px, 2.4vw, 46px);
  bottom: 30px;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.9em;
  text-transform: uppercase;
  color: rgba(30, 42, 46, 0.4);
  white-space: nowrap;
  opacity: 0;
  animation: whisper-in 1.6s var(--ease-soft) 1s both;
}

@keyframes whisper-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* sub + title + CTA stack in a normal column, anchored lower-left.
   Flex flow (not absolute offsets) means they can never overlap, and
   the CTA is never a relative in-flow child of the hero. */
.hero-copy {
  position: absolute;
  left: clamp(18px, 2.4vw, 48px);
  bottom: clamp(48px, 9vh, 108px);
  right: clamp(18px, 2.4vw, 48px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.4vh, 28px);
}

/* subheading — letter-spaced condensed, sits above the big title */
.hero-sub {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: clamp(13px, 1.5vw, 21px);
  color: var(--ink);
  opacity: 0;
  animation: sub-in 1.2s var(--ease-out) 0.7s both;
}

.hero-sub .hero-sub-dot {
  color: var(--gold);
  margin: 0 6px;
}

@keyframes sub-in {
  from { opacity: 0; transform: translateY(18px); letter-spacing: 0.5em; }
  to   { opacity: 1; transform: none;            letter-spacing: 0.34em; }
}

/* giant textured brand title — single line, gold metallic */
.hero-title {
  font-size: clamp(54px, 8.8vw, 168px);
  white-space: nowrap;
  opacity: 0;
  animation: title-rise 1.5s var(--ease-out) 0.35s both;
}

@keyframes title-rise {
  from { opacity: 0; transform: translateY(46px); letter-spacing: 0.06em; }
  to   { opacity: 1; transform: none;           letter-spacing: 0.005em; }
}

/* the always-visible call to action — flex child of .hero-copy, so the
   .btn.pulse position:relative is harmless (flex item, zero offset) */
.btn.hero-cta {
  opacity: 0;
  animation: sub-in 1.1s var(--ease-out) 1s both;
}

/* ------------------------------------------------------------------
   PROMO POPUP — free trial class. Same timing behavior as the
   template: hidden until scrolled past 100px, pops in centered,
   stays until dismissed (X / scrim / Escape), once per session.
   ------------------------------------------------------------------ */
.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 300; /* above the fixed header (z 100) and back-to-top (150) */
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.8s;
}

.promo-overlay.open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.promo-scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 27, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
}

.promo-overlay.open .promo-scrim { opacity: 1; }

.promo-modal {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 56px));
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: #F8F6F0;
  border: 1px solid rgba(30, 42, 46, 0.08);
  border-radius: 3px;
  box-shadow: 0 34px 120px rgba(16, 24, 27, 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 56px 48px;
  text-align: center;
  opacity: 0;
  transform: translateY(34px) scale(0.94);
  transition:
    opacity 0.8s var(--ease-soft),
    transform 0.8s var(--ease-soft);
}

.promo-overlay.open .promo-modal {
  opacity: 1;
  transform: none;
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 42, 46, 0.2);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(248, 246, 240, 0.8);
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.4s var(--ease-soft);
}

.promo-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #F8F6F0;
  transform: rotate(90deg);
}

.promo-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.promo-close-x {
  width: 14px;
  height: 14px;
}

.promo-modal .eyebrow { color: var(--teal-deep); }

.promo-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.12;
  color: var(--ink);
}

.promo-monogram {
  width: 104px;
  height: auto;
  aspect-ratio: 976 / 807;
  object-fit: contain;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(176, 132, 56, 0.5);
  padding-bottom: 5px;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.promo-link:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.promo-link .arrow { transition: transform 0.4s var(--ease-out); }
.promo-link:hover .arrow { transform: translateX(5px); }

/* ------------------------------------------------------------------
   ACHIEVEMENTS — dark teal. Student wins first, then the team.
   (template's philosophy + about sections, fused and reordered)
   ------------------------------------------------------------------ */
.achievements {
  background: var(--bg-philosophy);
  color: var(--cream);
  padding: clamp(120px, 16vh, 220px) 0 clamp(110px, 14vh, 200px);
}

.ach-head {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.ach-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.1;
  margin-top: 22px;
}

/* three successful-artist cards — equal-size 4:5 portraits in a gold
   frame; the description blurs until the dropdown is opened */
.collage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 0 var(--pad-x);
  max-width: var(--content-max);
  margin: clamp(80px, 12vh, 150px) auto 0;
}

/* one card = gold frame + caption */
.artist {
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
}

/* the frame — double gold line with a soft inner glow */
.artist-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;               /* identical size for all three */
  background: #14262D;
  padding: clamp(7px, 0.8vw, 10px);
  box-shadow:
    0 0 0 1px rgba(200, 154, 78, 0.75),
    0 0 0 7px rgba(200, 154, 78, 0.10),
    0 0 0 8px rgba(200, 154, 78, 0.42),
    0 28px 64px rgba(0, 0, 0, 0.42);
  transition: transform 1s var(--ease-soft), box-shadow 1s var(--ease-soft);
}

.artist:hover .artist-frame,
.artist:focus-within .artist-frame {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(200, 154, 78, 0.95),
    0 0 0 8px rgba(200, 154, 78, 0.14),
    0 0 0 9px rgba(200, 154, 78, 0.55),
    0 40px 84px rgba(0, 0, 0, 0.55);
}

.artist-frame img {
  position: absolute;
  inset: clamp(7px, 0.8vw, 10px);
  width: calc(100% - 2 * clamp(7px, 0.8vw, 10px));
  height: calc(100% - 2 * clamp(7px, 0.8vw, 10px));
  object-fit: cover;
  object-position: center;
  transition: transform 1.3s var(--ease-soft);
}

.artist:hover .artist-frame img,
.artist:focus-within .artist-frame img { transform: scale(1.055); }

/* caption under the image */
.artist-body {
  padding: clamp(22px, 2.4vw, 30px) clamp(6px, 0.7vw, 10px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.artist-role {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0.92;
}

.artist-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.18;
  color: var(--cream);
  margin-top: 12px;
}

/* the description — a uniformly-blurred teaser (the title above stays crisp).
   Clicking the dropdown unblurs and expands all the details. Closing snaps
   back up quickly; opening eases in gracefully. */
.artist-details {
  overflow: hidden;
  max-height: 58px;              /* ~2 lines peek through */
  filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
  transition:
    max-height 0.3s var(--ease-out),   /* fast, immediate collapse */
    filter 0.7s var(--ease-soft),
    -webkit-mask-image 0.7s var(--ease-soft),
    mask-image 0.7s var(--ease-soft);
  will-change: max-height, filter;
}

.artist-details > p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--cream-soft);
}

.artist.is-open .artist-details {
  max-height: 260px;
  filter: blur(0);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 1) 100%);
          mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 1) 100%);
  transition:
    max-height 0.8s var(--ease-soft),  /* graceful open */
    filter 0.7s var(--ease-soft),
    -webkit-mask-image 0.7s var(--ease-soft),
    mask-image 0.7s var(--ease-soft);
}

.artist.is-open .artist-details > p {
  padding-bottom: 16px;
  transition: padding-bottom 0.8s var(--ease-soft);
}

/* the dropdown arrow */
.artist-toggle {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px 9px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(200, 154, 78, 0.35);
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), gap 0.35s var(--ease-out);
}

.artist-toggle:hover {
  color: var(--cream);
  border-color: rgba(200, 154, 78, 0.85);
  gap: 13px;
}

.artist-toggle:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
}

.artist-toggle .toggle-chev {
  width: 15px;
  height: 15px;
  transition: transform 0.55s var(--ease-soft);
}

.artist.is-open .artist-toggle .toggle-chev { transform: rotate(180deg); }
.artist.is-open .artist-toggle .toggle-label { transition: letter-spacing 0.4s var(--ease-out); letter-spacing: 0.24em; }

/* the numbers that do the talking */
.ach-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content-max);
  margin: clamp(110px, 16vh, 200px) auto 0;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--rule-light);
}

.ach-stat {
  padding: clamp(30px, 4vh, 52px) clamp(18px, 2vw, 40px);
}

.ach-stat + .ach-stat { border-left: 1px solid var(--rule-light); }

.ach-stat .stat-num {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1;
  color: var(--gold-bright);
}

.ach-stat .stat-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

/* team introduction */
.team-block {
  max-width: 900px;
  margin: clamp(120px, 18vh, 220px) auto 0;
  padding: 0 var(--pad-x);
  text-align: center;
}

.team-block h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.2;
  margin-top: 24px;
}

.team-block .team-copy {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--cream-soft);
}

.team-block .cta-link { margin-top: 44px; }

/* ------------------------------------------------------------------
   PROBLEM — the three things every student says, then the pivot
   ------------------------------------------------------------------ */
.problem {
  background: var(--bg-lighter);
  padding: clamp(130px, 18vh, 240px) 0 clamp(140px, 20vh, 260px);
}

.problem .container {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  column-gap: clamp(60px, 8vw, 130px);
  align-items: start;
}

.problem h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.12;
  margin-top: 22px;
  max-width: 12ch;
}

.problem-list {
  display: flex;
  flex-direction: column;
}

.problem-list .p-quote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px clamp(24px, 3vw, 44px);
  margin-bottom: clamp(36px, 5vh, 60px);
}

.problem-list .p-quote:last-child { margin-bottom: 0; }

.problem-list .p-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.4;
  color: var(--ink-soft);
}

/* the pivot — "that's where we come in" */
.problem-close {
  grid-column: 1 / -1;
  margin-top: clamp(90px, 13vh, 160px);
  text-align: center;
}

.problem-close .close-line {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.15;
  color: var(--ink);
}

.problem-close .close-line em {
  font-style: normal;
  color: var(--gold);
}

.problem-close p.close-sub {
  margin: 24px auto 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.problem-close .btn { margin-top: 46px; }

/* ------------------------------------------------------------------
   BENEFITS — one wide primary band, then three columns
   ------------------------------------------------------------------ */
.benefits {
  background: var(--bg-light);
  padding: clamp(130px, 18vh, 240px) 0;
}

.benefits .section-head {
  max-width: var(--content-max);
  margin: 0 auto clamp(70px, 10vh, 130px);
  padding: 0 var(--pad-x);
  text-align: center;
}

.benefits h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.1;
  margin-top: 22px;
}

/* "The Studio, The Advantage" — the loudest heading in the section.
   Bigger than its siblings, a word-level stagger on scroll, and the
   two key words each wear a different color + a painted stroke that
   draws in. The h2 keeps .reveal only as the in-view trigger: the
   block itself no longer drifts — the words carry the motion. */
.benefits .benefits-title {
  font-size: clamp(52px, 6.6vw, 112px);
  line-height: 1.08;
  letter-spacing: 0.002em;
  opacity: 1;
  transform: none;
  transition: none;
}

.benefits .benefits-title .bt-line { display: block; }

/* words — hidden only while the script is running (html.js) */
html.js .benefits .benefits-title .aw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.benefits .benefits-title .aw.aw-1 { transition-delay: 0.05s; }
.benefits .benefits-title .aw.aw-2 { transition-delay: 0.16s; }
.benefits .benefits-title .bt-line:nth-child(2) .aw.aw-1 { transition-delay: 0.26s; }
.benefits .benefits-title .bt-line:nth-child(2) .aw.aw-2 { transition-delay: 0.37s; }
/* html.js prefix (and the .in-view class) so this wins over the
   hidden-state rule above — same element, higher specificity */
html.js .benefits .benefits-title.in-view .aw {
  opacity: 1;
  transform: none;
}

/* key words — a different color each, anchored for the stroke */
.benefits .benefits-title .aw-teal {
  position: relative;
  color: var(--teal-deep);
}
.benefits .benefits-title .aw-gold {
  position: relative;
  color: var(--gold-deep);
}

/* the painted stroke under each key word — draws in left to right,
   slightly tilted, like a brush mark. "Studio," keeps the comma off
   the stroke; "Advantage" overhangs a touch for a deliberate finish. */
.benefits .benefits-title .aw-stroke {
  position: absolute;
  left: 0;
  bottom: -0.055em;
  height: 0.07em;
  background: currentColor;
  border-radius: 0.6em 0.18em 0.5em 0.2em;
}
html.js .benefits .benefits-title .aw-stroke {
  transform: scaleX(0) rotate(-1.4deg);
  transform-origin: left center;
  transition: transform 0.85s var(--ease-out) 0.55s;
}
.benefits .benefits-title .aw-teal .aw-stroke { width: 85%; }
.benefits .benefits-title .aw-gold .aw-stroke { width: 106%; }
.benefits .benefits-title .bt-line:nth-child(2) .aw-stroke {
  transition-delay: 0.78s;
}
html.js .benefits .benefits-title.in-view .aw-stroke {
  transform: scaleX(1) rotate(-1.4deg);
}

@media (prefers-reduced-motion: reduce) {
  html.js .benefits .benefits-title .aw {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.js .benefits .benefits-title .aw-stroke {
    transform: scaleX(1) rotate(-1.4deg);
    transition: none;
  }
}

.benefit-band {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.benefit-band-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-lighter);
  border: 1px solid var(--rule-dark);
  padding: clamp(32px, 4.5vh, 52px) clamp(32px, 4vw, 64px);
}

/* band motion — once the band scrolls in: a gold rule draws across the
   top, the headline settles from wide tracking, the dot pops, the
   sub-line slides in, and a soft gold glint crosses the band (again on
   hover). Hidden states are gated on html.js. */
.benefit-band-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright) 60%, rgba(200, 154, 78, 0));
  transform-origin: left center;
}
.benefit-band-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    rgba(200, 154, 78, 0) 35%,
    rgba(200, 154, 78, 0.16) 50%,
    rgba(200, 154, 78, 0) 65%);
  transform: translateX(-110%);
}

html.js .benefit-band-inner::before {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out) 0.3s;
}
html.js .benefit-band-inner h3 {
  opacity: 0;
  letter-spacing: 0.3em;
  transition:
    opacity 0.9s var(--ease-out) 0.25s,
    letter-spacing 1.2s var(--ease-out) 0.25s;
}
html.js .benefit-band-inner h3 .amp {
  display: inline-block;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s;
}
html.js .benefit-band-inner .band-sub {
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.8s var(--ease-out) 0.7s,
    transform 0.8s var(--ease-out) 0.7s;
}

html.js .benefit-band.in-view .benefit-band-inner::before { transform: scaleX(1); }
html.js .benefit-band.in-view .benefit-band-inner h3 {
  opacity: 1;
  letter-spacing: 0.1em;
}
html.js .benefit-band.in-view .benefit-band-inner h3 .amp { transform: scale(1); }
html.js .benefit-band.in-view .benefit-band-inner .band-sub {
  opacity: 1;
  transform: none;
}
.benefit-band.in-view .benefit-band-inner::after {
  animation: band-glint 1.6s var(--ease-soft) 0.9s both;
}
.benefit-band.in-view .benefit-band-inner:hover::after {
  animation: band-glint-hover 1.3s var(--ease-soft) both;
}

@keyframes band-glint {
  from { transform: translateX(-110%); }
  to   { transform: translateX(110%); }
}
/* same motion under a new name so hover restarts it */
@keyframes band-glint-hover {
  from { transform: translateX(-110%); }
  to   { transform: translateX(110%); }
}

.benefit-band-inner h3 {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--ink);
}

.benefit-band-inner h3 .amp { color: var(--gold); }

.benefit-band-inner .band-sub {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* what's included — one centered paragraph under the band. The three
   key phrases get a gold marker swipe, one after another, once the
   paragraph is in view. */
.benefit-copy {
  max-width: calc(880px + 2 * var(--pad-x));
  margin: clamp(56px, 8vh, 100px) auto 0;
  padding: 0 var(--pad-x);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(21px, 1.95vw, 29px);
  line-height: 1.62;
  color: var(--ink-soft);
}

.benefit-copy .hl {
  color: var(--ink);
  background-image: linear-gradient(rgba(200, 154, 78, 0.3), rgba(200, 154, 78, 0.3));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% 0.4em;
}
html.js .benefit-copy .hl {
  background-size: 0% 0.4em;
  transition: background-size 0.9s var(--ease-out) 0.9s;
}
html.js .benefit-copy .hl:nth-of-type(2) { transition-delay: 1.25s; }
html.js .benefit-copy .hl:nth-of-type(3) { transition-delay: 1.6s; }
html.js .benefit-copy.in-view .hl { background-size: 100% 0.4em; }

/* ------------------------------------------------------------------
   GALLERY — the work. Mosaic collage; hover reveals the student.
   ------------------------------------------------------------------ */
.gallery {
  background: var(--bg-light);
  padding: clamp(130px, 18vh, 240px) 0 0;
}

.gallery .section-head {
  max-width: var(--content-max);
  margin: 0 auto clamp(60px, 9vh, 110px);
  padding: 0 var(--pad-x);
  text-align: center;
}

.gallery h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.1;
  margin-top: 22px;
}

.gallery .section-sub {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.gallery .section-head .btn { margin-top: 44px; }

.gallery-collage {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  gap: 14px;
}

/* top: four columns of alternating tall (3-row) and short (2-row)
   tiles — every column comes out 5 rows, so top and bottom stay flat */
.gc-top {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(96px, 9.5vw, 150px);
}

/* bottom: three square tiles under the free-class band */
.gc-bottom {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: clamp(90px, 12vh, 160px);
}
.gc-bottom .g-tile { aspect-ratio: 1 / 1; }

/* the frame — a slimmer take on the successful-artist frames: a dark
   teal inner border, then a double gold line (1px line, faint gold
   band, second line) and a soft drop shadow. The rings stay within
   half the grid gap so neighbouring frames never touch. */
.g-tile {
  position: relative;
  overflow: hidden;
  background: #14262D;
  box-shadow:
    0 0 0 1px rgba(200, 154, 78, 0.75),
    0 0 0 4px rgba(200, 154, 78, 0.12),
    0 0 0 5px rgba(200, 154, 78, 0.45),
    0 16px 34px rgba(23, 36, 42, 0.2);
  /* keeps the scroll-reveal timing (base.css .reveal) and adds the
     ring glow, which runs without the reveal delay */
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    box-shadow 0.7s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s;
}

.g-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-soft), filter 0.6s var(--ease-soft);
}

/* the dark inner border — drawn as an overlay so the image zoom stays
   inside it */
.g-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 6px #14262D;
  transition: box-shadow 0.7s var(--ease-soft);
}

/* hover — the same feel as the artist frames: the gold rings brighten
   and the shadow deepens, the image slowly zooms, the border narrows */
.g-tile:hover {
  box-shadow:
    0 0 0 1px rgba(200, 154, 78, 0.95),
    0 0 0 4px rgba(200, 154, 78, 0.18),
    0 0 0 5px rgba(200, 154, 78, 0.6),
    0 22px 44px rgba(23, 36, 42, 0.28);
}
.g-tile:hover img {
  transform: scale(1.05);
  filter: brightness(1.04);
}
.g-tile:hover::after { box-shadow: inset 0 0 0 4px #14262D; }

/* invalid-field nudge */
.field-shake { animation: field-shake 0.4s var(--ease-out); }

@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  55% { transform: translateX(5px); }
  80% { transform: translateX(-2px); }
}

/* booking success panel (js swaps the form for this) */
.form-success {
  text-align: center;
  padding: clamp(40px, 6vh, 80px) 0;
}

.form-success .fs-mark {
  width: 96px;
  height: auto;
  aspect-ratio: 976 / 807;
  object-fit: contain;
  margin: 0 auto 28px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  color: var(--ink);
}

.form-success p {
  margin: 20px auto 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.form-success .cta-link { margin-top: 40px; }

/* Calendly scheduler (js swaps the form for this after a valid submit).
   The card keeps its frame but drops most side padding so Calendly's
   two-column layout has room. */
.book-form.is-scheduling {
  max-width: 1060px;
  padding: clamp(36px, 5vw, 64px) clamp(8px, 2vw, 28px) clamp(16px, 2vw, 28px);
}

.cal-intro {
  text-align: center;
  padding: 0 16px;
  margin-bottom: clamp(16px, 3vh, 28px);
}

.cal-intro h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
  color: var(--ink);
}

.cal-intro p {
  margin: 14px auto 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* Calendly's iframe fills this box; resize:true then sets the box's
   height inline to fit whatever step Calendly is showing */
.cal-embed {
  min-width: 300px;
  height: 700px;
}

.cal-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.cal-loading {
  padding: 80px 16px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.cal-loading a { color: var(--teal-deep); text-decoration: underline; }

/* mosaic spans — auto-placement drops these into a brick pattern:
   col 1 tall/short, col 2 short/tall, col 3 tall/short, col 4 short/tall */
.gc-top .g-tile { grid-row: span 2; }
.gc-top .g-tile:nth-child(1),
.gc-top .g-tile:nth-child(3),
.gc-top .g-tile:nth-child(5),
.gc-top .g-tile:nth-child(6) { grid-row: span 3; }

/* free class band — the pivot in the middle of the work */
.free-band-wrap {
  max-width: var(--content-max);
  margin: clamp(48px, 7vh, 90px) auto;
  padding: 0 var(--pad-x);
}

.free-band {
  background: var(--bg-philosophy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 80px);
  flex-wrap: wrap;
  padding: clamp(56px, 8vh, 96px) clamp(40px, 6vw, 90px);
}

.free-band .fb-copy h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.15;
}

.free-band .fb-copy p {
  margin-top: 16px;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--cream-soft);
}

.free-band .btn { flex-shrink: 0; }

/* ------------------------------------------------------------------
   BOOKING — the form. Warm greige, underline inputs, gold submit.
   ------------------------------------------------------------------ */
.booking {
  background: var(--bg-contact);
  padding: clamp(130px, 18vh, 240px) 0;
}

.booking .section-head {
  max-width: var(--content-max);
  margin: 0 auto clamp(70px, 10vh, 130px);
  padding: 0 var(--pad-x);
  text-align: center;
}

.booking h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.1;
  margin-top: 22px;
}

.booking .section-sub {
  margin: 24px auto 0;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.9;
  color: #57534A;
}

/* The form lives inside a framed card — light plaster panel on the
   warm greige section, dark ink outline, a thin topaz hairline along
   the top edge, and a soft layered shadow. The frame makes the form
   read as the one important object on the page. */
.book-form {
  max-width: 920px;
  margin: 0 auto;
  background: #F5F3EC;
  border: 1px solid rgba(30, 42, 46, 0.45);
  box-shadow:
    0 0 0 6px rgba(245, 243, 236, 0.35),
    0 34px 90px rgba(30, 42, 46, 0.16),
    0 12px 28px rgba(30, 42, 46, 0.10);
  padding: clamp(44px, 6.5vw, 84px) clamp(28px, 5.5vw, 84px) clamp(44px, 6vw, 72px);
  position: relative;
}

/* topaz hairline along the top edge of the card */
.book-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(176, 132, 56, 0) 0%,
    rgba(176, 132, 56, 0.9) 18%, rgba(176, 132, 56, 0.9) 82%,
    rgba(176, 132, 56, 0) 100%);
}

.book-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(34px, 4.5vw, 56px) clamp(30px, 4vw, 60px);
}

.field { display: block; }

.field.full { grid-column: 1 / -1; }

.field .field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(30, 42, 46, 0.35);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(85, 136, 145, 0.22);
}

.field textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(30, 42, 46, 0.42); }

/* Primary goal — selector chips (replaces the old dropdown).
   One is always active: the active chip is filled, the rest are
   outlined; hover lifts them toward the fill. */
.goal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.goal-chip {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid rgba(30, 42, 46, 0.4);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-out);
}

.goal-chip:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30, 42, 46, 0.12);
}

.goal-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.goal-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #F7F3EA;
  box-shadow: 0 10px 22px rgba(176, 132, 56, 0.32);
}

.goal-chip.is-active:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* Age Range / Favourite Art Type — option chips, same look as the
   goal chips (and lead.html), but one active or none. When the field
   is unanswered, a faint italic hint sits under the row. */
.opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.opt-chips::after {
  content: attr(data-hint);
  display: none;
  flex-basis: 100%;
  font-size: 13px;
  font-style: italic;
  color: rgba(30, 42, 46, 0.42);
  margin-top: 4px;
}

.opt-chips.is-empty::after { display: block; }

.opt-chip {
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid rgba(30, 42, 46, 0.4);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-soft),
    box-shadow 0.3s var(--ease-out);
}

.opt-chip:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30, 42, 46, 0.12);
}

.opt-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.opt-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #F7F3EA;
  box-shadow: 0 10px 22px rgba(176, 132, 56, 0.32);
}

.opt-chip.is-active:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* quiet note under the age chips */
.field .opt-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8A857A;
}

/* invalid nudge (rust) for the framed inputs */
.field input.invalid,
.field textarea.invalid {
  border-color: #A8502F;
  box-shadow: 0 0 0 3px rgba(168, 80, 47, 0.16);
}

/* ...and for an unanswered chip row */
.opt-chips.invalid {
  outline: 1px solid rgba(168, 80, 47, 0.55);
  outline-offset: 8px;
  border-radius: 4px;
}

/* loading state on the submit while the hand-off to booking.html runs */
.form-foot .btn:disabled { opacity: 0.7; cursor: wait; }
.btn .spin {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(247, 243, 234, 0.4);
  border-top-color: #F7F3EA;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  margin-top: clamp(50px, 7vh, 84px);
  text-align: center;
}

.form-foot .btn { min-width: 320px; }

.form-foot .form-fine {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8A857A;
}

/* ------------------------------------------------------------------
   CONTACT — visit / call / hours, three wide columns
   ------------------------------------------------------------------ */
.contact {
  position: relative;
  background: var(--bg-contact);
  border-top: 1px solid var(--rule-dark);
  overflow: hidden;
  padding: clamp(120px, 16vh, 220px) 0 clamp(140px, 18vh, 240px);
}

.contact h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(70px, 10vh, 130px);
  max-width: var(--content-max);
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.contact-col h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 26px;
}

.contact-col p,
.contact-col a {
  display: block;
  font-size: 15px;
  line-height: 2.1;
  color: #4A483F;
}

.contact-col a.contact-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease-out);
}

.contact-col a.contact-link:hover { color: var(--ink); }

/* hours list */
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  line-height: 2.15;
  color: #4A483F;
}

.hours-row .hr-note {
  font-style: italic;
  font-size: 12.5px;
  color: #8A857A;
}

/* subtle studio silhouettes — easel + canvas strokes, not leaves */
.botanicals {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 75%;
  pointer-events: none;
  z-index: 0;
}

.botanicals .b {
  position: absolute;
  fill: #1E2A2E;
  opacity: 0.09;
}

.botanicals .b-1 { left: 3%;  bottom: 8%;  width: clamp(170px, 19vw, 340px); }
.botanicals .b-2 { left: 44%; bottom: 0;  width: clamp(150px, 16vw, 290px); transform: rotate(-16deg); }
.botanicals .b-3 { right: 3%; bottom: 24%; width: clamp(90px, 9vw, 170px);  transform: rotate(22deg); opacity: 0.07; }
.botanicals .b-4 { left: 24%; bottom: 0;   width: clamp(70px, 7vw, 130px);  transform: rotate(-38deg); opacity: 0.06; }

.contact > .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------
   FOOTER — deep teal
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--bg-footer);
  color: var(--cream);
  padding: clamp(90px, 12vh, 150px) 0 0;
}

.footer-upper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: clamp(50px, 6vw, 100px);
}

/* simple brand lockup — gem + wordmark, same as the funnel footer */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img { width: 40px; height: auto; }

.footer-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-brand-name .fbn-line {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 20px;
  color: var(--cream);
}
.footer-brand-name .fbn-sub {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-news {
  margin-top: clamp(30px, 5vh, 64px);
}

.footer-news .newsletter-line {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 30px);
  color: var(--cream);
}

/* minimalist email form: underline input + wide pale button */
.newsletter-form {
  margin-top: 34px;
  width: min(600px, 100%);
}

.newsletter-form .field-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.newsletter-form input[type="email"] {
  width: 100%;
  margin-top: 14px;
  padding: 12px 2px 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.35);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.4s var(--ease-out);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(244, 240, 232, 0.35);
}

.newsletter-form input[type="email"]:focus {
  border-color: rgba(244, 240, 232, 0.8);
}

.newsletter-form .submit-btn {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 19px 24px;
  background: #EAE5DA;
  color: #4A483F;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.newsletter-form .submit-btn:hover {
  background: #F6F2EA;
  color: var(--ink);
}

/* three link columns, right half */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-self: start;
  padding-top: clamp(6px, 2vh, 20px);
}

.footer-links h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
  margin-bottom: 26px;
}

.footer-links a,
.footer-links .link-line {
  display: block;
  font-size: 13.5px;
  line-height: 2.35;
  color: rgba(244, 240, 232, 0.72);
  transition: color 0.3s var(--ease-out);
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  margin-top: clamp(90px, 14vh, 170px);
  border-top: 1px solid rgba(244, 240, 232, 0.14);
  padding: 34px var(--pad-x) 56px;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 232, 0.45);
}

/* ------------------------------------------------------------------
   BACK TO TOP — fixed
   ------------------------------------------------------------------ */
.back-to-top {
  position: fixed;
  right: clamp(24px, 3.4vw, 60px);
  bottom: 26px;
  z-index: 150;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg-footer);
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 7px;
  color: #fff;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out),
              opacity 0.35s var(--ease-out), visibility 0.35s;
}

/* hidden near the top of the page (main.js toggles .is-visible), so it
   doesn't sit over the hero or the first screen of content on a phone */
html.js .back-to-top:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--teal-deep);
}

.back-to-top .chevron {
  width: 15px;
  height: 15px;
  display: block;
}

/* ------------------------------------------------------------------
   RESPONSIVE — desktop-first; collapses sensibly below
   ------------------------------------------------------------------ */
/* header sizing (logo, nav, --header-h) lives in header.css, which every
   page loads — the funnel pages don't load this file */
@media (max-width: 1180px) {
  .hero-title { font-size: clamp(54px, 9.6vw, 130px); }

  .ach-stats { grid-template-columns: repeat(2, 1fr); }
  .ach-stat:nth-child(odd) { border-left: 0; }
  .ach-stat:nth-child(n + 3) { border-top: 1px solid var(--rule-light); }
}

@media (max-width: 900px) {
  /* hero on phones/tablets: the narrower crop puts the dark mural behind
     the text, so the plaster wash runs up from the bottom instead of the
     desktop's lower-left glow; the whisper would sit under the CTA */
  .hero-scrim {
    background: linear-gradient(to top,
      rgba(237, 235, 228, 0.9) 0%,
      rgba(237, 235, 228, 0.72) 42%,
      rgba(237, 235, 228, 0) 72%);
  }
  .hero-whisper { display: none; }

  .hero { height: clamp(520px, 80vh, 640px); }
  /* the CTA runs full width here — dots move to the top corner */
  .hero-dots { top: 20px; bottom: auto; }
  .hero-dot { width: 32px; }
  /* single-line title is ~7.6x its font size wide: 11.4vw keeps it
     inside the gutters down to 320px (the old 52px floor ran off 375) */
  .hero-title { font-size: clamp(30px, 11.4vw, 100px); }
  .hero-sub { letter-spacing: 0.26em; }

  .collage { gap: 22px; }
  .artist { width: min(280px, 100%); }

  .problem .container { grid-template-columns: 1fr; row-gap: 60px; }

  .gallery-collage { gap: 14px; } /* room for the 5px gold rings */

  /* two columns; the brick repeats every four tiles (tall, short,
     tall, short) so both columns still end level */
  .gc-top {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(70px, 17vw, 140px);
  }
  .gc-top .g-tile:nth-child(n) { grid-row: span 2; }
  .gc-top .g-tile:nth-child(odd) { grid-row: span 3; }

  /* bottom: one wide tile, then two squares */
  .gc-bottom { grid-template-columns: repeat(2, 1fr); }
  .gc-bottom .g-tile:first-child {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }

  .free-band { flex-direction: column; align-items: flex-start; }
  .free-band .btn { width: 100%; }

  .book-form .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { min-width: 0; width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 56px; }

  .footer-upper { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .promo-modal { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .hero-sub { animation-name: sub-in-phone; }
  .btn.hero-cta { animation-name: rise-in; }

  /* vertical rhythm on a phone — the desktop 120–260px section padding
     left screen-high blank gaps and a ~16-screen home page */
  .achievements { padding: 88px 0 84px; }
  .collage { margin-top: 64px; gap: 48px; }
  .ach-stats { margin-top: 72px; }
  .team-block { margin-top: 80px; }
  .problem { padding: 88px 0 96px; }
  .problem-close { margin-top: 64px; }
  .problem-close .btn { margin-top: 32px; }
  .benefits { padding: 88px 0; }
  .benefits .section-head,
  .booking .section-head { margin-bottom: 48px; }
  .benefit-copy { margin-top: 44px; }
  .gallery { padding-top: 88px; }
  .gallery .section-head { margin-bottom: 48px; }
  .gallery .section-head .btn { margin-top: 32px; }
  .gc-bottom { padding-bottom: 72px; }
  .free-band-wrap { margin: 40px auto; }
  .free-band { padding: 44px 26px; }
  .booking { padding: 88px 0; }
  .contact { padding: 88px 0 100px; }
  .contact-grid { margin-top: 48px; padding: 0; }
  .site-footer { padding-top: 72px; }
  .footer-bottom { margin-top: 64px; }

  /* the framed form card keeps a little air from the screen edge */
  .book-form { margin: 0 12px; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .ach-stats { grid-template-columns: 1fr 1fr; }
}

/* Footer contact lines — replaces the newsletter form.
   The studio does not send marketing email, so the footer
   offers real contact details instead of a subscribe box. */
.footer-news .footer-contact-line {
  margin-top: 13px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cream-soft);
}
.footer-news .footer-contact-line:first-of-type {
  margin-top: 24px;
}
.footer-news .footer-contact-line a {
  color: var(--cream);
  text-underline-offset: 3px;
}
