/* =====================================================
   BeaconBird — Shared Stylesheet
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #4F6B82;
  --primary-dark: #3A5468;
  --primary-light: #7A95AB;
  --primary-faded: #DCE4EB;
  --cta: #D97757;
  --cta-dark: #B45D40;
  --warn: #E08A4E;
  --warn-light: #F4D5BA;
  --dark: #1F2937;
  --darker: #131C25;
  --cream: #FAF8F4;
  --cream-2: #F5F0E6;
  --warm-border: #E8E2D6;
  --textbody: #4A4A4A;
  --textsub: #6B6B6B;
  --white: #ffffff;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, monospace;
  --container: 1180px;
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.06);
  --shadow: 0 8px 32px rgba(31, 41, 55, 0.1);
  --shadow-lg: 0 24px 60px rgba(31, 41, 55, 0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--textbody);
  line-height: 1.6;
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(79, 107, 130, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary); transition: color .15s; }
a:hover { color: var(--primary-dark); }
em { font-style: italic; }
strong { font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER + NAV ===== */
.site-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--warm-border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(250, 248, 244, 0.92);
}
.site-header .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; color: var(--primary); flex-shrink: 0; }
.logo-link img { height: 42px; width: auto; }

/* Primary nav (desktop) */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.primary-nav > a,
.primary-nav .has-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.primary-nav > a:hover,
.primary-nav .has-dropdown > button:hover,
.primary-nav .has-dropdown:hover > button,
.primary-nav .has-dropdown.open > button {
  background: var(--primary-faded);
  color: var(--primary-dark);
}
.primary-nav .has-dropdown { position: relative; }
.primary-nav .has-dropdown > button::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  transition: transform .2s;
}
.primary-nav .has-dropdown.open > button::after,
.primary-nav .has-dropdown:hover > button::after {
  transform: rotate(-135deg) translateY(0);
}

/* Standard dropdown panel (Learn) */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
}
.primary-nav .has-dropdown:hover .dropdown-panel,
.primary-nav .has-dropdown.open .dropdown-panel,
.primary-nav .has-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 10px 14px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 8px;
  line-height: 1.4;
  transition: background .12s, color .12s;
}
.dropdown-panel a:hover {
  background: var(--cream);
  color: var(--primary-dark);
}
.dropdown-panel a .desc {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--textsub);
  margin-top: 2px;
  line-height: 1.4;
}

/* Mega menu (Industries) */
.mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px 22px;
  width: min(960px, calc(100vw - 40px));
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
}
.primary-nav .has-dropdown:hover .mega-panel,
.primary-nav .has-dropdown.open .mega-panel,
.primary-nav .has-dropdown:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.mega-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--warm-border);
}
.mega-col a {
  display: block;
  padding: 6px 0;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}
.mega-col a:hover { color: var(--primary); }
.mega-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--warm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mega-footer .mega-hub-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
}
.mega-footer .mega-note {
  font-size: 0.85rem;
  color: var(--textsub);
}

/* Header CTA button */
.header-cta {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  background: var(--cta); color: var(--white) !important;
  padding: 10px 20px; border-radius: 6px;
  transition: background .2s, transform .1s;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--cta-dark); color: var(--white) !important; }
.header-cta:active { transform: translateY(1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
}
.menu-toggle svg { width: 26px; height: 26px; display: block; }

/* Mobile menu drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  overflow-y: auto;
  padding: 24px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-drawer-head .logo-link img { height: 38px; }
.mobile-close {
  background: none; border: none; cursor: pointer; padding: 8px;
  font-size: 1.8rem; color: var(--dark); line-height: 1;
}
.mobile-nav > a,
.mobile-nav details > summary {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--warm-border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.mobile-nav details > summary::after {
  content: '+';
  float: right;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}
.mobile-nav details[open] > summary::after { content: '−'; }
.mobile-nav details .mobile-sublist {
  padding: 4px 4px 12px 16px;
}
.mobile-nav details .mobile-sublist a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--textbody);
}
.mobile-nav details .mobile-sublist .mobile-group {
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.mobile-nav .mobile-cta {
  display: block;
  margin-top: 28px;
  background: var(--cta);
  color: var(--white) !important;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
}
.mobile-nav .mobile-cta:hover { background: var(--cta-dark); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79, 107, 130, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.1vw, 3.05rem);
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.typed-text { color: var(--cta); }
.cursor {
  display: inline-block;
  width: 3px;
  height: 0.78em;
  background: var(--cta);
  margin-left: 3px;
  vertical-align: -0.04em;
  animation: blink 1.05s step-end infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hero-text p.sub {
  font-size: 1.18rem;
  color: var(--textbody);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 540px;
}
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem;
  padding: 16px 32px; border-radius: 8px;
  background: var(--cta); color: var(--white) !important;
  transition: background .2s, transform .1s, box-shadow .2s;
  border: none; cursor: pointer;
  box-shadow: 0 2px 10px rgba(217, 119, 87, 0.28);
}
.btn:hover { background: var(--cta-dark); color: var(--white) !important; box-shadow: 0 4px 16px rgba(217, 119, 87, 0.36); }
.btn:active { transform: translateY(1px); }
.btn.secondary {
  background: transparent; color: var(--primary) !important;
  border: 1.5px solid var(--primary); box-shadow: none;
}
.btn.secondary:hover { background: var(--primary); color: var(--white) !important; }

/* ===== SCORECARD MOCKUP ===== */
.scorecard {
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform .35s ease;
  position: relative;
}
.scorecard:hover { transform: rotate(0deg); }
.scorecard::before {
  content: 'SAMPLE AUDIT';
  position: absolute;
  top: -10px; left: 24px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.scorecard-header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--warm-border);
  margin-bottom: 20px;
}
.scorecard-domain {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem;
  color: var(--dark);
}
.scorecard-date {
  font-family: var(--font-body); font-size: 0.78rem;
  color: var(--textsub);
}
.score-display {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 24px;
}
.score-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: conic-gradient(var(--warn) 0deg 133deg, var(--warm-border) 133deg 360deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.score-circle::before {
  content: '';
  position: absolute;
  inset: 7px;
  background: var(--white);
  border-radius: 50%;
}
.score-circle-inner {
  position: relative; z-index: 1;
  text-align: center;
  line-height: 1;
}
.score-number {
  font-family: var(--font-head); font-weight: 700; font-size: 1.95rem;
  color: var(--warn); letter-spacing: -0.02em;
}
.score-out-of {
  font-family: var(--font-body); font-size: 0.7rem;
  color: var(--textsub); margin-top: 2px;
}
.score-info { line-height: 1.3; }
.score-label {
  font-family: var(--font-body); font-size: 0.75rem;
  color: var(--textsub); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600;
  margin-bottom: 4px;
}
.score-verdict {
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  color: var(--dark);
}
.score-categories { margin-bottom: 22px; }
.score-cat {
  display: grid;
  grid-template-columns: 1fr 70px 30px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.85rem;
}
.cat-name { color: var(--textbody); }
.cat-bar {
  height: 5px;
  background: var(--warm-border);
  border-radius: 3px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  background: var(--warn);
  border-radius: 3px;
}
.cat-pts {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  color: var(--dark); text-align: right;
}
.score-issues {
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 14px;
}
.score-issues-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600;
  color: var(--textsub); margin-bottom: 8px;
}
.issue-row {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.84rem;
  padding: 3px 0;
  color: var(--textbody);
}
.issue-x { color: #C54B2F; font-weight: 700; flex-shrink: 0; font-size: 0.9rem; }
.issue-warn { color: var(--warn); font-weight: 700; flex-shrink: 0; font-size: 0.9rem; }

/* ===== BIRD DIVIDER ===== */
.bird-divider {
  display: flex; justify-content: center; align-items: center;
  gap: 16px;
  margin: 0 auto;
  padding: 8px 0;
  color: var(--primary-light);
  max-width: 280px;
}
.bird-divider .bird-line {
  height: 1px;
  background: var(--warm-border);
  flex: 1;
}
.bird-divider svg {
  width: 50px; height: auto;
  opacity: 0.7;
}

/* ===== OPENING ===== */
.opening { padding: 70px 0; text-align: center; }
.opening p {
  font-size: 1.18rem;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 22px;
  color: var(--textbody);
}
.opening p:last-child { margin-bottom: 0; }

/* ===== STATS ===== */
.stats {
  padding: 70px 0;
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.stats .container { position: relative; z-index: 1; }
.stats h2 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-faded);
  margin-bottom: 50px; text-align: center;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item { text-align: center; padding: 0 8px; }
.stat-number {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--white); line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.98rem;
  color: var(--primary-faded);
  line-height: 1.45;
}
.stat-label em { color: var(--white); font-style: normal; font-weight: 600; }

/* ===== QUOTE ===== */
.quote {
  padding: 90px 0;
  text-align: center;
  background: transparent;
  position: relative;
}
.quote blockquote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-style: italic;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin: 0 auto 28px;
  position: relative;
}
.quote cite {
  display: block; font-style: normal; font-size: 1rem;
  color: var(--textsub);
  margin-bottom: 40px; letter-spacing: 0.02em;
}
.quote .quote-context {
  font-size: 1.05rem; color: var(--textbody);
  max-width: 720px; margin: 0 auto;
  line-height: 1.6;
}

/* ===== AUDIT ===== */
.audit { padding: 90px 0; background: var(--white); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--dark); line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.section-header p {
  font-size: 1.1rem; line-height: 1.65; color: var(--textbody);
}
.audit-form {
  max-width: 560px; margin: 0 auto;
  background: var(--cream);
  padding: 38px;
  border-radius: 14px;
  border: 1px solid var(--warm-border);
  box-shadow: var(--shadow);
}
.audit-form label {
  display: block; font-weight: 600; color: var(--dark);
  margin-bottom: 8px; font-size: 0.95rem;
}
.audit-form input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--warm-border); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem;
  background: var(--white); color: var(--dark);
  margin-bottom: 22px;
  transition: border-color .2s, box-shadow .2s;
}
.audit-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 107, 130, 0.12);
}
.audit-form .btn { width: 100%; }
.audit-form .privacy-note {
  font-size: 0.85rem; color: var(--textsub);
  text-align: center; margin-top: 18px; line-height: 1.5;
}
.audit-foot {
  text-align: center; margin-top: 28px;
  color: var(--textsub); font-size: 0.95rem; font-style: italic;
}

/* ===== FIX ===== */
.fix { padding: 90px 0; background: transparent; }
.fix .deliverables { max-width: 760px; margin: 32px auto 0; }
.fix .deliverables ol { list-style: none; counter-reset: dlist; padding: 0; }
.fix .deliverables ol li {
  counter-increment: dlist;
  display: flex; gap: 22px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--warm-border);
  font-size: 1.08rem;
}
.fix .deliverables ol li:last-child { border-bottom: none; }
.fix .deliverables ol li::before {
  content: counter(dlist);
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--primary); color: var(--white);
  font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.05rem;
}
.fix .deliverables ol li strong { color: var(--dark); font-weight: 600; }
.fix .scope-note {
  max-width: 760px; margin: 44px auto 0;
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 24px 28px; border-radius: 4px;
  font-size: 1.05rem; line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.fix .scope-note strong { color: var(--dark); font-weight: 600; }
.fix .closing-cta { text-align: center; margin-top: 60px; }
.fix .closing-cta p {
  font-family: var(--font-head); font-style: italic; font-weight: 500;
  font-size: 1.5rem; color: var(--primary);
  margin-bottom: 28px;
}
.fix .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq { padding: 90px 0; background: transparent; }
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 60px 22px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark);
  list-style: none;
  position: relative;
  transition: color .15s;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform .3s ease;
  line-height: 1;
  font-family: var(--font-body);
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item summary:hover { color: var(--primary); }
.faq-answer {
  padding: 0 28px 26px;
  color: var(--textbody);
  line-height: 1.65;
  font-size: 1rem;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== PAGE HEADER (for non-home pages) ===== */
.page-header {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(79, 107, 130, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-header .container { position: relative; z-index: 1; max-width: 880px; }
.page-header .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.page-header h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.page-header p.lede {
  font-size: 1.2rem;
  color: var(--textbody);
  line-height: 1.6;
  max-width: 720px;
}

/* ===== ARTICLE / PROSE ===== */
.article { padding: 50px 0 90px; }
.article .container { max-width: 760px; }
.article section { margin-bottom: 56px; }
.article section:last-child { margin-bottom: 0; }
.article h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  padding-top: 12px;
}
.article h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--dark);
  line-height: 1.3;
  margin: 28px 0 14px;
}
.article p {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--textbody);
  margin-bottom: 18px;
}
.article p:last-child { margin-bottom: 0; }
.article ul, .article ol {
  margin: 0 0 22px 22px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--textbody);
}
.article ul li, .article ol li { margin-bottom: 10px; }
.article ul li::marker { color: var(--primary); }
.article a { color: var(--primary-dark); border-bottom: 1px solid var(--primary-light); }
.article a:hover { color: var(--cta-dark); border-bottom-color: var(--cta-dark); }
.article .callout {
  background: var(--white);
  border-left: 4px solid var(--primary);
  padding: 22px 26px;
  border-radius: 4px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
  font-size: 1.04rem;
  line-height: 1.65;
}
.article .callout strong { color: var(--dark); }

/* ===== INDUSTRIES HUB ===== */
.hub-intro { padding: 30px 0 50px; text-align: center; }
.hub-intro .container { max-width: 760px; }
.hub-intro p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--textbody);
}
.hub-groups { padding: 0 0 90px; }
.hub-group {
  margin-bottom: 56px;
}
.hub-group:last-child { margin-bottom: 0; }
.hub-group h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--dark);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--warm-border);
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.hub-card {
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.3;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.hub-card::after {
  content: '→';
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.2rem;
  transition: transform .15s;
}
.hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
}
.hub-card:hover::after { transform: translateX(3px); color: var(--cta); }

/* ===== BLOG INDEX ===== */
.blog-list { padding: 30px 0 90px; }
.blog-list .container { max-width: 880px; }
.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 18px;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
.blog-card .blog-meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.blog-card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.blog-card:hover h2 { color: var(--primary-dark); }
.blog-card p {
  font-size: 1.02rem;
  color: var(--textbody);
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-card .blog-read {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cta);
}
.blog-card:hover .blog-read { color: var(--cta-dark); }

/* Blog post byline / meta */
.post-meta {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--textsub);
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Inline tabular block used by some blog posts */
.bot-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.bot-table th, .bot-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--warm-border);
  vertical-align: top;
}
.bot-table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--cream);
}
.bot-table td code { font-size: 0.86rem; color: var(--dark); }

/* ===== VERTICAL PAGE ===== */
.vertical-cta {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.vertical-cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
}
.vertical-cta p {
  font-size: 1.1rem;
  color: var(--primary-faded);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.vertical-cta .btn {
  background: var(--cta);
}
.vertical-cta .btn:hover { background: var(--cta-dark); }

.beacon-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.beacon-pillar {
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.beacon-pillar strong {
  display: block;
  font-family: var(--font-head);
  color: var(--primary-dark);
  font-size: 1.04rem;
  margin-bottom: 4px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--darker);
  color: var(--primary-faded);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 42px;
}
.footer-brand .logo-link img {
  height: 38px;
  filter: brightness(0) invert(1) opacity(0.92);
}
.footer-brand .footer-tag {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  color: var(--primary-light);
  margin: 18px 0 0; font-size: 1.02rem;
  line-height: 1.4;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: var(--primary-faded);
  font-size: 0.93rem;
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-meta {
  font-size: 0.85rem;
  color: var(--primary-light);
  opacity: 0.7;
  padding-top: 28px;
  border-top: 1px solid rgba(220, 228, 235, 0.1);
  text-align: center;
}
.footer-meta a { color: var(--primary-light); }

/* ===== REDUCED MOTION ===== */
@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; }
  .cursor { opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .primary-nav > a,
  .primary-nav .has-dropdown > button { padding: 10px 10px; font-size: 0.92rem; }
}
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 60px 0 80px; }
  .hero-text { text-align: center; }
  .hero-text p.sub { margin-left: auto; margin-right: auto; }
  .scorecard { max-width: 420px; margin: 0 auto; transform: rotate(0deg); }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .beacon-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 60px; }
  .hero-text p.sub { font-size: 1.05rem; }
  .opening, .stats, .quote, .audit, .fix, .faq { padding: 60px 0; }
  .faq-item summary { padding: 18px 50px 18px 22px; font-size: 1.05rem; }
  .faq-answer { padding: 0 22px 20px; }
  .stat-number { font-size: 2.4rem; }
  .audit-form { padding: 26px; }
  .btn { width: 100%; max-width: 360px; }
  .fix .cta-row { flex-direction: column; align-items: center; }
  .fix .deliverables ol li { font-size: 1rem; gap: 16px; }
  .quote blockquote { font-size: 1.4rem; }
  .scorecard { padding: 22px; }
  .score-display { gap: 14px; }
  .score-circle { width: 76px; height: 76px; }
  .score-number { font-size: 1.7rem; }
  .page-header { padding: 56px 0 36px; }
  .page-header p.lede { font-size: 1.08rem; }
  .article { padding: 30px 0 60px; }
  .article p { font-size: 1.02rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-brand .logo-link { justify-content: center; display: inline-flex; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo-link img { height: 36px; }
  .hero-text h1 { font-size: 1.95rem; }
  .hub-grid { grid-template-columns: 1fr; }
}
