/* ==========================================================================
   Verity Precision Health — Design Tokens & Base Styles
   Typography: Playfair Display (display) + Inter (body/UI)
   Palette: Ivory / Navy / Charcoal / Muted Sage / Champagne Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette (source of truth) */
  --color-ivory: #F5F3EE;
  --color-navy: #20354B;
  --color-charcoal: #333333;
  --color-sage: #8A9786;
  --color-gold: #C4AE8B;

  /* Derived tints/shades for layering without breaking contrast */
  --color-ivory-dim: #EDE9E0;
  --color-navy-dark: #16253A;
  --color-navy-tint-10: rgba(32, 53, 75, 0.06);
  --color-sage-tint-15: rgba(138, 151, 134, 0.15);
  --color-sage-tint-30: rgba(138, 151, 134, 0.3);
  --color-gold-tint-20: rgba(196, 174, 139, 0.2);
  --color-white: #FFFFFF;

  /* Semantic tokens */
  --bg-page: var(--color-ivory);
  --bg-surface: var(--color-white);
  --bg-alt: var(--color-ivory-dim);
  --bg-inverse: var(--color-navy);
  --text-body: var(--color-charcoal);
  --text-heading: var(--color-navy);
  --text-inverse: var(--color-ivory);
  --text-muted: #5C6660;
  --accent-primary: var(--color-navy);
  --accent-secondary: var(--color-gold);
  --accent-tertiary: var(--color-sage);
  --border-default: rgba(51, 51, 51, 0.12);
  --border-strong: var(--color-navy);
  --focus-ring: var(--color-navy);

  /* Type scale */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  /* Spacing scale (marketing-page density: spacious) */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(32, 53, 75, 0.08);
  --shadow-md: 0 8px 24px rgba(32, 53, 75, 0.1);
  --shadow-lg: 0 20px 48px rgba(32, 53, 75, 0.14);

  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  --max-width: 1200px;
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  font-weight: 500;
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 var(--space-3); color: var(--text-body); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-tertiary);
  margin-bottom: var(--space-2);
}
.italic-accent { font-style: italic; color: var(--accent-secondary); }

/* Focus visibility — never remove */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------ Layout ------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.section {
  padding: var(--space-8) 0;
}
.section--tight { padding: var(--space-6) 0; }
.section--alt { background: var(--bg-alt); }
.section--inverse { background: var(--bg-inverse); color: var(--text-inverse); }
.section--inverse h1, .section--inverse h2, .section--inverse h3 { color: var(--text-inverse); }
.section--inverse p { color: rgba(245, 243, 238, 0.82); }
.section--inverse .eyebrow { color: var(--color-gold); }
.section--inverse .card { background: rgba(245, 243, 238, 0.06); border-color: rgba(245, 243, 238, 0.18); }
.section--inverse .photo-placeholder {
  background: linear-gradient(155deg, rgba(138, 151, 134, 0.35), rgba(196, 174, 139, 0.3));
  border-color: rgba(245, 243, 238, 0.3);
  color: var(--color-ivory);
}
.section--inverse .photo-placeholder span { color: rgba(245, 243, 238, 0.65); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Horizontally scrolling row: shows ~2 cards at a time, scroll for the rest */
.scroll-row {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-5);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scrollbar-color: var(--color-gold) var(--color-sage-tint-15);
}
.scroll-row > * {
  flex: 0 0 auto;
  width: calc(46% - var(--space-5) / 2);
  scroll-snap-align: start;
}
.scroll-row::-webkit-scrollbar {
  height: 10px;
}
.scroll-row::-webkit-scrollbar-track {
  background: var(--color-sage-tint-15);
  border-radius: var(--radius-pill);
}
.scroll-row::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: var(--radius-pill);
}
.scroll-row::-webkit-scrollbar-thumb:hover {
  background: var(--color-navy);
}
@media (max-width: 700px) {
  .scroll-row > * { width: 82%; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }
  .section { padding: var(--space-7) 0; }
}

.text-center { text-align: center; }
.max-w-prose { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ------------------------------ Buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-navy);
  color: var(--color-ivory);
}
.btn-primary:hover { background: var(--color-navy-dark); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}
.btn-gold:hover { background: #B49A75; box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-ivory); }
.btn-outline-inverse {
  background: transparent;
  border-color: rgba(245, 243, 238, 0.5);
  color: var(--color-ivory);
}
.btn-outline-inverse:hover { background: var(--color-ivory); color: var(--color-navy); }
.btn-block { width: 100%; }

/* ------------------------------ Header / Nav ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-default);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  gap: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand svg, .brand img { height: 34px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-navy);
}
.brand-word em { font-style: italic; color: var(--color-gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-gold);
}
.nav-links a.nav-mobile-cta,
.nav-links a.nav-mobile-cta:hover {
  color: var(--color-ivory);
  border-bottom: none;
}
.nav-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: transform var(--transition-base);
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - 68px);
    background: var(--color-ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5) var(--space-4);
    gap: var(--space-4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    overflow-y: auto;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { font-size: var(--text-lg); width: 100%; }
  .nav-mobile-cta { display: inline-flex; margin-top: var(--space-2); width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ------------------------------ Footer ------------------------------ */
.site-footer {
  background: var(--color-navy);
  color: rgba(245, 243, 238, 0.85);
  padding: var(--space-7) 0 var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(245, 243, 238, 0.15);
}
.footer-brand .brand-word { color: var(--color-ivory); }
.footer-brand p { color: rgba(245, 243, 238, 0.7); margin-top: var(--space-3); max-width: 32ch; }
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a { color: rgba(245, 243, 238, 0.78); font-size: var(--text-sm); transition: color var(--transition-base); }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(245, 243, 238, 0.55);
}
.footer-disclaimer {
  font-size: var(--text-xs);
  color: rgba(245, 243, 238, 0.55);
  max-width: 70ch;
  margin: var(--space-3) 0 0;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------ Cards ------------------------------ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-sage-tint-15);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.card-icon svg { width: 24px; height: 24px; }

/* Program / pricing card */
.program-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.program-card > .btn { margin-top: auto; }
.program-card--featured {
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  position: relative;
}
.program-badge {
  position: absolute;
  top: -14px;
  left: var(--space-4);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}
.program-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-navy);
}
.program-price small {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}
.program-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: var(--text-sm);
  color: var(--text-body);
  border-top: 1px solid var(--border-default);
}
.program-list li:first-child { border-top: none; }
.program-list svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-sage); margin-top: 2px; }

.program-card--sage-outline { border: 2px solid var(--color-sage); }

/* Test snippet card (DUTCH / HTMA / GI-MAP) */
.test-card {
  background: var(--bg-surface);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.test-card h3 { margin-bottom: 0.4rem; }
.test-card .test-fullname {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

/* ------------------------------ What We Test hero (photo + auto-scrolling biomarker marquee) ------------------------------ */
.test-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background-image: url('../assets/test-hero-dna.png');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}
.test-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(22, 37, 58, 0.35) 0%, rgba(22, 37, 58, 0.55) 55%, rgba(16, 27, 42, 0.92) 100%);
}
.test-hero-headline {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 2;
}
.test-hero-headline h2 {
  color: var(--color-ivory);
  font-size: var(--text-4xl);
  margin: 0;
}
.test-hero-headline em { font-style: italic; color: var(--color-gold); }

.test-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.test-marquee-track {
  display: flex;
  gap: var(--space-4);
  width: max-content;
  padding: 0 var(--space-4);
  animation: test-marquee-scroll 36s linear infinite;
}
.test-marquee.is-paused .test-marquee-track { animation-play-state: paused; }
@keyframes test-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-card {
  flex: 0 0 auto;
  width: 220px;
  background: rgba(245, 243, 238, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 243, 238, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.marquee-card h4 { font-size: var(--text-sm); color: var(--color-gold); margin: 0 0 0.3rem; }
.marquee-card p { font-size: var(--text-xs); color: rgba(245, 243, 238, 0.85); margin: 0; line-height: 1.4; }

.test-marquee-toggle {
  position: absolute;
  bottom: 28px;
  right: var(--space-4);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 27, 42, 0.55);
  border: 1px solid rgba(245, 243, 238, 0.35);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-marquee-toggle svg { width: 14px; height: 14px; }
.test-marquee-toggle .icon-play { display: none; }
.test-marquee.is-paused ~ .test-marquee-toggle .icon-pause { display: none; }
.test-marquee.is-paused ~ .test-marquee-toggle .icon-play { display: block; }

@media (prefers-reduced-motion: reduce) {
  .test-marquee-track { animation-play-state: paused; }
}
@media (max-width: 640px) {
  .test-hero { min-height: 520px; }
  .test-hero-headline h2 { font-size: var(--text-2xl); }
}

/* ------------------------------ What We Test directory (sidebar + accordion rows) ------------------------------ */
.test-directory-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-7);
  align-items: start;
}
.test-jump-nav { position: sticky; top: 100px; }
.test-jump-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-3);
}
.test-jump-pills { display: flex; flex-direction: column; gap: var(--space-2); }
.test-jump-pill {
  display: block;
  text-align: left;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-default);
  background: var(--bg-surface);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-body);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.test-jump-pill:hover,
.test-jump-pill:focus-visible {
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.test-jump-pill.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-ivory);
}

.test-panel { scroll-margin-top: 100px; margin-bottom: var(--space-8); }
.test-panel:last-child { margin-bottom: 0; }
.test-panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-1);
  border-bottom: 2px solid var(--border-default);
}
.test-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-sage-tint-15);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.test-panel-icon svg { width: 24px; height: 24px; }
.test-panel-titles h2 { margin: 0; }
.test-panel-fullname { display: block; font-size: var(--text-sm); color: var(--text-muted); margin-top: 0.2rem; }
.test-panel-count {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sage);
  white-space: nowrap;
  padding-left: var(--space-3);
}

.marker-row-label { display: flex; align-items: center; gap: 0.65rem; }
.marker-row-check { flex-shrink: 0; width: 16px; height: 16px; color: var(--color-sage); }
.test-panel .faq-question { font-size: var(--text-sm); }
.test-panel .faq-answer p { font-size: var(--text-xs); }

@media (max-width: 900px) {
  .test-directory-layout { grid-template-columns: 1fr; }
  .test-jump-nav { position: static; }
  .test-jump-pills { flex-direction: row; flex-wrap: wrap; }
  .test-jump-pill { flex: 1 1 auto; text-align: center; }
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  padding: var(--space-8) 0 var(--space-7);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-copy h1 { margin-bottom: var(--space-4); }
.hero-copy p { font-size: var(--text-lg); color: var(--text-muted); max-width: 46ch; }
.hero.section--inverse .hero-copy p { color: rgba(245, 243, 238, 0.82); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); }
.hero-visual { position: relative; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* Abstract path-line decorative art (used instead of stock photography) */
.path-art { width: 100%; height: auto; }
.photo-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--color-sage-tint-30), var(--color-gold-tint-20));
  border: 1px dashed rgba(32, 53, 75, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-navy);
  text-align: center;
  padding: var(--space-5);
  min-height: 260px;
}
.photo-placeholder svg { width: 40px; height: 40px; opacity: 0.6; }
.photo-placeholder span { font-size: var(--text-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }

/* Flat-lay hero photo with tinted overlay + framed text, in place of the path-art */
.flatlay {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 480 / 420;
  box-shadow: var(--shadow-lg);
  width: 80%;
  margin-left: auto;
}
.flatlay-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flatlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(32, 53, 75, 0.12), rgba(32, 53, 75, 0.04));
}
.flatlay-frame {
  position: absolute;
  top: 7%;
  left: 7%;
  right: 22%;
  bottom: 22%;
  border: 2px solid var(--color-gold);
  z-index: 1;
  display: flex;
  align-items: flex-start;
  padding: var(--space-4);
}
.flatlay-frame-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-ivory);
}
@media (max-width: 480px) {
  .flatlay-frame-text { font-size: var(--text-xl); }
}

/* ------------------------------ Steps / Process ------------------------------ */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: var(--space-5);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------ FAQ Accordion ------------------------------ */
.faq-item {
  border-bottom: 1px solid var(--border-default);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-4) 0.25rem;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-heading);
}
.faq-question .icon-plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.faq-question .icon-plus::before,
.faq-question .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--color-navy);
  transition: transform var(--transition-base);
}
.faq-question .icon-plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-question .icon-plus::after { left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; }
.faq-item[open] .icon-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  padding: 0 0.25rem var(--space-4);
  color: var(--text-muted);
  max-width: 70ch;
}
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ------------------------------ Forms ------------------------------ */
.form-group { margin-bottom: var(--space-4); }
label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-body);
  min-height: 48px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px var(--color-navy-tint-10);
  outline: none;
}
.required-mark { color: #A0473B; }
.form-note { font-size: var(--text-xs); color: var(--text-muted); margin-top: 0.4rem; }
.form-status {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: var(--color-sage-tint-15); color: var(--color-navy); }
.form-status.error { background: rgba(160, 71, 59, 0.12); color: #7A362D; }

/* ------------------------------ Misc ------------------------------ */
.divider-path {
  display: block;
  width: 100%;
  height: 32px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-sage-tint-15);
  color: var(--color-navy);
}
.cta-band {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  color: var(--color-ivory);
}
.cta-band h2 { color: var(--color-ivory); }
.cta-band p { color: rgba(245,243,238,0.8); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-ivory);
  padding: 0.8rem 1.2rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }
