/* Fonts: SIL OFL 1.1, licenses in assets/fonts/ */
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(assets/fonts/manrope-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(assets/fonts/manrope-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format('woff2'); }

:root {
  --a5-cream: #F3EEE3;
  --a5-ink: #111111;
  --a5-orange: #D9541E;
  --a5-orange-dark: #B74013;
  --surface: #FFFFFF;
  --surface-alt: #EAE3D5;
  --text-muted: #59564F;
  --border: #D6CFC2;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --content-width: 1200px;
  --gutter: 20px;
  --section-y: 72px;
  --gap: 24px;
  --radius-control: 8px;
  --radius-card: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 112px; --gap: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; --section-y: 144px; --gap: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body { margin: 0; background: var(--a5-cream); color: var(--a5-ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
@media (min-width: 768px) { body { font-size: 18px; } }

h1, h2, h3 { font-family: var(--font-heading); margin: 0 0 20px; text-wrap: balance; }
h1, .h1 { font-weight: 700; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.18; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
p { margin: 0 0 16px; }
a { color: var(--a5-orange-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--a5-orange-dark); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--a5-orange); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--a5-ink); color: var(--a5-cream); padding: 12px 16px; border-radius: var(--radius-control); }
.skip-link:focus { top: 16px; }

.container { max-width: calc(var(--content-width) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }

/* Prototype marker — remove with placeholders before launch */
.ph { display: inline-block; border: 1px dashed var(--a5-orange-dark); border-radius: 4px; padding: 0 6px; color: var(--a5-orange-dark); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: var(--radius-control); border: 0; font: 600 16px/1.4 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.button-primary { background: var(--a5-ink); color: var(--a5-cream); }
.button-primary:hover { background: #2a2a2a; }
.link-arrow { font-weight: 600; color: var(--a5-ink); text-underline-offset: 4px; }
.link-arrow:hover { color: var(--a5-orange-dark); }
.link-arrow::after { content: ' →'; }
.button-light { background: var(--a5-cream); color: var(--a5-ink); }
.button-light:hover { background: var(--surface); }
.link-light { color: var(--a5-cream); }
.link-light:hover { color: var(--surface); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--a5-cream); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: block; flex-shrink: 0; }
.site-header .logo img { width: 120px; }
.nav-toggle { min-height: 44px; padding: 0 16px; border: 1px solid var(--a5-ink); border-radius: var(--radius-control); background: transparent; font: 600 16px var(--font-body); color: var(--a5-ink); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; gap: 24px; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 100%); overflow-y: auto; padding: 8px var(--gutter) 32px; background: var(--a5-cream); border-bottom: 1px solid var(--border); }
.nav-trigger { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--border); background: none; font: 600 18px var(--font-body); color: var(--a5-ink); cursor: pointer; text-align: left; }
.nav-trigger::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.nav-trigger:hover { color: var(--a5-orange-dark); }
.mega { display: none; }
.nav-trigger[aria-expanded="true"] + .mega { display: grid; gap: 16px; padding: 12px 0 20px; }
.mega-links { display: grid; gap: 4px; }
.mega-links a { display: grid; gap: 2px; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius-control); color: var(--a5-ink); text-decoration: none; }
.mega-links a:hover { background: var(--surface); }
.mega-links a[aria-current="page"] .mega-title { color: var(--a5-orange-dark); }
.mega-title { font-weight: 600; font-size: 16px; }
.mega-desc { font-size: 14px; color: var(--text-muted); }
.mega-promo { padding: 20px; border-radius: var(--radius-control); background: var(--surface-alt); border-left: 4px solid var(--a5-orange); }
.mega-promo p { margin: 0 0 8px; font: 600 16px/1.4 var(--font-heading); }
.mega-promo .link-arrow { font-size: 15px; }

@media (min-width: 1024px) {
  .site-header .logo img { width: 150px; }
  .header-inner { min-height: 88px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; position: static; flex-direction: row; align-items: center; gap: 32px; max-height: none; overflow: visible; padding: 0; border: 0; }
  .nav-groups { display: flex; gap: 4px; }
  .nav-group { position: relative; }
  .nav-trigger { width: auto; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-control); font-size: 16px; font-weight: 500; }
  .nav-trigger::after { width: 6px; height: 6px; }
  .nav-trigger[aria-expanded="true"] { background: var(--surface-alt); }
  .nav-trigger[aria-expanded="true"] + .mega { position: absolute; top: calc(100% + 12px); left: 0; width: max-content; max-width: 640px; grid-template-columns: minmax(260px, 1fr) 220px; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 24px 48px -24px rgb(17 17 17 / .3); }
  .nav-trigger[aria-expanded="true"] + .mega:not(:has(.mega-promo)) { grid-template-columns: minmax(260px, 1fr); }
  .nav-group:last-child .mega { left: auto; right: 0; }
  .mega-links a { margin: 0; }
  .mega-links a:hover { background: var(--a5-cream); }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--a5-ink); color: var(--a5-cream); }
.section-tight { padding-top: 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-inner .section-intro { margin-bottom: 0; }
.cta-inner .actions { margin-top: 0; }
@media (min-width: 960px) {
  .cta-band { background: var(--a5-ink) url(assets/img/cta-dark.jpg) right center / cover no-repeat; }
  .cta-inner { grid-template-columns: 1.4fr 1fr; padding-right: 18%; }
}
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.section-intro { color: var(--text-muted); max-width: 600px; margin-bottom: 40px; font-size: 18px; line-height: 1.65; }
@media (min-width: 768px) { .section-intro { font-size: 20px; } }
@media (min-width: 1024px) { .section-intro { margin-bottom: 56px; } h2 + .grid, h2 + .steps, .section-head + .steps, .section-head + .grid { margin-top: 48px; } }
.section-dark .section-intro { color: #C9C3B7; }
.accent { color: var(--a5-orange-dark); }

/* Hero */
.hero { padding: 56px 0 calc(var(--section-y) * .6); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 560px; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
@media (min-width: 960px) { .hero { padding-top: 112px; } .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 96px; } }

/* Signature: diagonal cut at the A5 monogram angle */
/* 1.48 = slope of the A's left stroke in the logo (~56deg) */
.slant { --cut: 96px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) * 1.48)); }
@media (min-width: 960px) { .slant { --cut: 140px; } }
.hero-visual { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-alt); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); max-height: 560px; }
.hero-visual .card { position: relative; margin: -120px 16px 0; box-shadow: 0 24px 48px -24px rgb(17 17 17 / .25); }
@media (min-width: 960px) {
  .hero-img { max-height: none; }
  .hero-visual .card { position: absolute; left: -72px; bottom: -40px; width: min(380px, 85%); margin: 0; }
}
.about-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-alt); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); }

/* Page-load: one staggered reveal of the first screen */
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active :is(.hero-copy > *, .hero-img, .hero-visual .card) { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .slide.is-active .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .slide.is-active .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .slide.is-active .hero-img { animation-name: reveal; animation-duration: .9s; animation-delay: .1s; }
  .slide.is-active .hero-visual .card { animation-delay: .35s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  @keyframes reveal { from { opacity: 0; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } }
}

/* Cards */
.card { background: var(--surface); border: 1px solid rgb(214 207 194 / .6); border-radius: var(--radius-card); padding: 28px; }
@media (min-width: 1024px) { .card { padding: 48px; } }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; }
.offer-card { border-top: 4px solid var(--a5-orange); }
.offer-terms { margin: 0; display: grid; gap: 0; }
.offer-terms div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.offer-terms dt { color: var(--text-muted); font-size: 16px; }
.offer-terms dd { margin: 0; font: 600 18px var(--font-heading); text-align: right; font-variant-numeric: tabular-nums; }
.note { font-size: 14px; margin-top: 16px; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card-link h3 a { color: var(--a5-ink); text-decoration: none; }
.card-link h3 a:hover { color: var(--a5-orange-dark); text-decoration: underline; }
.card .link-arrow { display: inline-block; margin-top: 16px; }

/* Steps */
.steps { display: grid; gap: 40px var(--gap); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--a5-orange); padding-top: 24px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 16px var(--font-heading); color: var(--a5-ink); margin-bottom: 16px; }
.steps p { color: var(--text-muted); margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } .steps-5 { grid-template-columns: repeat(5, 1fr); gap: 24px; } }

/* Split */
.split { display: grid; gap: 48px; }
.split-lists { display: grid; gap: 32px; align-content: start; }
@media (min-width: 768px) { .split-lists-2 { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--border); position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 22px; width: 12px; height: 4px; background: var(--a5-orange); }
.checklist-muted li::before { background: var(--text-muted); }

/* Terms table */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.terms-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.terms-table th, .terms-table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.terms-table thead th { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.terms-table tbody th { font-weight: 600; }
.terms-table tbody tr:last-child > * { border-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0; font: 600 20px/1.3 var(--font-heading); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 600; color: var(--a5-orange-dark); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--text-muted); padding-bottom: 24px; margin: 0; }

/* Form */
.form { color: var(--a5-ink); display: grid; gap: 20px; }
.demo-note { font-size: 14px; background: var(--a5-cream); border-radius: var(--radius-control); padding: 12px 16px; }
.field label { display: block; font: 600 16px var(--font-body); margin-bottom: 8px; }
.field :is(input:not([type]), input[type=text], input[type=email], select, textarea) { width: 100%; min-height: 50px; padding: 0 16px; font: 400 16px var(--font-body); color: var(--a5-ink); background: var(--surface); border: 1px solid #8C8578; border-radius: var(--radius-control); }
.field :is(input, select, textarea):focus-visible { outline-offset: 0; border-color: var(--a5-ink); }
.field [aria-invalid="true"] { border: 2px solid #B42318; }
.field textarea { padding: 12px 16px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field select:not([multiple]) { -webkit-appearance: none; appearance: none; height: 50px; padding-right: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23141414%27 stroke-width=%271.6%27/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.optional { font-weight: 400; color: var(--text-muted); }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 0 12px; align-items: start; }
.field-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--a5-ink); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }
.field-error { color: #B42318; font-size: 14px; margin: 8px 0 0; }
.field-error:empty { display: none; }
.form-status { font-size: 14px; margin: 0; }
.form-status:empty { display: none; }

/* Footer */
.site-footer { background: var(--a5-ink); color: #C9C3B7; padding: 64px 0 40px; font-size: 14px; border-top: 1px solid #2a2a2a; }
.site-footer a { color: var(--a5-cream); }
.site-footer .logo img { width: 120px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2f2f2f; }
.footer-brand p { margin: 16px 0 0; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.footer-cols h2 { font: 600 14px var(--font-body); color: var(--a5-cream); margin: 0 0 12px; }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { color: #C9C3B7; text-decoration: none; }
.footer-cols a:hover, .footer-cols a[aria-current="page"] { color: var(--a5-cream); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 16px; }
.disclosure { max-width: 760px; margin-bottom: 8px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr 2fr; gap: 64px; } }

/* Inner pages */
.page-hero { padding: 40px 0 var(--section-y); }
@media (min-width: 1024px) { .page-hero { padding-top: 72px; } .breadcrumbs ol { margin-bottom: 40px; } }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 640px; }
.page-hero h1, .page-hero .lead, .page-hero .actions { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero h1, .page-hero .lead, .page-hero .actions, .page-hero .chips { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .page-hero .lead { animation-delay: .06s; }
  .page-hero .actions, .page-hero .chips { animation-delay: .12s; }
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--a5-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--a5-ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--a5-ink); }

.prose { max-width: 720px; }
.prose p { color: var(--text-muted); }
.faq-groups { display: grid; gap: 56px; }
.faq-groups h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 0; }

/* Calculator */
.calc { display: grid; gap: 40px; padding: 32px; border-top: 4px solid var(--a5-orange); }
.calc-inputs { display: grid; gap: 32px; align-content: start; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.range-head label { margin: 0; }
.range-head output { font: 700 24px var(--font-heading); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; height: 44px; margin: 8px 0 0; accent-color: var(--a5-ink); }
.calc-result { padding: 28px; border-radius: var(--radius-control); background: var(--a5-cream); }
.calc-figure { font: 700 clamp(28px, 3vw, 36px) var(--font-heading); margin-bottom: 8px; }
.calc-result .button { margin-top: 16px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.3fr 1fr; padding: 48px; gap: 64px; } }

/* Contact */
.contact-list { margin: 0; display: grid; gap: 0; max-width: 420px; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-list dt { color: var(--text-muted); font-size: 15px; }
.contact-list dd { margin: 0; }

/* Legal */
.legal-layout { display: grid; gap: 40px; }
.toc ol { display: grid; gap: 8px; }
.toc a { color: var(--a5-ink); text-decoration: none; }
.toc a:hover { color: var(--a5-orange-dark); text-decoration: underline; }
.legal-body section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.legal-body section:last-child { border: 0; }
.legal-body h2 { font-size: clamp(24px, 2.4vw, 30px); }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 220px 1fr; gap: 80px; } .toc { position: sticky; top: 120px; align-self: start; } }

/* Article (guides) */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--text-muted); margin-top: 24px; }
.sample-flag { display: inline-block; padding: 2px 10px; border: 1px dashed var(--a5-orange-dark); border-radius: 999px; color: var(--a5-orange-dark); font-weight: 600; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; color: var(--text-muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--a5-ink); }
.callout { margin: 32px 0; padding: 24px 28px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--a5-orange); border-radius: var(--radius-control); }
.callout p:last-child { margin-bottom: 0; }
.callout .terms-table { margin-top: 8px; }
.callout .terms-table th, .callout .terms-table td { padding: 10px 0; }
.glossary { margin: 0; }
.glossary dt { font: 600 18px var(--font-heading); margin-top: 24px; }
.glossary dd { margin: 4px 0 0; color: var(--text-muted); }
.sources { font-size: 14px; }
.sources a { word-break: break-word; }

/* Hero carousel */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.hero-chip { width: min(300px, 80%); }
.hero-chip-text { font: 600 20px/1.3 var(--font-heading); color: var(--a5-ink) !important; }
.hero-chip .eyebrow { margin-bottom: 8px; }
.slider-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; }
@media (min-width: 960px) { .slider-controls { margin-top: 80px; } }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { position: relative; width: 48px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dot::before, .slider-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 20px; height: 4px; border-radius: 2px; background: var(--border); }
.slider-dot::after { right: 100%; background: var(--a5-ink); }
.slider-dot[aria-current="true"]::after { right: 0; }
.slider-dot:hover::before { background: #b9b1a3; }
@media (prefers-reduced-motion: no-preference) {
  .hero.is-playing .slider-dot[aria-current="true"]::after { animation: progress var(--slide-ms, 7000ms) linear both; }
  @keyframes progress { from { right: 100%; } to { right: 0; } }
}
.slider-buttons { display: flex; gap: 8px; }
.slider-btn { width: 48px; height: 48px; border: 1px solid var(--a5-ink); border-radius: 50%; background: transparent; color: var(--a5-ink); font: 600 16px var(--font-body); cursor: pointer; transition: background-color .15s, color .15s; }
.slider-btn:hover { background: var(--a5-ink); color: var(--a5-cream); }
.slider-pause { font-size: 11px; letter-spacing: -1px; }
@media (max-width: 479px) {
  .slider-dots { gap: 4px; }
  .slider-dot { width: 32px; }
  .slider-buttons { gap: 4px; }
  .slider-btn { width: 44px; height: 44px; }
}

/* Key facts band */
.facts-band { border-block: 1px solid var(--border); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts div { padding: 28px 0; }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; }
.facts dd { margin: 0; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--font-heading); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { padding: 40px 32px; border-left: 1px solid var(--border); }
  .facts div:first-child { padding-left: 0; border-left: 0; }
}

.split-center { align-items: center; }

/* Video placeholder */
.video-ph { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-alt); }
.video-ph img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--a5-ink); color: var(--a5-cream); font-size: 22px; padding-left: 4px; }
.video-label { position: absolute; left: 16px; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; }

/* Calculator teaser */
.calc-teaser { display: grid; gap: 24px; align-items: center; border-top: 4px solid var(--a5-orange); }
.calc-teaser h2 { margin-bottom: 12px; }
@media (min-width: 900px) { .calc-teaser { grid-template-columns: 1fr auto; gap: 64px; padding: 56px; } }

/* Mocks */
.mock-progress { height: 8px; border-radius: 4px; background: var(--surface-alt); overflow: hidden; margin-bottom: 8px; }
.mock-progress span { display: block; height: 100%; background: var(--a5-ink); }
.app-mock { border-top: 4px solid var(--a5-orange); }
.app-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 32px; counter-reset: app; }
.app-steps li { counter-increment: app; font-size: 13px; font-weight: 600; color: var(--text-muted); padding-top: 12px; border-top: 3px solid var(--border); }
.app-steps li::before { content: counter(app) ' '; }
.app-steps .is-done { border-color: var(--a5-ink); color: var(--a5-ink); }
.app-steps .is-current { border-color: var(--a5-orange); color: var(--a5-ink); }
.app-fields { display: grid; gap: 8px; margin-bottom: 24px; }
.app-label { display: block; width: 40%; height: 10px; border-radius: 4px; background: var(--surface-alt); margin-top: 8px; }
.app-label.short { width: 25%; }
.app-input { display: block; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-control); }
.app-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-control); background: var(--a5-ink); color: var(--a5-cream); font-size: 15px; font-weight: 600; }

/* Steps stacked vertically (narrow columns) */
.steps.steps-stack { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }

.field-hint { font-size: 14px; color: var(--text-muted); margin: 8px 0 0; }
.field :is(input[type=tel]) { width: 100%; min-height: 50px; padding: 0 16px; font: 400 16px var(--font-body); color: var(--a5-ink); background: var(--surface); border: 1px solid #8C8578; border-radius: var(--radius-control); }

/* FAQ filter (JS turns topic chips into toggles) */
.faq-filter button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--a5-ink); font: 500 15px var(--font-body); cursor: pointer; }
.faq-filter button:hover { border-color: var(--a5-ink); }
.faq-filter button[aria-pressed="true"] { background: var(--a5-ink); border-color: var(--a5-ink); color: var(--a5-cream); }

/* Simple header links (mega-menu styles kept for draft pages) */
.nav-link { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); font: 600 18px var(--font-body); color: var(--a5-ink); text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--a5-orange-dark); }
@media (min-width: 1024px) {
  .nav-groups { gap: 8px; }
  .nav-link { min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-control); font-size: 16px; font-weight: 500; }
  .nav-link:hover { background: var(--surface-alt); color: var(--a5-ink); }
}
.site-nav.is-open .nav-groups { display: grid; }
.footer-copy { margin-top: 24px; }

/* Statement: big figure + points */
.statement-inner { display: grid; gap: 32px; align-items: start; }
.statement-figure { margin: 0; font: 700 clamp(96px, 14vw, 188px)/.85 var(--font-heading); letter-spacing: -0.05em; color: var(--a5-ink); }
.statement-figure::first-letter { color: var(--a5-orange-dark); }
.statement-copy h2 { max-width: 560px; }
.statement-points { display: grid; margin-top: 8px; border-top: 2px solid var(--a5-ink); }
.statement-points li { display: grid; gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.statement-points strong { font: 600 22px/1.3 var(--font-heading); }
.statement-points span { color: var(--text-muted); }
@media (min-width: 1024px) {
  .statement-inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .statement-points li { grid-template-columns: 190px 1fr; gap: 24px; align-items: baseline; }
}

/* Use-case rail (horizontal scroll-snap slider) */
.rail-section .section-head { align-items: end; }
.rail-buttons { display: none; gap: 8px; margin-bottom: 40px; }
.rail-buttons .slider-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--a5-ink); }
@media (min-width: 768px) { .rail-buttons { display: flex; } }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--content-width)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail-track { display: flex; gap: var(--gap); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--content-width)) / 2)); }
.rail-card { width: min(78vw, 340px); scroll-snap-align: start; }
.rail-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: var(--a5-cream); margin-bottom: 24px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.rail-card h3 { margin-bottom: 8px; }
.rail-card p { color: var(--text-muted); margin: 0; max-width: 300px; }
@media (min-width: 1200px) { .rail-card { width: 360px; } }

/* Premium service band */
.service-band { position: relative; background: var(--a5-ink); color: var(--a5-cream); overflow: hidden; }
.service-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .35; }
.service-inner { position: relative; padding-block: calc(var(--section-y) * 1.1); }
.service-inner h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; max-width: 640px; }
.service-inner .section-intro { color: #C9C3B7; }
.eyebrow-light { color: #C9C3B7; }
@media (min-width: 960px) { .service-img { opacity: .75; } .service-inner .section-intro, .service-inner h2 { max-width: 520px; } }

/* Page banners: US views under inner-page headings */
.page-banner { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 85%; margin-top: 48px; background: var(--surface-alt); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); }
@media (min-width: 768px) { .page-banner { aspect-ratio: 21 / 9; margin-top: 72px; } }
@media (prefers-reduced-motion: no-preference) {
  .page-banner { animation: reveal .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
}

/* Home: Main Street banner with overlapping card */
.us-banner { padding-bottom: var(--section-y); }
.us-figure { position: relative; margin: 0; }
.us-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% center; background: var(--surface-alt); border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); }
.us-card { position: relative; margin: -64px 16px 0; box-shadow: 0 24px 48px -24px rgb(17 17 17 / .25); }
.us-card h2 { font-size: clamp(24px, 2.6vw, 34px); }
@media (min-width: 900px) {
  .us-figure img { aspect-ratio: 21 / 9; }
  .us-card { position: absolute; left: 48px; bottom: 48px; width: min(460px, 45%); margin: 0; }
}

/* Full-bleed hero: US landscape behind the copy (scenes keep the upper-left sky clear) */
.hero-full { padding: 0; position: relative; }
.hero-full .slide { display: flex; flex-direction: column; overflow: hidden; }
.hero-full .slide-bg { order: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; background: var(--surface-alt); }
.hero-full .hero-inner { display: block; padding-top: 48px; padding-bottom: 32px; }
.hero-full .slider-controls { margin: 0 auto; padding-block: 20px; }
.nowrap { white-space: nowrap; }
.count-up { font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .hero-full .slide { position: relative; min-height: min(880px, calc(100svh - 126px)); justify-content: center; }
  .hero-full .slide-bg { position: absolute; top: 0; right: 0; width: 48%; height: 100%; aspect-ratio: auto; object-position: center; transform-origin: right center; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-full .hero-inner { position: relative; width: 100%; padding-block: 112px 168px; }
  .hero-full .hero-copy { max-width: min(560px, 46%); }
  .hero-full .slider-controls { position: absolute; left: 0; right: 0; bottom: 40px; padding-block: 0; }
  .hero-full .slider-btn { background: rgb(243 238 227 / .92); }
  .hero-full .slider-btn:hover { background: var(--a5-ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-full .slide.is-active .slide-bg { animation: kenburns 14s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1); } }
}

/* Home in-page navigation: sticks under the header, scroll-spy marks the current section */
.page-nav { position: sticky; top: 76px; z-index: 40; background: var(--a5-cream); border-bottom: 1px solid var(--border); }
.page-nav ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; white-space: nowrap; font: 500 15px var(--font-body); color: var(--text-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.page-nav li:first-child a { padding-left: 0; }
.page-nav a:hover { color: var(--a5-ink); }
.page-nav a[aria-current="true"] { color: var(--a5-ink); border-bottom-color: var(--a5-orange); }
html:has(.page-nav) { scroll-padding-top: 129px; }
@media (min-width: 1024px) {
  .page-nav { top: 95px; }
  .page-nav ul { gap: 16px; }
  html:has(.page-nav) { scroll-padding-top: 148px; }
}

/* Sliders: filled track, value scale under each slider */
.calc input[type=range] { -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: pointer; --fill: 50%; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--a5-orange) var(--fill), var(--border) var(--fill)); }
.calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--border); }
.calc input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--a5-orange); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--a5-ink); box-shadow: 0 2px 6px rgb(0 0 0 / .15); }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--a5-ink); }
.calc input[type=range]:focus-visible { outline: 2px solid var(--a5-ink); outline-offset: 4px; }
.calc datalist { display: none; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.range-ticks span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.range-ticks { padding-inline: 14px; }
.range-head output { white-space: nowrap; }
.card .calc-figure { color: var(--a5-ink); }
@media (max-width: 479px) { .range-head output { font-size: 20px; } }

/* iOS Safari shows page content above the sticky header (behind the status bar); extend the header background upward */
.site-header::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: var(--a5-cream); pointer-events: none; }

/* Narrow phones: lighter nesting in the estimate card, roomier section heads */
.calc-result .button { white-space: nowrap; }
.section-head + .grid { margin-top: 24px; }
@media (max-width: 479px) {
  .calc { padding: 24px 20px; gap: 32px; }
  .calc-result { padding: 20px; }
  .range-ticks { font-size: 12px; padding-inline: 12px; }
}
