/* ===========================================================================
   ARiseMatic.com — site styles. Faithful production recreation of the
   design-system website UI kit (ui_kits/website/), plus the component classes
   the page uses (.am-btn, .am-card, .am-stat) lifted from kit-css.jsx.
   =========================================================================== */

/* ---- Buttons (redesign v2 2026-06-12: pill shape, mono label, arrow chip) ---- */
.am-btn { --_bg: var(--action); --_fg: var(--action-text); font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: 12px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--control-md); padding: 0 var(--space-5); border: 1px solid transparent; border-radius: var(--radius-pill); background: var(--_bg); color: var(--_fg); cursor: pointer; white-space: nowrap; box-shadow: var(--glow-rest); transition: var(--transition-control); -webkit-tap-highlight-color: transparent; text-decoration: none; }
.am-btn:focus-visible { outline: none; box-shadow: var(--glow-focus); }
.am-btn--primary:hover { background: var(--action-hover); box-shadow: var(--glow-hover); }
.am-btn--primary:active { background: var(--action-press); box-shadow: var(--glow-press); transform: translateY(1px); }
.am-btn--secondary { --_bg: var(--paper); --_fg: var(--pine); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.am-btn--secondary:hover { background: #fff; border-color: var(--pine); box-shadow: var(--glow-neutral-hover); }
.am-btn--secondary:active { background: var(--paper-sunk); transform: translateY(1px); box-shadow: var(--shadow-xs); }
.am-btn--ghost { --_bg: transparent; --_fg: var(--pine); box-shadow: none; }
.am-btn--ghost:hover { background: var(--pine-tint); }
.am-btn--ghost:active { background: var(--pine-tint); transform: translateY(1px); }
.am-btn--sm { height: var(--control-sm); padding: 0 var(--space-4); font-size: 11px; }
.am-btn--lg { height: var(--control-lg); padding: 0 var(--space-6); font-size: 13px; }
/* arrow chip: little circle that slides on hover (the Lumena-button gesture) */
.am-btn__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-right: -8px; border-radius: 50%; background: var(--straw); color: var(--pine); transition: transform var(--dur-base) var(--ease-out); }
.am-btn__icon svg { width: 12px; height: 12px; display: block; }
.am-btn--lg .am-btn__icon { width: 26px; height: 26px; margin-right: -10px; }
.am-btn--lg .am-btn__icon svg { width: 14px; height: 14px; }
.am-btn--secondary .am-btn__icon, .am-btn--ghost .am-btn__icon { background: var(--pine-tint); color: var(--pine); }
.am-btn:hover .am-btn__icon { transform: translateX(3px); }

/* ---- Card ---- */
.am-card { background: var(--surface-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: box-shadow var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft); }
.am-card--pad { padding: var(--space-6); }

/* ---- Stat ---- */
.am-stat__label { font-family: var(--font-mono); font-size: var(--label-sm); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.am-stat__value { font-family: var(--font-serif); font-weight: 400; font-size: var(--display-md); line-height: 1; color: var(--text-strong); letter-spacing: -.01em; }
.am-stat__delta { font-family: var(--font-mono); font-size: var(--text-xs); margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.am-stat__delta--up { color: var(--success); }

/* ===========================================================================
   Page layout (from ui_kits/website/index.html, production-adjusted)
   =========================================================================== */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
/* v3 wide stage: home sections + global chrome run near the walls on big
   screens (Lumena: 32px outer margins, content owns the width).
   width:100% is load-bearing — .hero3 is a flex column, and flex items with
   auto margins shrink to fit-content instead of filling to max-width. */
.hero3 .shell, .sec3 .shell, .photoband-inner.shell { max-width: 1560px; width: 100%; }
.nav-inner, .foot-inner, .foot-close, .foot-base { max-width: 1560px; }

/* Logo lockup */
.wm-lock { display: inline-flex; align-items: center; gap: 12px; }
.wm-mark { width: 38px; height: 38px; display: block; }
.wm-text { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: var(--font-serif); font-size: 21px; color: var(--ink); letter-spacing: 0.01em; }
.wm-desc { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.42em; padding-left: 0.42em; text-transform: uppercase; color: var(--stone); margin-top: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(243,237,226,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-soft); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 28px; margin-left: 18px; }
.nav-links a { font-size: 14.5px; color: var(--text-muted); transition: color var(--dur-base) var(--ease-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; margin-left: auto; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }

.eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 16px; }

/* Hero */
.hero { padding: 86px 0 68px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-tagline { font-family: var(--font-mono); font-size: clamp(12px, 1.2vw, 14px); letter-spacing: 0.42em; text-transform: uppercase; color: var(--pine); margin: 0 0 20px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(46px, 6.2vw, 76px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 24px; text-wrap: balance; }
.hero-lead { font-size: 18.5px; line-height: 1.62; color: var(--text-muted); max-width: 33ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-foot { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-subtle); margin: 20px 0 0; }
.hero-media { position: relative; }
.hero-frame { position: relative; aspect-ratio: 4 / 5; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; }
.hero-slot { width: 100%; height: 100%; border-radius: 10px; background: var(--paper-sunk); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.hero-slot span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-light); }
.hero-frame-cap { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; background: rgba(33,28,23,0.82); color: var(--cream); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; padding: 8px 12px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
.hero-frame-cap svg { color: var(--warning); }

/* Trust */
.trust { padding: 30px 0 8px; border-top: 1px solid var(--border-soft); }
.trust-label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 18px; }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 30px; }
.trust-item { font-family: var(--font-serif); font-size: 19px; color: var(--stone); }

/* Generic section */
.section { padding: 78px 0; }
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-family: var(--font-serif); font-size: 38px; line-height: 1.16; letter-spacing: -0.01em; color: var(--ink); margin: 0; }

/* Pillars */
.pillars { background: var(--paper); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { display: flex; flex-direction: column; gap: 12px; padding: var(--space-6); }
.pillar-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--pine-tint); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; }
.pillar-t { font-family: var(--font-serif); font-size: 23px; color: var(--ink); margin: 4px 0 0; }
.pillar-d { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* How */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-step { display: flex; flex-direction: column; gap: 14px; }
.how-top { display: flex; align-items: center; gap: 14px; }
.how-n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--amber-deep); }
.how-line { flex: 1; height: 1px; background: var(--border); }
.how-ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.how-t { font-family: var(--font-serif); font-size: 21px; color: var(--ink); margin: 2px 0 0; }
.how-d { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Proof (dark) */
.proof { background: var(--surface-ink); color: var(--text-on-ink); }
.proof-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.proof .eyebrow { color: var(--straw); }
.proof blockquote { font-family: var(--font-serif); font-size: 28px; line-height: 1.4; color: var(--straw); margin: 0 0 26px; text-wrap: pretty; }
.proof-by { display: flex; align-items: center; gap: 13px; }
.proof-av { border-radius: 50%; background: var(--cream); padding: 5px; box-sizing: border-box; }
.proof-name { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--cream); }
.proof-role { font-size: 13.5px; color: var(--text-on-ink-muted); }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; padding: 30px; background: rgba(243,237,226,0.04); border: 1px solid var(--line-cream); border-radius: var(--radius-lg); }
.proof-stats .am-stat__label { color: var(--text-on-ink-muted); }
.proof-stats .am-stat__value { color: var(--straw); }
.proof-stats .am-stat__delta { color: var(--text-on-ink-muted); }
.proof-stats .am-stat__delta--up { color: #B9C39A; }

/* CTA */
.cta { background: var(--cream); padding: 84px 0; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 32px; }
.cta-mark { display: block; margin: 0 auto 24px; }
.cta-title { font-family: var(--font-serif); font-size: 40px; line-height: 1.14; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 18px; text-wrap: balance; }
.cta-lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 48ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.foot { background: var(--surface-ink); color: var(--text-on-ink-muted); padding: 64px 0 28px; }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.foot .wm-name { color: var(--cream); }
.foot .wm-desc { color: var(--text-on-ink-muted); }
.foot-tag { font-size: 14px; line-height: 1.6; max-width: 38ch; margin: 18px 0 0; color: var(--text-on-ink-muted); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-ink); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; padding: 5px 0; color: var(--text-on-ink-muted); transition: color var(--dur-base) var(--ease-soft); }
.foot-col a:hover { color: var(--cream); }
.foot-base { max-width: 1180px; margin: 40px auto 0; padding: 22px 32px 0; border-top: 1px solid var(--line-cream); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--text-on-ink-muted); }

/* System / stages (Stand → Plan → Rise) */
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.stage { display: flex; flex-direction: column; gap: 12px; padding: var(--space-6); }
.stage-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber-deep); }
.stage-name { font-family: var(--font-serif); font-size: 24px; color: var(--ink); margin: 2px 0 0; }
.stage-price { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--stone); padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.stage-d { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.stage-cta { margin-top: auto; padding-top: 14px; }
.system-foot { text-align: center; font-family: var(--font-serif); font-size: 19px; color: var(--stone); max-width: 52ch; margin: 44px auto 0; }

/* Page hero (subpages) — light entrance, pure CSS (subpages skip the JS layer) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border-soft); }
.page-hero .shell { max-width: 880px; }
.page-hero .shell > * { animation: hero-up 700ms var(--ease-out) both; }
.page-hero .shell > *:nth-child(2) { animation-delay: 90ms; }
.page-hero .shell > *:nth-child(3) { animation-delay: 180ms; }
.page-hero .shell > *:nth-child(4) { animation-delay: 270ms; }
.page-title { font-family: var(--font-serif); font-size: 46px; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 20px; text-wrap: balance; }
.page-lead { font-size: 18px; line-height: 1.62; color: var(--text-muted); max-width: 56ch; margin: 0; }

/* Prose (about / long-form) */
.prose { max-width: 640px; }
.prose h2 { font-family: var(--font-serif); font-size: 28px; line-height: 1.2; color: var(--ink); margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16.5px; line-height: 1.7; color: var(--text-body); margin: 0 0 18px; }
.prose .aside { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-subtle); }

/* Photo slot (reusable placeholder frame) */
.photo-frame { aspect-ratio: 4 / 5; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; }
.photo-frame img, .hero-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
/* Warm grade — keeps mixed stock photography on one palette (pine + warm sand) */
.img-grade { filter: sepia(0.10) saturate(0.94) contrast(1.03) brightness(0.99); }
.photo-slot { width: 100%; height: 100%; border-radius: 10px; background: var(--paper-sunk); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.photo-slot span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-light); }
.about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.about-side { position: sticky; top: 96px; }

/* Deliverables (assessment) */
.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.deliv { display: flex; flex-direction: column; gap: 10px; padding: var(--space-6); }
.deliv-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--amber-deep); }
.deliv-t { font-family: var(--font-serif); font-size: 21px; color: var(--ink); margin: 0; }
.deliv-d { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Note callout */
.note { background: var(--amber-tint); border: 1px solid rgba(190,123,44,0.25); border-radius: var(--radius-lg); padding: 26px 30px; max-width: 720px; margin: 0 auto; }
.note-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 10px; }
.note p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Quote band (no stats) */
.quoteband { background: var(--surface-ink); color: var(--text-on-ink); }
.quoteband .proof-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quoteband .proof-by { justify-content: center; }
.quoteband .eyebrow { color: var(--straw); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.contact-card { padding: var(--space-7); display: flex; flex-direction: column; gap: 16px; }
.contact-t { font-family: var(--font-serif); font-size: 24px; color: var(--ink); margin: 0; }
.contact-d { font-size: 15.5px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next-list li { display: flex; gap: 14px; align-items: baseline; }
.next-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--amber-deep); flex: none; }
.next-list p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.contact-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-subtle); }

/* Forms (capture) */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.input, .textarea { font-family: var(--font-sans); font-size: var(--text-md); color: var(--ink); background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 12px 14px; transition: var(--transition-control); width: 100%; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus-visible, .textarea:focus-visible { outline: none; box-shadow: var(--glow-focus); border-color: var(--pine); }
.input::placeholder, .textarea::placeholder { color: var(--stone-light); }
.form-foot { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-subtle); margin: 14px 0 0; }
.form-status { font-family: var(--font-mono); font-size: 12.5px; margin: 12px 0 0; display: none; }
.form-status.ok { display: block; color: var(--success); }
.form-status.err { display: block; color: var(--error); }

/* Questionnaire (start.html) */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-progress { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-subtle); margin: 0 0 10px; }
.quiz-bar { height: 3px; background: var(--paper-sunk); border-radius: 999px; overflow: hidden; margin-bottom: 34px; }
.quiz-bar i { display: block; height: 100%; background: var(--pine); border-radius: 999px; transition: width var(--dur-slow) var(--ease-out); }
.quiz-q { font-family: var(--font-serif); font-size: 27px; line-height: 1.25; color: var(--ink); margin: 0 0 24px; }
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.opt { font-family: var(--font-sans); font-size: 16px; text-align: left; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 15px 18px; cursor: pointer; transition: var(--transition-control); }
.opt:hover { background: #fff; border-color: var(--pine); box-shadow: var(--glow-neutral-hover); }
.opt:focus-visible { outline: none; box-shadow: var(--glow-focus); }
.opt:active { transform: translateY(1px); }
.quiz-back { margin-top: 26px; background: none; border: none; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-subtle); padding: 4px 0; display: none; }
.quiz-back:hover { color: var(--ink); }
.quiz-result { display: none; }
.result-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 14px; }
.result-title { font-family: var(--font-serif); font-size: 34px; line-height: 1.15; color: var(--ink); margin: 0 0 16px; }
.result-d { font-size: 16.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 8px; }
.result-card { margin-top: 30px; padding: var(--space-7); }

/* FAQ (assessment) */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq { background: var(--paper); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 4px 24px; }
.faq summary { font-family: var(--font-serif); font-size: 18.5px; color: var(--ink); padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--amber-deep); flex: none; }
.faq[open] summary::after { content: "\2212"; }
.faq p { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin: 0; padding: 0 0 18px; }

/* Video placeholder slot */
.video-frame { aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 12px; max-width: 760px; margin: 0 auto; }
.video-slot { width: 100%; height: 100%; border-radius: 10px; background: var(--paper-sunk); display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.video-slot span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-light); }
.video-slot svg { color: var(--stone-light); }

/* Mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 50; background: var(--cream); padding: 22px 32px; display: none; flex-direction: column; gap: 6px; overflow-y: auto; }
.mmenu.open { display: flex; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mmenu a { font-family: var(--font-serif); font-size: 26px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.mmenu-close { background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }
body.menu-open { overflow: hidden; }

/* Skip link (a11y) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--cream); font-family: var(--font-mono); font-size: 13px; padding: 10px 16px; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus-visible { left: 0; }

/* Hero without media (interim, until imagery lands) */
.hero-grid--solo { grid-template-columns: 1fr; max-width: 880px; }
.hero-grid--solo .hero-lead { max-width: 52ch; }
.hero-foot--accent { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); margin-top: 10px; }
.hero-foot--accent svg { color: var(--status-warning); flex: none; }

/* Consent checkbox (A2P compliance — every phone-collecting form) */
.checkline { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; }
.checkline input[type="checkbox"] { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--pine); }
.checkline label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; line-height: 1.55; color: var(--text-subtle); }
.checkline a { color: var(--amber-deep); text-decoration: underline; }

/* Footer "soon" items (non-links until real) */
.foot-col .foot-soon { display: block; font-size: 14px; padding: 5px 0; color: var(--text-on-ink-muted); opacity: 0.55; cursor: default; }
.foot-base a:hover { color: var(--cream); }

/* ===========================================================================
   Experience layer (redesign 2026-06-12) — scroll reveals, hero entrance,
   sticky stage stack, "The mark" section. Transform/opacity only; the global
   prefers-reduced-motion rule in tokens.css collapses all of it to instant.
   =========================================================================== */

/* Scroll reveals — experience.js adds .in once per element */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
.rv.in { opacity: 1; transform: none; }
.rv-mask { opacity: 0; clip-path: inset(0 0 96% 0); transform: translateY(12px); transition: clip-path 800ms var(--ease-out), opacity 400ms var(--ease-soft), transform 800ms var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
.rv-mask.in { opacity: 1; clip-path: inset(0 0 -10% 0); transform: none; }
.rv-d1 { --rv-delay: 90ms; } .rv-d2 { --rv-delay: 180ms; } .rv-d3 { --rv-delay: 270ms; } .rv-d4 { --rv-delay: 360ms; }

/* Hero entrance — pure CSS on load, no JS dependency */
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: hero-up 760ms var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: 100ms; }
.hero-copy > *:nth-child(3) { animation-delay: 200ms; }
.hero-copy > *:nth-child(4) { animation-delay: 300ms; }
.hero-copy > *:nth-child(5) { animation-delay: 400ms; }
.hero-copy > *:nth-child(6) { animation-delay: 480ms; }
.hero3-title { animation: hero-up 800ms var(--ease-out) both; }
/* 'backwards' (not 'both'): fill-both would pin transform:none forever and
   kill the JS cursor parallax that drives this wrapper after entry */
.hero3-mark-wrap { animation: hero-up 900ms var(--ease-out) backwards 150ms; }
.hero3-folio { animation: hero-up 760ms var(--ease-out) both 280ms; }
.hero3-deck { animation: hero-up 760ms var(--ease-out) both 380ms; }

/* ===========================================================================
   v3 editorial system (Lumena study, 2026-06-12 — see lumena-study.md §11).
   Skeleton: giant serif section names + mono indices + hairlines; asymmetric
   grids; two color shouts per page (straw band, pine band); one full-bleed
   photo moment; "(01)" indices as wayfinding.
   =========================================================================== */

/* Section header: big serif name left, mono index right, hairline under */
.sec3 { padding: 96px 0 84px; }
.sec3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 40px; }
.sec3-name { font-family: var(--font-serif); font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.sec3-idx { font-family: var(--font-mono); font-size: clamp(20px, 2.6vw, 34px); color: var(--text-subtle); letter-spacing: 0.06em; }
.sec3-kick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 44px; }
.sec3-kick p { font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 46ch; margin: 0; grid-column: 2; }
@media (max-width: 900px) { .sec3-kick { grid-template-columns: 1fr; } .sec3-kick p { grid-column: 1; } }

/* Hero v3 — four-corner magazine spread: H1 top-left, mark top-right,
   folio bottom-left, deck + CTA bottom-right. The mark IS the artwork. */
.hero3 { min-height: calc(100svh - 70px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 56px 0 56px; }
.hero3-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: start; }
.hero3-title { font-family: var(--font-serif); font-size: clamp(42px, 4.8vw, 84px); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.hero3-mark-wrap { justify-self: end; width: clamp(320px, 30vw, 500px); will-change: transform; }
/* short-wide screens (1920x900-1040 laptops/monitors): shrink the mark and
   padding so all four corners stay inside the viewport — flex space-between
   then pins the bottom row to the true bottom edge */
@media (min-width: 1200px) and (max-height: 1040px) {
  .hero3 { padding: 36px 0 44px; }
  .hero3-mark-wrap { width: clamp(300px, 26vw, 450px); }
}
.hero3-mark { width: 100%; height: auto; display: block; animation: mark-live 150s linear infinite; }
@keyframes mark-live {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.025); }
  100% { transform: rotate(360deg) scale(1); }
}
.hero3-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero3-folio { font-family: var(--font-mono); font-size: clamp(13px, 1vw, 18px); letter-spacing: 0.32em; text-transform: uppercase; color: var(--pine); line-height: 2.1; margin: 0; }
.hero3-folio span { display: block; color: var(--text-muted); letter-spacing: 0.06em; text-transform: none; font-size: clamp(15px, 1.05vw, 19px); font-family: var(--font-sans); margin-top: 6px; }
.hero3-deck { justify-self: end; max-width: 48ch; }
.hero3-deck p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.55; color: var(--text-body); margin: 0 0 24px; }
@media (max-width: 900px) {
  .hero3 { min-height: 0; gap: 40px; }
  .hero3-top, .hero3-bottom { grid-template-columns: 1fr; }
  .hero3-mark-wrap { justify-self: center; width: min(250px, 58vw); order: -1; }
  .hero3-deck { justify-self: start; }
}

/* Stage accordion (replaces the sticky stack) */
.acc { border-top: 1px solid var(--border); }
.acc-row { border-bottom: 1px solid var(--border); }
.acc-row > summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 34px; align-items: center; gap: 18px; padding: 30px 0; cursor: pointer; list-style: none; }
.acc-row > summary::-webkit-details-marker { display: none; }
.acc-idx { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--text-subtle); }
.acc-title { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.1; color: var(--ink); }
.acc-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted); text-align: right; }
.acc-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-soft); }
.acc-row > summary:hover .acc-arrow { background: var(--pine-tint); }
.acc-row[open] .acc-arrow { transform: rotate(180deg); background: var(--pine); color: var(--straw); border-color: var(--pine); }
.acc-row[open] > summary .acc-title { color: var(--pine); }
.acc-body { padding: 2px 0 38px 74px; max-width: 64ch; }
.acc-body p { font-size: 16.5px; line-height: 1.62; color: var(--text-muted); margin: 0 0 20px; }
@media (max-width: 700px) {
  /* pricing meta moves under the title — phones must still see the numbers */
  .acc-row > summary { grid-template-columns: 36px minmax(0, 1fr) 34px; grid-template-rows: auto auto; row-gap: 6px; padding: 24px 0; }
  .acc-idx { grid-row: 1; }
  .acc-title { grid-row: 1; grid-column: 2; }
  .acc-arrow { grid-row: 1; grid-column: 3; }
  .acc-meta { grid-row: 2; grid-column: 2; text-align: left; }
  .acc-body { padding-left: 0; }
}

/* Straw stat band — finding-named cards, no dead zone (their flaw, fixed) */
.statband { background: var(--straw); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.statband .sec3-head { border-bottom-color: rgba(33, 28, 23, 0.18); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { background: #FFFCF4; padding: 18px 18px 16px; }
.fact-t { font-size: 16px; font-weight: var(--weight-medium); color: var(--ink); margin: 0 0 12px; }
/* numeral stacked over description — side-by-side ragged badly in 4-up cards */
.fact-row { border-top: 1px solid var(--border); padding-top: 16px; }
.fact-n { display: block; font-family: var(--font-serif); font-size: clamp(56px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.02em; color: var(--pine); white-space: nowrap; }
.fact-n small { font-size: 0.32em; vertical-align: baseline; letter-spacing: 0; }
.fact-d { display: block; padding-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 900px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } }

/* Full-bleed photo band with pinned quote (the one photo moment) */
.photoband { position: relative; height: 160vh; }
.photoband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(0.9) sepia(0.12); }
.photoband-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.photoband blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 3vw, 40px); line-height: 1.4; color: var(--straw); max-width: 30ch; margin: 0 0 0 8%; text-wrap: pretty; position: relative; z-index: 1; }
/* bottom vignette keeps the kicker legible whatever the photo does beneath it */
.photoband-inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; background: linear-gradient(transparent, rgba(13, 43, 31, 0.55)); pointer-events: none; }
.photoband .pq-kicker { position: absolute; bottom: 9vh; left: 8%; right: 8%; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--straw); z-index: 1; }
@media (max-width: 480px) { .photoband .pq-kicker { font-size: 10.5px; letter-spacing: 0.16em; } }

/* Pine band — "The mark" (the dark moment; straw type on pine) */
.markband { background: var(--pine); color: var(--text-on-ink); }
.markband .sec3-head { border-bottom-color: var(--line-cream); }
.markband .sec3-name { color: var(--straw); }
.markband .sec3-idx { color: var(--text-on-ink-muted); }
.markband .mark-figure { display: flex; justify-content: center; margin: 16px 0 56px; }
.markband .mark-figure img { width: min(340px, 58vw); height: auto; }
.markband .mark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.markband .mark-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--warning); display: block; margin-bottom: 12px; }
.markband .mark-item { border-top: 1px solid var(--line-cream); padding-top: 18px; }
.markband .mark-item h3 { font-family: var(--font-serif); font-size: 23px; color: var(--straw); margin: 0 0 10px; }
.markband .mark-item p { font-size: 15px; line-height: 1.65; color: var(--text-on-ink-muted); margin: 0; }
@media (max-width: 900px) { .markband .mark-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Pillars v3 — plain hairline columns, no card chrome */
.pil3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pil3 > div { border-top: 1px solid var(--border); padding-top: 18px; }
.pil3 .mark-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber-deep); display: block; margin-bottom: 10px; }
.pil3 h3 { font-family: var(--font-serif); font-size: 23px; color: var(--ink); margin: 0 0 10px; }
.pil3 p { font-size: 15px; line-height: 1.62; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .pil3 { grid-template-columns: 1fr; gap: 24px; } }

/* Footer closing row — big wordmark + the mark (global, via partial) */
.foot-close { max-width: 1180px; margin: 56px auto 0; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.foot-close .fw { font-family: var(--font-serif); font-size: clamp(44px, 9vw, 110px); line-height: 0.95; color: var(--straw); letter-spacing: -0.015em; }
.foot-close img { width: clamp(88px, 13vw, 170px); height: auto; opacity: 0.95; }

/* Home CTA — left-aligned to the grid (the page's grammar is asymmetric) */
.cta3 { padding: 130px 0 140px; }
.cta3 .sec3-name { max-width: 15ch; margin: 0 0 24px; }
.cta3 .cta3-lead { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 52ch; margin: 0 0 32px; }

/* Legal pages (privacy / terms) */
.legal { max-width: 720px; }
.legal h2 { font-family: var(--font-serif); font-size: 24px; line-height: 1.25; color: var(--ink); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--text-body); }
.legal ul { padding-left: 22px; margin: 0 0 18px; }
.legal .legal-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-subtle); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid, .proof-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillar-grid, .how-grid, .stage-grid, .deliv-grid, .foot-cols { grid-template-columns: 1fr; }
  .mark-grid { grid-template-columns: 1fr; gap: 36px; }
  .stage-stack .stage { padding: 30px 26px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .page-title { font-size: 32px; }
  /* authored hero line breaks don't fit narrow phones — wrap naturally */
  .hero3-title { font-size: 36px; }
  .hero3-title br { display: none; }
  .foot-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
  .section-title, .cta-title { font-size: 30px; }
  .page-title { font-size: 36px; }
  .about-side { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .quiz-q { font-size: 23px; }
  .result-title { font-size: 28px; }
}
