/* guit.fit public site. Palette strictly from tokens.json + briefing (Palisander hover #7c4128 as named addition). */
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --palisander: #9a5536;
  --palisander-hover: #7c4128; /* named CSS addition from original theme */
  --palisander-light: #d9946f;
  --slate: #496a7f;
  --slate-light: #8aaabd;
  --night: #1e2e38;
  --night-card: #24363f;
  --night-border: #34495a;
  --ink: #2a3d47;
  --cream: #fffcf5;
  --sand: #f3ecdd;
  --sand-dark: #e8e0d0;
  --paper: #ffffff;
  --muted: #5f7480;
  --error: #b3261e;
  --sans: "DM Sans Variable", "DM Sans", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --r-sm: 4px; --r: 8px; --r-lg: 12px;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.22,.8,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word; hyphens: auto;
}
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .14 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--palisander); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--palisander-hover); }
:focus-visible { outline: 2px solid var(--palisander); outline-offset: 3px; border-radius: var(--r-sm); }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--palisander-light); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--night); color: var(--cream); padding: .7rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--night); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; hyphens: manual; }
h1 { font-size: clamp(2.45rem, 5vw + 1rem, 4.1rem); }
h2 { font-size: clamp(2rem, 2.8vw + 1rem, 3.15rem); }
h3 { font-size: clamp(1.45rem, 1vw + 1rem, 1.8rem); font-weight: 600; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--palisander); }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--palisander-light); }
p { margin: 0 0 1.1em; max-width: 64ch; }
.lead { font-size: clamp(1.15rem, .6vw + 1rem, 1.32rem); line-height: 1.55; color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--palisander); margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--palisander-light); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section.sand { background: var(--sand); }
.section.sand p, .section.sand li { color: var(--ink); }
.dark { background: var(--night); color: var(--cream); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.dark p { color: var(--sand-dark); }
.dark a:not(.btn) { color: var(--slate-light); }
.dark a:not(.btn):hover { color: var(--cream); }

/* Preview notice */
.preview-bar { background: var(--night); color: var(--sand-dark); font-size: .86rem; line-height: 1.45; }
.preview-bar .wrap { display: flex; gap: .8rem; align-items: center; padding-top: .55rem; padding-bottom: .55rem; }
.preview-bar strong { color: var(--palisander-light); letter-spacing: .12em; font-size: .72rem; text-transform: uppercase; border: 1px solid var(--night-border); padding: .15rem .5rem; border-radius: var(--r-sm); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,245,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--sand-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; padding: .25rem 0; }
.logo img { height: 40px; width: auto; min-width: 140px; }
.nav-list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { display: block; padding: .55rem .85rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; border-radius: var(--r); position: relative; }
.nav-list a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1px; background: var(--palisander); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--palisander); }
.nav-list .btn { margin-left: .6rem; }
.nav-list .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--sand-dark); border-radius: var(--r); padding: .55rem .8rem; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; align-items: center; gap: .55rem; }
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 960px) {
  .logo img { height: 32px; min-width: 120px; }
  .site-header .wrap { min-height: 64px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--sand-dark); max-height: calc(100dvh - 64px); overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; }
  .nav-list a { padding: .9rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--sand-dark); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list .btn { margin: 1rem 0 0; text-align: center; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .65rem; padding: .95rem 1.4rem; border-radius: var(--r); font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--palisander); color: var(--paper); }
.btn-primary:hover { background: var(--palisander-hover); color: var(--paper); }
.nav-list a.btn-primary, .nav-list a.btn-primary[aria-current="page"] { color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-small { padding: .6rem 1rem; font-size: .92rem; }
.dark .btn-primary { background: var(--palisander-light); color: var(--night); }
.dark .btn-primary:hover { background: var(--cream); color: var(--night); }
.dark .btn-secondary { color: var(--cream); border-color: var(--slate-light); }
.dark .btn-secondary:hover { background: var(--cream); color: var(--night); border-color: var(--cream); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.ext::after { content: " \2197"; font-size: .85em; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; }
.hero .status-line { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--sand-dark); font-size: .92rem; color: var(--muted); }
.hero .status-line span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); margin-right: .55rem; vertical-align: middle; }
.hero-figure { position: relative; margin: 0; }
.hero-figure .frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: 0 30px 60px -30px rgba(30,46,56,.45); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
.hero-figure figcaption { position: absolute; left: -1.5rem; bottom: 2rem; background: var(--cream); padding: 1rem 1.25rem; border-radius: var(--r); max-width: 15rem; font-size: .9rem; line-height: 1.45; box-shadow: 0 14px 30px -18px rgba(30,46,56,.5); border-left: 3px solid var(--palisander); }
.hero-figure figcaption b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: block; color: var(--night); }
@keyframes settle { to { transform: scale(1); } }
.page-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--sand-dark); position: relative; overflow: hidden; }
.page-hero .lead { max-width: 58ch; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure .frame { aspect-ratio: 4 / 3; }
  .hero-figure figcaption { left: 1rem; bottom: -1.5rem; }
  .hero { padding-bottom: 5rem; }
}

/* Strings motif */
.strings { position: absolute; inset: auto 0 0 0; height: 64px; pointer-events: none; opacity: .5; }
.strings line { stroke: var(--sand-dark); }
.strings .fret { stroke: var(--palisander-light); opacity: .5; }
.string-rule { display: block; width: 100%; height: 22px; margin: 0; }
.string-rule path { fill: none; stroke: var(--palisander); stroke-width: 1; opacity: .55; }

/* Breadcrumbs */
.crumbs { font-size: .86rem; margin-bottom: 1.6rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sand-dark); }
.crumbs a { color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--night); }
.steps li { padding: 2rem 2rem 0 0; position: relative; counter-increment: s; }
.steps li + li { padding-left: 2rem; border-left: 1px solid var(--sand-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 3.4rem; color: var(--palisander); line-height: 1; display: block; margin-bottom: 1rem; }
.steps p { color: var(--ink); font-size: 1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 1.75rem 0; border-left: 0; border-bottom: 1px solid var(--sand-dark); } }

/* Split layouts */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 860px) { .split, .split.even { grid-template-columns: 1fr; } .sticky-col { position: static; } }

/* Sound map: discovery list */
.discover { list-style: none; margin: 0; padding: 0; }
.discover li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--sand-dark); }
.discover li:first-child { border-top: 1px solid var(--sand-dark); }
.discover .num { font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: var(--palisander); line-height: 1; }
.discover h3 { margin-bottom: .35rem; }
.discover p { margin: 0; color: var(--ink); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.card { background: var(--paper); border: 1px solid var(--sand-dark); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(30,46,56,.4); }
.card .tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--slate); margin-bottom: .9rem; }
.card p { color: var(--ink); font-size: 1rem; }
.card .card-link { font-weight: 600; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 860px) { .cards > * { grid-column: span 12; } }
.dark .card { background: var(--night-card); border-color: var(--night-border); }
.dark .card p { color: var(--sand-dark); }
.dark .card .tag { color: var(--slate-light); }

/* Places */
.places { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--sand-dark); border: 1px solid var(--sand-dark); border-radius: var(--r-lg); overflow: hidden; }
.places li { background: var(--cream); }
.places a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; text-decoration: none; color: var(--night); height: 100%; transition: background-color .25s; }
.places a:hover { background: var(--paper); color: var(--night); }
.places .pname { font-family: var(--serif); font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); font-weight: 600; line-height: 1.1; }
.places .pmeta { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--muted); margin-top: .25rem; }
.places .go { font-size: .9rem; font-weight: 600; color: var(--palisander); white-space: nowrap; }
.places li.online a { background: var(--night); color: var(--cream); }
.places li.online .pmeta { color: var(--sand-dark); }
.places li.online .go { color: var(--palisander-light); }
.places li.online:first-child { grid-column: 1 / -1; }
.places li.online a:hover { background: var(--ink); }
@media (max-width: 640px) { .places { grid-template-columns: 1fr; } }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border: 1px solid currentColor; border-radius: var(--r-sm); padding: .15rem .5rem; color: var(--slate); }

/* Quote band */
.band { text-align: left; }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.6vw + 1rem, 3.9rem); line-height: 1.1; color: var(--cream); max-width: 22ch; font-weight: 500; }
.band blockquote em { color: var(--palisander-light); }

/* Info lists */
.check { list-style: none; padding: 0; margin: 1.5rem 0; }
.check li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px solid var(--sand-dark); }
.check li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 1.1rem; height: 1px; background: var(--palisander); }
.dark .check li { border-color: var(--night-border); color: var(--sand-dark); }
.dark .check li::before { background: var(--palisander-light); }
.no-list li::before { background: var(--muted); }
.table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--sand-dark); border-radius: var(--r-lg); background: var(--paper); }
table.roles { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .97rem; }
table.roles th, table.roles td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--sand-dark); vertical-align: top; }
table.roles thead th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--palisander); }
table.roles tbody th { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--night); }
table.roles tr:last-child td, table.roles tr:last-child th { border-bottom: 0; }

/* Ecosystem */
.eco { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.eco a { display: flex; flex-direction: column; height: 100%; padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--night-border); text-decoration: none; transition: border-color .3s, background-color .3s; }
.eco a:hover { border-color: var(--slate-light); background: var(--night-card); }
.eco .host { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--cream); }
.eco .desc { color: var(--sand-dark); font-size: .95rem; margin-top: .5rem; flex: 1; }
.eco .visit { margin-top: 1.2rem; color: var(--slate-light); font-size: .88rem; font-weight: 600; }
@media (max-width: 960px) { .eco { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eco { grid-template-columns: 1fr; } }

/* Groove panel (no fake screenshot: typographic beat grid) */
.groove-panel { background: var(--night); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); color: var(--cream); position: relative; overflow: hidden; }
.beat { display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; margin: 1.8rem 0 .6rem; }
.beat span { aspect-ratio: 1; border-radius: 3px; background: var(--night-border); }
.beat span.on { background: var(--palisander-light); }
.beat span.acc { background: var(--cream); }
.beat-legend { font-size: .82rem; color: var(--sand-dark); }
@media (prefers-reduced-motion: no-preference) {
  .groove-panel.is-in .beat span.on { animation: pulse 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * .15s); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Forms */
.form-shell { background: var(--paper); border: 1px solid var(--sand-dark); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 30px 60px -45px rgba(30,46,56,.5); }
.testmode { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px dashed var(--slate); border-radius: var(--r); padding: 1rem 1.15rem; margin-bottom: 2rem; font-size: .93rem; line-height: 1.5; }
.testmode strong.label { flex: none; background: var(--slate); color: var(--cream); font-size: .7rem; letter-spacing: .14em; padding: .25rem .55rem; border-radius: var(--r-sm); }
.testmode p { margin: 0 0 .6rem; color: var(--ink); }
.testmode button { font: inherit; font-size: .88rem; font-weight: 600; background: none; border: 0; padding: 0; color: var(--slate); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.field { margin-bottom: 1.4rem; }
.field > label, fieldset legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; color: var(--night); }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hint { font-size: .86rem; color: var(--muted); margin: .4rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--sand-dark); border-radius: var(--r); padding: .8rem .95rem; transition: border-color .2s, background-color .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--slate-light); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--palisander); background: var(--paper); box-shadow: 0 0 0 3px rgba(154,85,54,.18); }
textarea { min-height: 7.5rem; resize: vertical; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.err { color: var(--error); font-size: .87rem; margin: .4rem 0 0; font-weight: 500; }
.err:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: block; height: 100%; border: 1.5px solid var(--sand-dark); border-radius: var(--r); padding: .8rem .9rem; cursor: pointer; background: var(--cream); font-weight: 600; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.choice label small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.choice input:checked + label { border-color: var(--palisander); background: #fff; box-shadow: inset 0 0 0 1px var(--palisander); }
.choice input:focus-visible + label { outline: 2px solid var(--palisander); outline-offset: 2px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .93rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--palisander); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.result { margin-top: 1.5rem; border-radius: var(--r); padding: 1.1rem 1.25rem; font-size: .95rem; border: 1px solid var(--sand-dark); background: var(--cream); }
.result h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.result.ok { border-left: 3px solid var(--slate); }
.result.bad { border-left: 3px solid var(--error); }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .75rem 0 0; font-size: .88rem; }
.result dt { color: var(--muted); } .result dd { margin: 0; font-weight: 600; }

/* Prose (legal) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.1rem); margin-top: 2.6rem; }
.prose ul { padding-left: 1.2rem; } .prose li { margin-bottom: .4rem; }
.draft-box { border: 1.5px solid var(--palisander); background: var(--paper); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.draft-box strong { color: var(--palisander); }
.placeholder { background: var(--sand); border-radius: var(--r-sm); padding: .05rem .4rem; font-family: ui-monospace, Menlo, monospace; font-size: .88em; color: var(--ink); }

/* Center pages */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: var(--section) 0; }
.center-page p { margin-left: auto; margin-right: auto; }
.center-page .actions { justify-content: center; }
.big-num { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: var(--palisander); display: block; margin-bottom: .5rem; }
.confirm-card { max-width: 34rem; margin: 0 auto; text-align: left; }

/* Footer */
.site-footer { background: var(--night); color: var(--sand-dark); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--palisander-light); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--palisander-light); text-decoration: underline; }
.site-footer .eco-link { color: var(--slate-light); }
.site-footer p { color: var(--sand-dark); font-size: .92rem; }
.footer-logo img { height: 40px; width: auto; min-width: 140px; margin-bottom: 1.25rem; }
.footer-base { border-top: 1px solid var(--night-border); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--sand-dark); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-figure img { transform: none; }
}
.communications-notice {
  margin: 1.25rem 0;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--clay, #9a5536);
  border-radius: 12px;
  background: #fff9ed;
  color: #1e2e38;
  font-size: 1rem;
  line-height: 1.6;
}
.communications-notice p { margin: 0; }
.communications-notice p + p { margin-top: .45rem; }
