/* Advya MindLabs — "festival poster that learned to type"
   Saffron signage, peacock-teal accents, warm paper ground, Anton display type, a live AI cursor.
   Fonts are self-hosted (CSP: font-src 'self'). Anton is SIL OFL — see /assets/fonts/OFL-Anton.txt */

@font-face { font-family: 'Anton'; src: url('/assets/fonts/anton-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-semibold.woff') format('woff'); font-weight: 600 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fff3ea;
  --bg2: #ffe4d2;
  --card: #ffffff;
  --ink: #1a120e;
  --mute: #6b5a50;
  --sf: #ff6418;        /* saffron fields, buttons, ribbon */
  --sf-d: #f0530a;      /* saffron display text on paper (large text, 3.2:1) */
  --sf-ink: #c2410c;    /* saffron small text on paper (4.75:1) */
  --tl: #0d7a77;        /* peacock teal */
  --line: rgba(26, 18, 14, 0.14);
  --disp: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r: 28px;
  --pad: max(5vw, 18px);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--tl); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; }
p { margin: 0 0 1em; }
::selection { background: var(--sf); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 99px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--ink); color: var(--bg); }
.muted { color: var(--mute); }
.small { font-size: 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--mute); max-width: 640px; }
.section-dark .lead { color: #cdb9ac; }

/* display type */
.disp, .hero h1, .page-hero h1, .section-head h2, .h-disp { font-family: var(--disp); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2, .h-disp { font-size: clamp(44px, 8vw, 96px); color: var(--sf-d); margin: 0 0 0.25em; text-wrap: balance; }
.section-dark .section-head h2 { color: var(--sf); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--sf-ink); margin: 0 0 14px; }
.section-dark .eyebrow { color: var(--sf); }
.h3 { font-size: 22px; }
.h4 { font-size: 18px; }

/* caret — the "AI cursor" */
.caret { display: inline-block; width: 0.09em; height: 0.8em; background: var(--sf); margin-left: 0.06em; vertical-align: -0.03em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 243, 234, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow 0.3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--disp); font-size: 26px; letter-spacing: 0.03em; color: var(--sf-d); text-transform: uppercase; }
.brand b { font-weight: 400; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark circle { fill: none; stroke-width: 3.4; }
.logo-mark .c1 { stroke: var(--ink); }
.logo-mark .c2 { stroke: var(--sf); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--card); text-decoration: none; font-size: 15px; font-weight: 600; transition: transform 0.2s, background 0.2s; }
.site-nav ul a:hover { transform: translateY(-2px); }
.site-nav ul a[aria-current='page'] { background: var(--ink); color: var(--bg); }
.talk { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px 0 18px; border-radius: 99px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.talk i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sf); color: var(--ink); font-style: normal; transition: transform 0.25s; }
.talk:hover i { transform: rotate(45deg); }
.nav-toggle { display: none; position: relative; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; }
.bars, .bars::before, .bars::after { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--bg); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.bars { top: 23px; }
.bars::before, .bars::after { content: ''; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 90px var(--pad) 40px; background: var(--sf); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s, transform 0.3s; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { background: none; padding: 0; min-height: 0; font-family: var(--disp); font-size: clamp(44px, 12vw, 72px); text-transform: uppercase; line-height: 1.05; font-weight: 400; color: var(--ink); }
  .site-nav ul a[aria-current='page'] { background: none; color: #fff; }
  .site-header.menu-open .nav-toggle { background: var(--ink); }
  .site-header.menu-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 99px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.2s, background 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--sf); border-color: var(--sf); color: var(--ink); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.section-dark .btn-ghost { border-color: var(--bg); color: var(--bg); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.i-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover .i-arrow { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; text-align: center; padding: clamp(28px, 5vw, 56px) var(--pad) 0; overflow: hidden; }
.hero-tags { display: none; }
.tag { display: inline-block; background: var(--ink); color: var(--bg); border-radius: 99px; padding: 9px 18px; font-size: clamp(13px, 1.3vw, 15px); font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(26, 18, 14, 0.18); animation: bob 5s ease-in-out infinite; }
.tag-teal { background: var(--tl); color: #fff; }
.tag-sf { background: var(--sf); color: var(--ink); }
.tag.t1 { rotate: -8deg; }
.tag.t2 { rotate: 5deg; animation-delay: -1.6s; }
.tag.t3 { rotate: -4deg; animation-delay: -3.2s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.hero-tags-m { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; margin-bottom: 18px; }
@media (min-width: 900px) {
  .hero-tags-m { display: none; }
  .hero-tags { display: block; }
  .hero-tags .tag { position: absolute; z-index: 3; }
  .hero-tags .t1 { left: 8%; top: 22%; }
  .hero-tags .t2 { right: 11%; top: 6%; }
  .hero-tags .t3 { right: 6%; top: 46%; }
}
.hero h1 { position: relative; z-index: 2; margin: 0 auto; font-size: clamp(54px, 13.5vw, 176px); color: var(--sf-d); }
.hero h1 .ty { display: block; color: var(--ink); white-space: nowrap; min-height: 0.95em; }
.hero-lead { position: relative; z-index: 2; max-width: 640px; margin: 22px auto 0; font-size: clamp(18px, 2vw, 21px); color: var(--mute); }
.hero .cta-row { justify-content: center; margin-top: 26px; position: relative; z-index: 2; }
.mandala { position: relative; height: clamp(300px, 46vw, 560px); margin-top: -1vw; }
.mandala svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mandala .ring { transform-origin: 400px 300px; animation: spin 60s linear infinite; }
.mandala .r2 { animation-duration: 90s; animation-direction: reverse; }
.mandala .r3 { animation-duration: 120s; }
@keyframes spin { to { transform: rotate(360deg); } }
.mandala .wire { stroke: var(--sf); stroke-opacity: 0.28; stroke-width: 1.2; fill: none; }
.mandala .pulse { stroke: var(--sf); stroke-width: 2.4; fill: none; stroke-dasharray: 6 120; animation: flow 3.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -126; } }
.mandala .node { fill: var(--sf); }
.mandala .node.tl { fill: var(--tl); }
.mandala .core { fill: none; stroke: var(--ink); stroke-width: 5; }
.mandala .core.sf { stroke: var(--sf); }

.ribbon { position: relative; z-index: 4; height: clamp(130px, 17vw, 220px); margin-top: clamp(-90px, -7vw, -40px); pointer-events: none; }
.ribbon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ribbon .band-path { fill: none; stroke: var(--sf); stroke-width: 104; }
.ribbon text { font-family: var(--disp); font-size: 62px; fill: var(--ink); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- manifesto */
.manifesto { max-width: 1100px; margin: 0 auto; }
.manifesto p.big { font-size: clamp(28px, 4.6vw, 56px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.manifesto em { font-style: normal; color: var(--sf-ink); }
.js .manifesto .w { opacity: 0.16; transition: opacity 0.35s; }
.js .manifesto .w.on { opacity: 1; }
.stickers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.stickers span { padding: 10px 18px; border-radius: 99px; border: 2px solid var(--ink); font-weight: 600; font-size: 15px; }
.stickers span:nth-child(2) { rotate: -3deg; background: var(--sf); border-color: var(--sf); }
.stickers span:nth-child(3) { rotate: 2deg; }

/* ---------------------------------------------------------------- ask advya terminal */
.term-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.term { background: #2a1e18; color: #ffede0; border-radius: 22px; padding: 22px; font: 15px/1.65 var(--mono); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.term-dots { display: flex; gap: 7px; margin-bottom: 18px; }
.term-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--sf); }
.term-dots i:nth-child(2) { background: #ffb020; }
.term-dots i:nth-child(3) { background: #3cc4be; }
.term-q { color: var(--sf); min-height: 1.65em; }
.term-q::before { content: '› '; }
.term-a { margin-top: 10px; white-space: pre-wrap; min-height: 8.5em; }
.term-a .caret { height: 1.05em; width: 0.55em; background: #3cc4be; vertical-align: -0.18em; }
.term-qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.term-qs button { font: 600 14px var(--body); min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255, 237, 224, 0.3); background: transparent; color: inherit; cursor: pointer; }
.term-qs button[aria-pressed='true'] { background: var(--sf); border-color: var(--sf); color: var(--ink); }
.term-note { font: 13px var(--body); color: #cdb9ac; margin: 14px 0 0; }
@media (max-width: 860px) { .term-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- pillars accordion */
.pillar-list { margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pillar-list details { border-bottom: 2px solid var(--ink); }
.pillar-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 20px 4px; }
.pillar-list summary::-webkit-details-marker { display: none; }
.pillar-list .p-name { font-family: var(--disp); text-transform: uppercase; font-size: clamp(38px, 7vw, 84px); line-height: 1; transition: color 0.2s, translate 0.3s; }
.pillar-list details:hover .p-name, .pillar-list details[open] .p-name { color: var(--sf-d); translate: 12px 0; }
.pm { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 26px; line-height: 1; transition: rotate 0.3s, background 0.3s; }
.pillar-list details[open] .pm { rotate: 45deg; background: var(--sf); border-color: var(--sf); }
.pillar-body { padding: 0 4px 26px; max-width: 680px; }
.pillar-body p { font-size: 18px; color: var(--mute); }
@media (max-width: 560px) { .pillar-list .status { display: none; } }

/* ---------------------------------------------------------------- status chips */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--bg2); color: var(--ink); white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-concept::before { background: #a08a7c; }
.status-exploring::before { background: var(--tl); }
.status-in-development::before { background: var(--sf); }
.status-live::before { background: #1f9d55; }
.section-alt .status, .card .status { background: var(--bg); }

/* ---------------------------------------------------------------- steps */
.steps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 18px; margin: 0; list-style: none; scrollbar-width: thin; }
.step { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; background: var(--bg2); border-radius: var(--r); padding: 26px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.step:nth-child(odd) { rotate: -1.2deg; }
.step:nth-child(even) { rotate: 1deg; }
.step:nth-child(3) { background: var(--sf); }
.step:nth-child(5) { background: var(--tl); color: #fff; }
.step h3 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 44px; line-height: 1; margin: 0 0 24px; }
.step p { margin: 0; }
.section-alt .step { background: var(--card); }
.section-alt .step:nth-child(3) { background: var(--sf); }
.section-alt .step:nth-child(5) { background: var(--tl); }

/* ---------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); min-height: 68px; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font-size: 22px; transition: rotate 0.3s, background 0.3s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--sf); }
.faq details p { color: var(--mute); max-width: 640px; margin: 0 0 22px; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- inner page hero */
.page-hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.page-hero .tag { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(52px, 10vw, 132px); color: var(--sf-d); max-width: 14ch; text-wrap: balance; }
.page-hero .lead { margin-top: 18px; }
.page-hero-art { position: absolute; right: -60px; top: 20px; width: clamp(180px, 28vw, 380px); opacity: 0.9; pointer-events: none; }
.page-hero-art circle { fill: none; stroke-width: 10; }
.page-hero-art .c1 { stroke: var(--ink); }
.page-hero-art .c2 { stroke: var(--sf); }
.page-hero-art .dot { fill: var(--tl); stroke: none; }
@media (max-width: 700px) { .page-hero-art { width: 150px; right: -50px; top: 0; opacity: 0.25; } }

/* ---------------------------------------------------------------- cards & blocks */
.cards-2, .cards-3, .cards-4 { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 18px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--card); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 18px 40px rgba(26, 18, 14, 0.08); }
.section-alt .card { background: var(--bg); }
.card h2, .card h3 { font-size: 22px; font-weight: 700; }
.card p { color: var(--mute); margin: 0; }
.card-top { margin-bottom: 18px; }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sf); margin-bottom: 18px; }
.card-icon svg, .ico { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature { background: var(--ink); color: var(--bg); border-radius: var(--r); padding: clamp(26px, 4vw, 52px); }
.feature h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 5vw, 60px); color: var(--sf); line-height: 1; }
.feature .lead { color: #cdb9ac; }
.feature .muted { color: #b5a093; }
.feature .status { background: #3a2b23; color: var(--bg); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sf); box-shadow: inset 0 0 0 6px currentColor; opacity: 0.95; }
.feature .ticks li::before { box-shadow: inset 0 0 0 6px var(--ink); }
.legend { margin-top: 28px; background: var(--bg2); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
.legend dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; margin: 0; }
.legend dl div { display: grid; gap: 8px; }
.legend dt { margin: 0; }
.legend dd { margin: 0; color: var(--mute); font-size: 15px; }
.note { margin-top: 28px; color: var(--mute); }
.big-link { font-size: clamp(20px, 3vw, 28px); font-weight: 700; word-break: break-all; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.split-form { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.stack > * + * { margin-top: 18px; }
@media (max-width: 860px) { .split, .split-form { grid-template-columns: minmax(0, 1fr); } }
.contact-options { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact-options li { display: grid; gap: 2px; padding-left: 18px; border-left: 4px solid var(--sf); }
.contact-options span { color: var(--mute); }

/* prose (about, legal, meditation) */
.prose h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); color: var(--sf-d); margin: 1.6em 0 0.5em; line-height: 1; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 18px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--sf); }
.values { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.values li { background: var(--card); border-radius: 20px; padding: 18px 22px; }
.disclaimer { margin-top: 36px; background: var(--bg2); border-radius: var(--r); padding: 24px 28px; border-left: 6px solid var(--tl); }
.disclaimer h2 { font-family: var(--body); text-transform: none; font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.disclaimer p { margin: 0; font-size: 16px; color: var(--mute); }

/* ---------------------------------------------------------------- enquiry form */
.enquiry { background: var(--card); border-radius: var(--r); padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 16px; box-shadow: 0 24px 60px rgba(26, 18, 14, 0.08); }
.section-alt .enquiry { background: var(--card); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px; min-height: 52px; transition: border-color 0.2s, background 0.2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field 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) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; outline: none; }
.field [aria-invalid='true'] { border-color: #c0261a; }
.field-error { margin: 0; color: #b0231a; font-size: 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--mute); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--sf); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--tl); }
.form-status.err { color: #b0231a; }
.cf-turnstile { min-height: 65px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--sf); color: var(--ink); border-radius: clamp(28px, 5vw, 60px) clamp(28px, 5vw, 60px) 0 0; padding: clamp(64px, 9vw, 120px) 0 28px; }
.footer-big { font-family: var(--disp); text-transform: uppercase; font-size: clamp(54px, 12vw, 168px); line-height: 0.92; margin: 0; }
.footer-big span { color: #fff; }
.footer-email { display: inline-block; margin-top: 28px; font-size: clamp(22px, 3.4vw, 38px); font-weight: 700; text-decoration-thickness: 3px; text-underline-offset: 6px; word-break: break-all; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 44px 0 28px; padding: 0; list-style: none; font-weight: 600; }
.footer-links a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 2px solid rgba(26, 18, 14, 0.25); padding-top: 18px; font-size: 14px; }
.footer-base p { margin: 0; }

/* ---------------------------------------------------------------- reveal & motion */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 0.8s ease, translate 0.8s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .manifesto .w { opacity: 1; }
}

/* ---------------------------------------------------------------- editable slots (filled by the Worker) */
[hidden] { display: none !important; }
.announce { background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; text-align: center; }
.announce p { margin: 0; padding: 10px 0; }
.announce a { color: var(--sf); }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--sf); }
.post-date { color: var(--mute); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.post-hero .post-date { margin-top: 18px; }
.post-hero .tag { text-decoration: none; }
.post-section { padding-top: 0; }
.prose h3 { font-size: 22px; margin: 1.4em 0 0.4em; }
.prose blockquote { margin: 1.4em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--sf); color: var(--mute); }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg2); padding: 2px 6px; border-radius: 6px; }
.prose a { color: var(--sf-ink); }
