/* ============================================================
   TOKENS & VARIABLES
   ============================================================ */
:root {
  /* Brand Palette */
  --forest: #0E3A2C;
  --forest-deep: #091E17;
  --navy: #14233D;
  --bark: #5B3A10;
  --brass: #C49A3A;
  --brass-light: #E3C77A;
  --birch: #F8F3E7;
  --birch-2: #F2EDE0;
  --white: #FFFFFF;

  /* Ink / Text */
  --ink: #1A1210;
  --ink-2: #2C2218;
  --muted: #6B5F52;
  --faint: #A89C90;

  /* Surface / Lines */
  --paper-line: rgba(90, 70, 40, 0.12);
  --paper-line-strong: rgba(90, 70, 40, 0.22);
  --surface-tint: rgba(196, 154, 58, 0.08);
  --surface-forest: rgba(14, 58, 44, 0.08);

  /* Type */
  --font-display: 'Anton', Impact, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --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;

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.5rem;
  --r-full: 9999px;

  /* Premium Layered Shadows */
  --shadow-sm: 0 2px 4px rgba(26, 18, 16, 0.04), 0 1px 2px rgba(26, 18, 16, 0.06);
  --shadow-md: 0 10px 24px -8px rgba(26, 18, 16, 0.12), 0 4px 10px -4px rgba(26, 18, 16, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(26, 18, 16, 0.18), 0 8px 16px -6px rgba(26, 18, 16, 0.12);

  /* Layout */
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 1280px;

  /* Motion */
  --transition: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--birch);
  line-height: 1.6;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
}

p, li, figcaption { text-wrap: pretty; }
p { max-width: 72ch; }
strong { font-weight: 700; }

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

::selection {
  background: rgba(196, 154, 58, 0.25);
  color: var(--ink);
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

@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;
  }
}

/* ============================================================
   GLOBAL UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.surface-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap > table { min-width: 720px; }

.note-box {
  background: var(--birch-2);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-xl);
  padding: 24px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--brass);
  border-radius: 1px;
}

.eyebrow--light { color: var(--brass-light); }
.eyebrow--light::before { background: var(--brass-light); }

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 8px;
}

.section-heading--light { color: var(--birch); }

.section-lead {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: var(--space-10);
}

.section-lead--light { color: rgba(248, 243, 231, 0.72); }

.gold-rule {
  width: 40px;
  height: 3px;
  background: var(--brass);
  border-radius: 2px;
  margin: 14px 0 22px;
}

/* ============================================================
   BUTTONS (Consolidated & Polished)
   ============================================================ */
.btn, .btn-outline, .btn-outline-dark, .btn-primary, .btn-brass, .wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn:active, .wa-btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--forest);
  color: var(--birch);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(14, 58, 44, 0.2);
}

.btn-brass {
  background: var(--brass);
  color: var(--forest-deep);
  border-color: var(--brass);
  font-weight: 700;
}

.btn-brass:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(196, 154, 58, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--birch);
  border-color: rgba(248, 243, 231, 0.4);
}

.btn-outline:hover {
  background: rgba(248, 243, 231, 0.1);
  border-color: rgba(248, 243, 231, 0.8);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline-dark:hover {
  background: var(--forest);
  color: var(--birch);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 58, 44, 0.15);
}

.wa-btn {
  background: #25D366;
  color: #fff;
}

.wa-btn:hover {
  background: #1DA851;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 600;
}

/* ============================================================
   NAVIGATION (FLOATING CAPSULE DESIGN)
   ============================================================ */
.site-nav-wrapper {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 var(--space-6);
  pointer-events: none; /* Let clicks pass through empty space around the bar */
}

.site-nav {
  max-width: var(--content-wide);
  margin: 0 auto;
  pointer-events: auto; /* Re-enable clicks for the actual nav */
}

.nav-inner {
  background: rgba(250, 248, 242, 0.85); /* Frost base */
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(196, 154, 58, 0.22);
  border-radius: 100px;
  padding: 6px 12px 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px -12px rgba(14, 58, 44, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover img {
  transform: scale(1.1) rotate(-4deg);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--forest-deep);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.nav-logo-text span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 3px;
}

/* 2. Inner Pill Menus */
.nav-links {
  display: flex;
  gap: 4px;
  background: rgba(14, 58, 44, 0.03);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid rgba(14, 58, 44, 0.05);
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.3s ease;
  z-index: 1;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 58, 44, 0.08);
  border-radius: 100px;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: var(--forest);
  transform: translateY(-2px);
}

.nav-links a:hover::before {
  transform: scale(1);
  opacity: 1;
}

.nav-links a.active {
  color: var(--forest-deep);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(14, 58, 44, 0.06);
}

.nav-links a.active::before { display: none; }

/* 3. Action Buttons */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest);
  transition: color 0.3s ease;
}

.nav-phone:hover { color: var(--brass); }

.nav-phone svg { transition: transform 0.3s ease; }
.nav-phone:hover svg { animation: phonePulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1); }

@keyframes phonePulse {
  0% { transform: scale(1) rotate(0deg); }
  15% { transform: scale(1.15) rotate(-10deg); }
  30% { transform: scale(1) rotate(10deg); }
  45% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.btn-nav-glow {
  position: relative;
  background: linear-gradient(135deg, var(--brass) 0%, #E3C77A 100%);
  color: var(--forest-deep);
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 8px 20px -4px rgba(196, 154, 58, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.4);
  text-decoration: none;
}

.btn-nav-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(196, 154, 58, 0.6);
  background: linear-gradient(135deg, #E3C77A 0%, var(--brass) 100%);
}

.btn-nav-glow .shimmer {
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
}

.btn-nav-glow:hover .shimmer { animation: shimmerSweep 0.8s forwards; }
@keyframes shimmerSweep { 100% { left: 150%; } }

/* 4. Morphing Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  background: transparent;
  padding: 0;
  z-index: 200;
  margin-right: 12px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--brass);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-15px);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--brass);
}

/* 5. Floating Mobile Drawer */
.mobile-nav {
  position: absolute;
  top: calc(100% + 16px);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(250, 248, 242, 0.95);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(196, 154, 58, 0.2);
  border-radius: var(--r-2xl);
  box-shadow: 0 32px 64px -12px rgba(14, 58, 44, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
  
  /* Cinematic Entrance */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.96);
  transform-origin: top center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest-deep);
  border-radius: 14px;
  transition: background 0.3s, color 0.3s;
}

.mobile-nav a.active,
.mobile-nav a:hover {
  background: rgba(14, 58, 44, 0.05);
  color: var(--forest);
}

.mob-divider {
  height: 1px;
  background: var(--paper-line);
  margin: 12px 0;
}

.mob-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(14, 58, 44, 0.04);
  color: var(--forest);
  font-weight: 700;
  border-radius: 14px;
  font-size: 1.05rem;
}

.mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--forest) !important;
  color: var(--birch) !important;
  font-weight: 700;
  border-radius: 14px;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(14, 58, 44, 0.2);
}

.mob-cta:hover {
  background: var(--forest-deep) !important;
}

/* Responsive Locks */
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 8px 12px 8px 20px; }
}

@media (max-width: 480px) {
  .nav-logo-text { font-size: 1.1rem; }
  .nav-logo-text span { font-size: 0.5rem; }
  .site-nav-wrapper { padding: 0 12px; top: 12px; }
  .mobile-nav { left: 12px; right: 12px; padding: 20px; }
}

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(54px, 8vw, 96px); /* 0 top padding for flush alignment */
  background:
    radial-gradient(circle at top right, rgba(196, 154, 58, 0.14), transparent 28%),
    linear-gradient(135deg, #0E3A2C 0%, #091E17 52%, #14233D 100%);
  color: var(--birch);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(196, 154, 58, 0.04) 0 1px, transparent 1px 28px),
    linear-gradient(25deg, rgba(248, 243, 231, 0.03) 0 1px, transparent 1px 34px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-full);
  margin: 0 auto;
  padding: 40px var(--space-6) clamp(60px, 8vw, 80px); /* Adjust to 40px top padding if standard spacing is desired */
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: flex-start;
}

.hero-content { max-width: 720px; }

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--birch);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.75;
  color: rgba(248, 243, 231, 0.85);
  max-width: 56ch;
  margin-bottom: 24px;
}

.hero-vision {
  max-width: 58ch;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  line-height: 1.8;
  color: rgba(248, 243, 231, 0.9);
  border-left: 3px solid rgba(196, 154, 58, 0.9);
  padding-left: 18px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badges .cert-badge {
  background: rgba(248, 243, 231, 0.08);
  border-color: rgba(248, 243, 231, 0.2);
  color: var(--brass-light);
  backdrop-filter: blur(4px);
}

.hero-svg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ply-hero-svg {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.35));
  transition: transform var(--transition-slow);
}

.hero-svg:hover .ply-hero-svg {
  transform: translateY(-10px) scale(1.02);
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; align-items: center; }
  .hero-svg { order: -1; }
}

@media (max-width: 640px) {
  .hero-heading { font-size: clamp(2.4rem, 15vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 8px; }
}

/* ============================================================
   PAGE BANNER (Internal Pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 60%, var(--navy) 100%);
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(196, 154, 58, 0.04) 0 1px, transparent 1px 28px);
}

.page-banner .section-inner,
.page-banner .section-inner--wide,
.page-banner .section-inner--narrow {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 243, 231, 0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(248, 243, 231, 0.6); }
.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb span { color: rgba(248, 243, 231, 0.3); }

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--birch);
  margin-bottom: 16px;
}

.page-banner .lead {
  font-size: var(--text-lg);
  color: rgba(248, 243, 231, 0.85);
  max-width: 700px;
  line-height: 1.7;
}

/* ============================================================
   SECTIONS & LAYOUTS
   ============================================================ */
.section { padding: clamp(72px, 8vw, 120px) 0; }
.section--birch2 { background: var(--birch-2); }
.section--dark {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 60%, var(--navy) 100%);
  color: var(--birch);
}

.section-inner { max-width: var(--content-default); margin: 0 auto; padding: 0 var(--space-6); }
.section-inner--wide { max-width: var(--content-wide); margin: 0 auto; padding: 0 var(--space-6); }
.section-inner--narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--space-6); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 860px) {
  .two-col, .two-col--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.stats-band .stats-grid {
  border-top: 1px solid rgba(248, 243, 231, 0.1);
  border-bottom: 1px solid rgba(248, 243, 231, 0.1);
}

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(248, 243, 231, 0.1);
  transition: background var(--transition);
}
.stat-item:hover {
  background: rgba(248, 243, 231, 0.03);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
  color: var(--brass-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 243, 231, 0.6);
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item:nth-child(3) { border-right: none; }
  .stat-item:nth-child(4), .stat-item:nth-child(5) { border-top: 1px solid rgba(248, 243, 231, 0.1); }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(248, 243, 231, 0.1); }
}

/* ============================================================
   PRODUCT & FEATURE CARDS (Consolidated)
   ============================================================ */
.feature-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Product Cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-header {
  background: var(--forest);
  padding: 34px 28px 24px;
  color: var(--birch);
  position: relative;
  overflow: hidden;
}

.product-card-header::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(196,154,58,0.15), transparent 60%);
  pointer-events: none;
}

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.product-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.product-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 243, 231, 0.6);
  position: relative;
  z-index: 2;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Feature Items */
.feature-item {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--paper-line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 20px 0 12px;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Page Specific Overrides */
.section--dark .surface-card,
.section--dark .feature-item {
  background: rgba(248, 243, 231, 0.05);
  border-color: rgba(248, 243, 231, 0.1);
}

.section--dark .feature-title { color: var(--birch); }
.section--dark .feature-text { color: rgba(248, 243, 231, 0.7); }
.section--dark .check-list li { color: rgba(248, 243, 231, 0.85); }
.section--dark .check-list li::before { color: var(--brass-light); }

/* ============================================================
   TABLES & BADGES
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  font-size: 0.9rem;
}

.spec-table th, .spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--paper-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.spec-table td:first-child {
  color: var(--muted);
  width: 35%;
  font-weight: 500;
}

.spec-table td:last-child {
  color: var(--ink-2);
  font-weight: 600;
}

.spec-table tr:hover { background: rgba(196, 154, 58, 0.04); }
.spec-table tr:last-child td { border-bottom: none; }

.badge {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-brass { background: rgba(196, 154, 58, 0.15); color: var(--brass); border: 1px solid rgba(196, 154, 58, 0.3); }
.badge-forest { background: rgba(14, 58, 44, 0.1); color: var(--forest); border: 1px solid rgba(14, 58, 44, 0.2); }
.badge-success { background: rgba(34, 119, 34, 0.1); color: #1a6b1a; border: 1px solid rgba(34, 119, 34, 0.2); }

/* ============================================================
   BLOG / ARTICLES (Consolidated)
   ============================================================ */
.latest-articles { padding: 80px 0 100px; }
.latest-articles .section-inner { max-width: var(--content-wide); margin: auto; }

.article-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.article-card, .blog-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.article-card:hover, .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 154, 58, 0.3);
}

.article-card h3, .blog-card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-card p, .blog-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
  flex: 1;
}

.article-card a, .blog-card a {
  font-weight: 700;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card a:hover, .blog-card a:hover {
  color: var(--brass);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--faint);
  border-top: 1px solid var(--paper-line);
  padding-top: 16px;
  margin-top: auto;
}

.section-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   FORMS & CONTACT BLOCKS
   ============================================================ */
.form-shell {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--paper-line);
}

.contact-form, .form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row, .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(90, 70, 40, 0.15);
  border-radius: var(--r-md);
  font-size: 1rem;
  background: var(--birch);
  color: var(--ink);
  transition: all var(--transition);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(14, 58, 44, 0.1);
  background: var(--white);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.contact-cards { display: grid; gap: 16px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--birch-2);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--paper-line);
  transition: transform var(--transition);
}

.contact-card:hover { transform: translateX(4px); border-color: rgba(196, 154, 58, 0.4); }

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-forest);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-card-title { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.contact-card-link { color: var(--forest); font-size: 1.1rem; font-weight: 700; }
.contact-card-link:hover { color: var(--brass); }

/* ============================================================
   FAQ (Using details/summary natively)
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--paper-line); }

.faq-q, .faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color var(--transition);
}

.faq-q:hover, .faq-item summary:hover { color: var(--forest); }

/* Plus/Minus Indicator using pseudo-elements */
.faq-q::after, .faq-item summary::after {
  content: "+";
  color: var(--brass);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q::after, .faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-a, .faq-answer {
  padding: 0 0 24px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--forest-deep) 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(248, 243, 231, 0.7);
  max-width: 600px;
  font-size: 1.1rem;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   FOOTER (Consolidated)
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(248, 243, 231, 0.72);
  padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer-brand .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brass-light);
  font-size: 1.05rem;
  margin: 16px 0 14px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li a, .footer-contact a {
  font-size: 0.9rem;
  color: rgba(248, 243, 231, 0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover, .footer-contact a:hover { color: var(--brass-light); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact svg {
  margin-top: 4px;
  color: var(--brass);
  transition: transform var(--transition);
}

.footer-contact p:hover svg { transform: scale(1.15) rotate(-10deg); }

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--brass);
  color: var(--forest-deep);
  transform: translateY(-4px) scale(1.05);
}

.footer-bottom-links {
  margin: 48px 0;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-bottom-links h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}

.footer-article-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-article-links a {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.footer-article-links a:hover {
  background: var(--brass);
  color: var(--forest-deep);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 243, 231, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(248, 243, 231, 0.4);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   PLACEHOLDERS
   ============================================================ */
.img-placeholder { position: relative; }
.img-placeholder::after {
  content: "REPLACE WITH REAL PHOTO BEFORE LAUNCH";
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(248, 243, 231, 0.5);
}