/* =====================================================================
   NORTHCRAFT — "Field Guide" art direction
   Ink on warm paper, one marker-red accent, engineering grid.
   Hand-tuned; no framework.
   ===================================================================== */

:root {
  /* palette — crisp near-white & ink, one punchy accent */
  --paper:      #f4f3ef;   /* clean warm-white (less sepia, more modern) */
  --paper-2:    #eae8e1;   /* slightly deeper panel */
  --ink:        #15140f;
  --ink-soft:   #5c5850;
  --line:       #ddd9cd;   /* lighter, subtler grid / hairlines */
  --accent:     #ff3b1f;   /* punchy modern vermilion */
  --accent-ink: #d62f17;
  --accent-2:   #1f5fff;   /* electric cobalt, used sparingly for pops */

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, "Courier New", monospace;

  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 88px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--display);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  /* whisper-faint dot grid — modern, not papery */
  background-image:
    radial-gradient(color-mix(in srgb, var(--line) 70%, transparent) 0.5px, transparent 0.6px);
  background-size: 28px 28px;
  background-position: -14px -14px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--paper); }

/* ---------- decorative engineering grid ---------- */
.grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    linear-gradient(to right, transparent calc(var(--gut) - 1px), var(--line) calc(var(--gut) - 1px), var(--line) var(--gut), transparent var(--gut)),
    linear-gradient(to left,  transparent calc(var(--gut) - 1px), var(--line) calc(var(--gut) - 1px), var(--line) var(--gut), transparent var(--gut));
  opacity: .4;
  mix-blend-mode: multiply;
}

/* ---------- scroll ruler ---------- */
.scroll-ruler {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 60; background: transparent;
}
.scroll-ruler span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
}

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease, background .18s ease, opacity .2s;
  mix-blend-mode: multiply;
  opacity: 0;
}
.cursor.is-active { width: 46px; height: 46px; background: transparent; border: 1.5px solid var(--accent); }
@media (hover: none) { .cursor { display: none; } }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gut);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--mono); font-weight: 700; font-size: 20px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  align-self: center;
}
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__reg {
  font-family: var(--mono); font-size: 10px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .08em;
}

.nav { display: flex; gap: 26px; }
.nav a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  position: relative; padding: 4px 0;
}
.nav__idx { color: var(--accent); font-size: 10px; vertical-align: super; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--ink); transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.head-cta {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  padding: 10px 16px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background .2s, color .2s, transform .2s;
}
.head-cta:hover { background: var(--accent); border-color: var(--accent); }

/* language switcher */
.head-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; gap: 2px; }
.lang button {
  font-family: var(--mono); font-size: 12px; font-weight: 700; line-height: 1;
  padding: 6px 7px; background: transparent; border: 1px solid var(--line);
  color: var(--ink-soft); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.lang button:hover { border-color: var(--ink); color: var(--ink); }
.lang button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lang--drawer { margin-top: 34px; }
.lang--drawer button { font-size: 15px; padding: 10px 15px; }

/* burger / drawer (mobile) */
.burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 28px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper); display: flex; flex-direction: column;
  justify-content: center; gap: 8px; padding: 0 var(--gut);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.7,0,.2,1);
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-size: clamp(34px, 9vw, 64px); font-weight: 700; letter-spacing: -.02em;
  border-bottom: 1px solid var(--line); padding: 14px 0; display: flex; gap: 16px; align-items: baseline;
}
.drawer a span { font-family: var(--mono); font-size: 14px; color: var(--accent); }

/* =====================================================================
   LAYOUT PRIMITIVES
   ===================================================================== */
main { position: relative; z-index: 2; }

.band {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 11vw, 150px) var(--gut);
  border-top: 1px solid var(--line);
}

.band__head { margin-bottom: clamp(36px, 6vw, 70px); }
.band__head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.band__num {
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  display: inline-block; margin-bottom: 14px;
  border: 1px solid var(--accent); padding: 2px 8px; border-radius: 100px;
}
.band__title {
  font-size: clamp(30px, 5.2vw, 60px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.02; max-width: 16ch;
}
.band__head--center .band__title { max-width: none; }
.band__sub {
  margin-top: 18px; max-width: 56ch; font-size: clamp(15px, 1.7vw, 19px);
  color: var(--ink-soft);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(104px, 13vw, 150px) var(--gut) clamp(36px, 5vw, 60px);
}
.hero__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  letter-spacing: .06em; border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: clamp(24px, 4vw, 44px);
}

/* hero is now a split: pitch left, live work preview right */
.hero__top {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 74px);
  font-weight: 700; letter-spacing: -.035em; line-height: .96;
}
.hero__title .line { display: block; }
.hero__title em { font-style: italic; font-weight: 500; }
.hero__title .accent { color: var(--accent); }
/* per-line reveal */
.hero__title .line { overflow: hidden; }
.hero__title .line > * , .hero__title .line { }
.reveal-line { transform: translateY(110%); display: inline-block; }
.is-in .reveal-line { transform: translateY(0); transition: transform .9s cubic-bezier(.16,1,.3,1); }

.hero__lede { font-size: clamp(16px, 1.9vw, 21px); max-width: 46ch; color: var(--ink-soft); margin-top: clamp(22px, 3vw, 30px); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 32px); }
.hero__note { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-top: 18px; letter-spacing: .02em; }

/* ---- live "browser" preview of real work ---- */
.hero__viewer { width: 100%; }
.viewer {
  border: 1.5px solid var(--ink); background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
}
.viewer__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 12px;
}
.viewer__dots { display: flex; gap: 6px; }
.viewer__dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); }
.viewer__dots i:first-child { background: var(--accent); border-color: var(--accent); }
.viewer__url {
  color: var(--ink-soft); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background: var(--paper-2); padding: 4px 10px; border-radius: 4px;
}
.viewer__stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1.5px solid var(--ink);
  /* the absolutely-positioned vframes must never be able to grow this box -
     without this, the taller "estate" mockup could leak a few px of height
     into the stage as the hero auto-cycles, shunting the page underneath it */
  contain: layout paint;
}
.vframe { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; display: grid; }
.vframe.is-active { opacity: 1; }
.viewer__tabs { display: flex; }
.viewer__tabs button {
  flex: 1; font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em;
  padding: 11px 4px; background: var(--paper); color: var(--ink-soft);
  border: 0; border-right: 1px solid var(--line); cursor: pointer; transition: .2s;
  /* a longer label (e.g. on narrow phones) must never wrap to a 2nd line -
     that would grow this row and shove the whole hero down mid-cycle */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.viewer__tabs button:last-child { border-right: 0; }
.viewer__tabs button.is-active { background: var(--ink); color: var(--paper); }

/* buttons */
.btn {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  padding: 14px 26px; display: inline-block; border: 1.5px solid var(--ink);
  transition: transform .2s, background .2s, color .2s; will-change: transform;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--big { padding: 18px 40px; font-size: 16px; }

/* ticker */
.ticker {
  margin-top: clamp(48px, 8vw, 90px);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  overflow: hidden; padding: 14px 0; white-space: nowrap;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 28px;
  animation: ticker 34s linear infinite;
  font-size: clamp(20px, 3vw, 34px); font-weight: 500;
}
.ticker__track .dot { color: var(--accent); font-size: .7em; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =====================================================================
   01 — STUDIO
   ===================================================================== */
.studio__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); }
.studio__big {
  font-size: clamp(22px, 3.2vw, 38px); font-weight: 500; letter-spacing: -.02em;
  line-height: 1.18;
}
.studio__big::first-line { }
.studio__points { display: flex; flex-direction: column; gap: 28px; }
.point { border-top: 1px solid var(--line); padding-top: 18px; }
.point__no { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.point h3 { font-size: 20px; margin: 6px 0 8px; letter-spacing: -.01em; }
.point p { color: var(--ink-soft); font-size: 15px; max-width: 42ch; }

/* =====================================================================
   02 — CATALOGUE / specimens
   ===================================================================== */
.specimens {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.specimen--wide { grid-column: 1 / -1; }

.specimen__link {
  display: flex; flex-direction: column; height: 100%;
  border: 1.5px solid var(--ink); background: var(--paper);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.specimen { perspective: 1000px; }
.specimen__link:hover {
  transform: translateY(-6px);
  box-shadow: 14px 14px 0 var(--ink);
}
.specimen__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 10px 16px; border-bottom: 1.5px solid var(--ink);
  display: flex; justify-content: space-between; color: var(--ink-soft);
}

/* the "screenshot" frame holds a pure-CSS mini mock of each site */
.specimen__frame {
  aspect-ratio: 16 / 10; overflow: hidden; position: relative;
  border-bottom: 1.5px solid var(--ink);
  display: grid; place-items: stretch;
}
.specimen--wide .specimen__frame { aspect-ratio: 21 / 7; }

.specimen__foot { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.specimen__foot strong { font-size: 19px; letter-spacing: -.01em; }
.specimen__foot span { color: var(--ink-soft); font-size: 14px; }
.specimen__open { font-family: var(--mono); color: var(--accent); font-size: 13px; margin-top: 6px; }

/* --- homepage teaser carousel: 3 demos, swipe on mobile, row on desktop --- */
.reel { position: relative; }
.reel__track {
  list-style: none;
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%;
  gap: clamp(14px, 2.4vw, 24px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 0 14px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track > .specimen { scroll-snap-align: start; perspective: 1000px; }
.reel__hint { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-soft); margin-top: 4px; }
.reel__hint span { display: none; }
.reel__cta { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; margin-top: 22px; }
@media (min-width: 720px) { .reel__track { grid-auto-columns: 46%; } }
/* 2 per row from tablet up (4 teaser cards => a tidy 2x2), swipe carousel on mobile */
@media (min-width: 720px) {
  .reel__track { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 34px);
    overflow: visible; margin: 0; padding: 4px 0; }
  .reel__hint span { display: inline; }
  .reel__hint b { display: none; }
}

/* experiment preview frames (bolder, different register) - shared so index + showroom both use them */
.specimen__frame.exp {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 6px; padding: 26px 22px; color: #fff; position: relative; overflow: hidden;
}
.exp .exp__title { font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.01em; line-height: 1; position: relative; z-index: 2; }
.exp .exp__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; z-index: 2; }
.exp--arcade { background: radial-gradient(120% 120% at 0% 0%, #14142a 0%, #07070d 70%); }
.exp--arcade .exp__title { background: linear-gradient(90deg, #00e5ff, #ff2d95); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exp--festival { background: linear-gradient(135deg, #ff6a2b 0%, #ff2d7e 55%, #7b2ff7 100%); }
.exp--drop { background: #14140f; }
.exp--drop .exp__title { color: #ccff00; }
.exp--drop::after { content: "04"; position: absolute; right: 10px; bottom: -10px; font-weight: 700; font-size: 90px; color: rgba(204,255,0,.10); line-height: 1; z-index: 1; }
.exp--studio { background: #060607; }
.exp--studio .exp__title { color: #efece4; }
.exp--studio .exp__sub { color: #7d9bff; }
.exp--studio::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(65deg, transparent 0 8px, rgba(125,155,255,.10) 8px 9px),
    repeating-linear-gradient(-25deg, transparent 0 10px, rgba(125,155,255,.06) 10px 11px);
}
/* small "installable" badge on the arcade experiment card (index + showroom) */
.exp__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: #04040a; background: var(--lime, #c6ff3d); padding: 4px 8px; border-radius: 2px; font-weight: 700;
}

/* per-card "see the app" button - shared so both index reel and showroom grid can use it */
.specimen { position: relative; }
.app-open {
  position: absolute; bottom: 15px; right: 15px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none;
  padding: 7px 11px; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.app-open:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: translateY(-1px); }
.app-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.app-open__ph { width: 12px; height: 18px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; flex: 0 0 auto; }
.app-open__ph::after { content: ""; position: absolute; left: 50%; bottom: 1.5px; transform: translateX(-50%); width: 5px; height: 1.5px; background: currentColor; border-radius: 1px; }

/* --- mini mock: bistro --- */
.mini { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0; }
.specimen__frame--bistro { background: #20342b; }
.mini--bistro { align-items: center; justify-content: center; gap: 8px; color: #f3ecd9; }
.mini__bar { position: absolute; top: 0; left: 0; right: 0; height: 18px; background: rgba(255,255,255,.08); }
.mini--bistro .mini__hero { font-family: var(--mono); font-size: clamp(20px,3vw,30px); letter-spacing: .12em; }
.mini--bistro .mini__sub { font-size: 12px; opacity: .8; }
.mini__cta { margin-top: 8px; font-size: 11px; font-family: var(--mono); padding: 6px 14px; background: #c98a3a; color: #20342b; }

/* --- mini mock: bloom --- */
.specimen__frame--bloom { background: #f6eef0; }
.mini--bloom { align-items: center; justify-content: center; gap: 8px; color: #5a2342; }
.mini--bloom .mini__hero { font-size: clamp(22px,3.4vw,34px); font-weight: 700; letter-spacing: -.02em; }
.mini--bloom .mini__sub { font-size: 12px; opacity: .8; }
.mini__cta--bloom { background: #d36a8e; color: #fff; }

/* --- mini mock: estate dashboard --- */
.specimen__frame--estate { background: #0f1729; }
.mini--estate { flex-direction: row; }
.mini__sidebar { width: 18%; background: #182338; border-right: 1px solid rgba(255,255,255,.06); }
.mini__panel { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mini__row--head { height: 14px; width: 40%; background: rgba(255,255,255,.18); border-radius: 3px; }
.mini__kpis { display: flex; gap: 10px; }
.mini__kpis i { flex: 1; height: 42px; background: #1d2c47; border: 1px solid rgba(255,255,255,.06); border-radius: 4px; }
.mini__kpis i:first-child { border-color: var(--accent); }
.mini__chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mini__chart b { flex: 1; background: #2f4d7a; border-radius: 3px 3px 0 0; }
.mini__chart b:last-child { background: var(--accent); }

/* --- mini mock: builder (industrial) --- */
.specimen__frame--builder { background: #1b1b18; }
.mini--builder { align-items: flex-start; justify-content: center; gap: 8px; color: #f5f1e4; padding: 0 clamp(16px,4vw,30px); }
.mini__bar--hazard { background: repeating-linear-gradient(45deg, #ffce00 0 14px, #1b1b18 14px 28px); height: 12px; opacity: .9; }
.mini--builder .mini__hero { font-family: var(--mono); font-weight: 700; font-size: clamp(20px,3vw,30px); letter-spacing: .03em; color: #ffce00; }
.mini--builder .mini__sub { font-size: 12px; color: #b9b4a4; }
.mini--builder .mini__cta { background: #ffce00; color: #1b1b18; font-weight: 700; }

/* --- mini mock: gym (energetic dark) --- */
.specimen__frame--gym { background: #0e0e11; }
.mini--gym { align-items: center; justify-content: center; gap: 7px; color: #fff; }
.mini--gym .mini__hero { font-size: clamp(30px,5vw,52px); font-weight: 700; letter-spacing: -.03em; color: #d6ff3f; }
.mini--gym .mini__sub { font-size: 11px; letter-spacing: .18em; color: #8c8c95; }
.mini__grid { display: flex; gap: 5px; margin-top: 4px; }
.mini__grid i { width: 16px; height: 22px; background: #20212a; border-radius: 3px; }
.mini__grid i:nth-child(2), .mini__grid i:nth-child(5) { background: #d6ff3f; }
.mini__cta--gym { background: #d6ff3f; color: #0e0e11; font-weight: 700; }

/* --- mini mock: barbershop (vintage) --- */
.specimen__frame--barber { background: #1c1a17; }
.mini--barber { align-items: center; justify-content: center; gap: 7px; color: #f3ece0; }
.mini--barber .mini__bar--pole { position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(115deg, #c89b3c 0 10px, #2a2722 10px 20px); opacity: .85; }
.mini--barber .mini__hero { font-family: var(--mono); font-weight: 700; font-size: clamp(20px,3vw,30px); letter-spacing: .1em; color: #c89b3c; }
.mini--barber .mini__sub { font-size: 11px; letter-spacing: .14em; color: #b3a890; }
.mini--barber .mini__cta { background: #c89b3c; color: #1c1a17; font-weight: 700; }

/* --- mini mock: coffee roaster (retro 70s) --- */
.specimen__frame--coffee { background: #f1e7d6; }
.mini--coffee { align-items: center; justify-content: center; gap: 6px; color: #3a2317; }
.mini--coffee .mini__hero { font-size: clamp(30px,5vw,48px); font-weight: 700; letter-spacing: -.02em; color: #3a2317; }
.mini--coffee .mini__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a5a3a; }
.mini--coffee .mini__bean { width: 34px; height: 34px; border-radius: 50%; background: #d2552a; position: relative; margin-bottom: 4px; }
.mini--coffee .mini__bean::after { content: ""; position: absolute; inset: 10px 15px; border-left: 2px solid #f1e7d6; transform: rotate(15deg); }
.mini--coffee .mini__cta { background: #d2552a; color: #f1e7d6; font-weight: 700; }

/* --- mini mock: boutique hotel (coastal luxe, wide) --- */
.specimen__frame--hotel { background: linear-gradient(120deg, #2f4a48 0%, #3d5a55 55%, #c9bfa8 55%, #e3d9c4 100%); }
.mini--hotel { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; color: #f4efe4; padding: 0 clamp(18px,5vw,48px); }
.mini--hotel .mini__hero { font-size: clamp(24px,4vw,40px); font-weight: 600; letter-spacing: .02em; font-family: Georgia, "Times New Roman", serif; }
.mini--hotel .mini__sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,228,.85); }
.mini--hotel .mini__bookbar { margin-top: 10px; display: flex; gap: 8px; }
.mini--hotel .mini__bookbar i { width: 54px; height: 22px; background: rgba(255,255,255,.85); border-radius: 4px; }
.mini--hotel .mini__bookbar i:last-child { width: 70px; background: #1f2e2c; }

.catalogue__aside {
  margin-top: clamp(30px, 5vw, 56px); max-width: 60ch;
  font-size: clamp(16px, 1.9vw, 20px); display: flex; gap: 14px;
}
.aside__mark { color: var(--accent); font-weight: 700; }

/* =====================================================================
   03 — SYSTEMS
   ===================================================================== */
.systems__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px; background: var(--line); border: 1.5px solid var(--ink); }
.sys { background: var(--paper); padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 10px; transition: background .25s; }
.sys:hover { background: var(--paper-2); }
.sys__no { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.sys__title { font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -.02em; max-width: 22ch; }
.sys p { color: var(--ink-soft); max-width: 48ch; font-size: 15px; }
.sys__saves { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 13px; }
.sys__saves b { color: var(--accent-ink); }
.sys__saves a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* =====================================================================
   CLIENTS / CASE STUDY
   ===================================================================== */
.case {
  display: grid; grid-template-columns: .82fr 1.18fr;
  border: 1.5px solid var(--ink); background: var(--paper);
}
.case__panel {
  background: var(--ink); color: var(--paper);
  padding: clamp(28px, 4vw, 46px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  min-height: 240px; position: relative; overflow: hidden;
}
/* faint grid inside the dark panel for texture */
.case__panel::after {
  content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: linear-gradient(var(--paper) 1px, transparent 1px), linear-gradient(90deg, var(--paper) 1px, transparent 1px);
  background-size: 26px 26px;
}
.case__brand { position: relative; z-index: 1; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.case__logo { font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; }
.case__logoimg { display: block; width: auto; height: auto; max-width: 92px; max-height: 68px; object-fit: contain; }
.case__flag {
  align-self: flex-start; position: relative; z-index: 1;
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  background: var(--accent); color: var(--paper); padding: 6px 13px;
  text-decoration: none; transition: background .2s;
}
.case__flag:hover { background: var(--accent-ink); }
.case__body { padding: clamp(26px, 3.4vw, 44px); }
.case__kicker { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.case__title { font-size: clamp(22px, 3vw, 33px); letter-spacing: -.02em; line-height: 1.05; margin: 12px 0 16px; }
.case__p { color: var(--ink-soft); max-width: 58ch; }
.case__list { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 11px; }
.case__list li { padding-left: 24px; position: relative; font-size: 15.5px; }
.case__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.case__out { border-top: 1px solid var(--line); padding-top: 18px; font-weight: 500; max-width: 56ch; }
.case__quote { margin: 24px 0 0; border-left: 3px solid var(--accent); padding: 2px 0 2px 20px; }
.case__quote p { font-size: clamp(16px, 1.9vw, 19px); font-style: italic; line-height: 1.45; max-width: 58ch; }
.case__cite { display: block; margin-top: 14px; font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .03em; color: var(--ink-soft); }
.case__visit {
  display: inline-block; margin-top: 24px;
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  color: var(--accent); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.case__visit:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; } }

/* case-study carousel: one study per view, swipe / arrows / dots.
   Keeps a chunky section short on mobile without hiding the work. */
.cases { position: relative; }
.cases__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.cases__track::-webkit-scrollbar { display: none; }
.cases__track > .case { scroll-snap-align: start; }
.cases__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.cases__arrow {
  width: 42px; height: 42px; flex: 0 0 auto;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 16px; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.cases__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.cases__arrow[disabled] { opacity: .28; cursor: default; }
.cases__arrow[disabled]:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.cases__dots { display: flex; align-items: center; gap: 10px; }
.cases__dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; transition: background .2s, transform .2s;
}
.cases__dot.is-on { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }

/* =====================================================================
   04 — METHOD
   ===================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step__no { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 14px; }
.step h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* =====================================================================
   05 — ENGAGEMENT / PRICING
   ===================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.tier {
  border: 1.5px solid var(--ink); background: var(--paper);
  padding: clamp(24px, 2.8vw, 36px); display: flex; flex-direction: column; gap: 16px;
  position: relative; transition: transform .3s;
}
.tier:hover { transform: translateY(-5px); }
.tier--feature { background: var(--ink); color: var(--paper); }
.tier--feature .tier__for, .tier--feature .tier__list { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.tier__flag {
  position: absolute; top: -1.5px; right: -1.5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  background: var(--accent); color: var(--paper); padding: 6px 12px;
}
.tier__head h3 { font-size: 23px; letter-spacing: -.01em; }
.tier__price { font-family: var(--mono); font-size: 15px; margin-top: 6px; color: var(--ink-soft); }
.tier--feature .tier__price { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.tier__price b { font-size: 30px; color: var(--accent); }
.tier__scale { display: inline-flex; gap: 1px; line-height: 1; }
.tier__scale .dim { color: var(--ink-soft); opacity: .32; }
.tier--feature .tier__scale span { color: var(--accent); }
.tier--feature .tier__scale .dim { color: color-mix(in srgb, var(--paper) 45%, transparent); opacity: 1; }
.tier__band { display: block; margin-top: 8px; font-size: 12.5px; letter-spacing: .01em; }
.tier__for { font-size: 15px; min-height: 3em; }
.tier__list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.tier__list li { padding-left: 22px; position: relative; }
.tier__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.tier__cta {
  margin-top: auto; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 14px;
  padding: 14px; border: 1.5px solid currentColor; transition: background .2s, color .2s;
}
.tier__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.tier__cta--solid { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* =====================================================================
   06 — CONTACT
   ===================================================================== */
.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px;
  max-width: 760px; margin: 0 auto;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--display); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink);
  padding: 10px 2px; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 60%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }
.contact__or { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.contact__or a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.contact__form.is-sent { opacity: .7; }
.contact__form.is-sent .field, .contact__form.is-sent .btn { opacity: .55; pointer-events: none; }

/* honeypot spam trap — visually hidden, off-screen, not announced */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* submission status line */
.contact__status { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; margin-top: -6px; min-height: 1.2em; }
.contact__status.is-ok { color: #1c7a4a; }
.contact__status.is-err { color: var(--accent); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-foot {
  position: relative; z-index: 2;
  background: var(--ink); color: var(--paper);
  padding: clamp(50px, 7vw, 90px) var(--gut) 28px;
}
.foot__top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; }
.foot__brand { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; }
.foot__brand span { font-family: var(--mono); background: var(--accent); width: 34px; height: 34px; display: grid; place-items: center; }
.foot__line { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.foot__grid {
  max-width: var(--maxw); margin: clamp(36px, 6vw, 64px) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.foot__grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.foot__grid a { color: color-mix(in srgb, var(--paper) 80%, transparent); transition: color .2s; width: fit-content; }
.foot__grid a:hover { color: var(--paper); }
.foot__grid a.foot__more { color: var(--accent); margin-top: 4px; }
.foot__grid a.foot__more:hover { color: var(--paper); }
.foot__base {
  max-width: var(--maxw); margin: clamp(36px, 6vw, 64px) auto 0; padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; color: color-mix(in srgb, var(--paper) 60%, transparent);
  letter-spacing: .05em;
}

/* =====================================================================
   SCROLL REVEAL (generic)
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* ---- tablet ---- */
@media (max-width: 1000px) {
  .nav, .head-cta { display: none; }
  .burger { display: block; }
  /* keep the language switcher visible, tucked next to the burger */
  .head-right { margin-left: auto; margin-right: 10px; }
  .hero__top { grid-template-columns: 1fr; align-items: start; }
  .hero__viewer { max-width: 520px; width: 100%; }
  .studio__grid { grid-template-columns: 1fr; }
  .specimens { grid-template-columns: 1fr; }
  .systems__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  /* wide cards would be a thin slit at this width, so give them height back */
  .specimen--wide .specimen__frame { aspect-ratio: 16 / 8; }
}

/* ---- phones ---- */
@media (max-width: 640px) {
  :root { --gut: 18px; }
  .grid-overlay { display: none; }
  .brand__reg { display: none; }
  /* on small phones the header lang switch would crowd the brand; use the drawer copy instead */
  .head-right { display: none; }

  /* tighten vertical rhythm so sections aren't a mile apart on a small screen */
  .band { padding-top: clamp(52px, 13vw, 84px); padding-bottom: clamp(52px, 13vw, 84px); }
  .band__head { margin-bottom: 30px; }

  .hero { padding-top: 90px; }
  .hero__meta { font-size: 10px; gap: 6px 14px; padding-bottom: 12px; margin-bottom: 26px; }
  /* let the headline fill the phone instead of sitting small and timid */
  .hero__title { font-size: clamp(38px, 11.5vw, 56px); }
  .hero__lede { font-size: 17px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { display: block; text-align: center; }

  .ticker__track { font-size: 22px; gap: 20px; }

  .studio__big { font-size: clamp(22px, 6vw, 30px); }
  .specimen--wide .specimen__frame { aspect-ratio: 16 / 10; }

  .steps { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .contact__form .btn { width: 100%; text-align: center; }

  /* footer was three cramped columns + an un-wrapping email address */
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot__grid a, .contact__or a, .foot__base { overflow-wrap: anywhere; }
  .foot__base { font-size: 10px; }
}

/* ---- very small phones ---- */
@media (max-width: 380px) {
  .hero__title { font-size: 32px; }
  .foot__grid { grid-template-columns: 1fr; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal-line { transform: none; }
}

/* =====================================================================
   MULTI-PAGE ADDITIONS — departments, subpage heroes, FAQ
   ===================================================================== */

/* current page marker in the nav */
.nav a.is-here::after { width: 100%; background: var(--accent); }
.nav a.is-here { color: var(--ink); }
.drawer a.is-here { color: var(--accent-ink); }

/* ---------- subpage hero (compact, field-guide plate style) ---------- */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 168px) var(--gut) clamp(28px, 4vw, 44px);
}
.page-hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: clamp(26px, 4vw, 44px);
}
.page-hero__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink);
  display: block; margin-bottom: 14px;
}
.page-hero__title {
  font-size: clamp(40px, 7vw, 84px);
  line-height: .98; letter-spacing: -.03em; font-weight: 700;
  max-width: 14ch;
}
.page-hero__title em { font-style: normal; color: var(--accent-ink); }
.page-hero__lede {
  margin-top: 22px; max-width: 60ch;
  font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft);
}
.page-hero__lede strong { color: var(--ink); }

/* ---------- departments (gateway cards on the homepage) ---------- */
.depts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid var(--ink);
  background: var(--line); grid-auto-rows: 1fr;
}
.dept {
  background: var(--paper);
  padding: clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; outline: 1px solid var(--line);
  transition: background .25s ease;
}
.dept:hover { background: var(--paper-2); }
.dept__no {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--accent-ink); text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.dept__no .dept__arrow { color: var(--ink); transition: transform .25s ease; }
.dept:hover .dept__arrow { transform: translate(4px, -4px); }
.dept h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.05; }
.dept p { color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.dept__foot {
  margin-top: auto; padding-top: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  border-top: 1px dashed var(--line);
}
.dept--wide { grid-column: 1 / -1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0;
  font-weight: 600; font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__idx {
  font-family: var(--mono); font-size: 11px; color: var(--accent-ink); flex: 0 0 auto;
}
.faq summary .faq__plus {
  margin-left: auto; font-family: var(--mono); font-weight: 400;
  color: var(--ink-soft); transition: transform .25s ease; flex: 0 0 auto;
}
.faq details[open] .faq__plus { transform: rotate(45deg); color: var(--accent-ink); }
.faq details p {
  padding: 0 0 22px 34px; max-width: 66ch;
  color: var(--ink-soft); font-size: 15.5px;
}
.faq details p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cross-link strip at the bottom of subpages ---------- */
.next-dept {
  border-top: 1px solid var(--ink);
  margin-top: clamp(40px, 6vw, 72px);
}
.next-dept a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px;
  padding: clamp(26px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.next-dept .nd__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); flex: 0 0 130px;
}
.next-dept .nd__title {
  font-size: clamp(22px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.02em;
  transition: color .2s ease;
}
.next-dept .nd__arrow { margin-left: auto; font-size: clamp(20px, 3vw, 30px); transition: transform .25s ease; }
.next-dept a:hover .nd__title { color: var(--accent-ink); }
.next-dept a:hover .nd__arrow { transform: translateX(8px); }

@media (max-width: 900px) {
  .depts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero__title { max-width: none; }
  .next-dept .nd__label { flex-basis: 100%; }
}

/* =====================================================================
   FAQ (contact page) - native <details> accordion, no JS
   ===================================================================== */
.faq { max-width: 820px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__item { border-bottom: 1.5px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; position: relative;
  font-size: clamp(16px, 2vw, 19px); font-weight: 600; letter-spacing: -.01em; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 22px; color: var(--accent); transition: transform .2s;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq__a { padding: 0 44px 22px 4px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ---------- plain-copy pages (privacy / cookies / about / security / accessibility / terms) ---------- */
.legal { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) clamp(70px, 9vw, 110px); }
.legal__updated {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: clamp(30px, 5vw, 48px);
}
.legal h2 {
  font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.015em;
  margin: clamp(36px, 5vw, 52px) 0 14px; scroll-margin-top: 100px;
}
.legal h3 {
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); margin: 26px 0 8px;
}
.legal section:first-of-type h2 { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; max-width: 68ch; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__toc {
  display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 18px 0 0;
  margin: 0 0 clamp(30px, 5vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.legal__toc a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.legal__toc a:hover { color: var(--accent-ink); }
.legal__toc li { margin: 0; }
.faq__a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
