/* ==========================================================================
   LIGNE — Pilates Atelier · styles.css
   Palette: bone / cream / stone / ink + a single clay accent.
   Type: Bodoni Moda (editorial serif) + Inter Tight (modern sans).
   ========================================================================== */

:root {
  --bone: #F3EFE8;
  --cream: #E8E1D5;
  --stone: #CFC6B8;
  --ink: #171513;
  --charcoal: #24211E;
  --muted: #5E564D;          /* AA on bone 6.3:1 */
  --muted-d: #A69B8E;        /* AA on ink 6.7:1 */
  --clay: #9A4529;           /* accent on light, AA 5.6:1 */
  --clay-l: #D98B6A;         /* accent on dark, AA 6.8:1 */
  --line: rgba(23, 21, 19, .14);
  --line-d: rgba(243, 239, 232, .16);

  --serif: "Bodoni Moda", "Bodoni 72", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 1680px;
  --nav-h: 88px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; }
::selection { background: var(--clay); color: var(--bone); }
section[id], [id="contacto"] { scroll-margin-top: 70px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 999;
  background: var(--ink); color: var(--bone); padding: .8rem 1.2rem; border-radius: 999px;
  transition: top .3s var(--ease);
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 2px; }
.method :focus-visible, .editorial :focus-visible, .benefits :focus-visible,
.finale :focus-visible, .footer :focus-visible, .menu :focus-visible, .hero :focus-visible { outline-color: var(--clay-l); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7.6vw, 8.6rem);
  line-height: .95;
  letter-spacing: -.025em;
  font-optical-sizing: auto;
}
.display em { color: var(--clay); }
.display--light { color: var(--bone); }
.display--light em { color: var(--clay-l); }
.display--sm { font-size: clamp(2.6rem, 5vw, 5.4rem); }

.sec-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.1rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.sec-num { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--clay); text-transform: none; }
.sec-label { font: inherit; }
.sec-head--light { color: var(--bone); }
.sec-head--light .sec-num { color: var(--clay-l); }
.sec-head::after { content: ""; flex: 1 1 4rem; height: 1px; background: currentColor; opacity: .25; align-self: center; min-width: 3rem; }

.note { font-size: .78rem; color: var(--muted); max-width: 52ch; margin-top: clamp(2.5rem, 5vw, 4rem); line-height: 1.5; }
.ph { background: rgba(154, 69, 41, .09); padding: .05em .3em; border-radius: 3px; }
.footer .ph, .menu .ph { background: rgba(217, 139, 106, .14); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone); --hv: var(--clay);
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.05rem 1.5rem 1.05rem 1.7rem;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg);
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  border: 1px solid var(--bg);
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hv);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn i { font-style: normal; font-size: 1rem; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { border-color: var(--hv); color: var(--bone); }
.btn:hover i { transform: translateX(4px); }
.btn--light { --bg: var(--bone); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--bone); }
.btn--sm { padding: .8rem 1.1rem; font-size: .68rem; }
.btn--xl { padding: 1.4rem 2rem 1.4rem 2.3rem; font-size: .8rem; }
.btn--block { width: 100%; justify-content: space-between; }

.link {
  position: relative; display: inline-block; padding-bottom: .35rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .7s var(--ease);
}
.link:hover::after { animation: linkSweep .9s var(--ease); }
@keyframes linkSweep { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link--light { color: var(--bone); }
.linkbtn { font-size: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.linkbtn:hover { opacity: 1; }

.round {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.round:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ---------- Frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 100vmax 100vmax 0 0; }

/* ---------- Line mask reveal ---------- */
.line { display: block; overflow: hidden; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.line__in { display: inline-block; will-change: transform; }

/* ==========================================================================
   INTRO CURTAIN
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--bone);
  display: grid; place-content: center; justify-items: center; gap: 1.1rem;
  animation: introOut 1s var(--ease-io) 1.75s forwards;
  pointer-events: none;
}
.intro__word { display: flex; font-family: var(--serif); font-size: clamp(3rem, 9vw, 7rem); letter-spacing: .28em; margin-right: -.28em; overflow: hidden; line-height: 1.05; }
.intro__word span { display: inline-block; transform: translateY(110%); animation: introLetter 1s var(--ease) forwards; }
.intro__word span:nth-child(2) { animation-delay: .07s; }
.intro__word span:nth-child(3) { animation-delay: .14s; }
.intro__word span:nth-child(4) { animation-delay: .21s; }
.intro__word span:nth-child(5) { animation-delay: .28s; }
.intro__line { width: min(220px, 40vw); height: 1px; background: var(--clay-l); transform: scaleX(0); animation: introLine 1.1s var(--ease) .35s forwards; }
.intro__sub { font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; opacity: 0; animation: fadeIn .8s ease .7s forwards; margin-right: -.4em; }
@keyframes introLetter { to { transform: translateY(0); } }
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: .7; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.no-intro .intro { display: none; }

/* ==========================================================================
   CURSOR (fine pointers only)
   ========================================================================== */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--bone); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s, background .4s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: .9; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; background: var(--clay); opacity: 1; }
.cursor__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--bone);
  transition: transform .7s var(--ease), color .5s var(--ease), background-color .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(243, 239, 232, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav::before { background: var(--bone); } }
.nav.is-scrolled { color: var(--ink); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--nav-h); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto;
  transition: height .6s var(--ease);
}
.nav.is-scrolled .nav__inner { height: 68px; }
.nav__logo { display: flex; align-items: center; gap: .9rem; margin-right: auto; }
.logo { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .3em; line-height: 1; margin-right: -.3em; font-weight: 500; }
.logo__tag { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.35; padding-left: .9rem; border-left: 1px solid currentColor; opacity: .8; }
.nav__links { display: flex; gap: clamp(1.4rem, 2.6vw, 2.8rem); }
.nav__links a {
  position: relative; display: inline-block; overflow: hidden;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: .4rem 0;
}
.nav__links a span { display: inline-block; transition: transform .6s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.btn--nav { --bg: transparent; --fg: currentColor; border-color: currentColor; padding: .8rem 1.2rem; font-size: .68rem; color: inherit; }
.btn--nav:hover { color: var(--bone); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; left: 18px; }
.nav__burger:hover span:last-child { transform: translateX(-8px); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; }
.nav__progress span { display: block; height: 100%; background: var(--clay); transform-origin: left; transform: scaleX(0); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; margin-right: -10px; }
  .nav__inner { gap: 1rem; height: 72px; }
  .nav.is-scrolled .nav__inner { height: 62px; }
}
@media (max-width: 520px) {
  .btn--nav { display: none; }
  .logo__tag { display: none; }
}

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--bone);
  display: grid; overflow: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io), visibility 0s .9s; visibility: hidden;
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__media { position: absolute; inset: 0; opacity: .42; }
.menu__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); filter: sepia(.25) brightness(.8); }
.menu.is-open .menu__media img { transform: scale(1); }
.menu__inner { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 1rem var(--gutter) max(2rem, env(safe-area-inset-bottom)); overflow-y: auto; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__close { width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu__close span { position: absolute; left: 11px; right: 11px; top: 21px; height: 1px; background: currentColor; }
.menu__close span:first-child { transform: rotate(45deg); }
.menu__close span:last-child { transform: rotate(-45deg); }
.menu__links { display: flex; flex-direction: column; margin: auto 0; padding-block: 2rem; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-size: clamp(3rem, 13vw, 6rem); line-height: 1.08; letter-spacing: -.02em;
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), color .4s;
}
.menu__links a small { font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; color: var(--clay-l); transform: translateY(-1.6em); }
.menu__links a:hover { color: var(--clay-l); font-style: italic; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .35s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .42s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .49s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .56s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .63s; }
.menu__foot { display: flex; flex-direction: column; gap: 1.4rem; font-size: .85rem; opacity: 0; transition: opacity .8s .7s; }
.menu__foot p { color: var(--muted-d); line-height: 1.6; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot .btn { align-self: flex-start; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  --hero-fs: clamp(4.4rem, 15.4vw, 17.5rem);
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  color: var(--bone); overflow: hidden; background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0 0 -6% 0; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 38% 0%; transform-origin: 40% 0%; animation: heroZoom 2.8s var(--ease) both; animation-delay: 1.5s; }
.no-intro .hero__media img { animation-delay: 0s; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23,21,19,.42) 0%, rgba(23,21,19,0) 22%, rgba(23,21,19,0) 38%, rgba(23,21,19,.55) 68%, rgba(23,21,19,.88) 100%),
    linear-gradient(90deg, rgba(23,21,19,.25) 0%, rgba(23,21,19,0) 50%);
}
.hero__meta {
  position: absolute; top: calc(var(--nav-h) + 1.4rem); display: flex; flex-direction: column; gap: .3rem;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.hero__meta--tl { left: var(--gutter); }
.hero__meta--tr { right: var(--gutter); text-align: right; align-items: flex-end; }
.hero__meta span:first-child { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: #F1C3AC; }
.rotator { position: relative; display: inline-grid !important; height: 1.4em; overflow: hidden; }
.rotator span { grid-area: 1 / 1; animation: rotWord 7.5s var(--ease) infinite; opacity: 0; transform: translateY(100%); }
.rotator span:nth-child(2) { animation-delay: 2.5s; }
.rotator span:nth-child(3) { animation-delay: 5s; }
@keyframes rotWord { 0% { opacity: 0; transform: translateY(100%); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-100%); } }

.hero__content { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(1.5rem, 3.4vw, 3rem); }
.hero__title {
  font-family: var(--serif); font-weight: 400; font-size: var(--hero-fs);
  line-height: .86; letter-spacing: -.04em; font-optical-sizing: auto;
}
.hero__title em { color: #F1C3AC; font-weight: 400; }
.hero__title .line--indent { padding-left: 11vw; }
.hero__aside {
  position: absolute; right: var(--gutter);
  bottom: calc(var(--hero-fs) * .86 + clamp(1.5rem, 3.4vw, 3rem) + 1.2rem);
  max-width: 24rem; display: flex; flex-direction: column; gap: 1.6rem;
}
.hero__lead { font-size: clamp(.95rem, 1.1vw, 1.08rem); line-height: 1.55; color: rgba(243,239,232,.9); }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.8rem; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(1.8rem, 3.6vw, 3.2rem);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; padding: .4rem;
}
.scroll-cue__line { width: 1px; height: 54px; background: rgba(243,239,232,.3); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: translateY(-100%); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Pre-animation state (only while JS-driven intro runs). CSS safety net reveals at 4.5s regardless. */
.js .hero__title .line__in { transform: translateY(108%); animation: safeShow 0s linear 4.5s forwards; }
.js .hero__aside, .js .hero__meta, .js .scroll-cue { opacity: 0; animation: safeOpacity 0s linear 4.5s forwards; }
@keyframes safeShow { to { transform: none; } }
@keyframes safeOpacity { to { opacity: 1; } }

@media (max-width: 1100px) {
  .hero__aside { max-width: 19rem; }
}
@media (max-width: 767px) {
  .hero { --hero-fs: clamp(3.6rem, 19vw, 7rem); min-height: 560px; }
  .hero__media img { object-position: 50% 30%; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(23,21,19,.5) 0%, rgba(23,21,19,0) 20%, rgba(23,21,19,0) 38%, rgba(23,21,19,.62) 62%, rgba(23,21,19,.9) 100%);
  }
  .hero__meta { top: calc(72px + .6rem); font-size: .6rem; }
  .hero__meta span:first-child { font-size: .95rem; }
  .scroll-cue { display: none; }
  .hero__title .line--indent { padding-left: 9vw; }
  .hero__content { display: flex; flex-direction: column; gap: 1.3rem; padding-bottom: max(1.6rem, env(safe-area-inset-bottom)); }
  .hero__aside { position: static; max-width: none; gap: 1.2rem; }
  .hero__lead { font-size: .95rem; max-width: 32ch; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero__lead { display: none; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .hero { min-height: 100svh; --hero-fs: clamp(3rem, 21vh, 7rem); }
  .hero__meta { display: none; }
  .hero__lead { display: none; }
  .hero__content { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
  .hero__aside { position: static; max-width: none; }
  .hero__ctas { flex-direction: column; align-items: flex-end; gap: .9rem; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding-block: clamp(6rem, 13vw, 13rem) clamp(5rem, 10vw, 10rem); }
.manifesto__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: start; }
.manifesto__text {
  grid-column: 1 / 10;
  font-family: var(--serif); font-size: clamp(1.85rem, 3.6vw, 4rem); line-height: 1.14; letter-spacing: -.015em;
  text-indent: 12%;
}
.manifesto__text em { color: var(--clay); }
.manifesto__text .w { transition: opacity .2s linear; }
.manifesto__fig { grid-column: 10 / 13; grid-row: 1 / 3; margin-top: 30%; }
.manifesto__fig .frame { aspect-ratio: 3 / 4.3; }
.manifesto__fig figcaption, .collage figcaption {
  display: flex; gap: .8rem; margin-top: .9rem; font-size: .72rem; letter-spacing: .06em; color: var(--muted);
}
.manifesto__fig figcaption span, .collage figcaption span { font-family: var(--serif); font-style: italic; color: var(--clay); }
.manifesto__aside { grid-column: 5 / 9; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; margin-top: clamp(1rem, 3vw, 3rem); }
.manifesto__aside p { color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) {
  .manifesto__text { grid-column: 1 / -1; text-indent: 0; }
  .manifesto__fig { grid-column: 6 / -1; grid-row: auto; margin-top: 1rem; }
  .manifesto__aside { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .manifesto__fig { grid-column: 4 / -1; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(1rem, 2vw, 1.8rem); }
.marquee__track { display: flex; align-items: center; gap: clamp(1.6rem, 3vw, 3rem); width: max-content; animation: marquee 46s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 5.4vw, 5.6rem); line-height: 1; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee i { font-style: normal; color: var(--clay); font-size: clamp(1rem, 1.6vw, 1.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ==========================================================================
   METHOD
   ========================================================================== */
.method { background: var(--ink); color: var(--bone); padding-block: clamp(6rem, 12vw, 11rem); }
.method__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); margin-bottom: clamp(3rem, 8vw, 7rem); }
.method__head .sec-head { grid-column: 1 / -1; }
.method__head .display { grid-column: 1 / 11; }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.method__stage { position: sticky; top: 12vh; height: 76vh; display: flex; align-items: center; justify-content: center; }
.method__frame { height: 100%; aspect-ratio: 3 / 4.1; max-width: 100%; background: var(--charcoal); }
.method__frame img {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.12);
  filter: grayscale(1) contrast(1.06) brightness(.92);
  transition: opacity 1.1s var(--ease), transform 1.8s var(--ease);
}
.method__frame img.is-active { opacity: 1; transform: scale(1); }
.method__count { position: absolute; right: 0; bottom: -1.5rem; display: flex; align-items: flex-start; line-height: .8; mix-blend-mode: difference; }
.method__num { font-family: var(--serif); font-size: clamp(6rem, 13vw, 14rem); letter-spacing: -.04em; color: var(--bone); }
.method__of { font-size: .8rem; letter-spacing: .2em; color: var(--muted-d); margin-left: .5rem; margin-top: 1rem; }
.method__steps { counter-reset: none; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(1rem, 5vw, 6rem); opacity: .28; transition: opacity .8s var(--ease); }
.step.is-active { opacity: 1; }
.step__media { display: none; }
.step__num { font-size: .75rem; letter-spacing: .24em; color: var(--clay-l); margin-bottom: 1.2rem; }
.step__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.4rem, 6.4vw, 7.4rem); line-height: .95; letter-spacing: -.03em; margin-bottom: 1.8rem; }
.step p { max-width: 34ch; color: rgba(243,239,232,.74); font-size: clamp(1rem, 1.15vw, 1.15rem); }
.step p em { color: var(--clay-l); }
@media (max-width: 900px) {
  .method__head .display { grid-column: 1 / -1; }
  .method__grid { grid-template-columns: 1fr; }
  .method__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding-left: 0; padding-block: 2.5rem 3.5rem; border-top: 1px solid var(--line-d); }
  .step__media { display: block; width: min(78%, 420px); aspect-ratio: 3 / 4; margin-bottom: 2rem; background: var(--charcoal); }
  .step:nth-child(even) .step__media { margin-left: auto; }
  .step__media img { filter: grayscale(1) contrast(1.06); }
}

/* ==========================================================================
   CLASSES — horizontal gallery
   ========================================================================== */
.classes { background: var(--cream); position: relative; }
.classes__pin { position: relative; padding-block: clamp(5rem, 10vw, 8rem); }
.classes__track {
  display: flex; align-items: flex-start; gap: clamp(1.4rem, 5vw, 6rem);
  padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.classes__track::-webkit-scrollbar { display: none; }
.classes__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.classes__intro { display: none; }
.classes__mhead { padding-inline: var(--gutter); margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.classes__mhead .display { font-size: clamp(2.8rem, 9vw, 5.6rem); max-width: 12ch; }
.classes__mhead .classes__hint { padding-top: 1.4rem; }
.classes.is-pinned .classes__mhead { display: none; }
.classes.is-pinned .classes__intro { display: flex; flex-direction: column; }
.classes__intro .display { font-size: clamp(3rem, 6vw, 6.6rem); }
.classes__hint { margin-top: auto; padding-top: 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: .8rem; align-items: center; }
.classes__hint i { font-style: normal; display: inline-block; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.class { width: min(82vw, 30rem); }
.class__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.class--wide .class__media { aspect-ratio: 4 / 3; }
.class__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.class__media:hover img { transform: scale(1.06); }
.class__body { padding-top: 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; align-items: baseline; }
.class__num { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.1rem; }
.class__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.025em; }
.class__body p { grid-column: 2; color: var(--muted); max-width: 32ch; margin: .8rem 0 1.2rem; font-size: .98rem; }
.class__body .link { grid-column: 2; justify-self: start; }
.classes__end { width: min(80vw, 24rem); align-self: center; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.classes__progress { position: relative; height: 1px; background: var(--line); margin: clamp(2rem, 4vw, 3rem) var(--gutter) 0; }
.classes__progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* Desktop pinned mode (class added by JS) */
.classes.is-pinned .classes__pin { height: 100vh; padding-block: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.classes.is-pinned .classes__track { overflow: visible; scroll-snap-type: none; width: max-content; align-items: center; will-change: transform; padding-right: 12vw; }
.classes.is-pinned .classes__intro { width: 34vw; max-width: 36rem; height: 74vh; align-self: center; padding-top: 4vh; }
.classes.is-pinned .class { width: auto; }
.classes.is-pinned .class__media { height: 56vh; width: auto; }
.classes.is-pinned .class--wide .class__media { height: 44vh; }
.classes.is-pinned .class--low { margin-top: 16vh; }
.classes.is-pinned .class--high { margin-bottom: 18vh; }
.classes.is-pinned .class__body { max-width: 30rem; }
.classes.is-pinned .classes__progress { position: absolute; left: 0; right: 0; bottom: 6vh; margin-top: 0; }
@media (max-height: 760px) {
  .classes.is-pinned .class__media { height: 50vh; }
  .classes.is-pinned .class--wide .class__media { height: 38vh; }
  .classes.is-pinned .class__body p { display: none; }
}

/* ==========================================================================
   EDITORIAL BREAK
   ========================================================================== */
.editorial { position: relative; min-height: 115vh; min-height: 115svh; color: var(--bone); display: flex; align-items: flex-end; background: var(--bone); }
.editorial__media { position: absolute; inset: 0; overflow: hidden; background: var(--charcoal); }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.editorial__shade { position: absolute; inset: 0; background: radial-gradient(60% 55% at 85% 100%, rgba(23,21,19,.55), rgba(23,21,19,0) 70%), linear-gradient(180deg, rgba(23,21,19,.4) 0%, rgba(23,21,19,.05) 32%, rgba(23,21,19,.5) 68%, rgba(23,21,19,.88) 100%); }
.editorial__content {
  position: relative; width: 100%; max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter); align-items: end;
}
.editorial__kicker {
  position: absolute; z-index: 1; top: clamp(6rem, 10vw, 8rem); left: var(--gutter); right: var(--gutter); color: var(--bone);
  display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
}
.editorial__title {
  grid-column: 1 / 10; font-family: var(--serif); font-weight: 400;
  font-size: clamp(4.6rem, 15vw, 17rem); line-height: .82; letter-spacing: -.045em;
}
.editorial__title em { color: #F1C3AC; }
.editorial__title .line--indent { padding-left: 16vw; }
.editorial__text { grid-column: 10 / 13; font-size: clamp(.95rem, 1.1vw, 1.08rem); color: rgba(243,239,232,.88); max-width: 30ch; padding-bottom: 1.2rem; }
@media (max-width: 900px) {
  .editorial { min-height: 100svh; }
  .editorial__media img { object-position: 62% 50%; }
  .editorial__title { grid-column: 1 / -1; font-size: clamp(4.2rem, 22vw, 9rem); }
  .editorial__text { grid-column: 1 / -1; max-width: 36ch; }
  .editorial__kicker { flex-direction: column; gap: .4rem; }
}

/* ==========================================================================
   STUDIO — collage
   ========================================================================== */
.studio { padding-block: clamp(6rem, 12vw, 11rem); overflow: hidden; }
.studio__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter); margin-bottom: clamp(3.5rem, 8vw, 7rem); align-items: end; }
.studio__head .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
.studio__head .display { grid-column: 1 / 8; }
.studio__intro { grid-column: 9 / 13; color: var(--muted); max-width: 38ch; }
.collage { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 0; position: relative; }
.collage__item { position: relative; will-change: transform; }
.collage__item .frame { width: 100%; }
.c1 { grid-column: 1 / 9; grid-row: 1; }
.c1 .frame { aspect-ratio: 16 / 10.4; }
.c2 { grid-column: 9 / 13; grid-row: 1 / span 2; margin-top: 14vw; }
.c2 .frame { aspect-ratio: 2 / 3; }
.c3 { grid-column: 2 / 4; grid-row: 2; margin-top: 5vw; }
.c3 .frame { aspect-ratio: 2 / 3.1; }
.c4 { grid-column: 4 / 8; grid-row: 2; margin-top: -7vw; z-index: 2; }
.c4 .frame { aspect-ratio: 4 / 3; outline: clamp(6px, .8vw, 12px) solid var(--bone); }
.c5 { grid-column: 6 / 9; grid-row: 3; margin-top: 6vw; }
.c5 .frame { aspect-ratio: 2 / 3; }
.c6 { grid-column: 10 / 13; grid-row: 3; margin-top: 16vw; }
.c6 .frame { aspect-ratio: 3 / 4.2; }
.studio__list { grid-column: 1 / 5; grid-row: 3; align-self: center; margin-top: 8vw; border-top: 1px solid var(--line); }
.studio__list li { display: flex; gap: .6rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.studio__list li span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--ink); }
@media (max-width: 900px) {
  .studio__head .display, .studio__intro { grid-column: 1 / -1; }
  .collage { grid-template-columns: repeat(6, 1fr); column-gap: .9rem; }
  .c1 { grid-column: 1 / -1; grid-row: 1; }
  .c2 { grid-column: 3 / -1; grid-row: 2; margin-top: -10vw; z-index: 2; }
  .c2 .frame { outline: 8px solid var(--bone); }
  .c3 { grid-column: 1 / 3; grid-row: 2; margin-top: 22vw; }
  .c4 { grid-column: 1 / 5; grid-row: 3; margin-top: 2.5rem; }
  .c4 .frame { outline: 0; }
  .c5 { grid-column: 4 / -1; grid-row: 4; margin-top: -14vw; z-index: 2; }
  .c5 .frame { outline: 8px solid var(--bone); }
  .c6 { grid-column: 1 / 4; grid-row: 4; margin-top: 10vw; }
  .studio__list { grid-column: 1 / -1; grid-row: 5; margin-top: 3rem; }
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits { background: var(--ink); color: var(--bone); padding-block: clamp(6rem, 12vw, 11rem); position: relative; }
.benefits .sec-head { color: var(--bone); }
.benefits .sec-num { color: var(--clay-l); }
.benefits__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); margin-bottom: clamp(3rem, 6vw, 5rem); }
.benefits__head .sec-head { grid-column: 1 / -1; }
.benefits__title { grid-column: 1 / 9; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.015em; }
.benefits__title em { color: var(--clay-l); }
.benefits__list { border-top: 1px solid var(--line-d); }
.benefit {
  position: relative; display: grid; grid-template-columns: 5rem 1fr minmax(12rem, 18rem); align-items: center; gap: 1rem var(--gutter);
  padding-block: clamp(.6rem, 1.4vw, 1.4rem); border-bottom: 1px solid var(--line-d);
}
.benefit__num { font-family: var(--serif); font-style: italic; color: var(--clay-l); font-size: 1.1rem; }
.benefit__word {
  position: relative; font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 10.4vw, 12rem); line-height: .98; letter-spacing: -.03em; white-space: nowrap;
}
.js .benefit__word { color: transparent; -webkit-text-stroke: 1px rgba(243,239,232,.5); }
.js .benefit__word::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--bone); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease);
}
.js .benefit.is-active .benefit__word::after { clip-path: inset(0 0 0 0); }
.benefit:nth-child(even) .benefit__word { font-style: italic; }
.benefit__text { color: rgba(243,239,232,.72); font-size: .98rem; }
.benefits .note { color: var(--muted-d); }
.benefits__float {
  position: fixed; left: 0; top: 0; z-index: 5; width: clamp(200px, 19vw, 320px); aspect-ratio: 3 / 4;
  pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%);
  clip-path: inset(50% 50% 50% 50%); transition: clip-path .7s var(--ease), opacity .3s;
}
.benefits__float.is-on { opacity: 1; clip-path: inset(0 0 0 0); }
.benefits__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; filter: grayscale(.2); }
.benefits__float img.is-active { opacity: 1; }
@media (hover: none), (max-width: 900px) { .benefits__float { display: none; } }
@media (max-width: 900px) {
  .benefits__title { grid-column: 1 / -1; }
  .benefit { grid-template-columns: 2.4rem 1fr; padding-block: 1.1rem; }
  .benefit__word { font-size: clamp(2.6rem, 13.4vw, 6rem); }
  .benefit__text { grid-column: 2; margin-top: -.6rem; }
}

/* ==========================================================================
   VOICES (demo testimonials)
   ========================================================================== */
.voices { background: var(--cream); padding-block: clamp(6rem, 12vw, 11rem); }
.demo-tag { font-size: .62rem; letter-spacing: .16em; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; color: var(--muted); }
.voices .sec-head::after { order: 2; }
.voices .demo-tag { order: 3; }
.voices__stage { display: grid; min-height: clamp(16rem, 30vw, 26rem); align-items: center; }
.voice { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), visibility 0s .9s; }
.voice.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s, visibility 0s; }
.voice blockquote p { font-family: var(--serif); font-size: clamp(1.9rem, 4.3vw, 4.6rem); line-height: 1.1; letter-spacing: -.02em; max-width: 24ch; }
.voice blockquote em { color: var(--clay); }
.voice figcaption { margin-top: 2.2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.voice figcaption span { color: var(--muted); font-weight: 400; }
.voices__nav { display: flex; align-items: center; gap: 1.4rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.voices__count { font-size: .75rem; letter-spacing: .2em; min-width: 5.5rem; text-align: center; }

/* ==========================================================================
   FINALE
   ========================================================================== */
.finale { position: relative; min-height: 100vh; min-height: 100svh; color: var(--bone); background: var(--ink); overflow: hidden; display: flex; align-items: center; }
.finale__media { position: absolute; inset: -8% 0; }
.finale__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(.48) saturate(.9); }
.finale__inner { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(7rem, 12vw, 10rem) var(--gutter); }
.finale__kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--clay-l); margin-bottom: clamp(2rem, 4vw, 3rem); }
.finale__title { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 13.4vw, 15rem); line-height: .88; letter-spacing: -.04em; }
.finale__title em { color: var(--clay-l); }
.finale__title .line--r { text-align: right; }
.finale__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.finale__cta p { max-width: 30ch; color: rgba(243,239,232,.8); font-size: .98rem; }
@media (max-width: 767px) {
  .finale__title .line--r { text-align: left; padding-left: 12vw; }
  .finale__cta .btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact { padding-block: clamp(6rem, 11vw, 10rem); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); }
.contact__info { grid-column: 1 / 6; }
.contact__data { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.4rem; }
.contact__data div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.contact__data dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.contact__data dd { font-size: 1rem; }
.form { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 1.6rem; padding-top: .5rem; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(23,21,19,.35); background: transparent; border-radius: 0;
  padding: 1.7rem 0 .7rem; font-size: 1.1rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field label {
  position: absolute; left: 0; top: 1.65rem; color: var(--muted); font-size: 1.05rem; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--clay); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-1.35rem) scale(.72); color: var(--ink); }
.field--select::after { content: "↓"; position: absolute; right: .2rem; bottom: .8rem; font-size: .9rem; pointer-events: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--clay); }
.field.is-invalid label { color: var(--clay); }
.check { display: flex; gap: .9rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border: 1px solid rgba(23,21,19,.5); border-radius: 3px; margin: .15rem 0 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: .35rem; height: .65rem; border: solid var(--bone); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
.check.is-invalid input { border-color: var(--clay); }
.check a, .gdpr a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gdpr { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; }
.gdpr summary { cursor: pointer; letter-spacing: .04em; color: var(--ink); }
.gdpr p { margin-top: .8rem; line-height: 1.6; }
.form__status { min-height: 1.5em; font-size: .95rem; }
.form__status.is-ok { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--clay); }
.form__status.is-err { color: var(--clay); }
.form__demo { font-size: .74rem; color: var(--muted); margin-top: -1rem; }
@media (max-width: 900px) {
  .contact__info, .form { grid-column: 1 / -1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--bone); padding-top: clamp(5rem, 9vw, 8rem); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-d); }
.footer__claim { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.footer__claim em { color: var(--clay-l); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem var(--gutter); padding-block: clamp(3rem, 6vw, 5rem); }
.footer h3 { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 1.3rem; }
.footer li { margin-bottom: .55rem; font-size: .95rem; }
.footer li a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.footer li a:hover { background-size: 100% 1px; }
.footer__mark {
  font-family: var(--serif); font-size: 29.5vw; line-height: .74; letter-spacing: -.02em; text-align: center;
  margin: 0 calc(var(--gutter) * -1); padding-top: .04em; user-select: none;
  background: linear-gradient(180deg, var(--bone) 0%, rgba(243,239,232,.06) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 1680px) { .footer__mark { font-size: 495px; } }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem 2rem; border-top: 1px solid var(--line-d); font-size: .78rem; color: var(--muted-d); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookies {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 150; width: min(26rem, calc(100vw - 2 * var(--gutter)));
  background: var(--bone); color: var(--ink); border: 1px solid var(--line); padding: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(23,21,19,.35); font-size: .88rem; line-height: 1.5;
  animation: cookieIn .9s var(--ease) 2.6s both;
}
.cookies[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }
.cookies__title { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: .5rem; }
.cookies a { text-decoration: underline; text-underline-offset: 3px; }
.cookies__prefs { display: grid; gap: .5rem; margin-top: 1rem; }
.cookies__prefs[hidden] { display: none; }
.toggle { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.toggle small { color: var(--muted); font-size: .72rem; }
.toggle input { accent-color: var(--clay); width: 1.05rem; height: 1.05rem; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.cookies__btns .btn { flex: 1 1 auto; justify-content: center; }

/* ==========================================================================
   REVEALS (only when main.js is running: html.motion-ready)
   ========================================================================== */
.motion-ready [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.motion-ready [data-reveal].is-in:not([data-reveal="img"]) { opacity: 1; transform: none; }
.motion-ready [data-reveal="img"] .frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.motion-ready [data-reveal="img"] .frame img { transform: scale(1.25); transition: transform 2s var(--ease); }
.motion-ready [data-reveal="img"].is-in .frame { clip-path: inset(0 0 0 0); }
.motion-ready [data-reveal="img"].is-in .frame--arch { clip-path: inset(0 0 0 0 round 100vmax 100vmax 0 0); }
.motion-ready [data-reveal="img"].is-in .frame img { transform: scale(1); }
.motion-ready [data-reveal="img"] figcaption { opacity: 0; transition: opacity 1s .6s; }
.motion-ready [data-reveal="img"].is-in figcaption { opacity: 1; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ==========================================================================
   REDUCED MOTION — keep the design, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .js .hero__title .line__in, .js .hero__aside, .js .hero__meta, .js .scroll-cue { transform: none; opacity: 1; animation: none; }
  .hero__media img { animation: none; }
  .marquee__track, .rotator span, .scroll-cue__line::after, .classes__hint i { animation: none; }
  .rotator span { opacity: 0; transform: none; }
  .rotator span:first-child { opacity: 1; }
  .motion-ready [data-reveal]:not([data-reveal="img"]) { transform: none; transition: opacity .6s ease; }
  .motion-ready [data-reveal="img"] .frame, .motion-ready [data-reveal="img"] .frame img { clip-path: none; transform: none; transition: none; }
  .motion-ready [data-reveal="img"] figcaption { opacity: 1; }
  .method__frame img { transform: none; transition: opacity .4s ease; }
  .voice, .voice.is-active { transform: none; }
  .menu, .menu.is-open { transition: none; }
  .menu__links a, .menu__foot { transition: none; transform: none; }
  .btn::before { transition-duration: .01s; }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page { background: var(--bone); }
.legal-page .nav { color: var(--ink); }
.legal-page .nav::before { opacity: 1; }
.legal { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 4rem) var(--gutter) 6rem; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 3rem 0 1rem; }
.legal p, .legal li { color: var(--charcoal); margin-bottom: 1rem; max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .lead { font-size: 1.1rem; color: var(--muted); }
.legal .alert { border-left: 2px solid var(--clay); padding: 1rem 1.3rem; background: rgba(154,69,41,.06); margin: 2rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 2rem; }
.legal th, .legal td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.legal-foot { background: var(--ink); color: var(--muted-d); padding: 2rem var(--gutter); font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.legal-foot a { color: var(--bone); }
.credit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
.credit-grid figure { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.credit-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: .5rem; background: var(--stone); }
.credit-grid a { color: var(--ink); }
[tabindex="-1"]:focus { outline: none; }
