/* ═══════════════════════════════════════════════════════════
   Stouffer AI Consulting — Shared Stylesheet
   Brand tokens, reset, and shared components.
   Page-specific styles remain in each page's <style> block.
   ═══════════════════════════════════════════════════════════ */

/* ── Brand Tokens ──────────────────────────────────────────── */
:root {
  --navy:        #0F395D;
  --navy-dk:     #0c395d;
  --teal:        #027D8F;
  --teal-lt:     #029FB5;
  --gold:        #f7b82b;
  --gold-dk:     #e0a520;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --r-sm: 8px;
  --r-lg: 24px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }

/* ── Typography Utilities ──────────────────────────────────── */
.display      { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
.display-xl   { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.display-lg   { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.display-md   { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.display-sm   { font-size: clamp(1.35rem, 2.5vw, 1.9rem); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Layout ────────────────────────────────────────────────── */
.container        { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy-dk);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.35); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 108px;
  padding: 0 clamp(20px,5vw,60px);
  max-width: 1180px; margin: 0 auto;
}
.nav-logo     { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 108px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-size: 18px; font-weight: 500;
  color: rgba(255,255,255,.75); text-decoration: none;
  padding: 7px 13px; border-radius: var(--r-sm);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links .nav-cta a { background: var(--teal); color: var(--white); padding: 9px 20px; border-radius: 100px; }
.nav-links .nav-cta a:hover { background: var(--teal-lt); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 108px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14,30,46,.97); backdrop-filter: blur(16px);
    padding: 12px 24px 24px; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-cta { order: -1; margin-bottom: 4px; }
  .nav-links .nav-cta a { border-radius: 100px; text-align: center; padding: 14px; border-bottom: none; }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dk);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(20px,5vw,60px) 48px;
}
.footer-brand img { height: 96px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p   { font-size: 20px; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 260px; }
.footer-tagline   {
  display: block; margin-top: 20px;
  font-family: var(--font-mono); font-size: 20px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-lt);
}
.footer-col h4 {
  font-family: var(--font-mono); font-size: 20px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-lt); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a  { font-size: 20px; color: rgba(255,255,255,.65); text-decoration: none; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; color: rgba(255,255,255,.65); text-decoration: none; margin-bottom: 12px;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { flex-shrink: 0; opacity: .7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px clamp(20px,5vw,60px);
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 20px; color: rgba(255,255,255,.35); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 100px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all .25s;
}
.btn-gold { background: var(--gold); color: #0f395d; }
.btn-gold:hover { background: var(--gold-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(247,184,43,.4); }
.btn-teal, .btn-primary { background: var(--teal); color: var(--white); }
.btn-teal:hover, .btn-primary:hover { background: var(--teal-lt); transform: translateY(-2px); }
.btn-outline, .btn-outline-white {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover, .btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Section Utilities ─────────────────────────────────────── */
.section-head              { text-align: center; margin-bottom: 52px; }
.section-head .label       { color: var(--teal-lt); display: block; margin-bottom: 12px; }
.section-head h2           { margin-bottom: 14px; }
.section-head p            { color: rgba(255,255,255,.6); max-width: 560px; margin: 0 auto; font-size: 17px; }
.section-divider           { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 0; }

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  padding: calc(72px + 80px) 0 80px;
  background: linear-gradient(160deg,#0E1E2E 0%,#0D2235 50%,#091826 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(2,125,143,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(2,125,143,.05) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center,black 30%,transparent 80%);
}
.hero-badge {
  display: inline-block;
  background: rgba(247,184,43,.12); border: 1px solid rgba(247,184,43,.35);
  border-radius: 100px; padding: 6px 20px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 20px; position: relative;
}
.page-hero .label   { color: var(--gold); display: block; margin-bottom: 14px; position: relative; }
.page-hero h1       { margin-bottom: 20px; position: relative; }
.page-hero .hero-sub {
  color: rgba(255,255,255,.68); font-size: 1.1rem;
  max-width: 620px; margin: 0 auto 38px; position: relative; line-height: 1.72;
}

/* ── Privacy Notice Callout ────────────────────────────── */
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(247,184,43,.07);
  border: 1.5px solid rgba(247,184,43,.45);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  margin: 24px 0;
}
.privacy-notice-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.privacy-notice-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.80);
}
.privacy-notice-text strong {
  color: var(--gold);
  font-weight: 600;
}

/* ── VIDEO THUMBNAILS + MODAL ────────────────────────────── */
.vid-thumb {
  max-width: 600px; margin: 0 auto; cursor: pointer;
  border-radius: 12px; overflow: hidden;
  background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s, transform .15s; position: relative; user-select: none;
}
.vid-thumb:hover { border-color: rgba(42,157,143,.5); transform: translateY(-2px); }
.vid-thumb-inner {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(15,57,93,.9) 0%, rgba(9,24,38,.95) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.vid-play-ring {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(42,157,143,.18); border: 2px solid rgba(42,157,143,.45);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.vid-thumb:hover .vid-play-ring { background: rgba(42,157,143,.35); border-color: rgba(42,157,143,.75); }
.vid-play-ring svg { width: 16px; height: 16px; fill: #2A9D8F; margin-left: 3px; }
.vid-thumb-title { display: none; }
.vid-thumb-dur { display: none; }
.vid-watch-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(42,157,143,.22); border: 1px solid rgba(42,157,143,.4);
  border-radius: 100px; padding: 2px 8px;
  font-size: 10px; letter-spacing: .07em; text-transform: uppercase;
  font-family: var(--font-mono, monospace); color: #2A9D8F;
}
.vid-modal {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.82); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.vid-modal.active { display: flex; }
.vid-modal-box {
  width: min(700px, 100%); background: #0D2235; border-radius: 16px;
  overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
}
.vid-modal-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.vid-modal-hd-title { font-size: 15px; font-weight: 600; color: #fff; }
.vid-modal-hd-dur { font-size: 12px; font-family: var(--font-mono, monospace); color: rgba(255,255,255,.38); margin-left: 8px; }
.vid-modal-close {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6); border-radius: 50%; width: 30px; height: 30px;
  font-size: 15px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background .2s; flex-shrink: 0;
}
.vid-modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
.vid-modal-screen {
  aspect-ratio: 16/9; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.vid-modal-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(42,157,143,.18); border: 2px solid rgba(42,157,143,.45);
  display: flex; align-items: center; justify-content: center;
}
.vid-modal-ring svg { width: 24px; height: 24px; fill: #2A9D8F; margin-left: 4px; }
.vid-modal-screen p { color: rgba(255,255,255,.45); font-size: 14px; margin: 0; }
.vid-modal-soon {
  font-size: 11px; font-family: var(--font-mono, monospace); letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 3px 12px;
}
