/* ============================================================
   BEDAMD — style.css
   © 2026 BEDAMD. All rights reserved. | a jngmedia.com property
   
   Aesthetic: Warm lamp on a wooden desk. Books that have been read.
   A shop that smells like coffee and machine oil.
   NOT: tech startup. NOT: cold SaaS blue. NOT: dark mode hacker.
   ============================================================ */

/* ============================================================
   IMPORTS — Google Fonts
   Display: Playfair Display — editorial authority, bookshelf energy
   Body: Source Serif 4 — warm readable serif, built for reading
   Mono: JetBrains Mono — citations, codes, activation keys
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap');


/* ============================================================
   CSS CUSTOM PROPERTIES — THE PALETTE
   ============================================================ */

:root {

  /* --- Backgrounds --- */
  --bg-primary:        #1C1A14;   /* very dark warm brown — the room */
  --bg-surface:        #2E2A1F;   /* dark walnut — card surfaces */
  --bg-raised:         #38311F;   /* slightly lifted — hover states, insets */
  --bg-border:         #4A3F2E;   /* medium warm brown — dividers */
  --bg-overlay:        rgba(28, 26, 20, 0.85); /* modal overlay */

  /* --- Accent Colors --- */
  --accent-gold:       #C4922A;   /* amber gold — lamp light, section markers */
  --accent-gold-bright:#D4A843;   /* brighter gold — CTAs, hover states */
  --accent-gold-muted: #8A6420;   /* deep gold — subtle glow, borders */
  --accent-burgundy:   #8B2E2E;   /* Bea's cardigan — warmth, energy */
  --accent-burgundy-lt:#A83838;   /* lighter burgundy — hover */
  --accent-sage:       #4A7C59;   /* Darwin's world — nature, foraging */
  --accent-sage-lt:    #5A9469;   /* lighter sage — hover */
  --accent-navy:       #2C3E6B;   /* Frank's suit — authority, law */
  --accent-navy-lt:    #3A5288;  /* lighter navy — hover */

  /* --- Specialist Colors (for cards, tags, accents) --- */
  --chief-color:       #C4922A;   /* gold — strategy, finance */
  --sarge-color:       #7A5C3A;   /* worn copper — shop, tools */
  --hawkeye-color:     #7C4D7C;   /* herb purple — medical, botanical */
  --frank-color:       #2C3E6B;   /* navy — law, authority */
  --darwin-color:      #4A7C59;   /* sage — nature, field */
  --bea-color:         #8B2E2E;   /* burgundy — she runs the room */

  /* --- Text --- */
  --text-primary:      #F0E8D5;   /* warm cream — primary reading */
  --text-secondary:    #A89880;   /* muted warm tan — supporting text */
  --text-muted:        #7A6E5E;   /* dim — metadata, footnotes */
  --text-inverse:      #1C1A14;   /* dark on gold/light backgrounds */
  --text-link:         #D4A843;   /* gold links */
  --text-link-hover:   #F0C060;   /* brighter on hover */

  /* --- Typography --- */
  --font-display:      'Playfair Display', Georgia, serif;
  --font-body:         'Source Serif 4', Georgia, serif;
  --font-mono:         'JetBrains Mono', 'Courier New', monospace;

  /* --- Type Scale --- */
  --text-xs:           0.75rem;   /* 12px */
  --text-sm:           0.875rem;  /* 14px */
  --text-base:         1rem;      /* 16px */
  --text-md:           1.125rem;  /* 18px */
  --text-lg:           1.25rem;   /* 20px */
  --text-xl:           1.5rem;    /* 24px */
  --text-2xl:          1.875rem;  /* 30px */
  --text-3xl:          2.25rem;   /* 36px */
  --text-4xl:          3rem;      /* 48px */
  --text-5xl:          3.75rem;   /* 60px */
  --text-hero:         clamp(2.5rem, 6vw, 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;
  --space-20:          5rem;
  --space-24:          6rem;
  --space-32:          8rem;

  /* --- Layout --- */
  --container-sm:      640px;
  --container-md:      768px;
  --container-lg:      1024px;
  --container-xl:      1200px;
  --container-2xl:     1400px;

  /* --- Radii --- */
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         12px;
  --radius-xl:         20px;
  --radius-pill:       9999px;

  /* --- Shadows — warm, not cold --- */
  --shadow-sm:         0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg:         0 8px 24px rgba(0,0,0,0.6);
  --shadow-xl:         0 16px 48px rgba(0,0,0,0.7);
  --shadow-gold:       0 0 20px rgba(196,146,42,0.25);
  --shadow-gold-sm:    0 0 8px rgba(196,146,42,0.15);
  --shadow-inset:      inset 0 1px 3px rgba(0,0,0,0.4);

  /* --- Transitions --- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Borders --- */
  --border-subtle:     1px solid var(--bg-border);
  --border-gold:       1px solid var(--accent-gold-muted);
  --border-gold-bright:1px solid var(--accent-gold);

  /* --- Texture overlay --- */
  --noise-opacity:     0.035;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper noise texture on the body — aged paper feel */
body::before {
  content: '';
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: 9999;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-link-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: var(--font-body);
}

::selection {
  background: var(--accent-gold);
  color: var(--text-inverse);
}


/* ============================================================
   SCROLLBAR — styled, not default
   ============================================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-border);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-muted);
}


/* ============================================================
   LAYOUT — CONTAINERS & GRID
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--2xl { max-width: var(--container-2xl); }

.section {
  padding: var(--space-24) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}


/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

/* Display headline — hero-scale */
.headline-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Section headline */
.headline-section {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Gold accent headline */
.headline-gold {
  color: var(--accent-gold);
}

/* Italic emphasis — Playfair italic is beautiful */
.headline-italic {
  font-style: italic;
}

/* Overline — small label above a headline */
.overline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: var(--space-3);
}

/* Body text classes */
.text-lg    { font-size: var(--text-lg); line-height: 1.65; }
.text-md    { font-size: var(--text-md); }
.text-sm    { font-size: var(--text-sm); color: var(--text-secondary); }
.text-xs    { font-size: var(--text-xs); color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-gold  { color: var(--accent-gold); }
.text-cream { color: var(--text-primary); }

/* Bea's voice — italic, slightly warmer treatment */
.bea-voice {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--text-primary);
  line-height: 1.75;
  font-weight: 300;
}

/* Mono — citations, codes, activation keys */
.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent-gold);
  background: rgba(196, 146, 42, 0.1);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196, 146, 42, 0.2);
}

/* Small caps — footer, labels */
.small-caps {
  font-variant: small-caps;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

p + p {
  margin-top: var(--space-4);
}

/* Lead paragraph */
.lead {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================================
   GOLD RULE DIVIDER — the lamp light separator
   ============================================================ */

.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-gold-muted) 20%,
    var(--accent-gold) 50%,
    var(--accent-gold-muted) 80%,
    transparent 100%
  );
  margin: var(--space-8) 0;
  opacity: 0.6;
}

.gold-rule--full {
  margin: 0;
  opacity: 0.4;
}


/* ============================================================
   NAVIGATION — UPDATED v2.0
   Global navbar with dropdown, hamburger, tagline
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-2) 0;
  background: rgba(28, 26, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Brand: logo + tagline stacked */
.navbar__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
  height: 48px;
  max-height: 48px;
  overflow: hidden;
}

.navbar__logo {
  display: block;
  height: 32px;
  max-height: 32px;
  overflow: hidden;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 32px !important;
  width: auto !important;
  max-height: 32px !important;
  max-width: 160px !important;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.navbar__tagline {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0.75;
  white-space: nowrap;
  padding-left: 2px;
  line-height: 1;
}

/* Nav links row */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.02em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--text-primary);
  background: rgba(196, 146, 42, 0.08);
}

.navbar__link--active {
  color: var(--accent-gold);
}

.navbar__cta {
  margin-left: var(--space-2);
  flex-shrink: 0;
}

/* ── DROPDOWN ── */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.02em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.navbar__dropdown-toggle:hover,
.navbar__dropdown--open .navbar__dropdown-toggle {
  color: var(--text-primary);
  background: rgba(196, 146, 42, 0.08);
}

.navbar__dropdown-toggle--active {
  color: var(--accent-gold);
}

/* Chevron arrow */
.navbar__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.navbar__dropdown--open .navbar__dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown panel */
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: 280px;
  width: max-content;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2) 0;
  z-index: 200;
  overflow: hidden;
}

/* On narrow forced-desktop viewports, anchor left to prevent overflow */
@media (max-width: 900px) {
  .navbar__dropdown-menu {
    left: 0;
    right: auto;
    transform: none;
    max-width: min(280px, calc(100vw - 2rem));
  }
}

.navbar__dropdown--open .navbar__dropdown-menu {
  display: block;
}

.navbar__dropdown-item {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-5);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.navbar__dropdown-item:hover {
  color: var(--accent-gold);
  background: rgba(196, 146, 42, 0.06);
}

.navbar__dropdown-item--active {
  color: var(--accent-gold);
}

/* Divider within dropdown */
.navbar__dropdown-divider {
  height: 1px;
  background: var(--bg-border);
  margin: var(--space-2) 0;
}

/* View all — slightly different treatment */
.navbar__dropdown-item--all {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-muted);
}

.navbar__dropdown-item--all:hover {
  color: var(--accent-gold);
}

/* ── HAMBURGER TOGGLE ── */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.navbar__toggle:hover {
  background: rgba(196, 146, 42, 0.08);
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-fast);
}

/* Hamburger → X animation */
.navbar__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent-gold);
}
.navbar__toggle--open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent-gold);
}

/* ── MOBILE MENU ── */
.navbar__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: var(--border-subtle);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4) var(--space-6);
  z-index: 999;
}

.navbar__mobile--open {
  display: block;
}

.navbar__mobile-link {
  display: flex;
  align-items: center;
  font-size: var(--text-base);
  color: var(--text-secondary);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(74, 63, 46, 0.3);
  transition: color var(--transition-fast);
  min-height: 44px;
}

.navbar__mobile-link:hover,
.navbar__mobile-link--active {
  color: var(--accent-gold);
}

.navbar__mobile-link:last-of-type {
  border-bottom: none;
}

/* Mobile use cases sub-section */
.navbar__mobile-section {
  border-bottom: 1px solid rgba(74, 63, 46, 0.3);
}

/* Toggle button replaces the old static label */
.navbar__mobile-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(74, 63, 46, 0.3);
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.navbar__mobile-section-toggle:hover,
.navbar__mobile-section-toggle--open {
  color: var(--text-primary);
}

.navbar__mobile-section-arrow {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.navbar__mobile-section-toggle--open .navbar__mobile-section-arrow {
  transform: rotate(180deg);
}

/* Collapsible sub-list */
.navbar__mobile-sublist {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.navbar__mobile-sublist--open {
  max-height: 600px;
}

.navbar__mobile-sublink {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  transition: color var(--transition-fast);
  min-height: 40px;
}

.navbar__mobile-sublink:hover,
.navbar__mobile-sublink--active {
  color: var(--accent-gold);
}

/* View All link in mobile sub-list */
.navbar__mobile-sublink--all {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold-muted);
  margin-top: var(--space-1);
  border-top: 1px solid rgba(74, 63, 46, 0.3);
  padding-top: var(--space-3);
}

.navbar__mobile-sublink--all:hover {
  color: var(--accent-gold);
}

/* Mobile CTA */
.navbar__mobile-cta {
  padding-top: var(--space-4);
}

/* Page offset — updated for taller navbar */
.page-offset {
  padding-top: 68px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-spring);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — gold fill */
.btn--primary {
  background: var(--accent-gold);
  color: var(--text-inverse);
  border-color: var(--accent-gold);
}

.btn--primary:hover {
  background: var(--accent-gold-bright);
  border-color: var(--accent-gold-bright);
  box-shadow: var(--shadow-gold);
  color: var(--text-inverse);
}

/* Secondary — outlined gold */
.btn--secondary {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold-muted);
}

.btn--secondary:hover {
  background: rgba(196, 146, 42, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold-bright);
  box-shadow: var(--shadow-gold-sm);
}

/* Ghost — minimal */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--bg-border);
}

.btn--ghost:hover {
  background: var(--bg-raised);
  color: var(--text-primary);
  border-color: var(--bg-border);
}

/* Danger / CTA — burgundy */
.btn--burgundy {
  background: var(--accent-burgundy);
  color: var(--text-primary);
  border-color: var(--accent-burgundy);
}

.btn--burgundy:hover {
  background: var(--accent-burgundy-lt);
  border-color: var(--accent-burgundy-lt);
  color: var(--text-primary);
}

/* Sizes */
.btn--sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-lg);
}

.btn--xl {
  font-size: var(--text-md);
  padding: var(--space-5) var(--space-12);
  border-radius: var(--radius-lg);
  letter-spacing: 0.06em;
}

/* Full width */
.btn--full {
  width: 100%;
}

/* Loading state */
.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Dark overlay over hero image — lamp-lit mood */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 26, 20, 0.85) 0%,
    rgba(28, 26, 20, 0.65) 50%,
    rgba(28, 26, 20, 0.80) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-32) 0 var(--space-24);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-6);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-gold);
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
}

.hero__subhead {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

/* Gold glow on hero headline on hover — subtle delight */
.hero__headline:hover .headline-gold {
  text-shadow: 0 0 40px rgba(196, 146, 42, 0.4);
  transition: text-shadow var(--transition-slow);
}


/* ============================================================
   SECTION HEADERS — with gold rule treatment
   ============================================================ */

.section-header {
  margin-bottom: var(--space-12);
}

.section-header--centered {
  text-align: center;
}

.section-header__title {
  margin-bottom: var(--space-4);
}

.section-header__lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 620px;
}

.section-header--centered .section-header__lead {
  margin: 0 auto;
}


/* ============================================================
   CARDS — the primary surface unit
   ============================================================ */

.card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bg-border);
}

.card--gold {
  border-color: var(--accent-gold-muted);
}

.card--gold:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.card--raised {
  background: var(--bg-raised);
}

/* Card image */
.card__image {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
  aspect-ratio: 16/9;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-3);
  display: block;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}

.card__body {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
}

.card__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}


/* ============================================================
   SPECIALIST CARDS — character-driven role cards
   ============================================================ */

.specialist-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  position: relative;
}

.specialist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--specialist-color, var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--bg-border);
}

.specialist-card:hover::before {
  transform: scaleX(1);
}

.specialist-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.specialist-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
  filter: sepia(15%) saturate(90%);
}

.specialist-card:hover .specialist-card__image img {
  transform: scale(1.05);
  filter: sepia(5%) saturate(100%);
}

/* Warm amber photo vignette */
.specialist-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(28, 26, 20, 0.7) 100%
  );
}

.specialist-card__body {
  padding: var(--space-6) var(--space-8);
}

.specialist-card__callsign {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--specialist-color, var(--accent-gold));
  margin-bottom: var(--space-2);
  display: block;
}

.specialist-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.specialist-card__domain {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.specialist-card__bio {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.specialist-card__disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
  line-height: 1.6;
}

/* Specialist color assignments */
.specialist-card[data-specialist="chief"] { --specialist-color: var(--chief-color); }
.specialist-card[data-specialist="sarge"] { --specialist-color: var(--sarge-color); }
.specialist-card[data-specialist="hawkeye"] { --specialist-color: var(--hawkeye-color); }
.specialist-card[data-specialist="frank"] { --specialist-color: var(--frank-color); }
.specialist-card[data-specialist="darwin"] { --specialist-color: var(--darwin-color); }
.specialist-card[data-specialist="bea"] { --specialist-color: var(--bea-color); }


/* ============================================================
   PRICING CARDS
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  position: relative;
  text-align: center;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Featured/popular card */
.pricing-card--featured {
  border-color: var(--accent-gold);
  background: var(--bg-raised);
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
}

.pricing-card--featured:hover {
  transform: translateY(-12px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  margin-bottom: var(--space-4);
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.pricing-card__savings {
  font-size: var(--text-sm);
  color: var(--accent-gold);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.pricing-card__features {
  margin-bottom: var(--space-8);
  text-align: left;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(74, 63, 46, 0.4);
}

.pricing-card__feature:last-child {
  border-bottom: none;
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--accent-gold);
  font-size: var(--text-sm);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-4);
  font-style: italic;
  line-height: 1.5;
}


/* ============================================================
   BEA'S QUOTE / CALLOUT BLOCK
   ============================================================ */

.bea-quote {
  background: var(--bg-surface);
  border: var(--border-gold);
  border-left: 4px solid var(--accent-burgundy);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  position: relative;
}

.bea-quote__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-gold-muted);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.bea-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.bea-quote__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--text-primary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: var(--space-4);
}

.bea-quote__attribution {
  font-size: var(--text-sm);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* Decorative quote mark */
.bea-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--accent-burgundy);
  opacity: 0.12;
  position: absolute;
  top: -1.5rem;
  left: var(--space-6);
  line-height: 1;
  pointer-events: none;
}


/* ============================================================
   DISCLAIMER BLOCK — Bea's disclaimer
   ============================================================ */

.disclaimer-block {
  background: rgba(139, 46, 46, 0.06);
  border: 1px solid rgba(139, 46, 46, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  margin: var(--space-8) 0;
}

.disclaimer-block__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-burgundy-lt);
  margin-bottom: var(--space-4);
  display: block;
}

.disclaimer-block__text {
  font-style: italic;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.75;
}


/* ============================================================
   INLINE DISCLAIMER (weaved through copy)
   ============================================================ */

.disclaimer-inline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  display: block;
  margin-top: var(--space-3);
}


/* ============================================================
   HOW IT WORKS — numbered steps
   ============================================================ */

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.step {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

.step__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--accent-gold);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: right;
  transition: opacity var(--transition-base);
}

.step:hover .step__number {
  opacity: 0.5;
}

.step__content {
  padding-top: var(--space-2);
  border-top: var(--border-gold);
  flex: 1;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.step__body {
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================================
   PROBLEM/SOLUTION SECTION — the pain + the fix
   ============================================================ */

.problem-block {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-left: 4px solid var(--accent-burgundy);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-12);
}

.problem-block__headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.problem-block__body {
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.75;
}

.solution-block {
  background: var(--bg-surface);
  border: var(--border-gold);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-12);
}


/* ============================================================
   SIGNATURE DEVICE — "Well. I'll BEDAMD."
   ============================================================ */

.signature-device {
  text-align: center;
  padding: var(--space-12) 0;
}

.signature-device__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--accent-gold);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.signature-device__text::before,
.signature-device__text::after {
  content: '—';
  font-style: normal;
  color: var(--text-muted);
  margin: 0 var(--space-4);
  font-size: 0.7em;
  vertical-align: middle;
}

.signature-device--large .signature-device__text {
  font-size: clamp(2rem, 5vw, 4rem);
}


/* ============================================================
   FEATURE GRID — bullet-point alternatives
   ============================================================ */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.feature-item:hover {
  border-color: var(--accent-gold-muted);
  background: var(--bg-raised);
}

.feature-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item__title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.feature-item__body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================================
   CONTACT FORM
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-5);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-gold-muted);
  box-shadow: 0 0 0 3px rgba(196, 146, 42, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
}


/* ============================================================
   GRID UTILITIES
   ============================================================ */

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.flex { display: flex; gap: var(--space-4); }
.flex--wrap { flex-wrap: wrap; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }


/* ============================================================
   BADGES & TAGS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

.badge--gold {
  background: rgba(196, 146, 42, 0.12);
  color: var(--accent-gold);
  border-color: rgba(196, 146, 42, 0.25);
}

.badge--burgundy {
  background: rgba(139, 46, 46, 0.12);
  color: var(--accent-burgundy-lt);
  border-color: rgba(139, 46, 46, 0.25);
}

.badge--sage {
  background: rgba(74, 124, 89, 0.12);
  color: var(--accent-sage-lt);
  border-color: rgba(74, 124, 89, 0.25);
}

.badge--navy {
  background: rgba(44, 62, 107, 0.2);
  color: #7a9fcc;
  border-color: rgba(44, 62, 107, 0.4);
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-surface);
  border-top: var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: var(--space-5);
  display: block;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  line-height: 1;
}

.footer__link:hover {
  color: var(--text-primary);
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.footer__contact-email {
  font-size: var(--text-sm);
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

.footer__contact-name {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
}

/* Footer bottom bar — the locked copyright string */
.footer__bottom {
  padding-top: var(--space-6);
  border-top: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-variant: small-caps;
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer__copyright a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__copyright a:hover {
  color: var(--accent-gold);
}

.footer__legal {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  text-align: right;
}


/* ============================================================
   PAGE-SPECIFIC — WELCOME PAGE
   ============================================================ */

.welcome-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-24) var(--space-6);
  position: relative;
}

.welcome-hero__content {
  max-width: 680px;
}

.welcome-hero__icon {
  font-size: 4rem;
  margin-bottom: var(--space-6);
}

.welcome-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: var(--space-4);
}

.welcome-hero__sub {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  font-weight: 300;
}


/* ============================================================
   PAGE-SPECIFIC — NOTYET PAGE
   ============================================================ */

.notyet-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) var(--space-6);
}

.notyet-content {
  max-width: 600px;
  text-align: center;
}

.notyet-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-8);
  border: 3px solid var(--accent-gold-muted);
  box-shadow: var(--shadow-gold);
}

.notyet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Display */
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spacing utilities */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* Width */
.w-full  { width: 100%; }
.max-w-sm { max-width: var(--container-sm); }
.max-w-md { max-width: var(--container-md); }
.max-w-lg { max-width: var(--container-lg); }
.mx-auto  { margin-left: auto; margin-right: auto; }

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* Decorative glow spot — ambient lamp warmth */
.glow-spot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.glow-spot--gold {
  background: radial-gradient(circle, rgba(196,146,42,0.15) 0%, transparent 70%);
  width: 600px;
  height: 600px;
}

.glow-spot--burgundy {
  background: radial-gradient(circle, rgba(139,46,46,0.1) 0%, transparent 70%);
  width: 400px;
  height: 400px;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Fade up on scroll — apply with JS IntersectionObserver */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal — used on individual pages for scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in — used on hero elements */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-in-2 { animation-delay: 0.1s; }
.fade-in-3 { animation-delay: 0.2s; }
.fade-in-4 { animation-delay: 0.35s; }
.fade-in-5 { animation-delay: 0.5s; }
.fade-in-6 { animation-delay: 0.65s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger delays for grouped elements */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }

/* Pulse on signature device */
@keyframes gold-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(196,146,42,0.3); }
  50%       { text-shadow: 0 0 40px rgba(196,146,42,0.6); }
}

.signature-device__text:hover {
  animation: gold-pulse 2s ease-in-out infinite;
  cursor: default;
}


/* ============================================================
   RESPONSIVE — MOBILE FIRST BREAKPOINTS
   ============================================================ */

/* Tablet — 768px */
@media (max-width: 768px) {

  :root {
    --text-hero: clamp(2rem, 8vw, 3rem);
  }

  .navbar__nav {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero__content {
    padding: var(--space-20) 0 var(--space-16);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .step__number {
    width: auto;
    text-align: left;
    font-size: 2.5rem;
  }

  .problem-block,
  .solution-block {
    padding: var(--space-8);
  }

  .bea-quote {
    padding: var(--space-6) var(--space-8);
  }

  .pricing-card--featured {
    transform: none;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section--lg {
    padding: var(--space-20) 0;
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {

  .container {
    padding: 0 var(--space-4);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    text-align: center;
  }

  .card {
    padding: var(--space-6);
  }

  .specialist-card__body {
    padding: var(--space-5) var(--space-6);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .btn--xl {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
  }

  .bea-quote::before {
    font-size: 5rem;
  }

  .signature-device__text::before,
  .signature-device__text::after {
    display: none;
  }
}

/* Large screens — 1400px+ */
@media (min-width: 1400px) {

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    gap: var(--space-16);
  }
}


/* ============================================================
   ACCESSIBILITY — WCAG AA COMPLIANCE
   Because the "we'll sue you" crowd is real and we're not
   giving them a reason.
   ============================================================ */

/* Skip to main content — visually hidden until focused by keyboard */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--accent-gold);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Focus ring — visible keyboard navigation */
/* Replaces browser default which is often invisible on dark backgrounds */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Remove focus ring for mouse users — keyboard only */
:focus:not(:focus-visible) {
  outline: none;
}

/* Explicit focus for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Reduced motion — respect system preference */
@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;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn--primary {
    border: 2px solid ButtonText;
  }
  .card,
  .specialist-card,
  .pricing-card,
  .bea-quote {
    border: 1px solid ButtonText;
  }
}

/* Minimum 44x44px touch targets — WCAG 2.5.5 */
.btn {
  min-height: 44px;
  min-width: 44px;
}

.navbar__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.navbar__toggle {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}


/* ============================================================
   PRINT — minimal, clean
   ============================================================ */

@media print {
  .navbar,
  .hero__bg,
  .btn,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
