/* ============================================================
   Bell Investigations: Design System
   "Case File" aesthetic: navy/charcoal + gold, condensed display
   type paired with an editorial serif body, mono-type case labels.
   ============================================================ */

@import url('../fonts/local-fonts.css');

:root {
  --navy: #2D3E4F;
  --navy-dark: #202E3B;
  --charcoal: #161B22;
  --gold: #F7B131;
  --gold-dark: #D9962A;
  --ice: #E2F2FD;
  --blue: #2E86DE;
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --ink: #1B242D;
  --ink-soft: #56636E;
  --line: rgba(45, 62, 79, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);

  --display: 'Barlow Condensed', sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

p { margin: 0 0 1.2em; color: var(--ink-soft); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Motion: on-load hero + scroll reveal ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.load-in { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.load-in-1 { animation-delay: 0.05s; }
.load-in-2 { animation-delay: 0.2s; }
.load-in-3 { animation-delay: 0.34s; }
.load-in-4 { animation-delay: 0.48s; }
.load-in-5 { animation-delay: 0.62s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 350ms; }
.stagger > .reveal:nth-child(7) { transition-delay: 420ms; }
.stagger > .reveal:nth-child(8) { transition-delay: 490ms; }

@media (prefers-reduced-motion: reduce) {
  .load-in, .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Section rhythm modifiers ---------- */
.section-tight { padding: 56px 0; }
.section-loose { padding: 136px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); text-decoration: none; box-shadow: 0 14px 28px -14px rgba(217,150,42,0.6); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); text-decoration: none; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 14px 28px -16px rgba(45,62,79,0.5); }
.btn-arrow::after { content: '\2192'; transition: transform 0.2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo img { height: 42px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 10px 16px;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}
.main-nav a::before {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::before { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-dark); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--gold);
}
.main-nav a.active::before { display: none; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 24px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}
.nav-toggle span { top: 11px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(247,177,49,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,177,49,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black 10%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 { color: var(--white); }
.hero h1 .gold { color: var(--gold); }
.hero-lede {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}
.hero-stats .stat-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stats .stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-ice { background: var(--ice); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }
.section-charcoal { background: var(--charcoal); color: var(--white); }
.section-charcoal h2, .section-charcoal h3 { color: var(--white); }
.section-charcoal p { color: rgba(255,255,255,0.7); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head .lede { max-width: 480px; margin: 0; }
.section-head h2 { margin-bottom: 10px; }

/* ---------- Service / File cards ---------- */
.file-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 860px) { .file-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .file-grid { grid-template-columns: 1fr; } }
.file-card {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
  overflow: hidden;
}
.file-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}
.file-card:hover {
  background: var(--paper);
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -26px rgba(22,27,34,0.4);
  z-index: 1;
}
.file-card:hover::before { width: 3px; }
.file-card .file-no {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
}
.file-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.file-card p { font-size: 0.95rem; margin-bottom: 14px; }
.file-card .file-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.folder-photo {
  position: relative;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--white);
}
.folder-photo img { width: 100%; height: 380px; object-fit: cover; object-position: center 12%; }
.folder-photo .tab {
  position: absolute;
  top: -1px; left: 32px;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  transform: translateY(-100%);
}

.check-list { list-style: none; margin: 0 0 28px; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--serif);
  color: var(--ink-soft);
}
.section-navy .check-list li { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.check-list li::before { content: '\2713'; color: var(--gold-dark); font-weight: 700; flex-shrink: 0; }
.section-navy .check-list li::before { color: var(--gold); }
.post-body .check-list li::before { content: '\2192'; }

/* ---------- Values / credentials strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.value-item .file-no { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; }
.value-item h4 { margin-top: 10px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gold);
  color: var(--charcoal);
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 { color: var(--charcoal); }
.cta-banner p { color: rgba(22,27,34,0.75); max-width: 520px; margin: 0 auto 30px; }
.cta-banner .btn-outline-dark { border-color: var(--charcoal); color: var(--charcoal); }
.cta-banner .btn-outline-dark:hover { background: var(--charcoal); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.footer-brand { flex: 1 1 260px; }
.footer-nav-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
@media (max-width: 760px) { .footer-nav-cols { gap: 32px; } }
.footer-grid img { height: 34px; margin-bottom: 16px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: inherit; text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal-links a:not(:last-child)::after { content: '\00b7'; margin: 0 8px; text-decoration: none; display: inline-block; color: rgba(255,255,255,0.4); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.breadcrumb {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
}
textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 18px;
  line-height: 1.6;
}

/* ---------- Contact detail cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 64px;
}
.contact-card { background: var(--white); padding: 32px; transition: background 0.2s ease; }
.contact-card:hover { background: var(--paper); }
.contact-card .file-no { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.1em; display:block; margin-bottom: 14px;}
.contact-card a, .contact-card p { font-size: 1rem; }
.contact-card strong { display: block; color: var(--navy); font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}
.faq-q .plus {
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding-bottom: 26px; max-width: 720px; }

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
}
.post-card { border-top: 2px solid var(--navy); padding-top: 22px; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.post-card:hover { transform: translateY(-6px); }
.post-card h3 a { color: var(--navy); }
.post-card:hover h3 a { color: var(--blue); }
.post-card .file-no { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.08em; }
.post-card h3 { margin: 10px 0 12px; font-size: 1.3rem; }
.post-card .post-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.post-body { max-width: 720px; margin: 0 auto; }
.post-body h2 { margin-top: 1.4em; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-style: italic;
  color: var(--navy);
  font-size: 1.15rem;
}

/* ---------- Stat panel (big numeral callout, stands in for a photo) ---------- */
.stat-panel {
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px), var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.stat-panel .stat-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: 5.5rem;
  color: var(--gold);
  line-height: 1;
}
.stat-panel .stat-caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  max-width: 220px;
  line-height: 1.6;
}

/* ---------- Dossier list (services detail page) ---------- */
.dossier-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.dossier-row:first-child { padding-top: 0; }
.dossier-row:last-child { border-bottom: none; }
.dossier-num {
  font-family: var(--display);
  font-size: 4.2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  line-height: 1;
  transition: -webkit-text-stroke-color 0.3s ease;
}
.dossier-row:hover .dossier-num { -webkit-text-stroke-color: var(--gold-dark); }
.dossier-body h3 { margin-bottom: 10px; }
.dossier-body p { max-width: 640px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 6px; }
@media (max-width: 640px) {
  .dossier-row { grid-template-columns: 1fr; gap: 8px; }
  .dossier-num { font-size: 2.6rem; }
}

/* ---------- Feature block (single distinguished service) ---------- */
.feature-block {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 36px;
}

/* ---------- Team / bio ---------- */
.bio-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 700px) { .bio-card { grid-template-columns: 1fr; } }
.bio-photo { border: 1px solid var(--line); padding: 10px; background: var(--white); }
.bio-photo img { width: 100%; height: 300px; object-fit: cover; object-position: center 12%; background: var(--navy); }

/* ---------- Photo placeholder slots (swap for real photography) ---------- */
.photo-slot {
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px), var(--navy);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}
.bio-photo .photo-slot { height: 300px; }

/* ---------- Seal panel (monogram badge, stands in for a portrait) ---------- */
.seal-panel {
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px), var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.bio-photo .seal-panel { height: 300px; }
.seal-ring {
  width: 132px; height: 132px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.seal-ring::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(247,177,49,0.5);
  border-radius: 50%;
}
.seal-ring span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.seal-caption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ---------- Step panel (sequential process, no implied magnitude) ---------- */
.step-panel {
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(247,177,49,0.06) 0 2px, transparent 2px 12px), var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}
.step-row {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  padding-bottom: 30px;
}
.step-row:last-child { padding-bottom: 0; }
.step-row:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: rgba(247,177,49,0.35);
}
.step-num {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold);
  background: var(--charcoal);
  flex-shrink: 0;
  z-index: 1;
}
.step-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ---------- Index panel (unordered set of contents, no implied magnitude) ---------- */
.index-panel {
  height: 380px;
  background: repeating-linear-gradient(135deg, rgba(247,177,49,0.06) 0 2px, transparent 2px 12px), var(--charcoal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.index-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px;
  text-align: center;
}
.index-tile .index-letter {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.index-tile .index-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.credential-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 6px 12px;
  margin: 4px 8px 0 0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.placeholder-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue);
  background: rgba(46,134,222,0.08);
  border: 1px dashed rgba(46,134,222,0.4);
  padding: 10px 14px;
  margin-bottom: 20px;
  display: inline-block;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 24px;
    gap: 2px;
  }
  .site-header.nav-open .main-nav a { padding: 14px 0; border-bottom: 1px dashed var(--line); }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 90px 0 70px; }
}
