/* ─────────── Tokens ─────────── */
:root {
  --ink: #0D0C0A;
  --ink-2: #161512;
  --ink-3: #22201C;
  --bone: #ECE6DA;
  --bone-dim: #A39D92;
  --line: rgba(236, 230, 218, 0.14);
  --accent: #E3140C;
  --brand: #D50100;
  --accent-ink: #0D0C0A;
  --olive: #3A3F2A;
  --cobalt: #2437D9;

  --f-sans: "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; background: var(--accent); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.dim { color: var(--bone-dim); }
.accent-text { color: var(--accent); }

/* Grain overlay — subtle, keeps the black from feeling digital */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─────────── Display type ─────────── */
.display {
  font-weight: 800;
  font-stretch: 72%;
  font-size: clamp(48px, 9vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.display .serif { text-transform: none; font-size: 1.08em; letter-spacing: -0.03em; }
.display--sm { font-size: clamp(40px, 6.4vw, 108px); }

.chapter {
  display: inline-flex; align-items: center; gap: 12px; color: var(--bone-dim); margin-bottom: 28px;
}
.chapter span {
  display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--bone);
}

section { position: relative; padding: clamp(96px, 14vw, 200px) var(--gutter); }
.section-head { margin-bottom: clamp(56px, 8vw, 120px); }

/* ─────────── Buttons ─────────── */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--bone); color: var(--bone);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--bone); transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn--small { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--bone); }
.btn--big { --h: 68px; padding: 0 34px; font-size: 18px; }

.link-u { position: relative; font-weight: 500; padding: 6px 0; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }

/* ─────────── Loader ─────────── */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--accent); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gutter);
}
.loader__row { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__count { font-size: clamp(64px, 14vw, 200px); font-family: var(--f-sans); font-weight: 800; font-stretch: 62%; letter-spacing: -0.04em; line-height: 0.8; }
.loader__bar { height: 2px; margin-top: 20px; background: rgba(13,12,10,0.2); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.no-js .loader, .reduced .loader { display: none; }

/* ─────────── Cursor ─────────── */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--bone); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background 0.35s;
}
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); mix-blend-mode: normal; }
.cursor__label { color: var(--ink); opacity: 0; transition: opacity 0.2s; font-weight: 500; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; } }

/* ─────────── Nav ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform 0.5s var(--ease-out), background 0.4s;
}
.nav.is-scrolled { background: rgba(13,12,10,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 80%; font-size: 20px; letter-spacing: -0.02em; text-transform: uppercase; }
.nav__logo sup { font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--accent); margin-left: 2px; vertical-align: super; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; color: var(--bone-dim); transition: color 0.25s; }
.nav__links a:hover { color: var(--bone); }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__clock { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(227,20,12,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(227,20,12,0); } 100% { box-shadow: 0 0 0 0 rgba(227,20,12,0); } }
@media (max-width: 900px) { .nav__links, .nav__clock { display: none; } }

/* ─────────── Hero ─────────── */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 96px; padding-bottom: 40px; overflow: hidden;
}
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero > *:not(canvas) { position: relative; z-index: 1; }
.hero__meta { margin-bottom: auto; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; color: var(--bone-dim); }
@media (max-width: 700px) { .hero__meta span:nth-child(3) { display: none; } }

.hero__title {
  font-weight: 900; font-stretch: 62%;
  font-size: clamp(60px, min(19vw, 23svh), 300px);
  line-height: 0.82; letter-spacing: -0.045em; text-transform: uppercase;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > * { display: inline-block; }
.hero__title, .cta__title, .display, .step h3 { word-spacing: 0.1em; }
.hero__title .line--indent { padding-left: 14vw; }
.hero__title .serif { text-transform: none; font-size: 0.9em; letter-spacing: -0.02em; font-stretch: 100%; }
.hero__title .w { transition: font-stretch 0.6s var(--ease-out), font-weight 0.6s var(--ease-out); }
@media (hover: hover) { .hero__title .w:hover { font-stretch: 100%; } }

.hero__foot { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; gap: 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.hero__lede { max-width: 44ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--bone); }
.hero__ctas { display: flex; align-items: center; gap: 28px; }
.hero__scroll { display: flex; align-items: center; gap: 10px; color: var(--bone-dim); }
.hero__scroll i { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@media (max-width: 800px) {
  .hero__foot { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__title .line--indent { padding-left: 0; }
}

/* ─────────── Marquee ─────────── */
.marquee { padding: 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 0.5em; width: max-content; padding: 22px 0; white-space: nowrap;
  font-weight: 800; font-stretch: 70%; font-size: clamp(40px, 7vw, 110px); line-height: 1; text-transform: uppercase; letter-spacing: -0.03em; will-change: transform; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.marquee__track i { font-style: normal; color: var(--accent); font-size: 0.5em; }

/* ─────────── Manifesto ─────────── */
.manifesto__text {
  font-weight: 600; font-stretch: 88%;
  font-size: clamp(30px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -0.03em;
  max-width: 22ch;
}
.manifesto__text .word { opacity: 0.14; }
.manifesto__sig { margin-top: 48px; font-size: clamp(24px, 2.6vw, 40px); color: var(--accent); }

/* ─────────── Services ─────────── */
.svc { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 80px 1.3fr 1fr; gap: 12px 32px; align-items: start;
  padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out);
}
.svc__no { color: var(--bone-dim); padding-top: 1.2em; transition: color 0.4s; }
.svc__name {
  font-weight: 800; font-stretch: 62%; font-size: clamp(56px, 9vw, 150px); line-height: 0.85; letter-spacing: -0.04em;
  text-transform: uppercase; transition: font-stretch 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.4s;
}
.svc__desc { max-width: 38ch; color: var(--bone-dim); padding-top: 0.6em; transition: color 0.4s; }
.svc__tags { grid-column: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.4s, color 0.4s; }
@media (hover: hover) {
  .svc__row:hover::before { transform: scaleY(1); transform-origin: top; }
  .svc__row:hover .svc__name { font-stretch: 100%; color: var(--ink); transform: translateX(12px); }
  .svc__row:hover .svc__no, .svc__row:hover .svc__desc, .svc__row:hover .svc__tags li { color: var(--ink); border-color: rgba(13,12,10,0.35); }
}
@media (max-width: 800px) {
  .svc__row { grid-template-columns: 1fr; }
  .svc__no { padding-top: 0; }
  .svc__tags { grid-column: 1; }
}

/* ─────────── Work (horizontal) ─────────── */
.work { padding: 0; }
.work__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3svh, 40px); padding: 80px 0 32px; overflow: hidden; }
.work__head .display--sm { font-size: clamp(36px, min(6vw, 9svh), 104px); }
.work__head .chapter { margin-bottom: 14px; }
.work__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; }
.work__head .chapter { grid-column: 1 / -1; }
.work__progress { width: 180px; height: 2px; background: var(--line); margin-bottom: 14px; }
.work__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.work__track { --art-h: min(clamp(220px, 100svh - 360px, 480px), 72vw * 0.6125 + 28px); --ww: calc((var(--art-h) - 28px) / 0.6125); align-items: flex-start; display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }

.case { width: max(calc(var(--art-h) * 0.95), 280px); flex: none; display: flex; flex-direction: column; gap: 14px; }
.case__art { position: relative; height: var(--art-h); border-radius: 6px; overflow: hidden; }
.case--web { width: var(--ww); }
.case__art > * { transition: transform 0.9s var(--ease-out); }
.case:hover .case__art > * { transform: scale(1.03); }
.case:hover .shot--web > .shot__frame { transform: translateY(-8px); }
.case__meta { display: grid; gap: 6px; }
.case__meta > .mono { color: var(--bone-dim); }
.case__meta h3 { font-weight: 700; font-stretch: 85%; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; }
.case__meta ul { display: flex; gap: 6px; flex-wrap: wrap; color: var(--bone-dim); }
.case__meta ul li:not(:last-child)::after { content: " /"; }
.case--cta { justify-content: space-between; padding: 36px; border: 1px dashed var(--line); border-radius: 6px; height: var(--art-h); align-self: flex-start; }
.case--cta .mono { color: var(--bone-dim); }
.case--cta .btn { align-self: flex-start; }

/* Case art — real screenshots in device frames */
.shot { background: var(--bg, var(--ink-3)); display: grid; place-items: center; }
.shot--web { padding: 5% 5% 0; display: block; }
.shot__frame { width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); }
.shot__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #F2F2F0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.15); }
.shot__bar span { margin-left: 10px; font-size: 10px; text-transform: none; color: rgba(0,0,0,0.45); }
.shot__frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; }
.shot--app { background: radial-gradient(120% 90% at 70% 110%, #5A0610 0%, #150507 55%, #0B0405 100%); overflow: hidden; }
.shot__glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: #E50914; filter: blur(90px); opacity: 0.35; }
.shot__phone { position: absolute; top: 5%; left: 50%; height: 100%; margin-left: calc(var(--art-h) * -0.231); aspect-ratio: 390 / 844; border-radius: 30px; padding: 7px; background: #1B1B1D; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px rgba(0,0,0,0.6); transform: rotate(6deg); }
.shot__phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.shot__tag { position: absolute; left: 7%; bottom: 9%; color: rgba(236,230,218,0.7); line-height: 1.6; }
.case { color: inherit; }
.case:hover .case__meta h3 { color: var(--accent); }
.case__meta h3 { transition: color 0.3s; }

@media (max-width: 900px) {
  .work { padding: clamp(96px, 14vw, 200px) 0; }
  .work__pin { min-height: 0; padding: 0; }
  .work__track { flex-direction: column; width: auto; gap: 56px; }
  .work__track { --ww: calc(100vw - 2 * var(--gutter)); --art-h: calc(var(--ww) * 0.6125 + 28px); }
  .work__pin { height: auto; }
  .case--app .case__art { height: calc(var(--art-h) * 1.5); }
  .case, .case--web { width: 100%; }
  .work__progress { display: none; }
}

/* ─────────── AI Lab ─────────── */
.ai { background: var(--bone); color: var(--ink); }
.ai .chapter { color: rgba(13,12,10,0.6); }
.ai .chapter span { border-color: rgba(13,12,10,0.2); color: var(--ink); }
.ai .serif { color: var(--accent); }
.ai__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.ai__lede { margin: 36px 0 48px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); color: #4A463F; }
.ai__list { border-top: 1px solid rgba(13,12,10,0.15); }
.ai__list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(13,12,10,0.15); }
.ai__list .mono { padding-top: 5px; color: var(--accent); font-weight: 500; }
.ai__list h3 { font-weight: 700; font-stretch: 85%; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.ai__list p { color: #4A463F; max-width: 48ch; }

.console { position: sticky; top: 110px; border-radius: 10px; background: var(--ink); color: var(--bone); overflow: hidden; box-shadow: 0 50px 100px -30px rgba(13,12,10,0.45); }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.console__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.console__bar i:first-child { background: var(--accent); }
.console__bar span { margin-left: auto; color: var(--bone-dim); font-size: 11px; }
.console__body { min-height: 440px; padding: 22px 20px 28px; font-size: 13px; line-height: 1.75; text-transform: none; letter-spacing: 0; white-space: pre-wrap; }
.console__body .c-dim { color: var(--bone-dim); }
.console__body .c-acc { color: var(--accent); }
.console__body .c-ok { color: #BEF264; }
.console__body .caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .ai__grid { grid-template-columns: 1fr; } .console { position: relative; top: 0; } .console__body { min-height: 380px; } }

/* ─────────── Process (stacking cards) ─────────── */
.stack { display: grid; gap: 24px; }
.step {
  position: sticky; top: calc(100px + var(--i) * 28px);
  min-height: 52vh; padding: clamp(28px, 4vw, 56px); border-radius: 10px;
  background: #1C1A17; border: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  transform-origin: center top;
}
.step:nth-child(2) { background: #25221E; }
.step:nth-child(3) { background: #2F2B26; }
.step:nth-child(4) { background: var(--accent); color: var(--ink); border-color: transparent; }
.step:nth-child(4) .step__top { color: rgba(13,12,10,0.7); }
.step__top { display: flex; justify-content: space-between; color: var(--bone-dim); }
.step h3 { font-weight: 900; font-stretch: 62%; font-size: clamp(80px, 15vw, 240px); line-height: 0.8; letter-spacing: -0.045em; text-transform: uppercase; align-self: center; }
.step p { max-width: 52ch; font-size: clamp(16px, 1.3vw, 20px); }

/* ─────────── Why ─────────── */
.why__list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline;
  padding: clamp(20px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-stretch: 88%; font-size: clamp(24px, 3vw, 48px); line-height: 1.05; letter-spacing: -0.03em;
}
.why__list li:first-child { border-top: 1px solid var(--line); }
.why__list .mono { color: var(--accent); }
.why__title { margin-bottom: clamp(48px, 7vw, 100px); }
.why__list small { display: block; margin-top: 10px; max-width: 58ch; font-family: var(--f-sans); font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; font-stretch: 100%; line-height: 1.5; letter-spacing: 0; color: var(--bone-dim); }
.why__list li { transition: padding-left 0.5s var(--ease-out); }
@media (hover: hover) { .why__list li:hover { padding-left: 12px; } .why__list li:hover > div { color: var(--bone); } }

/* ─────────── FAQ ─────────── */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 44px; padding: 26px 0; cursor: pointer;
  font-weight: 600; font-stretch: 90%; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -0.02em;
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 28px; max-width: 58ch; color: var(--bone-dim); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ─────────── CTA ─────────── */
.cta { padding-bottom: clamp(64px, 8vw, 120px); }
.cta__title {
  font-weight: 900; font-stretch: 62%; font-size: clamp(64px, 14vw, 250px); line-height: 0.84; letter-spacing: -0.045em; text-transform: uppercase;
}
.cta__title .line { display: block; overflow: hidden; }
.cta__title .line > * { display: inline-block; }
.cta__title .serif { text-transform: none; font-size: 1.05em; font-stretch: 100%; }
.cta__row { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.cta__mail { font-family: var(--f-serif); font-style: italic; font-size: clamp(28px, 4vw, 64px); letter-spacing: -0.02em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease-out), color 0.3s; }
.cta__mail:hover { background-size: 100% 1px; color: var(--accent); }

/* ─────────── Footer ─────────── */
.footer { padding: 0 var(--gutter); border-top: 1px solid var(--line); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.footer__cols p { margin-top: 10px; font-size: 15px; }
.footer__cols a { color: var(--bone-dim); transition: color 0.2s; }
.footer__cols a:hover { color: var(--bone); }
.footer__mark {
  font-weight: 900; font-stretch: 62%; font-size: 25.5vw; line-height: 0.9; letter-spacing: -0.05em; text-align: center;
  color: var(--bone); padding-bottom: 0.02em; white-space: nowrap; user-select: none;
}
.footer__mark .char { display: inline-block; }
@media (max-width: 700px) { .footer__cols { grid-template-columns: 1fr 1fr; } }


/* ─────────── Booking form (dialog) ─────────── */
.book {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(640px, 100vw); max-width: none; height: 100dvh; max-height: none;
  background: var(--bone); color: var(--ink); overflow: hidden;
}
.book[open] { animation: book-in 0.6s var(--ease-out); }
.book.is-closing { animation: book-out 0.35s var(--ease-io) forwards; }
.book::backdrop { background: rgba(13,12,10,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.4s ease; }
.book.is-closing::backdrop { opacity: 0; transition: opacity 0.35s; }
@keyframes book-in { from { transform: translateX(100%); } }
@keyframes book-out { to { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.book__panel { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 20px clamp(20px, 4vw, 48px) 48px; }
.book__top { position: sticky; top: -20px; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin: -20px calc(clamp(20px, 4vw, 48px) * -1) 0; padding: 16px clamp(20px, 4vw, 48px); background: var(--bone); }
.book .dim { color: #6B665D; }
.book__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(13,12,10,0.15); transition: background 0.25s, transform 0.4s var(--ease-out); }
.book__close:hover { background: var(--ink); color: var(--bone); transform: rotate(90deg); }
.book__title { margin: 24px 0 12px; font-weight: 900; font-stretch: 65%; font-size: clamp(44px, 6vw, 72px); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.book__title .serif { text-transform: none; color: var(--accent); font-stretch: 100%; }
.book__lede { color: #4A463F; max-width: 44ch; margin-bottom: 36px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; border: 0; min-width: 0; }
.field label, .field legend { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: #3A362F; padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 0; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(13,12,10,0.25); border-radius: 0;
  transition: border-color 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D0C0A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input::placeholder, .field textarea::placeholder { color: #8C867B; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--accent); }
.field [aria-invalid="true"] { border-bottom-color: var(--accent); }
.field__err { font-size: 14px; color: #B00E07; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(13,12,10,0.2); border-radius: 999px; font-family: var(--f-sans); font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips label:active span { transform: scale(0.96); }

.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 12px; }
.book .btn--accent::before { background: var(--ink); }
.book .btn--accent:hover { color: var(--bone); }
.book .btn:not(.btn--accent) { border-color: var(--ink); color: var(--ink); }
.book .btn:not(.btn--accent)::before { background: var(--ink); }
.book .btn:not(.btn--accent):hover { color: var(--bone); }
.book button[disabled] { opacity: 0.6; pointer-events: none; }
.book__status { font-size: 15px; color: #4A463F; }
.book__done { padding-top: 12vh; }
.book__done:focus { outline: none; }
@media (max-width: 640px) {
  .book { inset: auto 0 0 0; width: 100vw; height: 92dvh; border-radius: 18px 18px 0 0; }
  @keyframes book-in { from { transform: translateY(100%); } }
  @keyframes book-out { to { transform: translateY(100%); } }
}
html.book-open, html.book-open body { overflow: hidden; }

/* ─────────── Reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .manifesto__text .word { opacity: 1; }
  .step { position: relative; top: 0; }
}

/* Custom cursor lives under the dialog's top layer, so restore native cursors inside it */
.has-cursor .book, .has-cursor .book * { cursor: auto; }
.has-cursor .book button, .has-cursor .book select, .has-cursor .book .chips label, .has-cursor .book a { cursor: pointer; }
.has-cursor .book input:not([type="checkbox"]), .has-cursor .book textarea { cursor: text; }
