/* ============================================================
   kruithofbuilds — public hub
   Palette: paper ivory / ink / deep claret accent / brass hairlines
   Type: Cabinet Grotesk (display) + Switzer (text) — self-hosted
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/fonts/cabinetgrotesk-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/fonts/cabinetgrotesk-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/fonts/cabinetgrotesk-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/switzer-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/switzer-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fonts/switzer-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F3EA;
  --paper-deep: #E9E1CE;          /* clearly-darker ground zone */
  --card: #FFFDF8;                /* lifted card surface */
  --card-shadow: 0 1px 2px rgba(24, 21, 16, 0.06), 0 8px 24px rgba(24, 21, 16, 0.06);
  --ink: #181510;
  --ink-soft: rgba(24, 21, 16, 0.66);

  --accent: #6F5928;             /* brass accent — 6.05:1 on paper (AA) */
  --accent-deep: #55431E;
  --accent-soft: rgba(111, 89, 40, 0.12);

  --brass: #A98C4B;              /* elevated on ink zones — ~5.8:1 on ink */
  --brass-text: #6F5928;        /* ~5.0:1 on paper */
  --brass-soft: rgba(169, 140, 75, 0.38);

  --line: rgba(24, 21, 16, 0.14);
  --line-ink: rgba(247, 243, 234, 0.16);
  --paper-70: rgba(247, 243, 234, 0.72);
  --paper-60: rgba(247, 243, 234, 0.62);

  --display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --sans: 'Switzer', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;

  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Language toggle ---------- */
html[data-lang="nl"] .l-en { display: none !important; }
html[data-lang="en"] .l-nl { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (min-width: 1440px) { html { font-size: 17px; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--paper); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1.2rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.mono-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.8em 1.5em; border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; transform: translateY(-1px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--onink { background: var(--paper); color: var(--ink); }
.btn--onink:hover { background: #fff; transform: translateY(-1px); }
.btn--small { font-size: 0.9rem; padding: 0.55em 1.1em; min-height: 44px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--accent); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(111, 89, 40, 0.35);
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--accent); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0.5rem var(--pad);
  display: flex; align-items: center; gap: 1.25rem;
}
.brand {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand .dot { color: var(--accent); }
.topbar-nav { display: flex; gap: 1.1rem; margin-left: 0.5rem; }
.topbar-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 44px;
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 0.8rem; }
.x-link {
  font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft);
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.x-link:hover { color: var(--ink); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; font-family: var(--mono); font-size: 0.78rem;
}
.lang-toggle button {
  appearance: none; border: 0; background: transparent; color: var(--ink-soft);
  font: inherit; padding: 0.6em 0.9em; cursor: pointer; min-height: 40px;
}
html[data-lang="nl"] .lang-toggle button[data-lang="nl"],
html[data-lang="en"] .lang-toggle button[data-lang="en"] { background: var(--ink); color: var(--paper); }

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .topbar-inner { gap: 0.55rem; }
  .x-link { display: none; }
  .topbar-nav { display: none; }
  .topbar-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--card-shadow);
    padding: 0.4rem var(--pad) 0.7rem; margin: 0;
  }
  .topbar-nav.open a {
    font-size: 1.05rem; padding: 0.6rem 0; min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
  .topbar-nav.open a:last-child { border-bottom: 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; margin-left: 0.1rem;
    border: 1px solid var(--line); border-radius: 10px;
    background: transparent; cursor: pointer; color: var(--ink);
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .lang-toggle button { padding: 0.55em 0.75em; }
  .btn--small { padding: 0.5em 0.85em; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(4rem, 11vh, 7rem) 0 clamp(3rem, 8vh, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
/* min-width:0 keeps column widths identical in NL and EN — without it the long
   Dutch words inflate the text column's min-content and squeeze the visual */
.hero-grid > * { min-width: 0; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  max-width: 15ch;
  margin: 1rem 0 1.4rem;
  overflow-wrap: break-word;
  text-wrap: balance;
  hyphens: auto;
}
@media (max-width: 480px) { .hero h1 { font-size: 2.25rem; } }
.hero h1 .accent { color: var(--accent); hyphens: none; }
.hero .sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 2rem;
}
.hero-meta {
  margin-top: 2.2rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
}
.hero-visual { min-width: 0; }
@media (max-width: 880px) { .hero-visual { margin-top: 2.4rem; max-width: 560px; } }

/* hero load stagger */
@media (prefers-reduced-motion: no-preference) {
  .hero .rise {
    opacity: 0; transform: translateY(16px);
    animation: rise 0.7s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
  }
  .hero-copy .rise:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy .rise:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy .rise:nth-child(4) { animation-delay: 0.24s; }
  .hero-copy .rise:nth-child(5) { animation-delay: 0.32s; }
  .hero-visual.rise { animation-delay: 0.28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Sections + chapter rhythm ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.section--deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); border-top: none; }
.section-head { max-width: 46em; }
.section-head h2 { margin: 0.6rem 0 1rem; }
.section-head .intro { color: var(--ink-soft); }

/* oversized brass mono chapter numerals */
.sec-no {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--brass-text);
  margin-bottom: 0.5rem;
}
.section--ink .sec-no { color: var(--brass); }
.section--ink .mono-label { color: var(--brass); }
.section--ink .section-head .intro { color: var(--paper-70); }
.section--ink h2 { color: var(--paper); }

/* ---------- Who ---------- */
.who p { max-width: 60ch; color: var(--ink); }
.who p + p { margin-top: 1rem; }

/* ---------- Door cards ---------- */
.doors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem; margin-top: 2.4rem;
}
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: flex; flex-direction: column; gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 1.9rem 1.9rem 1.6rem;
  text-decoration: none; color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.door:hover {
  transform: translateY(-3px);
  border-color: var(--brass-soft);
  box-shadow: 0 18px 40px -24px rgba(24, 21, 16, 0.28);
}
.door .no { font-family: var(--mono); font-size: 0.8rem; color: var(--brass-text); }
.door h3 { font-size: 1.35rem; line-height: 1.15; }
.door p { color: var(--ink-soft); font-size: 0.98rem; flex-grow: 1; }
.door .go {
  color: var(--accent); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; gap: 0.4em; align-items: center;
}
.door:hover .go .arrow { transform: translateX(3px); }
.door .go .arrow { transition: transform 0.2s ease; }

.price-anchor {
  margin-top: 2rem;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass); padding-left: 0.9rem;
}

/* ---------- Why one-man ---------- */
.why-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start; margin-top: 1rem;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-grid h2 { position: sticky; top: 5rem; }
@media (max-width: 860px) { .why-grid h2 { position: static; } }
.why-copy p { color: var(--ink); max-width: 58ch; }
.why-copy p + p { margin-top: 1rem; }

/* ---------- Proof — ink card (subpages) ---------- */
.proof-card {
  margin-top: 2.2rem;
  background: var(--ink); color: var(--paper);
  border-radius: 18px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) { .proof-card { grid-template-columns: 1fr; } }
.proof-card .mono-label { color: var(--brass); }
.proof-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0.7rem 0 0.9rem; color: var(--paper); }
.proof-card p { color: var(--paper-70); max-width: 48ch; }
.proof-card .btn { margin-top: 1.6rem; background: var(--paper); color: var(--ink); }
.proof-card .btn:hover { background: #fff; }
.proof-stats { display: grid; gap: 1rem; }
.stat {
  border-left: 2px solid var(--brass);
  padding-left: 1rem;
}
.stat .n { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.stat .d { font-size: 0.9rem; color: var(--paper-60); }

/* ---------- Proof — case grid (home, on ink) ---------- */
.case-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-ink); border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.case-body { display: flex; flex-direction: column; gap: 0.7rem; }
.case-body .mono-label { color: var(--brass); }
.case-body h3 { color: var(--paper); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.15; }
.case-blurb { color: var(--paper-70); max-width: 46ch; }
.case-tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brass); border: 1px solid var(--brass-soft); border-radius: 999px;
  padding: 0.45em 0.85em;
}
.case-media { position: relative; padding-bottom: 0.5rem; }
.case-media .browser-frame--mobile {
  position: absolute; right: 0.4rem; bottom: -0.4rem; width: 33%; max-width: 150px;
}
@media (max-width: 520px) {
  .case-media .browser-frame--mobile { position: static; width: 60%; max-width: 200px; margin: 0.9rem 0 0 auto; }
}
.value-lines { display: grid; gap: 1.1rem; margin: 0.3rem 0 0.2rem; }
.vline { border-left: 2px solid var(--brass); padding-left: 1rem; }
.vbig {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.15; color: var(--paper);
}
.vsmall { font-size: 0.9rem; color: var(--paper-60); margin-top: 0.3rem; }
.case-note { font-size: 0.9rem; color: var(--paper-60); }
.case-card .btn { align-self: flex-start; }

/* ---------- Browser-chrome frame ---------- */
.browser-frame {
  background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.55);
}
.bf-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.8rem; background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.bf-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(24, 21, 16, 0.22); flex: none; }
.bf-addr { flex: 1; height: 16px; margin-left: 0.5rem; max-width: 60%; border-radius: 5px; background: rgba(24, 21, 16, 0.10); }
.bf-screen { background: var(--paper-deep); }
.bf-screen img { width: 100%; height: auto; display: block; }
.hero-visual .bf-screen { aspect-ratio: 4 / 3; }
.hero-visual .bf-screen img { height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Free-preview hook ---------- */
.fp-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.4rem;
  background: var(--accent-soft); border: 1px solid var(--brass-soft);
  border-radius: 16px; padding: clamp(1.5rem, 3vw, 2rem);
}
.fp-inner .fp-copy { max-width: 46ch; }
.fp-line { margin-top: 0.5rem; font-size: 1.05rem; color: var(--ink); }
.fp-inner .btn { flex: none; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  margin-top: 1rem; align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-note { color: var(--ink-soft); max-width: 38ch; margin-top: 1rem; }
.contact-side .x-follow { margin-top: 1.6rem; }

form.contact {
  background: var(--card);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7em 0.9em;
  width: 100%;
}
.field textarea { min-height: 7.5em; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
form.contact .btn { justify-self: start; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: clamp(3rem, 7vw, 5rem); }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 2rem var(--pad) 2.6rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  align-items: baseline; justify-content: space-between;
  font-size: 0.9rem; color: var(--ink-soft);
}
.footer .brand { font-size: 1rem; min-height: 0; }
.footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--ink); }

/* ---------- Subpages ---------- */
.page-hero { padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(2rem, 5vh, 3rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin: 1rem 0 1.2rem; }
.page-hero .sub { color: var(--ink-soft); max-width: 46ch; font-size: 1.12rem; }
.crumb {
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--ink-soft); text-decoration: none;
}
.crumb:hover { color: var(--ink); }

.price-block {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1.2rem;
}
.price-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 1.4rem 1.7rem; min-width: 240px; flex: 1;
}
.price-item .p { font-family: var(--display); font-weight: 800; font-size: 1.9rem; }
.price-item .t { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.3rem; }

.svc { max-width: 62ch; }
.svc p { color: var(--ink); }
.svc p + p { margin-top: 1rem; }
.svc .btn { margin-top: 1.8rem; }

/* ---------- Website case block (websites page) ---------- */
.web-case { max-width: 900px; }
.web-case-shots {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.2rem, 3vw, 2rem);
  align-items: end; margin: 1.4rem 0 1.6rem;
}
@media (max-width: 640px) {
  .web-case-shots { grid-template-columns: 1fr; }
  .web-case-shots .browser-frame--mobile { max-width: 240px; }
}
.web-case .case-blurb { color: var(--ink); max-width: 58ch; }
.web-case .case-tag { margin-top: 1rem; color: var(--brass-text); border-color: var(--brass-soft); }

/* ---------- Ink closing CTA band (subpages) ---------- */
.cta-band .wrap { max-width: 48em; }
.cta-band .sec-no { color: var(--brass); }
.cta-band h2 { color: var(--paper); font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cta-band p { color: var(--paper-70); max-width: 48ch; margin-top: 0.9rem; }
.cta-band .btn { margin-top: 1.6rem; }

/* ---------- Walkthrough (paperflow) ---------- */
.wt-step { margin-top: clamp(2.5rem, 6vw, 4rem); }
.wt-step .ts { font-family: var(--mono); font-size: 0.85rem; color: var(--brass-text); }
.wt-step h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0.5rem 0 0.9rem; }
.wt-step p { max-width: 62ch; color: var(--ink); }
.wt-step p + p { margin-top: 0.9rem; }
.wt-step img {
  margin-top: 1.4rem;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 44px -28px rgba(24, 21, 16, 0.3);
}
.wt-step img.tall { max-width: min(420px, 100%); }
.wt-notes {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-size: 0.88rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  max-width: 62ch;
}

/* ---------- Thanks / 404 page ---------- */
.thanks { min-height: 55vh; display: grid; place-content: start; padding-top: clamp(4rem, 14vh, 8rem); }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1rem 0; }
.thanks p { color: var(--ink-soft); max-width: 42ch; }
.thanks .btn { margin-top: 2rem; justify-self: start; }

/* ---------- Reveal (hidden only when JS present) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal].in { opacity: 1; transform: none; }
.doors .door:nth-child(2) { transition-delay: 0.08s; }
.doors .door:nth-child(3) { transition-delay: 0.16s; }
.case-grid .case-card:nth-child(2) { transition-delay: 0.08s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero .rise { opacity: 1; transform: none; animation: none; }
}

.footer-nav a { margin: 0 0.1rem; }
