/* Roomwork — site styles.
   Layout: paper page, full-width colored bands, content in a 1180px column; everything that matters sits on a "sticker"
   (ink outline + hard offset shadow). Unbounded for display, Bricolage Grotesque for text, IBM Plex Mono for labels.
   Fonts are self-hosted (fonts/, SIL Open Font License): no requests to third parties, nothing to allow in the CSP. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #F3EFE6;          /* paper */
  --fg: #121212;          /* ink */
  --muted: #5E5A52;
  --line: #121212;        /* outlines drawn on the page */
  --shadow: #121212;      /* hard sticker shadow */
  --sticker: #FFFFFF;     /* sticker fill */
  --on-sticker: #121212;
  --sticker-muted: #5E5A52;
  --edge: #121212;        /* sticker outline, both themes */
  --lime: #C8F03C;
  --cobalt: #2D4BFF;
  --tang: #FF5F1F;
  --pink: #FF8FD6;
  --ink: #121212;
  --paper: #F3EFE6;
  --white: #FFFFFF;
  --band-dark: #121212;
  --on-dark: #F3EFE6;
  --on-dark-muted: #A9A498;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-text: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161616; --fg: #F3EFE6; --muted: #A9A498; --line: #F3EFE6; --shadow: #C8F03C; --band-dark: #0B0B0B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161616; --fg: #F3EFE6; --muted: #A9A498; --line: #F3EFE6; --shadow: #C8F03C; --band-dark: #0B0B0B; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--lime); color: var(--ink); border: 3px solid var(--edge); border-radius: 999px; padding: 8px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(56px, 8vw, 104px); }
.pt0 { padding-top: 0; }
.band { width: 100%; }
.band.lime { background: var(--lime); color: var(--ink); }
.band.tang { background: var(--tang); color: var(--ink); }
.band.cobalt { background: var(--cobalt); color: var(--white); }
.band.dark { background: var(--band-dark); color: var(--on-dark); }
.band.dark .muted { color: var(--on-dark-muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.gap20 { gap: 20px; } .gap4 { gap: 4px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid > * { min-width: 0; }
.mid { align-items: center; }
.gap48 { gap: clamp(32px, 5vw, 48px); }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.mt14 { margin-top: 14px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; margin: 0; text-wrap: balance; }
h1.display { font-size: clamp(2.7rem, 7vw, 5.6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; line-height: 1.15; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.45; max-width: 36em; margin: 0; }
p { margin: 0; max-width: 65ch; }
.label { font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.c-lime { color: var(--lime); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.src { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- stickers ---------- */
.sticker { background: var(--sticker); color: var(--on-sticker); border: 3px solid var(--edge); border-radius: 18px; box-shadow: 6px 6px 0 var(--shadow); padding: 22px 24px; }
.sticker .muted, .sticker .src { color: var(--sticker-muted); }
.sticker.lime { background: var(--lime); } .sticker.tang { background: var(--tang); } .sticker.pink { background: var(--pink); }
.sticker.cobalt { background: var(--cobalt); color: var(--white); } .sticker.cobalt .muted, .sticker.cobalt .src { color: #DDE2FF; }
.sticker.ink { background: var(--ink); color: var(--paper); } .sticker.ink .muted, .sticker.ink .src { color: #A9A498; }
.sticker.paper { background: var(--paper); }
.band .sticker { box-shadow: 6px 6px 0 var(--ink); }
.band.dark .sticker { box-shadow: 6px 6px 0 var(--lime); }
.tl { transform: rotate(-1.2deg); } .tr { transform: rotate(1.2deg); }
@media (max-width: 720px) { .tl, .tr { transform: none; } }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 2.5px solid var(--edge); border-radius: 999px; padding: 6px 14px 5px; background: var(--sticker); color: var(--on-sticker); font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.pill.ink { background: var(--ink); color: var(--paper); }
.pill.lime { background: var(--lime); color: var(--ink); } .pill.tang { background: var(--tang); color: var(--ink); } .pill.cobalt { background: var(--cobalt); color: var(--white); } .pill.pink { background: var(--pink); color: var(--ink); }
.pill.soon { background: var(--paper); color: var(--ink); border-style: dashed; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.dot.lime { background: var(--lime); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 999px; border: 3px solid var(--edge); font-family: var(--font-text); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--tang); }
.btn.secondary { background: var(--sticker); color: var(--on-sticker); box-shadow: 6px 6px 0 var(--shadow); }
.btn.lime { background: var(--lime); color: var(--ink); box-shadow: 6px 6px 0 var(--shadow); }
.btn:hover { transform: translate(-2px, -2px); }
.btn.primary:hover { box-shadow: 8px 8px 0 var(--tang); } .btn.secondary:hover, .btn.lime:hover { box-shadow: 8px 8px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--shadow); }
.btns { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.band.lime .btn.secondary, .band.lime .btn.lime, .band.tang .btn.secondary, .band.cobalt .btn.secondary { box-shadow: 6px 6px 0 var(--ink); }
.band.tang .btn.primary { box-shadow: 6px 6px 0 var(--paper); }
.band.dark .btn.secondary { box-shadow: 6px 6px 0 var(--lime); }

/* ---------- header ---------- */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 22px; }
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.wm { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; line-height: 1; }
.wm .o { display: inline-block; width: 0.79em; height: 0.79em; border-radius: 50%; margin: 0 0.02em; vertical-align: -0.025em; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--edge); color: transparent; overflow: hidden; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.pill):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nav .pill { min-height: 44px; box-shadow: 4px 4px 0 var(--shadow); background: var(--lime); color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.pill), .hide-sm { display: none; } .site-header .wrap { flex-wrap: nowrap; } }
@media (max-width: 760px) { .nav:not(:has(.pill)) a.keep-sm { display: inline; } }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.fan { position: relative; height: clamp(360px, 44vw, 500px); min-width: 0; }
.fan img { position: absolute; width: clamp(180px, 46%, 300px); filter: drop-shadow(7px 7px 0 var(--shadow)); }
.fan .c1 { left: 2%; top: 9%; transform: rotate(-9deg); }
.fan .c2 { left: 27%; top: 0; transform: rotate(-1deg); z-index: 2; }
.fan .c3 { right: 0; top: 11%; transform: rotate(8deg); }
.fan .badge { position: absolute; z-index: 3; right: 4%; bottom: 2%; width: clamp(104px, 13vw, 132px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; transform: rotate(-10deg); box-shadow: 5px 5px 0 var(--lime); border: 3px solid var(--edge); }
.fan .badge.tang { background: var(--tang); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.fan .badge .d3 { display: flex; gap: 4px; } .fan .badge .d3 i { width: 11px; height: 11px; border-radius: 50%; background: var(--lime); display: block; }
.fan .badge.tang .d3 i { background: var(--ink); }
.fan .badge b { font-family: var(--font-display); font-size: 0.8rem; line-height: 1.05; }

/* ---------- marquee band ---------- */
.marquee { background: var(--ink); color: var(--lime); overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.8rem); padding-block: 18px; border-block: 3px solid var(--ink); }
.marquee span { display: inline-block; padding-left: 16px; }

/* ---------- section heads ---------- */
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- kit covers ---------- */
.kit { display: flex; flex-direction: column; gap: 16px; }
.kit .from { font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cover { position: relative; border: 3px solid var(--edge); border-radius: 20px; box-shadow: 7px 7px 0 var(--shadow); aspect-ratio: 4 / 3.4; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--ink); max-width: 100%; }
.cover .t { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 0.92; letter-spacing: -0.035em; }
.cover.tang { background: var(--tang); } .cover.lime { background: var(--lime); } .cover.cobalt { background: var(--cobalt); color: var(--white); }
.cover .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fam-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.fam-dots i { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--ink); display: block; }
.fam-dots .w1 { background: var(--white); } .fam-dots .w2 { background: rgba(255,255,255,.6); } .fam-dots .w3 { background: rgba(255,255,255,.3); }
.fam-dots .c-o { background: var(--lime); } .fam-dots .c-g { background: var(--tang); } .fam-dots .c-d { background: var(--cobalt); } .fam-dots .c-de { background: var(--pink); } .fam-dots .c-c { background: var(--ink); }
.stripes { background: repeating-linear-gradient(-45deg, #121212 0 4px, #C8F03C 4px 8px); }
.kit p { color: var(--fg); }
/* Tough Room cover: four taped polaroids, one per room */
.polas { display: flex; gap: 10px; flex-wrap: wrap; }
.pola { width: 46px; background: var(--white); border: 2.5px solid var(--ink); padding: 4px 4px 9px; position: relative; box-shadow: 3px 3px 0 var(--ink); }
.pola:nth-child(odd) { transform: rotate(-4deg); } .pola:nth-child(even) { transform: rotate(3deg); }
.pola::before { content: ""; position: absolute; left: 50%; top: -7px; width: 22px; height: 9px; margin-left: -11px; background: var(--lime); border: 1.5px solid var(--ink); }
.pola svg { display: block; width: 100%; height: auto; border: 2px solid var(--ink); }

/* ---------- stats ---------- */
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; }
.stat .kitname { font-family: var(--font-mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- families and rooms ---------- */
.arcbar { display: flex; height: 54px; border: 3px solid var(--edge); border-radius: 14px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow); }
.arcbar div { display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; border-right: 3px solid var(--edge); color: var(--ink); min-width: 0; overflow: hidden; }
.arcbar div:last-child { border-right: none; }
.arc-o { width: 10%; background: var(--lime); } .arc-g { width: 25%; background: var(--tang); }
.arc-d { width: 30%; background: var(--cobalt); color: var(--white) !important; } .arc-de { width: 20%; background: var(--pink); }
.arc-c { width: 15%; background: var(--ink); color: var(--paper) !important; }
.tag-white { background: var(--white); color: var(--ink); padding: 2px 10px; border-radius: 10px; }
.rescue-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; }
.fam-card { padding: 0; overflow: hidden; }
.fam-card .fh { padding: 14px 18px; border-bottom: 3px solid var(--edge); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fam-card .fb { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.fh.bg-lime { background: var(--lime); } .fh.bg-tang { background: var(--tang); } .fh.bg-pink { background: var(--pink); }
.fh.bg-cobalt { background: var(--cobalt); color: var(--white); } .fh.bg-ink { background: var(--ink); color: var(--paper); }
.fam-card .q { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; letter-spacing: -0.01em; }
.names { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0; list-style: none; }
.names li { border: 2px solid var(--edge); border-radius: 999px; padding: 2px 10px; font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.names li b { font-family: var(--font-mono); font-size: 0.72rem; margin-right: 4px; }

/* ---------- chips for moves and personas ---------- */
.mv { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.mv::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--edge); background: var(--c); flex: none; }
.mv.o { --c: var(--lime); } .mv.g { --c: var(--tang); } .mv.d { --c: var(--cobalt); } .mv.de { --c: var(--pink); } .mv.c { --c: var(--ink); } .mv.w { --c: var(--white); }
.mv.r::before, .mv.cb::before { background: repeating-linear-gradient(-45deg, #121212 0 2px, #C8F03C 2px 4px); }
.mv.sq::before { border-radius: 3px; }
.band.dark .mv::before { border-color: var(--on-dark); }
.band.dark .mv.c::before { background: var(--band-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.chips .label { width: 100%; }
.sampler-box { display: flex; flex-direction: column; gap: 18px; }

/* ---------- evidence dots ---------- */
.ev { display: flex; gap: 6px; }
.ev i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--on-sticker); display: block; }
.ev i.on { background: var(--on-sticker); }
.ev-row { display: flex; gap: 14px; align-items: center; }

/* ---------- anatomy ---------- */
.anatomy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; align-items: start; }
.anatomy figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.anatomy img { width: min(100%, 320px); filter: drop-shadow(7px 7px 0 var(--ink)); }
.anatomy figcaption { max-width: 34ch; }
.anatomy figcaption p { margin-top: 6px; }

/* ---------- media ---------- */
.book { width: min(100%, 400px); justify-self: center; border: 3px solid var(--edge); border-radius: 14px; box-shadow: 7px 7px 0 var(--shadow); transform: rotate(-2deg); }
.tilt-card { width: min(100%, 340px); justify-self: center; transform: rotate(4deg); filter: drop-shadow(7px 7px 0 var(--lime)); }

/* ---------- chat mock (Tough Room AI) ---------- */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { border: 3px solid var(--edge); border-radius: 16px; padding: 12px 16px; background: var(--white); color: var(--ink); max-width: 46ch; }
.bubble .who { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.bubble.me { align-self: flex-end; background: var(--lime); }
.meter { display: inline-flex; gap: 3px; align-items: center; }
.meter i { width: 9px; height: 9px; border: 1.5px solid var(--ink); display: block; }
.meter i.on { background: var(--ink); }

/* ---------- numbered rules ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.rules li::before { content: counter(r); width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--edge); background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; }
.rules b { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- pricing ---------- */
.price { display: flex; flex-direction: column; gap: 14px; }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.price li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.price li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2.5px solid var(--edge); margin-top: 5px; }
.price .btn { margin-top: auto; align-self: flex-start; }
.price .flag { align-self: flex-start; }
.price.soon { background: var(--paper); border-style: dashed; box-shadow: none; }
.price.soon .amt { color: var(--sticker-muted); }

/* ---------- contact form ---------- */
.talk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: start; }
.offer { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.offer li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.offer li::before { content: ""; width: 16px; height: 16px; margin-top: 5px; border-radius: 50%; background: var(--lime); border: 2.5px solid var(--ink); }
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-family: var(--font-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.field .opt { color: var(--sticker-muted); letter-spacing: 0.06em; text-transform: none; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 3px solid var(--ink); border-radius: 12px; padding: 11px 14px; min-height: 50px; }
.form textarea { min-height: 140px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 15px) 52%; background-size: 7px 7px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { font-size: 0.86rem; color: var(--sticker-muted); }
.form .btn { justify-self: start; }
.form-note { border: 3px dashed var(--ink); border-radius: 12px; padding: 12px 14px; background: var(--lime); color: var(--ink); font-size: 0.92rem; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 3px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 3px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1.1rem; }
.faq details[open] summary::after { content: "−"; background: var(--lime); color: var(--ink); border-color: var(--edge); }
.faq details p { margin-top: 12px; }

/* ---------- about ---------- */
.initials { flex: none; width: clamp(110px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--ink); border: 3px solid var(--edge); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.4rem); letter-spacing: -0.04em; transform: rotate(-8deg); box-shadow: 6px 6px 0 var(--paper); }
.about { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* ---------- closing band ---------- */
.closer { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.closer h2 { max-width: 14em; }

/* ---------- legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.05; margin: 56px 0 16px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 1.05rem; }
.prose p, .prose li { max-width: 68ch; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 8px; }
.toc a { text-decoration: none; }

/* ---------- simple pages (thanks, 404) ---------- */
.simple { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; }

/* ---------- footer ---------- */
.site-footer { border-top: 3px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 36px 44px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; align-content: flex-start; max-width: 520px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .legal-links { font-weight: 500; }

/* book page: inside pages */
.pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.pages figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pages img { width: 100%; height: auto; border: 3px solid var(--edge); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); background: #fff; }
.pages figcaption p { margin-top: 4px; }
.price .amt-sm { font-size: 2rem; }

/* very narrow phones: keep the header on one line */
@media (max-width: 380px) { .site-header .wm { font-size: 1.1rem; } .nav { gap: 8px 14px; font-size: 0.92rem; } .nav:not(:has(.pill)) a.keep-sm { white-space: nowrap; } }
