/* =============================================================================
   bilko-base.v1.css — shared page chrome for NEW bilko.cloud HR landing pages
   -----------------------------------------------------------------------------
   Extracted verbatim (values unchanged) from the approved chrome of
   public/index.html: fonts, design tokens, base reset/typography, shared
   vocabulary (eyebrow / btn / section / shot / badge / grain), navbar, footer,
   sticky CTA, scroll-reveal, FAQ, contact form, closing CTA, responsive rules
   and the ONE consolidated prefers-reduced-motion policy.

   WHY THIS FILE EXISTS
   Every existing page inlines ~530 lines of identical CSS. Twenty new pages
   copy-pasting that block is unmaintainable and drifts silently. New pages link
   this file instead. No existing page was edited to create it — index.html and
   the 44 legacy pages keep their inline <style> exactly as approved.

   IMMUTABLE-CACHE RULE (public/_headers:14 — /assets/* is
   `Cache-Control: public, max-age=31536000, immutable`)
   Editing this file in place will NOT reach returning visitors for a year.
   Any change ships as a NEW file — bilko-base.v2.css — and the pages that want
   the change switch their <link>. Never edit a shipped /assets file in place.

   DELTAS VS THE INLINE index.html CHROME (deliberate, both required):
     1. @font-face src uses ABSOLUTE /fonts/… . The inline copy uses './fonts/…'
        which resolves against the PAGE url; here it would resolve against
        /assets/ and 404. Same files, correct paths.
     2. Page-specific sections are NOT included (hero, pain, proof, OCR, dark
        trust, offer matrix, pricing). Those are index.html's own layout, not
        chrome, and pinning them here would invite copy drift.

   CSP: style-src 'self' — a same-origin stylesheet needs no _headers change.
   Fonts are self-hosted (font-src 'self'); no third-party origin appears here.
   ============================================================================= */

/* ===== FONTS — Work Sans + National Park, self-hosted (CSP font-src 'self') ===== */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/work-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/work-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/work-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'National Park';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/NationalPark-Bold.ttf') format('truetype');
  unicode-range:
    U+0000-00FF, U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E, U+2013-2014,
    U+2018-201E, U+20AC;
}

/* ===== DESIGN TOKENS — strict 8px rhythm, two elevations, four named motion primitives ===== */
:root {
  --color-plum: #8b6bbf;
  --color-plum-deep: #5b3e8a;
  --color-plum-ink: #3f286d;
  --color-gold: #f2c87a;
  --color-gold-deep: #e2ab53;
  --color-surface: #f9f7fc;
  --color-surface-strong: #f1ecf8;
  --color-dark-bg: #151021;
  --color-dark-card: rgba(255, 255, 255, 0.045);
  --color-text-dark: #231c33;
  --color-text-light: #ece7f6;
  --color-white: #ffffff;
  --color-error: #b3261e;
  --color-error-bg: #fbeae9;
  --color-border: rgba(35, 28, 51, 0.1);
  --color-border-strong: rgba(91, 62, 138, 0.22);
  --color-border-dark: rgba(236, 231, 246, 0.12);
  --color-text-muted: rgba(35, 28, 51, 0.66);
  --color-text-muted-dark: rgba(236, 231, 246, 0.72);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: clamp(1.05rem, 0.9vw + 0.85rem, 1.2rem);
  --text-xl: clamp(1.25rem, 1.2vw + 0.9rem, 1.5rem);
  --text-heading: clamp(1.9rem, 3.4vw, 3rem);
  --text-display: clamp(2.55rem, 5vw, 4.4rem);

  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 2px 6px rgba(35, 28, 51, 0.05), 0 14px 36px -10px rgba(35, 28, 51, 0.14);
  --shadow-raised: 0 3px 8px rgba(35, 28, 51, 0.06), 0 28px 64px -18px rgba(63, 40, 109, 0.34);
  --content-wide: 72rem;
  --content-copy: 44rem;

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-reveal: 640ms var(--ease-standard); /* scroll-driven / IO section reveals */
  --motion-hover-lift: 180ms var(--ease-standard); /* buttons, cards, chips */
  --motion-focus-ring: 160ms ease-out; /* focus-visible outline */
  --motion-accent: 2.8s ease-in-out; /* looping decorative accents */
  --transition-fast: var(--motion-hover-lift);
}

/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    'Work Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: -0.008em;
  color: var(--color-text-dark);
  background: var(--color-white);
}
h1,
h2 {
  font-family:
    'National Park',
    'Work Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-weight: 700;
  line-height: 1.12;
}
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
img {
  max-width: 100%;
}
a {
  color: var(--color-plum-deep);
  text-decoration: none;
  transition:
    opacity var(--motion-hover-lift),
    color var(--motion-hover-lift);
}
a:hover {
  opacity: 0.85;
}
::selection {
  background: var(--color-plum-deep);
  color: var(--color-white);
}
:is(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-plum) 70%, white);
  outline-offset: 3px;
  transition:
    outline-color var(--motion-focus-ring),
    outline-offset var(--motion-focus-ring);
}
main {
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  background: var(--color-plum-deep);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus-visible {
  left: 0;
}

/* ===== SHARED VOCABULARY ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--color-plum-deep);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.eyebrow--dark {
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-8);
  transition:
    transform var(--motion-hover-lift),
    box-shadow var(--motion-hover-lift),
    background-color var(--motion-hover-lift),
    opacity var(--motion-hover-lift);
}
.btn--primary {
  background: var(--color-plum-deep);
  color: var(--color-white);
  box-shadow:
    0 2px 4px rgba(91, 62, 138, 0.14),
    0 12px 26px -8px rgba(91, 62, 138, 0.4);
}
.btn--primary::after {
  content: '';
  width: 0.85em;
  height: 0.85em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  transition: transform var(--motion-hover-lift);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 8px rgba(91, 62, 138, 0.18),
    0 18px 34px -8px rgba(91, 62, 138, 0.46);
  opacity: 1;
}
.btn--primary:hover::after {
  transform: translateX(3px);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--outline {
  background: var(--color-white);
  color: var(--color-plum-deep);
  border: 2px solid var(--color-plum-deep);
  box-shadow: none;
}
.btn--outline::after {
  display: none;
}
.btn--outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.cta-text-link {
  color: var(--color-plum-deep);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(139, 107, 191, 0.35);
  transition:
    border-color var(--motion-hover-lift),
    opacity var(--motion-hover-lift);
}
.cta-text-link:hover {
  border-color: var(--color-plum-deep);
  opacity: 1;
}

.section {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.section--surface {
  max-width: none;
  background: var(--color-surface);
}
.section--surface > .section__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section__h2 {
  font-size: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}
.section__lede {
  max-width: var(--content-copy);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.section__body {
  max-width: var(--content-copy);
  color: var(--color-text-muted);
}
.section__body > p + p {
  margin-top: var(--space-5);
}
.section__cta {
  margin-top: var(--space-8);
}
.proof-line {
  margin-top: var(--space-6);
  color: var(--color-text-dark);
}
.costly-signal {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Screenshot chrome — real screenshots presented in a consistent browser frame */
.shot {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-raised);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.shot__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border-strong);
}
.shot__dot:first-child {
  background: var(--color-plum);
}
.shot__dot:nth-child(2) {
  background: var(--color-gold);
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot--dark {
  border-color: var(--color-border-dark);
  background: #0f0b18;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(236, 231, 246, 0.06);
}
.shot--dark .shot__bar {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border-dark);
}

.status-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.status-badge--live {
  background: var(--color-gold);
  color: var(--color-text-dark);
}

.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

/* ===== NAVBAR ===== */
.navbar {
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar__container {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-dark);
}
.navbar__logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.navbar__logo-text {
  font-family: 'National Park', 'Work Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.navbar__menu {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}
.navbar__menu a {
  color: var(--color-text-dark);
  font-size: var(--text-sm);
  font-weight: 600;
}
.navbar__cta {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

/* ===== PAGE HEAD (new pages: the band under the navbar that replaces the homepage hero) ===== */
.page-head {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6) var(--space-8);
}
.page-head__h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -0.035em;
  margin-bottom: var(--space-5);
}
.page-head__lede {
  max-width: var(--content-copy);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}
.page-head__ctas {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.breadcrumbs {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.breadcrumbs a {
  color: var(--color-plum-deep);
}

/* ===== CARD GRID (reusable across segment / catalog / changelog pages) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
  align-items: start;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--motion-hover-lift),
    box-shadow var(--motion-hover-lift);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-raised);
}
.card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.card p {
  color: var(--color-text-muted);
}
.card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

/* ===== FAQ ===== */
.faq {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.faq__h2 {
  font-size: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
  text-align: center;
}
.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-3);
  background: var(--color-white);
  transition:
    box-shadow var(--motion-hover-lift),
    border-color var(--motion-hover-lift);
}
.faq__item:hover {
  box-shadow: 0 2px 12px rgba(35, 28, 51, 0.06);
  border-color: rgba(139, 107, 191, 0.3);
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
  color: var(--color-text-dark);
}
.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--color-plum-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  transition: transform var(--motion-hover-lift);
}
.faq__item.is-open .faq__question::after {
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  transition: max-height var(--motion-hover-lift) ease;
}
.faq__item.is-open .faq__answer {
  max-height: 500px;
  margin-top: var(--space-4);
}

/* ===== CLOSING CTA ===== */
.closing-cta {
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-white), var(--color-surface-strong));
  box-shadow: var(--shadow-soft);
  margin: var(--space-8) auto var(--space-20);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  max-width: var(--content-wide);
}
.closing-cta .section__h2 {
  margin-bottom: var(--space-6);
}
.closing-cta__microcopy {
  margin: var(--space-4) auto 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 30rem;
}

/* ===== FORMS =====
   Any new form MUST also follow the runtime rules in
   docs/landing-page-contract.md: Turnstile widget present, POST /api/lead,
   and NEVER show .contact-form__success when the API returned 503. */
.contact-form {
  max-width: none;
  background: var(--color-surface);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
  border-top: 1px solid var(--color-border);
}
.contact-form__container {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.contact-form__h2 {
  font-family: 'National Park', 'Work Sans', sans-serif;
  font-size: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
}
.contact-form__sub {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.contact-form__field {
  margin-bottom: var(--space-6);
}
.contact-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-dark);
}
.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-family: 'Work Sans', sans-serif;
  font-size: var(--text-base);
  background: var(--color-white);
  transition: border-color var(--motion-focus-ring);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form__submit {
  width: 100%;
}
.contact-form__turnstile {
  margin-bottom: var(--space-4);
}
.contact-form__error-msg {
  color: var(--color-error);
  font-size: var(--text-sm);
  padding: var(--space-3);
  background: var(--color-error-bg);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}
.contact-form__success {
  text-align: center;
  margin-top: var(--space-8);
  color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: var(--space-12) var(--space-6);
  font-size: var(--text-sm);
}
footer a {
  color: var(--color-plum);
}
.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-light);
}
.footer__logo-text {
  font-family: 'National Park', 'Work Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-light);
}
.footer__links {
  margin: 0;
}
.footer__legal {
  width: 100%;
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  color: rgba(236, 231, 246, 0.55);
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform var(--motion-hover-lift);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-plum-deep);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== SCROLL REVEAL — motion primitive --motion-reveal =====
   Native CSS scroll-driven animations (animation-timeline: view());
   IntersectionObserver fallback classes are applied by JS only when view() is unsupported. */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(var(--space-5));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
}
@supports (animation-timeline: view()) {
  .scroll-reveal {
    animation: reveal-up 1ms var(--ease-standard) both;
    animation-timeline: view();
    animation-range: entry 5% cover 24%;
  }
  .stagger > * {
    animation: reveal-up 1ms var(--ease-standard) both;
    animation-timeline: view();
    animation-range: entry 0% cover 18%;
  }
}
@supports not (animation-timeline: view()) {
  .scroll-reveal.reveal-pending {
    opacity: 0;
    transform: translateY(var(--space-5));
  }
  .scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity var(--motion-reveal),
      transform var(--motion-reveal);
  }
}

.section-photo {
  margin: 2rem auto 0;
  max-width: 960px;
}
.section-photo img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .navbar {
    padding-inline: var(--space-4);
  }
  .navbar__menu {
    display: none;
  }
  .section,
  .page-head,
  .faq,
  .contact-form {
    padding-inline: var(--space-5);
  }
  .page-head__h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .closing-cta {
    margin-inline: var(--space-5);
  }
}
@media (max-width: 640px) {
  .section-photo img {
    max-height: 240px;
  }
}

/* ===== ONE CONSOLIDATED REDUCED-MOTION POLICY =====
   Covers scroll-driven reveals, the IO fallback, hover lifts and smooth scroll.
   JS on the page must additionally gate any IntersectionObserver fallback via
   matchMedia('(prefers-reduced-motion: reduce)') — CSS alone is not enough. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal,
  .scroll-reveal.reveal-pending,
  .scroll-reveal.reveal-visible,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .card:hover,
  .btn--primary:hover,
  .btn--outline:hover {
    transform: none;
  }
}
