/* =========================================================
   GBA Atelier · Gabriela Berrio Álvarez
   Paleta: papel cálido-gris, tinta, y el "berry" de la B.
   ========================================================= */
:root {
  --paper: #F4F2EE;
  --paper-2: #E9E6E0;
  --ink: #141414;
  --ink-2: #1E1D1C;
  --grey: #6E6A66;
  --line: rgba(20, 20, 20, .14);
  --line-light: rgba(244, 242, 238, .16);
  --berry: #8A1C3F;
  --berry-light: #E59AB2;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 em, h1 em, p em { font-style: italic; color: var(--berry); }
p { margin: 0; }
figure { margin: 0; }
::selection { background: var(--berry); color: var(--paper); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.kicker { color: var(--grey); display: inline-block; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 500 15px/1 var(--f-body);
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--berry); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--berry); }
.btn-arrow { font-weight: 400; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { color: var(--paper); }

/* ---------- Entrada ---------- */
/* El hero espera a que JS prepare la animación; si JS falla, aparece a los 3 s. */
.js:not(.ready) .hero, .js:not(.ready) .nav { opacity: 0; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 90; pointer-events: none; }
  .js body, .js a, .js button, .js label { cursor: none; }
  .js input, .js textarea { cursor: text; }
}
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--berry); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(20,20,20,.35);
  display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s, border-color .3s;
}
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--berry); }
.cursor.has-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--berry); border-color: var(--berry); }
.cursor.has-label .cursor-dot { opacity: 0; }
.cursor-label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .25s; }
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.on-dark .cursor-ring { border-color: rgba(244,242,238,.45); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 32px;
  padding: calc(18px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  transition: transform .7s var(--ease), background .4s, padding .4s;
}
.nav.is-solid { background: rgba(244,242,238,.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.is-solid { background: rgba(20,20,20,.72); }
.nav.on-dark .nav-logo img { filter: invert(1) hue-rotate(180deg) brightness(1.15); }
.nav.on-dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nav.on-dark .btn:hover { color: var(--paper); border-color: var(--berry); }
.nav.on-dark .burger i { background: var(--paper); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; font-size: 15px; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
.menu-open .burger i { background: var(--paper); }
.menu-open .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-open .nav-logo img { filter: invert(1) brightness(1.6); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left));
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a { font-family: var(--f-display); font-size: clamp(44px, 12vw, 88px); line-height: 1.08; overflow: hidden; display: block; }
.menu-links a span { display: inline-block; }
.menu-links em { color: var(--berry-light); }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; color: rgba(244,242,238,.55); }
@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav-logo img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(120px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 40px max(var(--gutter), env(safe-area-inset-left));
  overflow: hidden;
}
.hero-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--grey); position: relative; z-index: 3; }
.cities { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: flex-end; }
.cities b { font-weight: 500; color: var(--ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hero-meta { flex-direction: column; } .cities { justify-content: flex-start; gap: 6px 18px; } }
.hero-title {
  position: relative; z-index: 3; margin-top: auto; padding-top: 6vh;
  font-size: clamp(64px, 14.6vw, 250px); line-height: .86; letter-spacing: -.045em;
  font-variation-settings: "opsz" 96; pointer-events: none;
}
.ht-line { display: block; overflow: hidden; padding-bottom: .06em; padding-right: .08em; }
.ht-line--2 { text-align: right; }
.ht-line em { font-style: italic; color: var(--berry); }
.hero [data-split="chars"] { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float { position: absolute; overflow: hidden; background: var(--paper-2); }
.float img { width: 100%; height: 100%; object-fit: cover; }
.f1 { width: 13vw; aspect-ratio: 4/5; left: 6%;  top: 17%; }
.f2 { width: 10vw; aspect-ratio: 4/5; left: 33%; top: 12%; }
.f3 { width: 16vw; aspect-ratio: 5/4; right: 9%; top: 20%; }
.f4 { width: 9vw;  aspect-ratio: 3/4; left: 58%; top: 24%; }
.f5 { width: 11vw; aspect-ratio: 4/5; left: 24%; top: 43%; }
.f6 { width: 14vw; aspect-ratio: 4/3; right: 26%; top: 55%; z-index: -1; }
.hero-foot {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-lede { max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--grey); font-weight: 300; }
.hero-lede strong { color: var(--ink); font-weight: 500; }
.hero-cta { display: flex; align-items: center; gap: 28px; }
.badge { position: relative; width: 112px; height: 112px; flex: none; display: grid; place-items: center; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { font: 500 13.5px var(--f-mono); letter-spacing: .22em; fill: var(--ink); }
.badge-arrow { font-size: 22px; transition: transform .5s var(--ease); }
.badge:hover .badge-arrow { transform: translateY(6px); color: var(--berry); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-floats { position: relative; inset: auto; order: 3; display: flex; gap: 10px; margin-top: 28px; }
  .float { position: relative; inset: auto; width: auto !important; flex: 1; aspect-ratio: 3/4 !important; }
  .f4, .f5, .f6 { display: none; }
  .hero-title { padding-top: 48px; margin-top: 0; }
  .ht-line--2 { text-align: left; }
  .hero-foot { flex-direction: column; align-items: flex-start; order: 4; }
}
@media (max-width: 520px) { .badge { display: none; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; background: var(--paper); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee span { font-family: var(--f-display); font-size: clamp(40px, 7vw, 108px); line-height: 1; padding-inline: .3em; white-space: nowrap; letter-spacing: -.03em; }
.marquee em { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee i { width: .45em; height: .45em; flex: none; border-radius: 50%; background: var(--berry); font-size: clamp(20px, 3vw, 44px); }

/* ---------- Secciones genéricas ---------- */
section { position: relative; }
.manifesto, .duo, .method, .about, .formats {
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.word { display: inline-block; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(100px, 16vw, 220px); display: grid; grid-template-columns: 1fr 3fr; gap: 32px; }
.manifesto-text { font-family: var(--f-display); font-size: clamp(30px, 4.4vw, 68px); line-height: 1.12; letter-spacing: -.02em; max-width: 22em; }
@media (max-width: 760px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Dúo ---------- */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 48px); padding-bottom: clamp(100px, 14vw, 200px); align-items: start; }
.duo-col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.duo-col--b { margin-top: clamp(80px, 16vw, 240px); }
.duo-img { overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.duo-img img, .about-img img, .method-img img { width: 100%; height: 100%; object-fit: cover; }
.duo-text { display: flex; flex-direction: column; gap: 16px; }
.duo-text h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.02; }
.duo-text p { color: var(--grey); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 11px; }
.duo-amp { align-self: center; font-family: var(--f-display); font-style: italic; color: var(--berry); font-size: clamp(120px, 22vw, 360px); line-height: .7; font-variation-settings: "opsz" 96; }
.duo-amp span { display: inline-block; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo-col--b { margin-top: 0; }
  .duo-amp { font-size: 140px; justify-self: center; }
}

/* ---------- Servicios ---------- */
.services { background: var(--ink); color: var(--paper); }
.services .kicker { color: rgba(244,242,238,.55); }
.services h2 em { color: var(--berry-light); }
.svc-pin { min-height: 100svh; display: flex; align-items: center; gap: clamp(40px, 6vw, 96px); padding: 120px 0 80px max(var(--gutter), env(safe-area-inset-left)); overflow: hidden; }
.svc-head { flex: 0 0 min(30vw, 440px); display: flex; flex-direction: column; gap: 22px; }
.svc-head h2 { font-size: clamp(36px, 4vw, 64px); line-height: 1.02; }
.svc-hint { color: rgba(244,242,238,.45); }
.svc-track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-right: max(var(--gutter), env(safe-area-inset-right)); will-change: transform; }
.svc-card { flex: 0 0 auto; width: clamp(280px, 26vw, 420px); display: flex; flex-direction: column; gap: 22px; }
.svc-card figure { overflow: hidden; height: min(52vh, 540px); background: var(--ink-2); }
.svc-card img { width: 115%; max-width: none; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.35); }
.svc-card:hover img { transform: scale(1.06); filter: grayscale(0); }
.svc-info { display: flex; flex-direction: column; gap: 10px; }
.svc-info .mono { color: var(--berry-light); font-size: 11px; }
.svc-info h3 { font-size: clamp(28px, 2.4vw, 40px); line-height: 1.04; }
.svc-info p { color: rgba(244,242,238,.62); font-size: 15px; line-height: 1.55; }
.svc-progress { position: absolute; left: max(var(--gutter), env(safe-area-inset-left)); right: max(var(--gutter), env(safe-area-inset-right)); bottom: 40px; height: 1px; background: var(--line-light); }
.svc-progress i { position: absolute; inset: 0; background: var(--berry-light); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .svc-pin { flex-direction: column; align-items: stretch; padding: 100px max(var(--gutter), env(safe-area-inset-right)) 80px max(var(--gutter), env(safe-area-inset-left)); }
  .svc-head { flex: none; }
  .svc-track { flex-direction: column; gap: 56px; padding-right: 0; }
  .svc-card { width: 100%; }
  .svc-card figure { height: auto; aspect-ratio: 4/5; }
  .svc-card img { width: 100%; }
  .svc-progress { display: none; }
}

/* ---------- Método ---------- */
.method { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 140px); padding-block: clamp(100px, 14vw, 200px); }
.method-side { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.method-side h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1; }
.method-img { overflow: hidden; aspect-ratio: 5/4; margin-top: 16px; max-width: 460px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 40px 0; border-bottom: 1px solid var(--line); opacity: .3; transition: opacity .6s; }
.step.is-active { opacity: 1; }
.step-n { color: var(--berry); padding-top: 14px; }
.step h3 { font-size: clamp(40px, 5vw, 80px); line-height: 1; font-style: italic; }
.step p { margin-top: 12px; color: var(--grey); max-width: 40ch; }
.step-who { display: inline-block; margin-top: 14px; font-size: 11px; color: var(--ink); }
.steps-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--berry); transform-origin: top; transform: scaleY(0); }
.no-motion .step { opacity: 1; }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method-side { position: static; }
  .steps { padding-left: 24px; }
  .step { grid-template-columns: 44px 1fr; padding: 28px 0; }
}

/* ---------- Galería ---------- */
.gallery { padding-block: 40px clamp(100px, 14vw, 180px); overflow: hidden; display: flex; flex-direction: column; gap: 20px; }
.gallery-row { display: flex; gap: 20px; width: max-content; will-change: transform; }
.gallery-row[data-row="1"] { margin-left: -18vw; }
.gallery-row figure { width: clamp(220px, 26vw, 420px); aspect-ratio: 4/3; overflow: hidden; flex: none; background: var(--paper-2); }
.gallery-row figure.tall { width: clamp(170px, 18vw, 300px); aspect-ratio: auto; }
.gallery-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-row figure:hover img { transform: scale(1.08); }

/* ---------- Gabriela ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); padding-bottom: clamp(100px, 14vw, 200px); align-items: center; }
.about-img { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.about-img figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; color: var(--paper); font-size: 11px; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.about-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.about-text h2 { font-size: clamp(36px, 4.6vw, 76px); line-height: 1; }
.about-text > p { color: var(--grey); max-width: 56ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { color: var(--berry); font-size: 11px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.roster { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.roster ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.roster li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.roster li:first-child span:first-child { font-family: var(--f-display); font-style: italic; color: var(--berry); font-size: 19px; }
.roster li .mono { font-size: 10.5px; color: var(--grey); text-align: right; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-img { max-width: 520px; } }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Formatos ---------- */
.formats { padding-bottom: clamp(100px, 14vw, 200px); }
.formats-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; }
.formats-head h2 { font-size: clamp(36px, 4.6vw, 76px); line-height: 1; }
.fmt-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); position: relative; z-index: 2; }
.fmt-list li { border-bottom: 1px solid var(--line); }
.fmt-list a {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; transition: padding .6s var(--ease), color .4s;
}
.fmt-name { font-family: var(--f-display); font-size: clamp(36px, 5vw, 80px); line-height: 1; letter-spacing: -.025em; }
.fmt-name em { font-style: italic; }
.fmt-meta { color: var(--berry); font-size: 11px; }
.fmt-desc { color: var(--grey); font-size: 15px; }
.fmt-arrow { font-size: 28px; justify-self: end; transition: transform .6s var(--ease); }
.fmt-list a:hover { padding-left: 24px; color: var(--berry); }
.fmt-list a:hover .fmt-arrow { transform: rotate(-45deg); }
.fmt-preview {
  position: fixed; left: 0; top: 0; z-index: 1; width: 300px; aspect-ratio: 4/5; overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(.6); margin: -190px 0 0 -150px; display: none;
}
.fmt-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) { .js .fmt-preview { display: block; } }
@media (max-width: 900px) {
  .fmt-list a { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; }
  .fmt-meta, .fmt-desc { grid-column: 1; }
  .fmt-arrow { grid-column: 2; grid-row: 1; }
}

/* ---------- Agenda ---------- */
.agenda { background: var(--ink); color: var(--paper); overflow: hidden; }
.agenda-bg { position: absolute; inset: -10% 0; opacity: .22; }
.agenda-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.agenda-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 25%, rgba(20,20,20,.5)); }
.agenda-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: start;
  padding: clamp(100px, 13vw, 180px) max(var(--gutter), env(safe-area-inset-right)) clamp(100px, 13vw, 180px) max(var(--gutter), env(safe-area-inset-left));
}
.agenda .kicker { color: rgba(244,242,238,.55); }
.agenda-copy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.agenda-copy h2 { font-size: clamp(40px, 5.4vw, 88px); line-height: .98; }
.agenda h2 em { color: var(--berry-light); }
.agenda-copy > p { color: rgba(244,242,238,.65); max-width: 40ch; font-size: 18px; }
.contact-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; padding-top: 24px; border-top: 1px solid var(--line-light); margin-top: 16px; }
.contact-line .mono { color: rgba(244,242,238,.5); width: 100%; }
.mail { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); word-break: break-all; }
.mail:hover { color: var(--berry-light); }
.copy { background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--berry-light); padding: 0 0 2px; cursor: pointer; font-size: 11px; }

.book { background: var(--paper); color: var(--ink); border-radius: 4px; }
.book-step { border: 0; margin: 0; min-width: 0; padding: 24px clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.book-step:last-child { border-bottom: 0; }
.book-step legend, .book-step .legend { padding: 0; color: var(--grey); float: left; width: 100%; margin-bottom: 14px; }
.book-step legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; user-select: none;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease-out); font-variant-numeric: tabular-nums;
}
.chip span:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; transform: none; border-color: var(--line); }
.days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip.day span { border-radius: 14px; min-width: 66px; padding: 10px 12px; }
.chip.day b { font-family: var(--f-display); font-size: 24px; font-weight: 400; line-height: 1; }
.chip.day i { font-style: normal; font: 400 10px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: var(--grey); font-size: 11px; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0; border-radius: 0; width: 100%; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--berry); }
.book-submit { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.err { color: var(--berry); font-size: 14px; }
.book-done { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.book-done > .mono { color: var(--berry); }
.book-done h3 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; }
.book-done p { color: var(--grey); }
.summary { width: 100%; margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 1px solid var(--line); }
.summary dt, .summary dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary dt { padding-right: 24px; font: 400 11px/2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 960px) { .agenda-inner { grid-template-columns: 1fr; } .agenda-copy { position: static; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-light); overflow: hidden;
  padding: clamp(80px, 10vw, 140px) max(var(--gutter), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-cta { font-family: var(--f-display); font-size: clamp(36px, 5vw, 84px); line-height: 1; letter-spacing: -.02em; max-width: 14em; }
.footer-cta em { color: var(--berry-light); }
.footer-word {
  display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 38vw; line-height: .8;
  letter-spacing: -.05em; margin-block: clamp(40px, 6vw, 80px) 24px; font-variation-settings: "opsz" 96; overflow: hidden;
}
.footer-word span { display: inline-block; }
.footer-word .b { font-style: italic; color: var(--berry-light); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.footer-grid div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; min-width: 0; }
.footer-grid .mono { color: rgba(244,242,238,.45); margin-bottom: 6px; }
.footer-grid a { color: rgba(244,242,238,.8); transition: color .3s; word-break: break-word; }
.footer-grid a:hover { color: var(--berry-light); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; color: rgba(244,242,238,.45); }
.totop:hover { color: var(--paper); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
