/* Scenes. Rhythm: dramatic → quiet → energetic → deep → calm → architectural → personal → social → quiet → dramatic.
   Two heading roles: Display (uppercase brand statements: manifesto, Pole/Barre, Tu Angel, final) and
   Section (sentence case, practical: method, studio, voices, classes, visit, FAQ). */

/* ============ 01 HERO — "lights on" ============
   One authored moment: the studio starts almost dark and its lights warm up, while the real
   Angels mark blooms with a brass halo (the lit wings on the studio wall, echoed by the logo).
   On scroll the photograph dissolves into the paper below: media and veil share a mask that
   opens with --p, so the hero becomes the manifesto page. */
.hero { --p: 0; --fade: calc(94% - var(--p) * 56%); position: relative; display: grid; align-items: end; min-height: 100svh; color: var(--cream); background-color: var(--ink); background-image: linear-gradient(to bottom, transparent var(--fade), var(--paper) 100%); overflow: clip; }
.hero__media, .hero__veil { -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade), transparent 100%); mask-image: linear-gradient(to bottom, #000 var(--fade), transparent 100%); }
.hero__media { position: absolute; inset: 0; background: var(--ink); transform: translate3d(0, calc(var(--p) * 4%), 0) scale(calc(1 + var(--p) * .06)); transform-origin: 50% 40%; will-change: transform; }
/* the photo drifts down and grows as you scroll, so its fade ends earlier by the same amount:
   it must be fully transparent before the section's bottom edge clips it (no hard line above the manifesto) */
.hero__media { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--fade) - var(--p) * 10%), transparent calc(100% - var(--p) * 10%)); mask-image: linear-gradient(to bottom, #000 calc(var(--fade) - var(--p) * 10%), transparent calc(100% - var(--p) * 10%)); }
.js .hero__media img { animation: lightsOn 3.2s var(--ease-out) .1s both; }
@keyframes lightsOn {
  0% { filter: brightness(.12) saturate(.4); transform: scale(1.07); }
  35% { filter: brightness(.45) saturate(.75); }
  100% { filter: brightness(1) saturate(1.04); transform: scale(1); }
}
.hero__veil { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 60% at 22% 30%, color-mix(in srgb, var(--brass) 22%, transparent), transparent 70%),
  linear-gradient(to top, color-mix(in srgb, var(--ink) 86%, transparent) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 38%, transparent 62%),
  linear-gradient(95deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 55%),
  linear-gradient(to bottom, color-mix(in srgb, var(--ink) 40%, transparent), transparent 20%); }
.hero__content { position: relative; z-index: 2; width: var(--container-wide); margin-inline: auto; padding: calc(var(--header-h) + 2rem) 0 clamp(5rem, 15vh, 9rem); display: grid; gap: clamp(1.5rem, 4vh, 2.75rem); justify-items: start; transform: translate3d(0, calc(var(--p) * -48px), 0); opacity: calc(1 - var(--p) * .9); }
.hero__brand { display: grid; gap: .9rem; }
.hero__logo { display: block; width: clamp(9rem, 6rem + 9vw, 15rem); aspect-ratio: 4640 / 1410; }
/* the Angel Field (js/angelfield.js): the logo's wings as particles, above the photo and behind the text.
   Phones: a band above the headline. Desktop: the right half, beside the text. */
.hero__field { position: absolute; z-index: 1; inset: var(--header-h) 0 auto; height: 26svh; pointer-events: none; opacity: calc(1 - var(--p) * 1.2); }
.hero__field::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--ink) 72%, transparent), transparent 80%); }
.hero__canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: calc(1 - var(--p) * var(--p) * 1.5); }
@media (min-width: 900px) { .hero__field { inset: calc(var(--header-h) + 1vh) 0 6vh 36%; height: auto; } }
.js .hero__logo img { animation: halo 3.6s var(--ease-out) .5s both; }
/* metal: every few seconds a band of champagne light sweeps across the letters. The logo is untouched:
   the light is a layer on top, cut to the letters' shape with the wordmark itself as a mask. */
.hero__logo { position: relative; }
.hero__logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, var(--brass-light) 46%, var(--champagne) 50%, var(--brass-light) 54%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url("../assets/brand/angels-wordmark-cream.svg") 0 0 / 100% 100% no-repeat; mask: url("../assets/brand/angels-wordmark-cream.svg") 0 0 / 100% 100% no-repeat;
  animation: sheen 7s var(--ease-in-out) 3s infinite; }
@keyframes sheen { 0% { background-position: 100% 0; } 32%, 100% { background-position: 0% 0; } }
.hero.is-away .hero__logo::after, .hero.is-still .hero__logo::after { animation-play-state: paused; }
/* stop/start all hero motion (js/angelfield.js), bottom right of the hero */
.hero__motion { position: absolute; z-index: 3; right: var(--edge); bottom: clamp(1.25rem, 4vh, 2.5rem); color: var(--cream); border-color: var(--line-strong-dark); opacity: calc(1 - var(--p) * 2); }
.hero__motion:hover, .hero__motion:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero__logo::after { display: none; } }
@keyframes halo {
  0% { opacity: 0; filter: drop-shadow(0 0 0 transparent); }
  45% { opacity: 1; filter: drop-shadow(0 0 1.6rem color-mix(in srgb, var(--brass-light) 85%, transparent)); }
  100% { opacity: 1; filter: drop-shadow(0 0 .9rem color-mix(in srgb, var(--brass-light) 38%, transparent)); }
}
.hero__desc { display: block; font: 500 var(--fs-ui)/1 var(--font-body); letter-spacing: .38em; text-transform: uppercase; color: var(--brass-light); }
.hero__headline { font: 300 clamp(3rem, 1.3rem + 5.2vw, 6rem)/.95 var(--font-display); letter-spacing: -.015em; max-width: 16ch; }
.hero__headline em { color: var(--brass-light); }
.hero__headline .line > span { display: block; }
.js .hero__headline .line > span { animation: lineUp 1.1s var(--ease-out) both; animation-delay: calc(.35s + var(--l, 0) * .12s); }
.hero__headline .line:nth-child(2) > span { --l: 1; }
.hero__headline .line:nth-child(3) > span { --l: 2; }
@keyframes lineUp { from { transform: translateY(108%); } }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; }
.hero__support { font-size: var(--fs-lead); color: var(--on-dark-soft); max-width: 26ch; }
.js [data-seq] { animation: seqIn .9s var(--ease-out) both; }
.js [data-seq="1"] { animation-delay: .15s; } .js [data-seq="3"] { animation-delay: .55s; animation-duration: .7s; }
@keyframes seqIn { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 699px) {
  .hero__foot { gap: 1rem; }
  /* phones: the eyebrow and headline sit over bright window glass; a deeper veil behind them keeps them legible */
  .hero__veil { background:
    radial-gradient(90% 45% at 20% 58%, color-mix(in srgb, var(--ink) 55%, transparent), transparent 75%),
    radial-gradient(70% 60% at 22% 30%, color-mix(in srgb, var(--brass) 22%, transparent), transparent 70%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 86%, transparent) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 38%, transparent 62%),
    linear-gradient(95deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 55%),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 40%, transparent), transparent 20%); }
}

/* ============ 02 MANIFESTO — image becomes paper ============
   Desktop: the statement on the left, the body text bottom-aligned with it on the right. */
.manifesto { position: relative; z-index: 2; margin-top: -14svh; padding: calc(14svh + var(--space-lg)) 0 var(--space-xl); }
.manifesto__inner { width: var(--container-wide); margin-inline: auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--space-md); align-items: end; }
.manifesto__title { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5.25rem); line-height: 1; text-transform: none; letter-spacing: -.012em; color: var(--forest); }
.manifesto__title em { font-style: italic; color: var(--brass-text); }
.manifesto__copy { padding-left: var(--space-md); border-left: 1px solid var(--line-strong); font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 900px) {
  .manifesto__inner { row-gap: var(--space-sm); }
  .manifesto__title { grid-column: 1 / 9; grid-row: 1; }
  .manifesto__copy { grid-column: 9 / 13; grid-row: 1; align-self: end; padding-bottom: .5rem; }
}
@media (max-width: 899px) {
  .manifesto__title, .manifesto__copy { grid-column: 1 / -1; }
  .manifesto__copy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: var(--space-md); }
}

/* ============ 03 POLE / BARRE — two worlds ============ */
.disciplines { display: flex; min-height: min(94svh, 58rem); background: var(--ink); }
.disc { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; transition: flex-grow var(--dur-slow) var(--ease-glide); }
.disc__media { position: absolute; inset: 0; }
.disc__media img { transition: transform 1.4s var(--ease-out), filter var(--dur-slow); }
/* the reading veil is a near-neutral dark (Tinta deepened toward black), so it darkens the photo without tinting it green */
.disc__media::before { content: ""; position: absolute; inset: 0; z-index: 2; --veil: color-mix(in srgb, var(--ink) 30%, #000); background: linear-gradient(to top, color-mix(in srgb, var(--veil) 85%, transparent) 0%, color-mix(in srgb, var(--veil) 55%, transparent) 42%, color-mix(in srgb, var(--veil) 12%, transparent) 72%, transparent 100%); }
/* the panel in the background goes behind frosted glass (keeps its colour and light).
   On .disc, not .disc__media: the media is a .photo whose ::after carries the stock-photo grade. */
.disc::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; -webkit-backdrop-filter: blur(3.5px) brightness(.85); backdrop-filter: blur(3.5px) brightness(.85); /* no milky tint: blur and a touch darker */ transition: opacity var(--dur-slow) var(--ease-out); }
.disc__body { position: relative; z-index: 3; width: 100%; max-width: 34rem; padding: var(--space-lg) var(--gutter) clamp(2.5rem, 7vh, 4.5rem); display: grid; gap: 1.1rem; justify-items: start; }
.disc__title { font-size: var(--fs-display); line-height: .9; text-transform: uppercase; letter-spacing: 0; }
.disc__tag { font: 500 var(--fs-ui)/1.4 var(--font-body); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--brass-light); }
.disc__body p { color: var(--on-dark-soft); }
.disc__not { font-size: .95rem; line-height: 1.75; border-top: 1px solid var(--line-subtle-dark); padding-top: 1rem; }
.disc .btn { margin-top: .75rem; }
/* desktop: titles share one line and the buttons share another, whatever the copy length */
@media (min-width: 900px) {
  .disc__body { display: flex; flex-direction: column; align-items: flex-start; min-height: 31rem; }
  .disc .btn { margin-top: auto; }
}
@media (hover: hover) and (min-width: 900px) {
  .disc:hover, .disc:focus-within { flex-grow: 1.38; }
  .disc:hover .disc__media img, .disc:focus-within .disc__media img { transform: scale(1.05); }
  .disc:hover .disc__title { letter-spacing: .03em; }
  .disc__title { transition: letter-spacing var(--dur-slow) var(--ease-out); }
  .disciplines:has(.disc:hover) .disc:not(:hover)::after { opacity: 1; }
}
@media (max-width: 899px) { .disciplines { flex-direction: column; } .disc { min-height: 82svh; } }

/* ============ 04 ¿POLE? ¿YO? — deep forest ============ */
.why { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); min-height: min(100svh, 62rem); background: var(--forest); color: var(--cream); overflow: clip; }
.why__media { grid-column: 1 / 7; grid-row: 1; min-height: 34rem; }
/* the text lives entirely in the green column; nothing straddles the photo edge */
.why__text { position: relative; grid-column: 7 / 13; grid-row: 1; align-self: center; padding: var(--space-xl) var(--gutter) var(--space-xl) clamp(2rem, 5vw, 6rem); display: grid; justify-items: start; gap: 1.25rem; }
.why__q { display: grid; gap: 0; margin-bottom: .75rem; }
.why__q1, .why__q2 { display: block; font: 300 clamp(3.6rem, 1.8rem + 6.4vw, 8rem)/.86 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; }
.why__q2 { font-style: italic; text-transform: none; padding-left: 1.2em; color: var(--brass-light); }
.why__yes { font: italic 300 var(--fs-title)/1 var(--font-display); letter-spacing: .02em; }
.why__list { display: grid; width: min(100%, 28rem); }
.why__list li { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line-subtle-dark); }
.why__list li:last-child { border-bottom: 1px solid var(--line-subtle-dark); }
.why__list svg { width: .9rem; flex: none; color: var(--brass-light); }
.why__end { font: 400 var(--fs-title)/1.2 var(--font-display); margin-top: .5rem; }
@media (max-width: 899px) {
  .why { display: block; }
  .why__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .why__text { padding: var(--space-lg) var(--gutter) var(--space-xl); }
}

/* ============ 06 THE ANGELS METHOD ============
   The method reads as a journey: one vertical rail with the four stages that fills from stage to stage as you
   scroll and ends in the wings at FLY. Desktop: the stage pins (sticky, no scroll hijack); the rail sits on the
   left with the active stage large, and its photograph takes the right half edge to edge.
   Phones: the same rail, with a small picture beside each stage. */
.method { padding: var(--space-section) 0; background: var(--paper); }
.method__head { width: var(--container-wide); margin: 0 auto var(--space-xl); }
.method__title { font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; color: var(--forest); }
.method__show { display: none; }
.method__track { position: relative; width: var(--container-wide); margin-inline: auto; padding: 0 0 3rem 2rem; --mp: 0; }
/* the rail: a clear 4px line from the first dot to the wings, filled up to the active stage's dot (--w4y and --mp from ui.js) */
.method__rail { position: absolute; top: 0; left: -1px; width: 4px; height: var(--w4y, 100%); border-radius: 2px; background: color-mix(in srgb, var(--sage) 55%, transparent); }
.method__rail::after { content: ""; position: absolute; left: 50%; top: calc(var(--mp) * 100%); width: .7rem; height: .7rem; border-radius: 50%; background: var(--brass); translate: -50% -50%; box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--brass) 22%, transparent); transition: top var(--dur-medium) var(--ease-out); }
.method__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--brass); transform-origin: top; transform: scaleY(var(--mp)); transition: transform var(--dur-medium) var(--ease-out); } /* short: the fill follows the scroll */
.method__steps { display: grid; gap: 3.5rem; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 34%; column-gap: 1.25rem; align-items: start; }
.step::before { content: ""; position: absolute; top: -5.5px; left: calc(-2rem - 5.5px); width: 13px; height: 13px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 65%, transparent); transition: background-color var(--dur-slow), transform var(--dur-slow) var(--ease-out); }
.step:last-child::before { opacity: 0; } /* the wings take the last dot's place */
.step.is-reached::before { background: var(--brass); }
.step.is-active::before { background: var(--brass-text); transform: scale(1.35); }
.step > :not(.step__pic) { grid-column: 1; }
.step__n { display: block; font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: var(--tracking-eyebrow); margin-bottom: 1.25rem; color: var(--brass-text); }
/* only the titles dim; descriptions stay at full contrast */
.step__t { width: fit-content; font-size: clamp(1.5rem, .9rem + 2.8vw, 4rem); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1rem; transform-origin: left; color: color-mix(in srgb, var(--ink) 62%, var(--paper)); transition: transform var(--dur-slow) var(--ease-out), color var(--dur-slow); } /* dimmed by colour: 3.8:1, never below the 3:1 for large text */
.step.is-reached .step__t { color: color-mix(in srgb, var(--ink) 85%, var(--paper)); }
.step.is-active .step__t { opacity: 1; transform: scale(1.1); color: var(--brass-text); }
.step p { max-width: 20ch; color: var(--ink-soft); }
@media (min-width: 700px) and (max-width: 899px) { .step p { max-width: 34ch; } } /* tablets: the column beside the photo is wide enough for longer lines */
.step__pic { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 5; opacity: .5; transition: opacity var(--dur-slow) var(--ease-out); }
.step.is-active .step__pic, .step.is-reached .step__pic { opacity: 1; }
/* each stage is a button: the whole step (dot, number, word) jumps the rail to it */
.step__go { text-transform: inherit; letter-spacing: inherit; text-align: left; white-space: nowrap; }
.step__go::after { content: ""; position: absolute; inset: -.75rem 0 0; }
.step:not(.is-active):hover .step__t { color: var(--ink); }
.step__go:focus-visible { outline-offset: 6px; }
/* Discovery: a stage stays hidden until the reader reaches it; the rail and its faint dots show the way ahead.
   Arriving uncovers it in order: the number, then the word rising out of a mask into focus, then the line.
   Scrolling back hides what is not reached yet (faster than it arrived). Keyboard focus uncovers a stage too.
   Without JavaScript or with reduced motion every stage simply shows. */
@media (prefers-reduced-motion: no-preference) {
  .js .step__n { transition: opacity .5s var(--ease-out), translate .6s var(--ease-out); }
  .js .step__t { clip-path: inset(-.25em -.2em -.35em -.2em); transition: transform var(--dur-slow) var(--ease-out), color var(--dur-slow), opacity .7s var(--ease-out) .1s, translate 1s var(--ease-out) .1s, clip-path 1s var(--ease-out) .1s, filter .9s var(--ease-out) .1s; }
  .js .step p { transition: opacity .7s var(--ease-out) .35s, translate .9s var(--ease-out) .35s; }
  .js .step:not(.is-active, .is-reached, :focus-within) :is(.step__n, .step__t, p) { opacity: 0; transition-duration: .3s; transition-delay: 0s; }
  .js .step:not(.is-active, .is-reached, :focus-within) .step__n { translate: 0 .6rem; }
  .js .step:not(.is-active, .is-reached, :focus-within) .step__t { translate: 0 45%; clip-path: inset(-.25em -.2em 100% -.2em); filter: blur(6px); }
  .js .step:not(.is-active, .is-reached, :focus-within) p { translate: 0 .8rem; }
  .js .step__pic { transition: opacity .9s var(--ease-out) .15s, scale 1.4s var(--ease-out) .15s; } /* phones: each stage's own photo */
  .js .step:not(.is-active, .is-reached, :focus-within) .step__pic { opacity: 0; scale: .92; transition-duration: .3s; transition-delay: 0s; }
  .js .step:not(.is-active, .is-reached):not(:last-child)::before { opacity: .45; }
  .js .step.is-active::before { animation: dotPop .7s var(--ease-out); }
}
@keyframes dotPop { 0% { transform: scale(.6); } 55% { transform: scale(1.7); } 100% { transform: scale(1.35); } }
/* FLY: the wings end the rail; when the journey arrives they grow and light up with the hero logo's brass halo */
.method__wings { position: absolute; z-index: 1; left: 1px; top: var(--w4y, 100%); width: 3rem; aspect-ratio: 1000 / 708; translate: -50% -50%; background: var(--line-strong); -webkit-mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; transition: background-color var(--dur-slow), transform var(--dur-editorial) var(--ease-out); }
.method__track::after { content: ""; position: absolute; left: 1px; top: var(--w4y, 100%); z-index: 0; width: 9rem; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brass-light) 60%, transparent) 0%, transparent 65%); opacity: 0; transform: scale(.5); pointer-events: none; transition: opacity var(--dur-editorial) var(--ease-out), transform var(--dur-editorial) var(--ease-out); }
.method__track.is-flying::after { opacity: 1; transform: none; }
.method__track.is-flying .method__wings { background: var(--brass); transform: scale(1.4); }
/* the wings in flight (js/sections.js initFlight): a copy over the page that js moves along the arc */
.wings-flyer { position: fixed; left: 0; top: 0; z-index: 6; aspect-ratio: 1000 / 708; pointer-events: none; background: var(--brass); -webkit-mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; will-change: transform; }
@media (min-width: 900px) and (min-height: 680px) {
  /* the pinned stretch: about three quarters of a screen of scrolling per stage, so one flick of the wheel moves one stage */
  .method { --pic-w: 52vw; height: 400svh; padding: 0; }
  .method__stage { position: sticky; top: var(--header-h-scrolled); height: calc(100svh - var(--header-h-scrolled)); display: grid; grid-template-rows: 3fr auto 1fr; padding-bottom: clamp(1.25rem, 4vh, 2.75rem); } /* the title centred in the space above the steps, which takes most of the spare height */
  .method .method__head, .method__track { position: relative; z-index: 2; width: auto; margin: 0 calc(var(--pic-w) + var(--gutter)) 0 var(--edge); }
  .method .method__head { align-self: center; padding-block: clamp(.75rem, 2.5vh, 2rem); } /* equal margins: on short screens they keep the title off the steps */
  .method .method__title { font-size: min(var(--fs-heading), 8vh); } /* the same size as every section title; short screens trim it so the four steps still fit */
  /* the rail on the left of the photo: every stage with its line, the active one large and in brass */
  .method__track { padding: 0 0 0 2.75rem; }
  .step::before { left: calc(-2.75rem - 5.5px); }
  .method__steps { gap: clamp(.75rem, 3vh, 3rem); }
  .step { display: block; }
  .step__pic { display: none; } /* the photograph is the big one on the right */
  .step__n { margin-bottom: .5rem; }
  .step__t { font-size: clamp(1.8rem, min(1rem + 2.2vw, 5.2vh), 3.5rem); margin-bottom: .4rem; }
  .step.is-active .step__t { transform: scale(1.2); }
  .step p { max-width: 42ch; font-size: clamp(1rem, .85rem + .35vw, 1.2rem); } /* two-line descriptions: wider lines keep the four steps on screen */
  .method__show { display: contents; }
  .method__pics { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: var(--pic-w); min-height: 0; }
  .mpic { position: absolute; inset: 0; opacity: 0; transition: opacity var(--dur-editorial) var(--ease-glide); }
  .mpic img { transform: scale(1.06); transition: transform 2.4s var(--ease-glide); }
  .mpic.is-active { opacity: 1; }
  .mpic.is-active img { transform: none; }
  .method__track.is-flying .method__wings { transform: scale(1.6); }
}
@media (min-width: 900px) and (max-width: 1279px) { .method { --pic-w: 44vw; } }

/* ============ 07 STUDIO + its walk-through gallery ============ */
.studio { padding: 0 0 var(--space-lg); background: var(--paper-deep); }
.studio__head { width: var(--container-wide); margin-inline: auto; padding: calc(var(--space-section) * .6) 0 var(--space-xl); display: grid; justify-content: start; align-items: end; gap: var(--space-md); }
.studio__title { font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; color: var(--forest); }
/* facts: large brass figures split by hairlines. Wide screens: they take the right column, centred on the title
   and flush with the content edge. Narrower: a row under the title. */
.studio__facts { display: flex; flex-wrap: wrap; row-gap: 1.25rem; margin-top: var(--space-md); }
.studio__facts li { padding-right: var(--space-lg); }
.studio__facts li + li { padding-left: var(--space-lg); border-left: 1px solid color-mix(in srgb, var(--brass) 60%, transparent); }
.studio__facts b { display: block; margin-bottom: .75rem; font: 300 clamp(2.75rem, 1.6rem + 3vw, 5.5rem)/.9 var(--font-display); color: var(--brass-text); }
/* the figures roll in once (js/sections.js initFacts): digits spin in champagne, settle with a small drop, then the unit fades in */
.studio__facts .ch { display: inline-block; text-align: center; }
.studio__facts .ch.is-spinning { color: var(--brass-light); }
.studio__facts .ch.is-set { animation: digitSet .55s var(--ease-out); }
@keyframes digitSet { from { transform: translateY(-.12em) scale(1.08); filter: blur(2px); text-shadow: 0 0 .5em var(--brass-light); } }
.studio__facts .fig-unit { transition: opacity .6s var(--ease-out), filter .6s var(--ease-out); }
.studio__facts .is-rolling .fig-unit { opacity: 0; filter: blur(4px); }
.dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; } /* the magic dust canvas */
.studio__facts li > span { display: block; max-width: 24ch; font: 500 var(--fs-eyebrow)/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
@media (min-width: 1100px) {
  .studio .studio__head { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-xl); }
  .studio .studio__facts { grid-column: 2; grid-row: 1; align-self: center; justify-self: end; margin-top: 0; }
  .studio .studio__facts li:last-child { padding-right: 0; }
}
@media (max-width: 699px) {
  .studio__facts li { padding-right: 1.25rem; }
  .studio__facts li + li { padding-left: 1.25rem; }
  /* phones: the third figure starts its own row, so it needs no divider */
  .studio__facts li:nth-child(3) { flex-basis: 100%; padding-left: 0; border-left: 0; }
}

.gallery { padding: 0; }
.gallery__scroller { display: flex; gap: 1rem; padding: 8px var(--edge) 1.5rem; margin-top: -8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.gallery__scroller.is-drifting { scroll-snap-type: none; } /* the slow drift (js/sections.js) must not snap */
.gallery__scroller.is-drifting > .g-item { transform: translateX(calc(var(--df, 0) * -1px)); } /* sub-pixel part of the drift */
.gallery__scroller::-webkit-scrollbar { display: none; }
.gallery__scroller.is-dragging { cursor: grabbing; user-select: none; }
/* mouse drag leaves the strip exactly where it was released: no snap for fine pointers; touch keeps a gentle snap */
@media (pointer: fine) { .gallery__scroller { scroll-snap-type: none; } }
.g-item { position: relative; flex: none; height: clamp(18rem, 60svh, 40rem); scroll-snap-align: start; display: block; padding: 0; text-align: left; }
.g-item::before { content: ""; position: absolute; inset: auto 0 0; z-index: 2; height: 40%; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 72%, transparent), transparent); } /* the caption always reads, whatever the photo */
.g-item--wide { aspect-ratio: 4 / 3; } .g-item--tall { aspect-ratio: 3 / 4; } .g-item--mid { aspect-ratio: 1; }
.g-item img { transition: transform 1.2s var(--ease-out); -webkit-user-drag: none; }
.g-item:hover img { transform: scale(1.05); }
.g-item__cap { position: absolute; left: 1rem; bottom: .9rem; z-index: 3; font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--cream); text-shadow: 0 0 1rem color-mix(in srgb, var(--ink) 60%, transparent); }
@media (max-width: 699px) {
  .g-item { height: auto; width: 76vw; }
  .g-item--tall { width: 60vw; }
  .g-item--mid { width: 68vw; }
}
.gallery__bar { width: var(--container-wide); margin: .75rem auto 0; display: flex; align-items: center; gap: 1.5rem; }
.gallery__hint { display: flex; gap: .75rem; align-items: center; font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--ink-soft); }
.gallery__hint svg { width: 1.2rem; }
.gallery__progress { position: relative; flex: 1; height: 1px; background: var(--line-subtle); overflow: hidden; }
.gallery__progress i { position: absolute; inset: 0; background: var(--brass); transform-origin: left; transform: scaleX(var(--gp, .2)); transition: transform var(--dur-fast) linear; }
.gallery__nav { display: flex; gap: .5rem; }
@media (hover: none) { .gallery__nav [data-gallery-step] { display: none; } }

/* ============ 08 MEET YOUR ANGEL — overlap composition: the title crosses onto the portrait ============ */
.founder { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; align-items: center; row-gap: var(--space-lg); padding-block: calc(var(--space-section) * .7) var(--space-xl); background: var(--champagne); color: var(--forest-deep); overflow: clip; }
.founder__title { grid-row: 1; position: relative; z-index: 2; align-self: end; padding-left: var(--gutter); margin-bottom: -.32em; font-size: clamp(4rem, 1.5rem + 8vw, 10rem); line-height: .9; text-transform: uppercase; letter-spacing: 0; color: var(--forest); }
.founder__photo { grid-row: 1 / 3; min-height: 0; aspect-ratio: 4 / 5; }
.founder__text { grid-row: 2; align-self: start; display: grid; gap: 1rem; justify-items: start; }
.founder__text p:not(.founder__role) { font-size: var(--fs-lead); line-height: 1.65; }
.founder__text p.founder__name { font: 300 var(--fs-title)/1 var(--font-display); color: var(--forest); }
.founder__role { margin-bottom: .5rem; font: 500 var(--fs-ui)/1.4 var(--font-body); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--brass-text); }
@media (min-width: 900px) {
  /* one edge: founder content sits on the same container line as the header and hero */
  .founder { padding-inline: var(--edge); }
  .founder__title { grid-column: 1 / 11; white-space: nowrap; padding-left: 0; font-size: clamp(4.5rem, 1rem + 8.5vw, 10rem); }
  .founder__photo { grid-column: 6 / -1; width: 100%; aspect-ratio: 1; }
  .founder__text { grid-column: 1 / 6; padding: 0 var(--gutter) 0 0; }
}
@media (max-width: 899px) {
  .founder { grid-template-columns: 1fr; }
  .founder__title, .founder__photo, .founder__text { grid-column: 1; grid-row: auto; }
  .founder__title { margin-bottom: -.4em; }
  .founder__text { padding: 0 var(--gutter); }
}

/* ============ 09 VOICES — the reviews side by side under one title ============ */
.voices { padding: var(--space-xl) 0 calc(var(--space-section) * .75); background: var(--paper); }
.voices__title { width: var(--container-wide); margin: 0 auto var(--space-xl); font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; text-align: center; color: var(--forest); }
/* all reviews side by side, each under a brass hairline: read at a glance, no player */
.voices__title em { font-style: italic; color: var(--brass-text); } /* the second half of the title, in brass italic */
.voices__stage { width: var(--container-wide); margin-inline: auto; }
.voices__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-lg) var(--space-md); }
.voice { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--brass) 60%, transparent); }
.voice__quote { font: italic 300 clamp(1.5rem, 1.2rem + .9vw, 2.1rem)/1.18 var(--font-display); color: var(--forest); }
.voice__who { margin-top: auto; font: 500 var(--fs-ui)/1 var(--font-body); letter-spacing: var(--tracking-ui); text-transform: uppercase; color: var(--brass-text); }

/* ============ 05 FIND YOUR CLASS — the evening studio, a dark beat ============ */
.classes { padding: var(--space-xl) 0;  background: var(--ink); color: var(--cream); }
.classes__head { width: var(--container-wide); margin: 0 auto var(--space-lg); display: grid; justify-content: start; align-items: baseline; gap: .75rem; }
.classes__title { font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; color: var(--cream); }
.classes__sub { font-size: var(--fs-lead); color: var(--on-dark-soft); }
/* the classes as a list grouped by discipline; on wide screens the chosen class fills a sticky stage on the right
   (photo, line, description), on phones it opens under its own row */
.cmenu { width: var(--container-wide); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(9, auto) 1fr; column-gap: clamp(2rem, 4vw, 4.5rem); } /* one row per group label and class, then the booking row, which absorbs a stage taller than the list */
.cmenu__group { grid-column: 1; max-width: none; margin-top: 2.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-subtle-dark); font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--brass-light); }
.cmenu__group:first-child { margin-top: 0; }
.crow__h { grid-column: 1; align-self: start; font: inherit; }
.crow { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .3rem 1rem; width: 100%; padding: 1.15rem 0 1.15rem 1.5rem; text-align: left; border-bottom: 1px solid var(--line-subtle-dark); color: var(--on-dark-soft); }
.crow::before { content: ""; position: absolute; left: 0; top: 50%; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brass-light); translate: 0 -50%; scale: 0; transition: scale var(--dur-medium) var(--ease-out); }
.crow.is-active::before { scale: 1; }
.crow__lvl { grid-column: 1 / -1; font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }
.crow__name { font: 300 clamp(1.5rem, 1.1rem + 1vw, 2.15rem)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: var(--cream); opacity: .62; }
.crow__lvl, .crow__name { transition: opacity var(--dur-medium) var(--ease-out), translate var(--dur-medium) var(--ease-out); }
.crow:hover .crow__name, .crow.is-active .crow__name { opacity: 1; }
.crow.is-active :is(.crow__lvl, .crow__name) { translate: .5rem 0; }
.crow__min { font: 500 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.crow__chev { display: none; }
.cdetail { grid-column: 2; grid-row: 1 / -1; align-self: start; position: sticky; top: calc(var(--header-h-scrolled) + 1.5rem); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease-glide), visibility 0s linear var(--dur-slow); }
.cdetail.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.cdetail__inner { display: grid; gap: 1.25rem; justify-items: start; }
.cdetail__media { width: 100%; aspect-ratio: 16 / 10; max-height: 46svh; }
.cdetail__media img { scale: 1.06; transition: scale 1.6s var(--ease-out); }
.cdetail.is-active .cdetail__media img { scale: 1; }
.ctag { position: absolute; z-index: 2; inset: auto 0 0; padding: 4rem clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem); background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent); font: 400 var(--fs-title)/1.15 var(--font-display); color: var(--cream); }
.cdesc { max-width: 70ch; color: var(--on-dark-soft); }
.cdetail .btn { color: var(--cream); }
.classes__foot { grid-column: 1; align-self: start; margin-top: var(--space-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
@media (max-width: 899px) {
  .cmenu { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .crow { grid-template-columns: 1fr auto auto; align-items: center; }
  .crow__chev { display: block; rotate: 90deg; transition: rotate var(--dur-medium) var(--ease-glide); }
  .crow.is-active .crow__chev { rotate: -90deg; }
  /* the row's own drawer: height by grid rows, so nothing is measured */
  .cdetail { grid-column: 1; grid-row: auto; position: static; opacity: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
  .cdetail.is-active { grid-template-rows: 1fr; transition-delay: 0s; }
  .cdetail__inner { overflow: hidden; padding: 6px; margin: -6px; } /* room for the focus ring of its link */
  .cdetail__inner > :first-child { margin-top: 1rem; }
  .cdetail__inner > :last-child { margin-bottom: 1.75rem; }
  .cdetail__media { max-height: none; }
  .ctag { font-size: 1.5rem; }
}

/* ============ 11 VISIT — stacked: details in one row, the map as a wide band ============ */
.visit { padding-top: var(--space-xl); background: var(--paper-deep); }
.visit__info { width: var(--container-wide); margin-inline: auto; padding: 0 0 var(--space-lg); display: grid; gap: var(--space-md); justify-items: start; }
.visit__near { max-width: 46ch; margin-top: calc(var(--space-md) * -.4); font-size: var(--fs-lead); color: var(--ink-soft); } /* the area around the studio, in words people search with */
.visit__title { font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; color: var(--forest); margin-bottom: .75rem; }
.visit__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 3rem; }
.visit__address { display: grid; gap: .25rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.visit__name { margin-bottom: .35rem; font: 500 var(--fs-ui)/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase; }
.visit__social { display: flex; flex-wrap: wrap; gap: 0 2rem; font: 500 var(--fs-ui)/1 var(--font-body); letter-spacing: var(--tracking-ui); text-transform: uppercase; margin-top: .5rem; }
.visit__social a { display: inline-block; padding-block: .95rem; }
.visit__social .visit__mail { text-transform: none; letter-spacing: .03em; } /* an address reads better as written */
/* click-to-load map: nothing from Google until the visitor asks */
.visit__map { position: relative; min-height: clamp(20rem, 48svh, 32rem); background: var(--champagne); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.12) contrast(.96); }
.visit__map iframe:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.visit__mapcover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: var(--space-lg) var(--gutter); text-align: center; background: var(--forest); color: var(--cream); }
.visit__map.is-loading .visit__maplink-mark { animation: mapWait 1s var(--ease-in-out) infinite alternate; }
@keyframes mapWait { to { opacity: .35; transform: translateY(-4px); } }
.visit__mapcover { transition: opacity var(--dur-medium) var(--ease-out); }
.visit__map.is-loaded .visit__mapcover { opacity: 0; pointer-events: none; }
.visit__maplink-mark {width: clamp(5rem, 12vw, 8rem); aspect-ratio: 1000 / 708; background: var(--brass-light); -webkit-mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; }
.visit__mapnote { font-size: .8125rem; color: var(--on-dark-soft); }

/* ============ 10 FAQ — on forest, visible question/answer pairs beside a sticky title ============ */
/* forest ground: it sits between two paper sections (reviews, contact), so the page alternates light / green */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: var(--space-lg); padding: var(--space-section) var(--edge); background: var(--forest); color: var(--cream); }
.faq__aside { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--header-h-scrolled) + 2rem); display: grid; gap: var(--space-md); justify-items: start; }
.faq__title { font-weight: 300; font-size: var(--fs-heading); line-height: 1.02; text-transform: none; letter-spacing: -.01em; color: var(--cream); }
.faq .book-note { color: var(--on-dark-soft); }
.faq__list { grid-column: 6 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg) var(--gutter); margin: 0; }
.faq__item { display: grid; align-content: start; gap: .6rem; padding-top: 1.25rem; border-top: 1px solid var(--brass-light); }
.faq__q { font: 400 var(--fs-title)/1.15 var(--font-display); color: var(--cream); }
.faq__item p { margin: 0; color: var(--on-dark-soft); }
/* the booking button sits in the grid's free cell, bottom right, after the last answer */
.faq__cta { align-self: end; justify-self: end; display: grid; gap: .75rem; justify-items: end; text-align: right; }
@media (max-width: 1099px) { .faq__list { grid-template-columns: minmax(0, 1fr); } } /* two answer columns only where the booking button fits one */
@media (max-width: 899px) { .faq__aside { grid-column: 1 / -1; position: static; } .faq__list { grid-column: 1 / -1; grid-template-columns: 1fr; } .faq__cta { justify-self: start; justify-items: start; text-align: left; } }

/* ============ 12 FINAL CTA — cinematic ============ */
.final { position: relative; display: grid; align-items: center; min-height: min(100svh, 56rem); background: var(--ink); color: var(--cream); overflow: clip; }
.final__media { position: absolute; inset: 0; }
.final__veil { position: absolute; inset: 0; background: linear-gradient(95deg, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 55%, color-mix(in srgb, var(--ink) 30%, transparent) 100%); }
.final__content { position: relative; z-index: 2; width: var(--container-wide); margin-inline: auto; padding: var(--space-xl) 0; display: grid; gap: 1.5rem; justify-items: start; }
.final__title { font-size: var(--fs-display); line-height: .94; text-transform: uppercase; letter-spacing: 0; }
.final__title em { text-transform: none; color: var(--brass-light); }
.final__sub { font: 400 var(--fs-title)/1.1 var(--font-display); color: var(--on-dark-soft); margin-bottom: .75rem; }

/* ============ 13 FOOTER — two rows: brand + main paths, then the legal line ============ */
.footer { background: var(--forest-deep); color: var(--cream); padding: var(--space-xl) 0 2rem; border-top: 1px solid var(--line-subtle-dark); }
.footer__inner { width: var(--container-wide); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-lg) var(--gutter); }
.footer__logo { width: clamp(9rem, 7rem + 6vw, 14rem); aspect-ratio: 7568 / 1850; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 2rem; font: 500 var(--fs-ui)/1.3 var(--font-body); letter-spacing: var(--tracking-ui); text-transform: uppercase; }
.footer__links a, .footer__legal a { display: inline-block; padding-block: .95rem; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--brass-light); }
.footer__legal { width: var(--container-wide); max-width: none; margin: var(--space-xl) auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-subtle-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .75rem; color: var(--on-dark-soft); }
.footer__legal p { max-width: none; }
.footer__legal a + a { margin-left: 1.5rem; }
@media (max-width: 899px) { .footer { padding-bottom: 6rem; } .footer__inner { grid-template-columns: 1fr; } .footer__links { justify-content: flex-start; } }
@media (max-width: 699px) { .footer__links { flex-direction: column; gap: 0; } }

/* ============ Shared ============ */
/* booking: the external app is named once, quietly, beside the primary button */
.book-note { font-size: .8125rem; letter-spacing: .02em; color: var(--on-dark-soft); }

/* the wing thread: the mark opens quietly at ¿Pole? ¿Yo?, lifts at FLY, and spreads wide at the final line */
.wing { position: absolute; z-index: 1; pointer-events: none; aspect-ratio: 1000 / 708; }
.wing i { position: absolute; inset: 0; display: block; background: color-mix(in srgb, var(--brass-light) var(--wing-a, 18%), transparent); -webkit-mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; }
.js [data-reveal="wing"] { opacity: 0; transform: scale(.35, .75); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.8s var(--ease-out) var(--d, 0s); }
.js [data-reveal="wing"].is-in { opacity: 1; transform: none; }
.wing--why { width: clamp(6.5rem, 10vw, 9.5rem); right: calc(var(--gutter) * -.6); top: clamp(4rem, 14vh, 9rem); --wing-a: 22%; --d: .6s; }

/* ---------- Effects adapted from Magic UI (js/effects.js holds the scripted parts) ---------- */

/* Hero tagline · Text Animate: word by word, each one comes into focus */
.hero__headline.is-words .line { overflow: visible; }
.js .hero__headline.is-words .line > span { animation: none; }
.hero__headline .w { display: inline-block; animation: wordIn 1.1s var(--ease-out) both; animation-delay: calc(.45s + var(--wi, 0) * .09s); }
@keyframes wordIn { from { opacity: 0; filter: blur(12px); translate: 0 .28em; } }

/* Hero and closing booking buttons · Shimmer Button: a light travels round the edge */
@property --shine { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:is(.hero__foot, .final) .btn--brass::after { content: ""; position: absolute; inset: 0; z-index: 1; padding: 2px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--shine), transparent 0 72%, color-mix(in srgb, var(--cream) 90%, transparent) 86%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: shine 3.4s linear infinite; }
@keyframes shine { to { --shine: 360deg; } }

/* Manifesto · Text Reveal: the words start faint and light up with the scroll (opacity set per word in JS) */
.manifesto__title .w { transition: opacity .25s linear; }

/* Pole? Jo? · Highlighter: a marker stroke is drawn under each key word, one after another */
.hl { position: relative; isolation: isolate; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -.2em; right: -.25em; bottom: -.3em; height: .6em; z-index: -1; background: var(--brass); opacity: .85; clip-path: inset(0 100% 0 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 40 6, 80 16, 122 9 S 182 6, 196 11' fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 40 6, 80 16, 122 9 S 182 6, 196 11' fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.why__list.is-in .hl::after { clip-path: inset(0); transition: clip-path .75s var(--ease-in-out) calc(var(--d, 0s) + .8s + var(--n, 0) * .35s); }
html:not(.js) .hl::after { clip-path: inset(0); }

/* Classes · Blur Fade: the chosen class comes into focus instead of switching in one go (desktop stage) */
@media (min-width: 900px) {
  .cdetail { filter: blur(10px); translate: 0 .75rem; transition: opacity var(--dur-slow) var(--ease-glide), filter var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
  .cdetail.is-active { filter: none; translate: 0; transition-delay: 0s; }
}

/* Method · Animated Beam: a pulse of light runs down the rail to where you are */
.method__rail::before { content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 2px; height: 4.5rem; translate: -50% -100%; border-radius: 2px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--brass-light) 60%, var(--cream)); animation: beam 2.6s var(--ease-in-out) infinite; }
@keyframes beam { 0% { translate: -50% -100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { translate: -50% calc(var(--mp) * var(--w4y, 0px) - 100%); opacity: 0; } }

/* Method · Dia Text Reveal: a band of light sweeps each step's title when you reach it */
.dia { position: relative; display: inline-block; }
.dia__shine { position: absolute; inset: 0; color: transparent; pointer-events: none; background: linear-gradient(100deg, transparent 42%, var(--brass-light) 46%, var(--cream) 50%, var(--brass) 54%, transparent 58%) 95% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.step:is(.is-reached, .is-active) .dia__shine { animation: diaSweep 1.5s var(--ease-in-out) .3s both; }
@keyframes diaSweep { from { background-position: 95% 0; } to { background-position: 5% 0; } }

/* Studio gallery · Progressive Blur: photos soften as they reach either edge */
.gallery { position: relative; }
.gallery::before, .gallery::after { content: ""; position: absolute; top: 0; z-index: 4; width: clamp(2.5rem, 7vw, 7rem); height: clamp(18rem, 60svh, 40rem); pointer-events: none; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.gallery::before { left: 0; -webkit-mask: linear-gradient(to right, #000 20%, transparent); mask: linear-gradient(to right, #000 20%, transparent); }
.gallery::after { right: 0; -webkit-mask: linear-gradient(to left, #000 20%, transparent); mask: linear-gradient(to left, #000 20%, transparent); }

/* Reviews · Magic Card: a warm light follows the pointer; the top rule of the nearest card lights up */
.voices { overflow-x: clip; } /* the spotlight bleeds 4rem past the list: keep it from widening the page */
.voices__list { position: relative; }
.voices__list::before { content: ""; position: absolute; inset: -4rem; -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); pointer-events: none; opacity: 0; transition: opacity var(--dur-medium) var(--ease-out); background: radial-gradient(18rem circle at calc(var(--mx, 0px) + 4rem) calc(var(--my, 0px) + 4rem), color-mix(in srgb, var(--brass) 14%, transparent), transparent 70%); }
.voice { position: relative; }
.voice::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; pointer-events: none; opacity: 0; transition: opacity var(--dur-medium) var(--ease-out); background: radial-gradient(10rem circle at var(--cx, -20rem) 0, var(--brass-text), transparent); }
.voices__list.is-lit::before, .voices__list.is-lit .voice::before { opacity: 1; }

/* Contact · Dotted Map + Ripple: Catalonia in dots under the map cover, La Garriga at the centre, pulsing */
.visit__mapcover { place-content: end center; overflow: hidden; }
.visit__mapcover::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--sage-light); opacity: .32; -webkit-mask: url("../assets/brand/catalunya-dots.svg") center / contain no-repeat; mask: url("../assets/brand/catalunya-dots.svg") center / contain no-repeat; }
.visit__mapcover > * { position: relative; z-index: 1; }
.visit__mapcover > .visit__maplink-mark { position: absolute; left: 50%; top: 50%; width: clamp(3.25rem, 6vw, 4.5rem); translate: -50% -50%; }
.visit__mapcover::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; width: 1rem; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid var(--brass-light); animation: ripple 2.8s var(--ease-out) infinite; }
@keyframes ripple { from { scale: 1; opacity: .9; } to { scale: 14; opacity: 0; } }

/* Footer · Spinning Text: the studio's name turning slowly around the wings */
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; } }
.spin { position: relative; width: clamp(6.5rem, 5.5rem + 3vw, 8.5rem); aspect-ratio: 1; color: var(--brass-light); }
.spin svg { width: 100%; height: 100%; overflow: visible; animation: spin 36s linear infinite; }
.spin text { font: 500 8.4px var(--font-body); letter-spacing: .12em; fill: currentColor; }
.spin__mark { position: absolute; inset: 33%; background: currentColor; -webkit-mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; mask: url("../assets/brand/angels-wings.svg") center / contain no-repeat; }
@keyframes spin { to { rotate: 360deg; } }

/* Manifesto · Highlighter: once the title is fully lit, a brass stroke is drawn under "teu" */
.manifesto__title em { position: relative; isolation: isolate; }
.manifesto__title em::after { content: ""; position: absolute; left: -.08em; right: -.12em; bottom: .08em; height: .3em; z-index: -1; background: var(--brass-light); opacity: .75; clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-in-out) .15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 40 6, 80 16, 122 9 S 182 6, 196 11' fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C 40 6, 80 16, 122 9 S 182 6, 196 11' fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.manifesto__title.is-lit em::after { clip-path: inset(0); }

/* "Sí. Tu." · Sparkles Text: a few stars wink around the words (positions from js/effects.js) */
.why__yes { position: relative; }
.sparkle { position: absolute; width: .45em; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; opacity: 0; background: var(--brass-light); animation: sparkle 1.6s ease-in-out infinite;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C11 6 14 9 20 10C14 11 11 14 10 20C9 14 6 11 0 10C6 9 9 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C11 6 14 9 20 10C14 11 11 14 10 20C9 14 6 11 0 10C6 9 9 6 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sparkle:nth-of-type(even) { background: var(--cream); }
@keyframes sparkle { 0% { opacity: 0; scale: 0; rotate: 75deg; } 50% { opacity: .85; scale: var(--s, 1); rotate: 120deg; } 100% { opacity: 0; scale: 0; rotate: 150deg; } }

/* Founder · Backlight: a blurred copy of the portrait glows behind it (same grid cell as the photo) */
.founder__glow { position: relative; z-index: 0; grid-row: 1 / 3; align-self: stretch; pointer-events: none; }
.founder__glow img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; filter: blur(46px) saturate(1.8); opacity: .6; }
.founder__photo { z-index: 1; }
@media (min-width: 900px) { .founder__glow { grid-column: 6 / -1; } }
@media (max-width: 899px) {
  .founder__title { grid-row: 1; } .founder__glow, .founder__photo { grid-column: 1; grid-row: 2; } .founder__text { grid-row: 3; }
}

/* FAQ · Blur Fade: each question comes into focus as it arrives */
.js [data-reveal="blur"] { opacity: 0; filter: blur(8px); translate: 0 1rem; transition: opacity var(--dur-slow) var(--ease-out) var(--d, 0s), filter var(--dur-slow) var(--ease-out) var(--d, 0s), translate var(--dur-editorial) var(--ease-out) var(--d, 0s); }
.js [data-reveal="blur"].is-in { opacity: 1; filter: none; translate: 0; }

/* Closing section · Light Rays: warm beams sway down from above (each ray's numbers from js/effects.js) */
.rays { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 22% 0%, color-mix(in srgb, var(--brass-light) 12%, transparent), transparent 60%); }
.rays i { position: absolute; top: -12%; left: var(--l); width: var(--w); height: 85%; translate: -50% 0; transform-origin: top; rotate: var(--r); border-radius: 50%; opacity: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--brass-light) 34%, transparent), transparent); filter: blur(36px); mix-blend-mode: screen; will-change: opacity, rotate; animation: ray var(--t, 12s) ease-in-out var(--dl, 0s) infinite; }
@keyframes ray { 0%, 100% { opacity: 0; rotate: calc(var(--r) - var(--sw)); } 50% { opacity: var(--i); rotate: calc(var(--r) + var(--sw)); } }

/* sections out of view rest: their looping effects pause (js/effects.js initRest) */
.is-resting *, .is-resting *::before, .is-resting *::after, .is-resting::before, .is-resting::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  :is(.hero__foot, .final) .btn--brass::after, .method__rail::before, .dia__shine, .visit__mapcover::after { display: none; }
  .cdetail, .js [data-reveal="blur"] { filter: none; translate: 0; }
  .manifesto__title em::after { clip-path: inset(0); }
}
