/* ============================================================
   ANDREW HOPKINSON — PERSONAL BRAND SITE
   ============================================================ */

/* Fonts loaded via <link rel="preload"> in HTML — @import removed for performance (#17) */

:root {
  --navy:        #0b0f1a;
  --navy-mid:    #111827;
  --navy-card:   #161d2e;
  --navy-border: #1e2a40;
  --gold:        #c9a84c;
  --gold-light:  #e8c878;
  --gold-dim:    rgba(201,168,76,0.13);
  --white:       #f4f2ed;
  --grey:        #8fa3b1;
  --grey-light:  #b8c9d4;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --max-w:       1160px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color 0.22s var(--ease); }
a:hover { color: var(--gold-light); }

/* Visible keyboard focus without affecting mouse users (WCAG 2.4.7) */
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { color: var(--grey-light); font-size: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.gold { color: var(--gold); }

.tag {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.divider {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 1.8rem;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,15,26,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--grey);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.22s;
}
.mobile-menu {
  display: none;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--navy-border);
  padding: 1rem 2rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { padding: 0.65rem 0; border-bottom: 1px solid var(--navy-border); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a { color: var(--grey-light); font-size: 1rem; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--navy-border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}
.hero h1 { margin-bottom: 0.4rem; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--grey);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.65;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--grey);
}
.hero-meta-item svg { color: var(--gold); flex-shrink: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  border: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--navy-border); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.hero-award {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 0.85rem 1.4rem;
}
.hero-award-icon { font-size: 1.4rem; }
.hero-award-text { font-size: 0.82rem; color: var(--gold-light); line-height: 1.45; }
.hero-award-text strong { display: block; font-size: 0.95rem; }

/* HEADSHOT */
.headshot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.headshot-frame {
  width: 240px;
  height: 280px;
  border-radius: 6px;
  border: 2px dashed rgba(201,168,76,0.35);
  background: var(--navy-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1.5rem;
  transition: border-color 0.2s;
  overflow: hidden;
  position: relative;
}
.headshot-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.headshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.headshot-placeholder svg { color: rgba(201,168,76,0.4); }
.headshot-placeholder-text {
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.4;
}
.headshot-note {
  font-size: 0.7rem;
  color: var(--grey);
  text-align: center;
  max-width: 200px;
  font-style: italic;
}

/* STAT STRIP */
.stat-strip {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 2.5rem 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.76rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* SUMMARY */
.section-header { margin-bottom: 3.5rem; }
.section-header .tag { margin-bottom: 0.8rem; }
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}
.summary-text p { margin-bottom: 1.2rem; font-size: 1.02rem; }
.skills-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  padding: 2rem;
}
.skills-card h3 {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: 3px;
  padding: 0.28rem 0.6rem;
  font-size: 0.77rem;
  color: var(--grey-light);
  transition: all 0.2s;
}
.skill-tag:hover { border-color: var(--gold); color: var(--gold); }
.skills-divider { height: 1px; background: var(--navy-border); margin: 1.4rem 0; }

/* EXPERIENCE */
.exp-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--navy-border);
}
.exp-item:last-child { border-bottom: none; }
.exp-dates { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.exp-company { font-size: 0.83rem; color: var(--grey); font-weight: 400; line-height: 1.45; }
.exp-title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.exp-subtitle { font-size: 0.82rem; color: var(--grey); margin-bottom: 1.2rem; font-style: italic; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.exp-bullets li {
  font-size: 0.9rem;
  color: var(--grey-light);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.exp-bullets li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.exp-bullets strong { color: var(--white); font-weight: 600; }
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 3px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

/* EDUCATION */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.edu-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--gold);
  transition: border-color 0.2s;
}
.edu-card:hover { border-color: var(--gold-light); }
.edu-degree { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.edu-school { font-size: 0.82rem; color: var(--gold); font-weight: 500; }
.edu-detail { font-size: 0.8rem; color: var(--grey); margin-top: 0.4rem; }
.cert-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.cert-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: 100px;
  padding: 0.32rem 0.95rem;
  font-size: 0.78rem;
  color: var(--grey-light);
}

/* FOOTER */
footer {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}
.footer-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.footer-name span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.8rem; color: var(--grey); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: var(--grey); }
.footer-copy a { color: var(--grey); text-decoration: underline; text-underline-offset: 2px; }
.footer-copy a:hover { color: var(--gold); }

/* ── RESULTS PAGE ── */
.results-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--navy-border);
}
.results-intro { max-width: 640px; font-size: 1.02rem; color: var(--grey-light); line-height: 1.7; }

.results-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--navy-border);
}
.results-section:last-of-type { border-bottom: none; }

.chart-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}
.chart-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.chart-desc { font-size: 0.88rem; color: var(--grey); margin-bottom: 2rem; max-width: 580px; }

.chart-wrap {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 2rem;
}
.chart-canvas-wrap { position: relative; }

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.metric-item { min-width: 110px; }
.metric-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
  margin-top: 0.2rem;
}

.context-box {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.6;
}
.context-box strong { color: var(--gold); }

.chart-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* COMPARE BARS */
.compare-bar-wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.compare-bar-row { display: flex; align-items: center; gap: 1rem; }
.compare-bar-label { font-size: 0.8rem; color: var(--grey); width: 140px; flex-shrink: 0; line-height: 1.3; }
.compare-bar-track {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  height: 10px;
}
.compare-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.compare-bar-fill.gold { background: var(--gold); }
.compare-bar-fill.grey { background: var(--grey); }
.compare-bar-value { font-size: 0.85rem; font-weight: 600; color: var(--white); width: 44px; flex-shrink: 0; }

/* CONTACT PAGE */
.contact-hero { padding: 5rem 0 3rem; border-bottom: 1px solid var(--navy-border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  padding: 5rem 0;
  align-items: start;
}
.contact-info h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.5rem; }
.contact-info p { font-size: 0.95rem; margin-bottom: 2rem; }
.looking-for-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.looking-for-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.5;
}
.looking-for-item::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 0.55rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  color: var(--grey-light);
  font-weight: 500;
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* FORM */
.contact-form {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 2.5rem;
}
.contact-form h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.8rem; color: var(--white); }
.form-group { margin-bottom: 1.4rem; }
label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: var(--grey); }
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
select option { background: var(--navy-mid); }
textarea { min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.75rem; color: var(--grey); margin-top: 0.8rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.form-success h4 { font-family: var(--font-display); color: var(--gold); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.4s; }
.fade-up.d5 { animation-delay: 0.5s; }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .headshot-wrap { display: none; }
  .summary-grid { grid-template-columns: 1fr; gap: 3rem; }
  .exp-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .exp-left { display: flex; gap: 1.2rem; align-items: baseline; flex-wrap: wrap; }
  .chart-2col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 3.5rem 0 3rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .metric-row { gap: 1.2rem; }
  .metric-num { font-size: 1.6rem; }
}

/* ── SKIP LINK (accessibility + SEO) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── HERO GRID (with headshot) ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}
.hero-photo-col {
  display: flex;
  justify-content: center;
}
.hero-photo-ring {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(201,168,76,0.3) 100%);
  flex-shrink: 0;
}
.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-card);
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-placeholder {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  user-select: none;
}
.hero-photo-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid var(--navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* ── BEFORE/AFTER CONTEXT CARD ── */
.baseline-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-left: 3px solid rgba(201,168,76,0.4);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}
.baseline-card strong { color: var(--gold-light); }

/* ── RESULTS METRIC CALLOUT GRID ── */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.callout-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  padding: 1.2rem 1rem;
  text-align: center;
}
.callout-card .callout-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.callout-card .callout-label {
  font-size: 0.73rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* ── SECTION LABEL ── */
.section-company {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-border);
}
.section-company-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}
.section-company-detail {
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
}

/* ── RESULTS SECTION SPACING ── */
.results-section { padding: 5rem 0; border-bottom: 1px solid var(--navy-border); }
.results-section:last-child { border-bottom: none; }
.results-subsection { margin-top: 3rem; }

/* ── DOUGHNUT WRAP ── */
.chart-doughnut-wrap {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-doughnut-wrap canvas {
  max-width: 240px;
  max-height: 240px;
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-photo-col { order: -1; }
  .hero-photo-ring { width: 160px; height: 160px; }
  .hero-photo-placeholder { font-size: 2.8rem; }
  .hero-photo-badge { width: 40px; height: 40px; font-size: 1.1rem; }
  .callout-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .callout-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════
   EASTER EGG WARP OVERLAY
   ════════════════════════════════════════════ */
#warpOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000008;
  z-index: 99999;
  overflow: hidden;
}
#warpCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.warp-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Courier New', monospace;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4em;
  text-shadow: 0 0 20px #c9a84c, 0 0 40px #c9a84c, 0 0 10px #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
  animation: warpTextPulse 0.5s infinite alternate;
}
@keyframes warpTextPulse {
  from { text-shadow: 0 0 20px #c9a84c, 0 0 40px #c9a84c, 0 0 10px #fff; }
  to   { text-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff, 0 0 15px #fff; }
}
#warpVideo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: none;
  z-index: 3;
}

/* ══════════════════════════════════════
   EASTER EGG — CYBERPUNK TERMINAL (RED)
   ══════════════════════════════════════ */

#warpOverlay {
  position: fixed;
  inset: 0;
  background: #060002;
  z-index: 99999;
  overflow: hidden;
  cursor: none;
}

/* Data-rain canvas */
#warpCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Static CRT scanline texture over whole screen */
#cpCRT {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.11) 2px,
    rgba(0,0,0,0.11) 4px
  );
}

/* Moving bright scan beam */
#cpScanBeam {
  position: absolute;
  left: 0; right: 0;
  height: 5px;
  background: linear-gradient(transparent, rgba(255,20,50,0.3) 50%, transparent);
  box-shadow: 0 0 22px rgba(255,20,50,0.35);
  z-index: 3;
  pointer-events: none;
  animation: cpBeamMove 2.4s linear infinite;
}
@keyframes cpBeamMove { from { top: -5px; } to { top: 100%; } }

/* Glitch effects container — red only */
#cpGlitchBars {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.cp-gbar {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}

/* Red neon border frame (like Image 2) */
#cpFrame {
  position: absolute;
  inset: clamp(12px, 2.5vw, 28px);
  border: 1.5px solid rgba(255,20,50,0.55);
  border-radius: 3px;
  box-shadow:
    0 0 12px rgba(255,20,50,0.3),
    0 0 40px rgba(255,20,50,0.12),
    inset 0 0 20px rgba(255,20,50,0.06);
  pointer-events: none;
  z-index: 5;
}
/* Corner accents */
#cpFrame::before, #cpFrame::after {
  content: '';
  position: absolute;
  width: clamp(14px, 2.5vw, 24px);
  height: clamp(14px, 2.5vw, 24px);
}
#cpFrame::before {
  top: -2px; left: -2px;
  border-top: 3px solid rgba(255,20,50,0.9);
  border-left: 3px solid rgba(255,20,50,0.9);
  box-shadow: -2px -2px 12px rgba(255,20,50,0.7);
}
#cpFrame::after {
  bottom: -2px; right: -2px;
  border-bottom: 3px solid rgba(255,20,50,0.9);
  border-right: 3px solid rgba(255,20,50,0.9);
  box-shadow: 2px 2px 12px rgba(255,20,50,0.7);
}

/* Terminal text panel */
#cpTerminal {
  position: absolute;
  inset: 0;
  z-index: 6;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1.6rem, 5.5vw, 4.5rem);
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
#cpHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,20,50,0.2);
  font-size: clamp(0.48rem, 0.85vw, 0.62rem);
  color: rgba(255,20,50,0.45);
  text-shadow: 0 0 8px rgba(255,20,50,0.4);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Lines area */
#cpLines {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Base line */
.cp-line {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: clamp(0.72rem, 1.35vw, 0.94rem);
  line-height: 2.05;
  letter-spacing: 0.04em;
  white-space: pre;
  min-height: 2.05em;
}

.cp-prompt {
  color: rgba(255,20,50,0.38);
  text-shadow: 0 0 6px rgba(255,20,50,0.5);
  flex-shrink: 0;
  user-select: none;
}

/* All text has red bloom */
.cp-content {
  color: #ff1e3a;
  text-shadow: 0 0 5px rgba(255,30,58,0.95), 0 0 14px rgba(255,30,58,0.55), 0 0 28px rgba(255,30,58,0.2);
}
.cp-ok {
  color: #ff6535;
  text-shadow: 0 0 5px rgba(255,101,53,0.9), 0 0 14px rgba(255,101,53,0.5), 0 0 28px rgba(255,101,53,0.2);
}
.cp-warn {
  color: #ffaa22;
  text-shadow: 0 0 5px rgba(255,170,34,0.9), 0 0 14px rgba(255,170,34,0.5);
}
.cp-err {
  color: #ff0a28;
  text-shadow: 0 0 5px rgba(255,10,40,1), 0 0 18px rgba(255,10,40,0.7);
}

/* ACCESS GRANTED — chromatic aberration + massive bloom */
.cp-granted {
  color: #ff0a28;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  letter-spacing: 0.28em;
  text-shadow:
    -4px 0   rgba(0,229,212,0.55),
     4px 0   rgba(255,220,0,0.4),
     0   0   8px  rgba(255,10,40,1),
     0   0   22px rgba(255,10,40,0.85),
     0   0   50px rgba(255,10,40,0.5),
     0   0   90px rgba(255,10,40,0.2);
  animation: cpGrantedPulse 0.32s ease-in-out infinite alternate;
}
@keyframes cpGrantedPulse {
  from { letter-spacing: 0.26em; text-shadow: -4px 0 rgba(0,229,212,0.45), 4px 0 rgba(255,220,0,0.35), 0 0 6px rgba(255,10,40,1), 0 0 18px rgba(255,10,40,0.8), 0 0 40px rgba(255,10,40,0.4); }
  to   { letter-spacing: 0.30em; text-shadow: -5px 0 rgba(0,229,212,0.7),  4px 0 rgba(255,220,0,0.55), 0 0 12px rgba(255,10,40,1), 0 0 30px rgba(255,10,40,0.9), 0 0 70px rgba(255,10,40,0.55), 0 0 110px rgba(255,10,40,0.2); }
}

/* Cursor */
#cpCursor {
  color: #ff1e3a;
  font-size: clamp(0.72rem, 1.35vw, 0.94rem);
  line-height: 2.05;
  text-shadow: 0 0 5px rgba(255,30,58,0.95), 0 0 14px rgba(255,30,58,0.6);
  animation: cpCursorBlink 0.65s step-end infinite;
  margin-top: 0.1rem;
}
@keyframes cpCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }


/* ============================================================
   PRINT STYLESHEET (#42)
   Clean, ink-friendly resume print output
   ============================================================ */
@media print {
  /* Reset page */
  @page {
    margin: 1.8cm 1.5cm;
    size: A4 portrait;
  }

  /* Hide interactive / decorative elements */
  nav,
  .nav-hamburger,
  .mobile-menu,
  footer,
  .skip-link,
  .btn,
  .contact-form,
  .contact-social,
  #warpOverlay,
  .fade-up,
  .reveal,
  video,
  canvas,
  iframe {
    display: none !important;
  }

  /* Force light background, dark text */
  html, body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Remove background images, shadows, gradients */
  *,
  *::before,
  *::after {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }

  p, li, blockquote {
    orphans: 3;
    widows: 3;
  }

  /* Headings use serif for print legibility */
  h1, h2 {
    font-family: Georgia, serif;
  }

  /* Show full href for links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  /* Skip mailto/hash/javascript links */
  a[href^="mailto:"]::after,
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Keep hero sections readable */
  .contact-hero,
  .results-hero,
  header {
    background: #fff !important;
    color: #111 !important;
    padding: 1rem 0;
    border-bottom: 2pt solid #c9a84c;
  }

  .hero-eyebrow {
    color: #c9a84c !important;
    font-size: 9pt;
    letter-spacing: 0.12em;
  }

  /* Cards / callout cards */
  .card,
  .callout-card,
  .contact-detail {
    border: 1pt solid #ccc !important;
    background: #fff !important;
    color: #111 !important;
    page-break-inside: avoid;
  }

  .callout-num {
    color: #c9a84c !important;
  }

  /* Gold accent text stays gold in print */
  span[style*="color: var(--gold)"],
  .gold {
    color: #c9a84c !important;
  }

  /* Container width */
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Grid layouts collapse to single column */
  .contact-grid,
  .results-grid,
  .two-col {
    display: block !important;
  }

  /* Page breaks */
  section,
  .section {
    page-break-inside: avoid;
  }

  /* Headshot */
  img.headshot,
  picture img {
    max-width: 120pt;
    float: left;
    margin: 0 1rem 1rem 0;
  }
}

/* ============================================================
   2026 ENHANCEMENTS — added 2026-05-30
   Surgical, performance-conscious, reduced-motion aware.
   Layered on the original system. Original files backed up to
   /Backups/.  Nothing above this line was changed.
   ============================================================ */

/* ── Refined hero lighting (layered aurora) ───────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55rem 28rem at 8% -12%, rgba(201,168,76,0.10), transparent 60%),
    radial-gradient(42rem 26rem at 112% 118%, rgba(74,184,184,0.06), transparent 62%);
}
.hero .container { position: relative; z-index: 1; }

/* ── Buttons: refined hover glow ──────────────────────────── */
.btn-primary:hover { box-shadow: 0 12px 32px -10px rgba(201,168,76,0.55); }

/* ── .glow-card kept inert: mouse spotlight removed per request ─ */
.glow-card { position: relative; }

/* ── Tabular numerals + reserved width = zero layout shift (CLS) ─ */
.stat-number, .bento-num, .bento-mini .n, .case-metric .n {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bento-mini { min-width: 100px; }
.case-metric { min-width: 120px; }

/* ── Universal lift on existing cards (gentle, GPU-friendly) ─ */
.callout-card,
.edu-card,
.skills-card { transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.callout-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.35); box-shadow: 0 16px 36px -22px rgba(0,0,0,0.75); }
.skills-card:hover { box-shadow: 0 18px 44px -26px rgba(0,0,0,0.8); }

/* ── BENTO GRID (signature 2026 layout) ───────────────────── */
.bento-section { padding: 5rem 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(148px, auto);
  gap: 1.1rem;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.6rem 1.55rem;
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover { border-color: rgba(201,168,76,0.4); box-shadow: 0 20px 46px -26px rgba(0,0,0,0.85); }
.bento-kicker { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.bento-num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; color: var(--gold); line-height: 1; }
.bento-card h3 { font-family: var(--font-display); color: var(--white); font-size: 1.12rem; line-height: 1.25; }
.bento-card p { font-size: 0.85rem; color: var(--grey-light); line-height: 1.55; }
.bento-card .bento-link { font-size: 0.8rem; font-weight: 600; color: var(--gold); letter-spacing: 0.03em; margin-top: auto; }
.bento-card .bento-icon { font-size: 1.5rem; line-height: 1; }
.bento-feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(158deg, rgba(201,168,76,0.13), rgba(201,168,76,0.02)); border-color: rgba(201,168,76,0.3); }
.bento-wide { grid-column: span 2; }
.bento-mini-row { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 0.4rem; }
.bento-mini .n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.bento-mini .l { font-size: 0.68rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }
@media (max-width: 880px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-feature, .bento-wide { grid-column: span 1; }
}

/* ── FLAGSHIP CASE STUDY (scroll-told narrative) ──────────── */
.case { background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%); border-top: 1px solid var(--navy-border); border-bottom: 1px solid var(--navy-border); }
.case-steps { margin-top: 2.6rem; }
.case-step {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2.6rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--navy-border);
}
.case-step:first-child { border-top: none; padding-top: 0; }
.case-step-num { font-family: var(--font-display); font-size: 3.1rem; font-weight: 700; color: rgba(201,168,76,0.32); line-height: 1; }
.case-step-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); font-weight: 600; margin-top: 0.5rem; }
.case-step h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.7rem; }
.case-step p { font-size: 0.96rem; color: var(--grey-light); line-height: 1.7; }
.case-metric-row { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 1.5rem; }
.case-metric .n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold); line-height: 1; }
.case-metric .l { font-size: 0.72rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.35rem; }
@media (max-width: 760px) {
  .case-step { grid-template-columns: 1fr; gap: 0.7rem; }
  .case-step-num { font-size: 2.3rem; }
}

/* ── Reduced-motion: disable all motion-driven enhancements ─ */
@media (prefers-reduced-motion: reduce) {
  .btn, .bento-card, .callout-card, .edu-card, .skills-card { transition: none !important; }
  .bento-card:hover, .callout-card:hover { transform: none !important; }
}

/* ============================================================
   SVG ILLUSTRATIONS + ANIMATION LAYER — added 2026-06-18
   Inline gold line-art spot graphics, the "How I Help" band,
   and subtle scroll-triggered motion. Every animation is gated
   behind BOTH prefers-reduced-motion: no-preference AND a
   .viz-on class that enhance.js adds when a graphic scrolls
   into view. Result: no-JS and reduced-motion users still get
   the complete static artwork; nothing above this line changed.
   ============================================================ */

/* Base: SVGs fill their (always sized) wrapper, vector-crisp at any DPI */
.viz { width: 100%; height: auto; display: block; overflow: visible; }

/* Spot graphic that floats beside body copy to break up text */
.summary-spot {
  float: right;
  width: 154px;
  margin: 0.2rem 0 1.1rem 1.9rem;
  shape-outside: margin-box;
}
.summary-spot .viz-cap {
  display: block; text-align: center; margin-top: 0.5rem;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); font-weight: 600;
}
@media (max-width: 620px) {
  .summary-spot { float: none; width: 170px; margin: 1.6rem auto 0.4rem; }
}

/* Results section-header illustration — melded to the LEFT of the heading,
   vertically centred against the title + description (no more far-right float). */
.chart-header:has(.sec-illo) {
  display: grid;
  grid-template-columns: 116px 1fr;
  column-gap: 1.6rem;
  align-items: center;
}
.chart-header .sec-illo { width: 116px; margin: 0; }
.chart-header:has(.sec-illo) .sec-illo { grid-column: 1; grid-row: 1 / -1; align-self: center; }
.chart-header:has(.sec-illo) > :not(.sec-illo) { grid-column: 2; }
/* Grid items stretch by default — keep the gold tag pill hugging its own text */
.chart-header:has(.sec-illo) .tag { justify-self: start; }
/* A little breathing room between the header text and the data block below */
.chart-header { margin-bottom: 1.1rem; }
@media (max-width: 600px) {
  .chart-header:has(.sec-illo) { grid-template-columns: 1fr; }
  .chart-header:has(.sec-illo) .sec-illo { grid-row: auto; width: 84px; margin-bottom: 0.5rem; }
  .chart-header:has(.sec-illo) > :not(.sec-illo) { grid-column: 1; }
}

/* Small icon melded into an individual chart-card label row */
.chart-ico-label { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.chart-ico-label .ci { width: 54px; flex-shrink: 0; margin: 0; }
.chart-ico-label .ci-text { font-size: 0.75rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; line-height: 1.3; }

/* Refined line-art icons on the results CTA cards */
.cta-ico { display: block; }

/* Approachability graphic on the contact page */
.contact-illo { width: 200px; max-width: 60%; margin: 0 0 2rem; }

/* 404 search graphic */
.err-illo { width: 180px; margin: 0 auto 2rem; }

/* ── "HOW I HELP" SERVICES BAND ──────────────────────────── */
.help-section {
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--navy-border);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.help-card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem 1.5rem;
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.help-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 20px 46px -26px rgba(0,0,0,0.85);
}
.help-illo {
  width: 100%;
  max-width: 152px;
  margin: 0 auto 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--navy-border);
}
.help-card h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.help-card p {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}
.help-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: auto;
}
.help-link:hover { color: var(--gold-light); }
.help-cta { text-align: center; margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 880px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .help-grid { grid-template-columns: 1fr; } }

/* ── MOTION (only for users who haven't asked to reduce it) ── */
@media (prefers-reduced-motion: no-preference) {

  /* Line / arrow self-draw (paths carry pathLength="1") */
  .viz-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .viz-on .viz-draw { stroke-dashoffset: 1; animation: vizDraw 1.05s var(--ease) 0.15s forwards; }
  @keyframes vizDraw { to { stroke-dashoffset: 0; } }

  /* Bars and coin-stacks grow up from the baseline */
  .viz-bar { transform-box: fill-box; transform-origin: bottom center; }
  .viz-on .viz-bar { animation: vizBar 0.7s var(--ease) both; }
  .viz-on .viz-bar.b1 { animation-delay: 0.08s; }
  .viz-on .viz-bar.b2 { animation-delay: 0.20s; }
  .viz-on .viz-bar.b3 { animation-delay: 0.32s; }
  .viz-on .viz-bar.b4 { animation-delay: 0.44s; }
  @keyframes vizBar { from { transform: scaleY(0); opacity: 0.15; } to { transform: scaleY(1); opacity: 1; } }

  /* Data dots + review stars pop in sequence */
  .viz-dot, .viz-star, .viz-star-sm { transform-box: fill-box; transform-origin: center; }
  .viz-on .viz-dot { animation: vizPop 0.4s var(--ease) both; }
  .viz-on .viz-dot.d1 { animation-delay: 0.55s; }
  .viz-on .viz-dot.d2 { animation-delay: 0.68s; }
  .viz-on .viz-dot.d3 { animation-delay: 0.81s; }
  .viz-on .viz-star { animation: vizPop 0.42s var(--ease) both; }
  .viz-on .viz-star.s1 { animation-delay: 0.10s; }
  .viz-on .viz-star.s2 { animation-delay: 0.20s; }
  .viz-on .viz-star.s3 { animation-delay: 0.30s; }
  .viz-on .viz-star.s4 { animation-delay: 0.40s; }
  .viz-on .viz-star.s5 { animation-delay: 0.50s; }
  @keyframes vizPop { 0% { transform: scale(0); } 70% { transform: scale(1.22); } 100% { transform: scale(1); } }

  /* Map pin drops, then a teal pulse ring radiates (loops) */
  .viz-drop { transform-box: fill-box; transform-origin: 50% 100%; }
  .viz-on .viz-drop { animation: vizDrop 0.75s var(--ease) both; }
  @keyframes vizDrop {
    0%   { transform: translateY(-16px) scale(0.5); opacity: 0; }
    55%  { opacity: 1; }
    78%  { transform: translateY(2px) scale(1.04); }
    100% { transform: translateY(0) scale(1); }
  }
  .viz-pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }
  .viz-on .viz-pulse { animation: vizPulse 2.8s ease-out 0.6s infinite; }
  @keyframes vizPulse { 0% { transform: scale(0.5); opacity: 0; } 20% { opacity: 0.65; } 100% { transform: scale(1.3); opacity: 0; } }

  /* Revenue coin gently floats (loops) */
  .viz-float { transform-box: fill-box; transform-origin: center; }
  .viz-on .viz-float { animation: vizFloat 3.2s ease-in-out infinite; }
  @keyframes vizFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

  /* Chat reply "typing" dots (loops) */
  .viz-type { transform-box: fill-box; transform-origin: center; }
  .viz-on .viz-type { animation: vizType 1.4s ease-in-out infinite; }
  .viz-on .viz-type.d2 { animation-delay: 0.18s; }
  .viz-on .viz-type.d3 { animation-delay: 0.36s; }
  @keyframes vizType { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
}

/* ── FAQ (accordion; visible content backing FAQPage schema) ── */
.faq-section { border-top: 1px solid var(--navy-border); }
.faq-list { max-width: 820px; margin: 2.6rem auto 0; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: rgba(201,168,76,0.4); box-shadow: 0 16px 40px -28px rgba(0,0,0,0.8); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-light); }
.faq-a { padding: 0 1.4rem 1.2rem; }
.faq-a p { font-size: 0.95rem; color: var(--grey-light); line-height: 1.7; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-item summary::after { transition: none !important; }
}
