/* ═══════════════════════════════════════════════════
   VDA v2 — GLOBAL STYLES
   Shared across all pages
═══════════════════════════════════════════════════ */

:root {
  --ink:        #1e1c18;
  --cream:      #f5f0e8;
  --warm-off:   #ede7d9;
  --rust:       #c0561a;
  --rust-hover: #a84818;
  --rust-light: #e07040;
  --muted:      #3d3833;
  --sage:       #5c7058;
  --sage-light: #a8bfa4;
  --sage-mist:  #dde6da;
  --sage-deep:  #2a3828;
  --sage-mid:   #4a6047;
  --gold:       #b8923a;
  --teal:       #527f8a;
  --teal-deep:  #2f5f63;
  --teal-light: #ecf2f0;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans:  'Lato', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
section { position: relative; }

/* ── Layout ── */
.max-w        { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.max-w--narrow{ max-width: 760px;  margin: 0 auto; padding: 0 40px; }

/* ── Typography ── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rust);
  display: block;
  margin-bottom: 18px;
}
.eyebrow--cream { color: var(--sage-light); }
.eyebrow--sage  { color: var(--muted); }

.h-display { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.text-cream  { color: var(--cream); }
.h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

.body-copy {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.82;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1.5px solid var(--rust);
  color: var(--rust);
  background: transparent;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.btn:hover        { background: var(--rust); color: var(--cream); }
.btn--solid       { background: var(--rust); color: var(--cream); }
.btn--solid:hover { background: var(--rust-hover); border-color: var(--rust-hover); }
.btn--cream       { border-color: var(--cream); color: var(--cream); }
.btn--cream:hover { background: var(--cream); color: var(--rust); }
.btn--ink         { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover   { background: var(--ink); color: var(--cream); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.34s; }
.reveal-d4 { transition-delay: 0.46s; }

/* ── Page hero (subpages) ── */
.page-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero--ink       { background: var(--ink); }
.page-hero--cream     { background: var(--cream); }
.page-hero--warm      { background: var(--warm-off); }
.page-hero--sage-deep { background: var(--sage-deep); }
.page-hero-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.page-hero-bg--feature {
  inset: 0;
  opacity: 0.32;
}
.page-hero-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(30,28,24,0.82) 0%, rgba(30,28,24,0.62) 45%,
    rgba(30,28,24,0.35) 70%, rgba(30,28,24,0.18) 100%);
  z-index: 1;
}
@media (max-width: 767px) {
  .page-hero-bg--feature { opacity: 0.22; }
  .page-hero-feature-overlay {
    background: linear-gradient(120deg,
      rgba(30,28,24,0.88) 0%, rgba(30,28,24,0.72) 50%,
      rgba(30,28,24,0.50) 80%, rgba(30,28,24,0.32) 100%);
  }
}
.page-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }

/* ── Section spacing ── */

/* ── Accordion ── */
.accord-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.accord-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
}
.accord-left { display: flex; align-items: center; gap: 16px; }
.accord-num {
  font-family: var(--serif);
  font-size: 0.82rem;
  color: var(--rust);
  opacity: 0.5;
  min-width: 24px;
}
.accord-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}
.accord-icon {
  font-size: 1.4rem;
  color: var(--rust);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.accord-item.open .accord-icon { transform: rotate(45deg); }
.accord-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accord-body-inner {
  padding: 0 0 28px 40px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--muted);
}

/* ── Details/Summary (FAQ) ── */
details { border-bottom: 1px solid rgba(0,0,0,0.08); }
details summary {
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rust);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details .faq-body {
  padding: 0 0 28px 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--muted);
}

/* ── NAV ── */
.vda-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(26,24,20,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: height 0.3s;
}
.vda-nav.scrolled { height: 60px; background: rgba(26,24,20,0.99); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 0;
  height: 38px;
  object-fit: contain;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.25s ease;
  flex-shrink: 0;
}
/* On scroll: icon appears, wordmark collapses away (desktop) */
.vda-nav.scrolled .nav-logo-mark { width: 38px; opacity: 1; }
.vda-nav.scrolled .nav-wordmark {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.2;
  max-width: 320px;
  opacity: 1;
  transition: max-width 0.3s ease, opacity 0.25s ease;
}
.nav-wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 400;
  margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.88);
  padding: 8px 14px;
  display: block;
  transition: color 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--cream); }
.nav-links > li.has-dropdown > a::after {
  content: '›';
  display: inline-block;
  margin-left: 5px;
  transform: rotate(90deg);
  font-size: 0.9rem;
  vertical-align: middle;
}
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  padding: 8px 0 10px;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-links > li.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 8px;
  background: transparent;
}
.nav-links > li.has-dropdown:hover .nav-dropdown,
.nav-links > li.has-dropdown.open .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: none;
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.85);
  letter-spacing: 0.04em;
  transition: color 0.15s, padding-left 0.15s;
}
.nav-dropdown a:hover { color: var(--cream); padding-left: 26px; }
.nav-dropdown-rule { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 0; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-cta {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--cream) !important;
  background: var(--rust) !important;
  padding: 9px 20px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rust-hover) !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: 0.25s; }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0 30px;
  z-index: 999;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 40px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(245,240,232,0.88);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--cream); }
.nav-mobile .nav-mobile-cta {
  margin: 16px 40px 0;
  display: block;
  text-align: center;
  background: var(--rust);
  color: var(--cream) !important;
  padding: 14px 20px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.nav-mobile-section {
  padding: 6px 40px 2px;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-top: 10px;
}

/* ── FOOTER ── */
.vda-footer {
  background: var(--ink);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-wordmark { font-family: var(--serif); font-size: 0.98rem; color: var(--cream); }
.footer-tagline { font-family: var(--sans); font-size: 0.78rem; font-weight: 300; color: rgba(245,240,232,0.45); letter-spacing: 0.1em; margin-bottom: 24px; }
.footer-mission { font-family: var(--serif); font-style: italic; font-size: 0.94rem; color: rgba(245,240,232,0.38); line-height: 1.55; }
.footer-col-title { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,240,232,0.38); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-family: var(--sans); font-size: 0.84rem; font-weight: 400; color: rgba(245,240,232,0.78); transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--sans); font-size: 0.76rem; font-weight: 300; color: rgba(245,240,232,0.3); }
.footer-portal { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.4); border: 1px solid rgba(255,255,255,0.1); padding: 7px 16px; transition: color 0.2s, border-color 0.2s; }
.footer-portal:hover { color: var(--cream); border-color: rgba(255,255,255,0.3); }

/* ── CTA Strip (used on most subpages) ── */
.cta-strip {
  padding: 90px 0;
  background: var(--rust);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 { color: var(--cream); position: relative; z-index: 1; }
.cta-strip p { font-family: var(--sans); font-size: 1rem; font-weight: 300; color: rgba(245,240,232,0.8); margin-top: 14px; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-strip .btn-wrap { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Phone note ── */

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  /* Logo icon always visible on mobile, sitting beside the wordmark */
  .nav-logo-mark { width: 34px; height: 34px; opacity: 1; }
  .vda-nav.scrolled .nav-logo-mark { width: 34px; }
  /* On mobile keep the wordmark even when scrolled (icon + words) */
  .vda-nav.scrolled .nav-wordmark { max-width: 320px; opacity: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .max-w, .max-w--narrow { padding: 0 24px; }
  .page-hero { padding: 120px 0 60px; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .vda-footer { padding: 56px 0 28px; }
  .max-w, .max-w--narrow { padding: 0 20px; }
  .vda-nav { padding: 0 20px; }
  .page-hero { padding: 100px 0 52px; }
  .page-hero-content h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  
  
  .cta-strip { padding: 60px 0; }
  .cta-strip .btn-wrap { flex-direction: column; align-items: stretch; }
  .cta-strip .btn { display: block; text-align: center; }
  .btn { padding: 14px 24px; }
}

@media (max-width: 380px) {
  .max-w, .max-w--narrow { padding: 0 16px; }
  .vda-nav { padding: 0 16px; }
  .page-hero { padding: 90px 0 44px; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.2em; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════
   v8 — ACCESSIBILITY + RESPONSIVE INFRASTRUCTURE
   Added: skip link, focus indicators, screen-reader utility,
   refined breakpoints, touch targets, viewport-height handling.
   ════════════════════════════════════════════════════════════════ */

/* Skip-to-content link — first focusable element on every page */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom-right-radius: 4px;
  transition: top 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid var(--rust-light);
  outline-offset: 2px;
}

/* Screen-reader-only utility — visually hidden, available to assistive tech */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive visibility utilities */
.hide-mobile { /* hidden on phone (≤767px) */ }
.hide-tablet-down { /* hidden on tablet and below (≤1023px) */ }
.hide-desktop { display: none !important; } /* shown only on phone+tablet */
@media (max-width: 1023px) {
  .hide-tablet-down { display: none !important; }
}
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .hide-desktop { display: block !important; }
}

/* Mobile-collapse pattern — <details> elements that are always open on desktop,
   tap-to-expand on mobile. JS in global.js manages the `open` attribute on resize. */
details.mobile-collapse {
  /* Strip native disclosure triangle */
}
details.mobile-collapse > summary {
  list-style: none;
  cursor: default; /* desktop: not clickable */
}
details.mobile-collapse > summary::-webkit-details-marker { display: none; }
details.mobile-collapse > summary::marker { display: none; }
.mobile-collapse-chevron {
  display: none; /* hidden on desktop */
  font-family: var(--sans); font-weight: 700; font-size: 1.2rem;
  color: var(--rust); line-height: 1;
  transition: transform 0.3s ease;
  margin-left: auto; padding-left: 16px;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  details.mobile-collapse > summary {
    cursor: pointer;
    min-height: 44px; /* touch target */
    display: flex; align-items: center;
  }
  details.mobile-collapse > summary:focus-visible {
    outline: 3px solid var(--rust-light);
    outline-offset: 4px;
  }
  .mobile-collapse-chevron {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border: 1.5px solid var(--rust);
    border-radius: 50%;
  }
  details.mobile-collapse[open] > summary .mobile-collapse-chevron {
    transform: rotate(45deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-collapse-chevron { transition: none; }
}

/* Visible focus indicators — keyboard navigation */
:focus {
  outline: none;  /* remove default — replaced below */
}
:focus-visible {
  outline: 3px solid var(--rust-light);
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rust-light);
  outline-offset: 3px;
}

/* Touch target minimums on touch-capable devices */
@media (hover: none) and (pointer: coarse) {
  a, button, .btn, [role="button"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .nav-links a, .footer-col a {
    min-height: 44px;
    padding: 8px 0;
  }
  input, select, textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

/* Tablet refinement — 768–1023px */
@media (max-width: 1023px) {
  .max-w, .max-w--narrow { padding: 0 32px; }
}

/* Phone landscape — width-constrained AND height-constrained */
@media (max-width: 767px) {
  .max-w, .max-w--narrow { padding: 0 24px; }
  h1 { line-height: 1.1; }
  h2 { line-height: 1.15; }
}

/* Phone portrait — narrow */
@media (max-width: 568px) {
  .max-w, .max-w--narrow { padding: 0 20px; }
}

/* Phone landscape — orientation + height aware */
@media (orientation: landscape) and (max-height: 500px) {
  /* Hero sections shrink padding when height is tight */
  .hero, .about-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-content,
  .about-hero .max-w {
    padding-top: 90px;
    padding-bottom: 60px;
  }
}

/* Universal hero height fix — use small viewport height where supported */
.hero, .about-hero {
  min-height: 100vh; /* fallback */
  min-height: 100svh; /* better — accounts for mobile browser chrome */
}

/* High-contrast preference support */
@media (prefers-contrast: more) {
  :focus-visible {
    outline-width: 4px;
  }
  .btn { border-width: 2px; }
}

/* Honor reduced-motion globally — marquees, parallax, scroll animations */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  [class*="parallax"],
  [class*="scroll-driven"] {
    animation: none !important;
    transform: none !important;
  }
  html { scroll-behavior: auto !important; }
}

/* ===========================
   LAUNCH BANNER — Grand Opening
   Remove this entire block + the LAUNCH_BANNER block in components.js after opening.
   =========================== */
#launch-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--rust);
  color: var(--cream);
  padding: 9px 24px;
  text-align: center;
  font-family: var(--sans);
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.launch-banner-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}
.launch-banner-sep {
  opacity: 0.55;
  margin: 0 14px;
}
.launch-banner-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.96rem;
}
.launch-banner-cta {
  font-size: 0.78rem;
  opacity: 0.92;
}
.has-launch-banner .vda-nav { top: 38px; }
.has-launch-banner body { padding-top: 38px; }
@media (max-width: 767px) {
  #launch-banner { padding: 7px 18px; }
  .launch-banner-label { font-size: 0.66rem; letter-spacing: 0.22em; }
  .launch-banner-date { font-size: 0.86rem; }
  .has-launch-banner .vda-nav { top: 34px; }
  .has-launch-banner body { padding-top: 34px; }
}
/* === /LAUNCH BANNER === */
