/* =============================================================
   DRIVE OZARKS NOW — Shared Stylesheet
   Brand concept: "Topographic Trailhead" — premium adventure-concierge.
   Deep Ozarks forest + dawn brass light. Editorial serif display,
   refined grotesque body. Mobile-first, WCAG AA, no frameworks.
   ============================================================= */

/* ------------------ 1. DESIGN TOKENS ------------------ */
:root {
  /* Color story — the Ozarks at dawn */
  --forest-900: #0D1C16;   /* deepest shadow / page base */
  --forest-800: #11231C;   /* primary dark surface */
  --forest-700: #163026;   /* raised surface */
  --pine-600:   #1E3A30;   /* card / panel */
  --pine-500:   #2A4D40;   /* borders, hairlines */
  --moss-400:   #3A5448;   /* subtle dividers */

  --brass-400:  #E4C476;   /* highlight gold */
  --brass-500:  #C9A24B;   /* primary accent (gold) */
  --brass-600:  #A8843A;   /* gold pressed */
  --clay-500:   #D97A4E;   /* sunrise clay secondary accent */
  --clay-600:   #C4663C;

  --mist-100:   #EAF0EC;   /* primary light text */
  --mist-200:   #D5DED8;
  --fog-400:    #9DB0A6;   /* muted text on dark (AA on forest-800) */
  /* fog-500 was #7E9388 (~3.8:1 on pine-600 — below AA). Lightened so the
     form-note, footer legal, breadcrumbs and placeholders clear 4.5:1 on every
     dark surface (worst case pine-600 = 5.92:1). */
  --fog-500:    #A6B8AE;

  /* Light surfaces for inverted sections */
  --paper-50:   #F6F4ED;   /* warm bone paper */
  --paper-100:  #EDE9DC;
  --ink-900:    #14211B;   /* dark text on paper */
  --ink-600:    #44564D;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;

  /* Fluid display sizes */
  --fs-h1: clamp(2.6rem, 6vw + 0.5rem, 5.5rem);
  --fs-h2: clamp(2rem, 3.5vw + 0.5rem, 3.4rem);
  --fs-h3: clamp(1.35rem, 1.4vw + 0.8rem, 1.9rem);

  /* Spacing scale (8px base) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4.5rem; --sp-7: 6.5rem;  --sp-8: 9rem;

  --maxw: 1200px;
  --maxw-narrow: 740px;
  --radius: 4px;
  --radius-lg: 14px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 18px 50px -20px rgba(0,0,0,0.65);
  --shadow-gold: 0 14px 40px -16px rgba(201,162,75,0.45);

  --ring: 0 0 0 3px var(--forest-900), 0 0 0 5px var(--brass-500);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------ 2. RESET / BASE ------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--mist-200);
  background-color: var(--forest-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Layered atmosphere: faint topographic contours + dawn glow */
  background-image:
    radial-gradient(120% 80% at 80% -10%, rgba(217,122,78,0.10), transparent 55%),
    radial-gradient(90% 60% at 10% 0%, rgba(201,162,75,0.07), transparent 50%);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--mist-100);
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { max-width: 62ch; }

/* Accessible focus */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--brass-500); color: var(--forest-900);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  font-weight: 700; z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ------------------ 3. LAYOUT PRIMITIVES ------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.4rem; }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--sp-6); }
@media (min-width: 768px) { .section { padding-block: var(--sp-7); } }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-500);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--brass-500);
}
.lead { font-size: var(--fs-lead); color: var(--fog-400); line-height: 1.55; }

/* Section heading block */
.sec-head { max-width: 760px; margin-bottom: var(--sp-4); }
.sec-head h2 { margin-top: 0.8rem; }
.sec-head p { margin-top: 1rem; }

/* ------------------ 4. BUTTONS ------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 100px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  position: relative; will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brass-400), var(--brass-500));
  color: var(--forest-900); box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -14px rgba(201,162,75,0.6); }
.btn-ghost {
  color: var(--mist-100); border: 1px solid var(--moss-400);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--brass-500); color: var(--brass-400); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ------------------ 5. HEADER / NAV ------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(13,28,22,0.92), rgba(13,28,22,0.72));
  border-bottom: 1px solid rgba(58,84,72,0.5);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 1rem;
}
.brand { display: flex; align-items: center; }
/* The wordmark ships as an <img>/inline SVG at 420×96 intrinsic — these rules
   constrain it so it fits the 76px header and never causes mobile overflow. */
.brand svg, .brand img { height: 44px; width: auto; }
.brand:focus-visible { box-shadow: var(--ring); border-radius: 6px; }
/* Brand lockup: the generated compass emblem + live-text wordmark */
.brand { gap: 0.7rem; }
.brand img.brand-emblem { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  color: var(--mist-100); letter-spacing: 0.01em; line-height: 1.1; white-space: nowrap;
}
.brand-name .now { color: var(--brass-400); }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a.nav-link {
  padding: 0.55rem 0.95rem; border-radius: 100px;
  font-size: 0.95rem; font-weight: 500; color: var(--mist-200);
  position: relative; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a.nav-link:hover { color: var(--brass-400); }
.nav-links a.nav-link[aria-current="page"] {
  color: var(--brass-400);
  background: rgba(201,162,75,0.10);
}
.nav-cta { margin-left: 0.6rem; padding: 0.7rem 1.3rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--moss-400); color: var(--mist-100);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    /* The header's backdrop-filter makes it the containing block for fixed
       descendants, so anchor the drawer with absolute positioning instead —
       it hugs the sticky header's bottom edge at full width on any viewport. */
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--forest-900);
    border-bottom: 1px solid var(--moss-400);
    padding: 1rem 1.4rem 1.6rem;
    transform: translateY(-120%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a.nav-link { padding: 0.9rem 1rem; font-size: 1.1rem; }
  .nav-cta { margin: 0.6rem 0 0; justify-content: center; }
}

/* ------------------ 6. HERO ------------------ */
.hero { position: relative; overflow: hidden; padding-block: var(--sp-6) var(--sp-7); }

/* Cinematic photographic hero variant: full-viewport dawn-highway backdrop
   with the copy anchored over a graded gradient. The SVG art panel is not
   used in this variant — the photograph carries the scene. */
.hero--cinema {
  min-height: 100svh;
  display: grid; align-items: center;
  background-image:
    linear-gradient(100deg, rgba(13,28,22,0.88) 0%, rgba(13,28,22,0.55) 42%, rgba(13,28,22,0.18) 70%, rgba(13,28,22,0.45) 100%),
    linear-gradient(180deg, rgba(13,28,22,0.55) 0%, transparent 30%, transparent 62%, rgba(13,28,22,0.92) 100%),
    url("../assets/hero-cinematic.jpg");
  background-size: cover; background-position: center 38%;
}
.hero--cinema .hero-grid { grid-template-columns: 1fr; }
.hero--cinema .hero-copy { max-width: 720px; }
.hero--cinema .hero-art { display: none; }  /* the photo carries the scene */
.hero--cinema .lead { color: var(--mist-200); }
@media (min-width: 940px) { .hero--cinema .hero-grid { grid-template-columns: 1fr; } }
.hero-grid { display: grid; gap: var(--sp-4); align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-5); }
}
.hero h1 { margin: 1.2rem 0; }
.hero h1 em {
  font-style: italic; color: var(--brass-400);
  font-feature-settings: "swsh" 1;
}
.hero .lead { max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: var(--sp-3); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: var(--sp-4);
  padding-top: var(--sp-3); border-top: 1px solid var(--moss-400);
}
.hero-meta .stat .num {
  font-family: var(--font-display); font-size: 1.9rem; color: var(--mist-100); font-weight: 600;
}
.hero-meta .stat .lbl { font-size: 0.82rem; color: var(--fog-400); letter-spacing: 0.04em; }

/* Topographic SVG art panel */
.hero-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--pine-500);
  background:
    radial-gradient(140% 90% at 70% 0%, #2a4d40 0%, #163026 45%, #0d1c16 100%);
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .art-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(13,28,22,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--moss-400); border-radius: 14px; padding: 0.9rem 1.1rem;
}
.hero-art .art-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--clay-500); box-shadow: 0 0 0 4px rgba(217,122,78,0.25); flex: none;}
.hero-art .art-badge span { font-size: 0.9rem; color: var(--mist-200); }
.hero-art .art-badge strong { color: var(--mist-100); }

/* decorative floating topo lines behind hero */
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1; opacity:0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg fill='none' stroke='%231e3a30' stroke-width='1'%3E%3Cpath d='M0 520 Q150 470 300 510 T600 500'/%3E%3Cpath d='M0 560 Q150 510 300 550 T600 540'/%3E%3Cpath d='M0 600 Q150 550 300 590 T600 580'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px; background-position: bottom right;
}

/* ------------------ 7. BADGES / PILLS ------------------ */
.vet-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-400);
  border: 1px solid rgba(201,162,75,0.4); border-radius: 100px;
  padding: 0.45rem 0.95rem; background: rgba(201,162,75,0.07);
}
.vet-badge svg { width: 16px; height: 16px; }

/* ------------------ 8. CARDS / SERVICES ------------------ */
.card-grid { display: grid; gap: 1.3rem; }
@media (min-width: 620px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .card-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }

.card {
  position: relative; background: var(--pine-600);
  border: 1px solid var(--pine-500); border-radius: var(--radius-lg);
  padding: 1.8rem; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::after {
  content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background: linear-gradient(90deg, var(--brass-500), var(--clay-500));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--moss-400); box-shadow: var(--shadow-md); }
.card:hover::after { transform: scaleX(1); }
.card .icn {
  width: 54px; height: 54px; border-radius: 12px; display:grid; place-items:center;
  background: rgba(201,162,75,0.10); border: 1px solid rgba(201,162,75,0.28);
  margin-bottom: 1.1rem; color: var(--brass-400);
}
.card .icn svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--mist-200); font-size: 1rem; }
.card .card-num {
  position: absolute; right: 1.2rem; top: 1rem;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--moss-400);
}

/* ------------------ 9. VIP FEATURE ------------------ */
.vip {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(217,122,78,0.22), transparent 55%),
    linear-gradient(135deg, #11231C 0%, #0d1c16 60%);
  border: 1px solid var(--pine-500);
  padding: clamp(2rem, 5vw, 4.5rem);
}
.vip-grid { display: grid; gap: var(--sp-4); align-items: center; }
@media (min-width: 900px) { .vip-grid { grid-template-columns: 1fr 0.9fr; gap: var(--sp-5);} }
.vip h2 em { font-style: italic; color: var(--clay-500); }
.vip ul.checks { margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.vip ul.checks li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--mist-200); }
.vip ul.checks svg { width: 22px; height: 22px; color: var(--brass-400); flex: none; margin-top: 2px; }
.vip-art {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--moss-400); position: relative;
  background: radial-gradient(120% 100% at 50% 10%, #2a4d40, #0d1c16);
}
.vip-art svg { width:100%; height:100%; }
.vip-art img { width:100%; height:100%; object-fit: cover; display:block; }

/* ------------------ 10. TRUST STRIP ------------------ */
.trust { background: var(--forest-900); border-block: 1px solid var(--moss-400); }
.trust-grid { display: grid; gap: 1.2rem; }
@media (min-width: 760px){ .trust-grid{ grid-template-columns: repeat(3,1fr);} }
.trust-item { display:flex; gap: 1rem; align-items:flex-start; }
.trust-item .icn { color: var(--brass-400); flex:none; }
.trust-item .icn svg { width: 30px; height: 30px; }
.trust-item h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.trust-item p { font-size: 1rem; color: var(--mist-200); }

/* ------------------ 11. CTA BAND ------------------ */
.cta-band {
  text-align: center; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brass-500), var(--clay-500));
  color: var(--forest-900); padding: clamp(2.4rem,5vw,4rem);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--forest-900); }
.cta-band p { color: rgba(13,28,22,0.78); margin: 0.8rem auto 1.8rem; max-width: 52ch; font-weight: 500;}
.cta-band .btn-primary {
  background: var(--forest-900); color: var(--brass-400); box-shadow: var(--shadow-md);
}
.cta-band .btn-primary:hover { background: var(--forest-800); }

/* ------------------ 12. FOOTER ------------------ */
.site-footer { background: var(--forest-900); border-top: 1px solid var(--moss-400); padding-block: var(--sp-5) var(--sp-3); }
.footer-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 820px){ .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand svg, .footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--fog-400); font-size: 0.96rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-500); margin-bottom: 1rem; }
.footer-col a, .footer-col li { color: var(--mist-200); font-size: 0.98rem; padding-block: 0.3rem; display: block; }
.footer-col a:hover { color: var(--brass-400); }
.footer-contact a { display:flex; align-items:center; gap:0.55rem; }
.footer-contact svg { width:18px;height:18px;color:var(--brass-500); flex:none;}
.footer-bottom {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--pine-500);
  display:flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  font-size: 0.85rem; color: var(--fog-500);
}

/* ------------------ 13. PAGE HERO (interior) ------------------ */
.page-hero { padding-block: var(--sp-6) var(--sp-4); position: relative; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p.lead { margin-top: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--fog-500); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--brass-400); }

/* ------------------ 14. SERVICE DETAIL ROWS ------------------ */
.svc-row { display: grid; gap: var(--sp-3); align-items: center; padding-block: var(--sp-4); border-top: 1px solid var(--moss-400); }
@media (min-width: 880px){ .svc-row{ grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-5);} .svc-row.flip .svc-art{ order:2;} }
.svc-art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--pine-500); position: relative;
  background: radial-gradient(110% 100% at 30% 20%, #2a4d40, #0d1c16);
}
.svc-art svg{ width:100%; height:100%;}
.svc-art img{ width:100%; height:100%; object-fit:cover; display:block; }
/* Clay is reserved for VIP/signature/sunrise moments only; service tags use
   brass. The VIP row re-tints its own tag clay via .svc-row .svc-tag-vip. */
.svc-tag { display:inline-flex; gap:0.5rem; font-size:0.74rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color: var(--brass-500); margin-bottom: 0.8rem;}
.svc-tag.svc-tag-vip { color: var(--clay-500); }
.svc-body h3 { margin-bottom: 0.7rem; }
.svc-body ul.feat { margin-top: 1.1rem; display:grid; gap:0.6rem; }
.svc-body ul.feat li{ display:flex; gap:0.6rem; color: var(--mist-200); font-size:0.98rem;}
.svc-body ul.feat svg{ width:20px;height:20px;color:var(--brass-500);flex:none;}

/* ------------------ 15. ABOUT / TEAM ------------------ */
.team-grid { display:grid; gap:1.4rem; }
@media(min-width:760px){ .team-grid{ grid-template-columns:1fr 1fr;} }
.person {
  background: var(--pine-600); border:1px solid var(--pine-500); border-radius: var(--radius-lg);
  padding: 1.8rem; display:flex; gap:1.3rem; align-items:flex-start;
}
.person .avatar {
  width: 84px; height: 84px; border-radius: 16px; flex:none; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--pine-500), var(--forest-900));
  border:1px solid var(--moss-400); color: var(--brass-400);
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600;
}
.person h3 { font-size: 1.4rem; }
.person .role { color: var(--brass-400); font-size: 0.85rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; margin: 0.3rem 0 0.8rem;}
.person p { color: var(--mist-200); font-size: 1rem; }
/* Intentional, on-brand "status" note — not a dashed unfinished pill.
   Reads as a quiet brass label with a small status dot. */
.status-note {
  display:inline-flex; align-items:center; gap:0.55rem; margin-top:0.9rem;
  font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; font-weight:700;
  color: var(--brass-400);
  border:1px solid rgba(201,162,75,0.32); border-radius:100px;
  padding:0.3rem 0.8rem; background: rgba(201,162,75,0.07);
}
.status-note .dot { width:7px; height:7px; border-radius:50%; background: var(--brass-500); flex:none; }

/* Partners */
.partner-grid { display:grid; gap:1.3rem; }
@media(min-width:700px){ .partner-grid{ grid-template-columns:1fr 1fr;} }
.partner {
  background: var(--forest-700); border:1px solid var(--pine-500); border-radius: var(--radius-lg);
  padding:1.6rem; border-left: 3px solid var(--brass-500);
}
.partner h3 { font-size:1.3rem; }
.partner .where { color: var(--brass-400); font-size:0.88rem; margin: 0.25rem 0 0.7rem; }
.partner p { color: var(--mist-200); font-size:1rem; }

.story-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--mist-100);
  border-left: 3px solid var(--brass-500); padding-left: 1.5rem; max-width: 24ch;
}

/* ------------------ 16. CONTACT / FORM ------------------ */
.contact-grid { display:grid; gap: var(--sp-4); align-items:start; }
@media(min-width:920px){ .contact-grid{ grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-5);} }

.contact-cards { display:grid; gap:1rem; }
.contact-card {
  background: var(--pine-600); border:1px solid var(--pine-500); border-radius: var(--radius-lg);
  padding:1.4rem; display:flex; gap:1rem; align-items:center;
}
.contact-card .icn { width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:rgba(201,162,75,0.1);border:1px solid rgba(201,162,75,0.28);color:var(--brass-400);flex:none;}
.contact-card .icn svg{width:24px;height:24px;}
.contact-card .lbl{font-size:0.78rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--fog-400);}
.contact-card a, .contact-card span.val{font-size:1.15rem;color:var(--mist-100);font-weight:600;}
.contact-card a:hover{color:var(--brass-400);}

.form-panel {
  background: var(--pine-600); border:1px solid var(--pine-500); border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
.form-grid { display:grid; gap:1.1rem; }
@media(min-width:620px){ .form-grid .two{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem;} }
.field { display:flex; flex-direction:column; gap:0.45rem; }
.field label { font-size:0.84rem; font-weight:600; letter-spacing:0.04em; color: var(--mist-200); }
.field label .req { color: var(--brass-400); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--mist-100);
  background: var(--forest-800); border:1px solid var(--moss-400); border-radius: 10px;
  padding: 0.85rem 1rem; width:100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fog-500); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}
.field select { appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23C9A24B' stroke-width='2'%3E%3Cpath d='M2 4l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 1rem center; padding-right:2.5rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size:0.85rem; color: var(--fog-500); margin-top: 0.4rem; }
.form-success {
  display:none; background: rgba(201,162,75,0.12); border:1px solid var(--brass-600);
  border-radius:12px; padding:1rem 1.2rem; color: var(--mist-100); margin-bottom:1.2rem;
}
.form-success.show { display:block; }

/* ------------------ 17. SCROLL REVEAL ------------------ */
/* Fail-safe: content is visible by default. The hide-then-reveal effect only
   applies when the inline head script has confirmed JS by adding .js to <html>,
   so sections never render invisible if scripts are blocked, slow, or disabled. */
.js .reveal { opacity:0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{opacity:1;transform:none;} }

/* Hero load stagger */
.hero .anim { opacity:0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.hero .anim.d1{animation-delay:0.05s;} .hero .anim.d2{animation-delay:0.18s;}
.hero .anim.d3{animation-delay:0.31s;} .hero .anim.d4{animation-delay:0.44s;}
.hero .anim.d5{animation-delay:0.57s;}
@keyframes rise { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .hero .anim{opacity:1;transform:none;animation:none;} }

/* ------------------ 18. FAQ ------------------ */
.faq-grid { display:grid; gap:0.9rem; max-width: 860px; }
.faq-item {
  background: var(--pine-600); border:1px solid var(--pine-500); border-radius: var(--radius-lg);
  overflow:hidden; transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--moss-400); }
.faq-item summary {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.2rem 1.4rem; cursor:pointer; list-style:none;
  font-family: var(--font-display); font-size:1.18rem; font-weight:500; color: var(--mist-100);
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary .chev {
  flex:none; width:22px; height:22px; color: var(--brass-500);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--brass-400); }
.faq-item .faq-a { padding:0 1.4rem 1.3rem; color: var(--fog-400); font-size:1rem; }
.faq-item .faq-a p { max-width: 70ch; }
.faq-item .faq-a a { color: var(--brass-400); text-decoration: underline; }
.faq-item .faq-a a:hover { color: var(--brass-500); }

/* Utility */
.center { text-align:center; }
.mt-3{margin-top:var(--sp-3);} .mt-4{margin-top:var(--sp-4);}
.divider-spacer{ height:1px; }

/* Heading measure helpers — moved off inline style="max-width:…" */
.measure-14 { max-width: 14ch; }
.measure-16 { max-width: 16ch; }
.measure-18 { max-width: 18ch; }
.measure-20 { max-width: 20ch; }
.pt-0 { padding-top: 0; }
/* Eyebrows inside the gold CTA band read in dark ink, not brass */
.cta-band .eyebrow { color: rgba(13,28,22,0.7); }
/* Footer service-area line */
.footer-service-area { color: var(--fog-500); font-size: 0.9rem; margin-top: 0.6rem; }

/* ============================================================
   19. REVISION-1 ADDITIONS
   ============================================================ */

/* ---- 19a. Film-grain + inset lighting (depth the doc promised) ---- */
/* A faint fixed grain over the whole page so dark surfaces aren't flat. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Keep interactive layers above the grain. The header keeps its own higher
   z-index (100, set in section 5) so the mobile drawer paints above content —
   do NOT include .site-header here or it clobbers that stacking. */
main, .site-footer { position: relative; z-index: 2; }

/* Subtle top inset highlight + inner shadow so panels read as lit surfaces. */
.card, .vip, .person, .partner, .contact-card, .form-panel, .faq-item, .hero-art, .svc-art, .vip-art {
  box-shadow: inset 0 1px 0 rgba(234,240,236,0.04), var(--shadow-sm);
}
.card:hover { box-shadow: inset 0 1px 0 rgba(234,240,236,0.06), var(--shadow-md); }

/* ---- 19b. Light "paper" section for tonal relief (WCAG AA verified) ---- */
/* ink-900 on paper-50 = 15.1:1; ink-600 = 7.1:1; both clear AA comfortably. */
.section-paper {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(217,122,78,0.10), transparent 55%),
    linear-gradient(180deg, var(--paper-50), var(--paper-100));
  color: var(--ink-600);
  position: relative;
  border-block: 1px solid #E0DAC8;
}
.section-paper::before {
  /* faint topographic contour watermark in ink, for texture on the light field */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='420'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-width='1' opacity='0.16'%3E%3Cpath d='M-20 120 Q190 70 380 120 T780 110'/%3E%3Cpath d='M-20 170 Q190 120 380 170 T780 160'/%3E%3Cpath d='M-20 220 Q190 170 380 220 T780 210'/%3E%3Cpath d='M-20 270 Q190 220 380 270 T780 260'/%3E%3Cpath d='M-20 320 Q190 270 380 320 T780 310'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 760px; background-position: center;
}
.section-paper > * { position: relative; z-index: 1; }
.section-paper h1, .section-paper h2, .section-paper h3, .section-paper h4 { color: var(--ink-900); }
.section-paper p { color: var(--ink-600); }
/* Darker brass on paper: #8A6B2C on #F6F4ED ≈ 4.9:1 — clears AA for the
   12.5px bold tracked eyebrow (brass-600 at ~3.2:1 did not). */
.section-paper .eyebrow { color: #8A6B2C; }
.section-paper .eyebrow::before { background: #8A6B2C; }
.section-paper .lead { color: var(--ink-600); }
/* Cards inverted onto paper */
.section-paper .card {
  background: #FFFDF7; border-color: #E0DAC8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 26px -16px rgba(20,33,27,0.25);
}
.section-paper .card:hover { border-color: var(--brass-500); box-shadow: 0 16px 40px -18px rgba(20,33,27,0.3); }
.section-paper .card p { color: var(--ink-600); }
.section-paper .card h3 { color: var(--ink-900); }
.section-paper .card .icn { background: rgba(201,162,75,0.14); border-color: rgba(201,162,75,0.4); color: var(--brass-600); }
.section-paper .card .card-num { color: #C7BFA6; }
.section-paper .card::after { background: linear-gradient(90deg, var(--brass-500), var(--clay-500)); }

/* ---- 19c. Footer visible brand-name text (B5 fallback) ---- */
.footer-brandline {
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem;
}
.footer-brandline img { height: 46px; width: auto; margin: 0; }
.footer-brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--mist-100); letter-spacing: 0.01em; line-height: 1.1;
}
.footer-brand-name .now { color: var(--brass-400); }

/* ---- 19d. Touch targets + focus-visible parity ---- */
@media (max-width: 860px) {
  .nav-links a.nav-link { min-height: 44px; display: flex; align-items: center; }
}
.nav-links a.nav-link { min-height: 40px; display: inline-flex; align-items: center; }
/* match hover affordance on active touch + keyboard focus */
.nav-links a.nav-link:active,
.nav-links a.nav-link:focus-visible { color: var(--brass-400); background: rgba(201,162,75,0.10); }
.btn:active { transform: translateY(0); }
.btn-primary:active { box-shadow: var(--shadow-gold); }
.btn-ghost:active { border-color: var(--brass-500); color: var(--brass-400); }
/* clear focus ring for the toggle on the dark bar */
.nav-toggle:focus-visible { box-shadow: var(--ring); }
.nav-toggle:active { background: rgba(201,162,75,0.12); border-color: var(--brass-500); }

/* ---- 19e. Mobile nav drawer: hidden + non-focusable when closed ---- */
@media (max-width: 860px) {
  .nav-links { visibility: hidden; }
  .nav-links.open { visibility: visible; }
  /* main.js adds this to <body> while the drawer is open */
  body.drawer-open { overflow: hidden; }
}

/* ---- 19f. Contact form inline validation / error states ---- */
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--clay-500);
  box-shadow: 0 0 0 3px rgba(217,122,78,0.18);
}
/* Visible whenever the [hidden] attribute is absent — main.js toggles it.
   Lighter clay tint than the border so the small bold text clears AA on dark. */
.field-error {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: #EE9B72; font-weight: 600; margin-top: 0.1rem;
}
.field-error::before { content: "⚠"; font-size: 0.9em; }
.field-error[hidden] { display: none; }

/* ------------------ 20. CINEMATIC FLEET SCROLLER ------------------ */
/* Full-bleed cinematic panels: scrolling "rolls" the visitor through the
   fleet. Each panel pins a photographic backdrop with a slow parallax
   drift while the spec card slides up over it. */
.fleet-intro { text-align: center; padding-bottom: 0; }
.fleet-intro .lead { margin-inline: auto; }
.fleet-count {
  font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--brass-500);
  opacity: 0.55; display: block; margin-top: 1rem;
}

.fleet-panel {
  position: relative; min-height: 94vh;
  display: grid; align-items: end;
  overflow: clip;
  border-block: 1px solid rgba(58,84,72,0.35);
}
.fleet-panel .fp-bg {
  position: absolute; inset: -6% 0;      /* bleed for parallax drift */
  background-size: cover; background-position: center;
  will-change: transform;
  filter: saturate(1.02);
}
.fleet-panel .fp-bg::after {
  /* cinematic grade: darken edges, pull the dawn brass through */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,28,22,0.55) 0%, rgba(13,28,22,0.05) 34%, rgba(13,28,22,0.12) 62%, rgba(13,28,22,0.86) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(13,28,22,0.55), transparent 60%);
}
.fleet-panel .fp-card {
  position: relative; z-index: 2;
  margin: 0 auto 5vh;
  width: min(92%, 1040px);
  background: rgba(17,35,28,0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,162,75,0.28);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 4vw, 3rem);
  display: grid; gap: 0.7rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.fp-topline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.2rem; }
.fp-num {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--brass-500);
  letter-spacing: 0.14em;
}
.fp-card h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--mist-100); line-height: 1.05;
  margin-right: auto;
}
.fp-price {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--brass-400); white-space: nowrap;
}
.fp-price .per { font-family: var(--font-body); font-size: 0.85rem; color: var(--fog-400); letter-spacing: 0.06em; }
.fp-sub { color: var(--fog-400); font-size: 0.95rem; letter-spacing: 0.04em; }
.fp-desc { color: var(--mist-200); max-width: 68ch; font-size: 1.02rem; }
.fp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.fp-tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-400); background: rgba(201,162,75,0.1);
  border: 1px solid rgba(201,162,75,0.35); border-radius: 100px;
  padding: 0.32rem 0.85rem;
}
.fp-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.6rem; }

/* entrance: card rises as the panel scrolls into view (JS adds .in) */
.js .fp-card { opacity: 0; transform: translateY(46px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .fleet-panel.in .fp-card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fp-card { opacity: 1; transform: none; } }

/* unavailable (Panamera) treatment */
.fleet-panel.unavailable .fp-bg { filter: saturate(0.8) brightness(0.75); }
.fp-badge-soon {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay-500); border: 1.5px dashed rgba(217,122,78,0.6);
  border-radius: 100px; padding: 0.35rem 0.95rem; white-space: nowrap;
}

/* progress rail (right edge, desktop only) */
.fleet-rail {
  position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%);
  z-index: 50; display: none; flex-direction: column; gap: 0.55rem;
}
.fleet-rail.visible { display: flex; }
.fleet-rail a {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(234,240,236,0.28); border: 1px solid transparent;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.fleet-rail a:hover, .fleet-rail a:focus-visible { background: var(--brass-400); transform: scale(1.3); }
.fleet-rail a.active { background: var(--brass-500); transform: scale(1.35); box-shadow: 0 0 10px rgba(201,162,75,0.7); }
@media (max-width: 860px) { .fleet-rail.visible { display: none; } }

/* scroll cue in hero */
.scroll-cue {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--fog-400); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-top: 2.2rem;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid var(--brass-500); border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  transform: translateX(-50%); border-radius: 3px; background: var(--brass-400);
  animation: cueDrop 1.8s var(--ease) infinite;
}
@keyframes cueDrop { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 100% { opacity: 0; top: 20px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .mouse::after { animation: none; } }
