/* =========================================================
   THE SMB SOLUTION — Editorial Firm Design System
   Palette A · Executive Navy & Gold
   Fraunces (serif headlines) · Inter (body) · IBM Plex Mono (labels)
   Editorial dark + light: ink hero/CTA bands, light & paper sections
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --ink: #0C2340;          /* deep navy — dark bands, footer */
  --ink-2: #0E2A4C;        /* slightly lifted navy */
  --navy: #1B4A8B;         /* primary blue — links / solid buttons */
  --navy-deep: #163C70;
  --gold: #C99A3B;         /* accent */
  --gold-deep: #B0822A;
  --gold-soft: #D8AE54;

  /* Light surfaces */
  --white: #FFFFFF;
  --paper: #F7F5F0;        /* warm off-white section */
  --paper-2: #F1EEE6;

  /* Text */
  --text: #1C2A3A;         /* on light */
  --text-muted: #5B6B7E;   /* on light */
  --text-dim: #8A98A8;
  --on-dark: #F4F6FA;      /* on ink */
  --on-dark-muted: #AFC0D6;

  /* Lines */
  --line: rgba(12, 35, 64, 0.12);
  --line-strong: rgba(12, 35, 64, 0.20);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-strong: rgba(255, 255, 255, 0.26);

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Geometry */
  --radius: 8px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --maxw-narrow: 920px;
  --nav-h: 76px;

  --shadow-sm: 0 6px 20px -12px rgba(12, 35, 64, 0.22);
  --shadow: 0 22px 50px -28px rgba(12, 35, 64, 0.40);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--text);
}
.serif-italic { font-style: italic; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; background: var(--white); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.center { text-align: center; }
.muted { color: var(--text-muted); }

/* On-ink helpers */
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark); }
.section--ink .muted { color: var(--on-dark-muted); }

/* ---------- Eyebrow (mono label = the "tech" cue) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.section--ink .eyebrow, .ink-band .eyebrow, .hero .eyebrow { color: var(--gold); }

/* ---------- Headings / intros ---------- */
.section-title { font-size: clamp(30px, 4.6vw, 50px); }
.section-intro { color: var(--text-muted); font-size: clamp(16px, 2vw, 19.5px); max-width: 720px; }
.section--ink .section-intro { color: var(--on-dark-muted); }
.center .section-intro { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--text-muted); line-height: 1.6; }
.section--ink .lead { color: var(--on-dark-muted); }

/* Decorative rule under section headers */
.rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0 0 26px; border-radius: 2px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .16s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn--gold, .btn--primary { background: var(--gold); color: var(--ink); }
.btn--gold:hover, .btn--primary:hover { background: var(--gold-soft); box-shadow: var(--shadow-sm); }

.btn--navy, .btn--secondary { background: var(--navy); color: #fff; }
.btn--navy:hover, .btn--secondary:hover { background: var(--navy-deep); }

/* Outline (context aware): dark on light, light on ink */
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.ink-band .btn--ghost, .section--ink .btn--ghost, .hero .btn--ghost { color: #fff; border-color: var(--line-dark-strong); }
.ink-band .btn--ghost:hover, .section--ink .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Text link with arrow */
.link-arrow { font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.link-arrow:hover { color: var(--gold-deep); }
.section--ink .link-arrow { color: var(--gold); }

/* ---------- Navigation (white, professional) ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.95); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.logo-fallback { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.logo-fallback b { color: var(--ink); font-weight: 600; }
.logo-fallback span { color: var(--gold-deep); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-weight: 500; font-size: 15px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; display: block; height: 2px; width: 18px; margin: 5px auto 0; background: var(--gold); border-radius: 2px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle:hover { background: rgba(12,35,64,0.06); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--white); border-bottom: 1px solid var(--line);
  transform: translateY(-120%); transition: transform .35s cubic-bezier(.16,1,.3,1);
  padding: 18px 28px 28px; box-shadow: var(--shadow);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.mobile-menu a { display: block; padding: 13px 14px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 17px; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--paper); color: var(--navy); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ---------- Hero (ink band) ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px); }

/* Background video — hidden until ready; fallback is the navy bg + grid below */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.hero-video.is-ready { opacity: 0.5; }  /* subtle, so the serif headline stays dominant */

/* Navy overlay keeps the white headline crisp over any footage */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,35,64,0.70) 0%, rgba(12,35,64,0.82) 100%),
    linear-gradient(90deg, rgba(12,35,64,0.92) 0%, rgba(12,35,64,0.50) 58%, rgba(12,35,64,0.32) 100%);
}

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 90% at 75% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 75% 0%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 120%; z-index: 2;
  background: radial-gradient(closest-side, rgba(201,154,59,0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; max-width: 880px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6.4vw, 72px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero .subhead { font-size: clamp(18px, 2.4vw, 23px); color: var(--on-dark-muted); margin: 18px 0 0; font-family: var(--font-body); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- Inner page hero (ink band, no video) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(72px, 9vw, 124px) 0 clamp(52px, 7vw, 84px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 95% at 80% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 95% at 80% 0%, #000 25%, transparent 78%);
}
.page-hero::after {
  content: ""; position: absolute; top: -25%; right: -8%; width: 55%; height: 130%; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,154,59,0.14), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-copy { max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); font-weight: 500; letter-spacing: -0.02em; }
.page-hero .lead { color: var(--on-dark-muted); margin-top: 18px; max-width: 760px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Section header block ---------- */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.section--paper .card { background: var(--white); }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card h3 { font-size: 22px; }
.card p { color: var(--text-muted); margin: 0; font-size: 15.5px; }

/* P7 pillar cards — editorial */
.pillar { position: relative; padding-top: 28px; }
.pillar::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px; background: var(--gold); border-radius: 0 0 2px 2px; opacity: .85; }
.pillar .tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
}
.pillar .tag b { color: var(--gold-deep); font-weight: 600; }
.pillar h3 { font-size: 23px; margin-bottom: 10px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps-3 { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 6px; }
.step .step-num {
  font-family: var(--font-head); font-weight: 500; font-size: 19px;
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); background: transparent;
  border: 1.5px solid var(--gold); margin-bottom: 20px;
}
.section--ink .step .step-num { color: var(--gold); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--text-muted); margin: 0; font-size: 16px; }
.section--ink .step p { color: var(--on-dark-muted); }

/* Numbered list (Services How It Works) */
.numbered { display: grid; gap: 14px; counter-reset: n; padding: 0; margin: 0; list-style: none; }
.numbered li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px;
}
.numbered li::before {
  counter-increment: n; content: counter(n);
  font-family: var(--font-head); font-weight: 500; font-size: 18px;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); border: 1.5px solid var(--gold);
}
.numbered li h3 { font-size: 19px; margin-bottom: 4px; }
.numbered li p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.checklist li svg { width: 24px; height: 24px; color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.section--ink .checklist li svg { color: var(--gold); }

/* ---------- Split panels ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.section--paper .panel { background: var(--white); }
.panel--bordered { border-left: 3px solid var(--gold); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0; max-width: var(--maxw-narrow); margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-head); font-weight: 500; font-size: 20px;
  padding: 26px 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--navy); }
.faq-q .chev { transition: transform .3s ease; flex-shrink: 0; color: var(--gold-deep); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 8px 26px; color: var(--text-muted); font-size: 16.5px; max-width: 80ch; }

/* ---------- Portrait / media frame ---------- */
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--ink); }
.portrait .monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 500; font-size: clamp(64px, 12vw, 110px); color: var(--gold); background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 60%, #143A6B 100%); letter-spacing: .02em; }
.portrait .monogram span { opacity: .9; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Credentials bar ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 14px; }
.cred {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 11px 18px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--text);
  background: var(--white);
}
.cred svg { width: 18px; height: 18px; color: var(--gold-deep); }
.section--ink .cred { background: var(--ink-2); border-color: var(--line-dark-strong); color: var(--on-dark); }
.section--ink .cred svg { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 48px); color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 620px; margin: 0 auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--text-muted); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--text); padding: 13px 15px; font-size: 15.5px; font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,74,139,0.14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23B0822A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-status { font-size: 14.5px; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(27,74,139,0.08); border: 1px solid rgba(27,74,139,0.30); color: var(--navy); }
.form-status.error { background: rgba(214,69,69,0.08); border: 1px solid rgba(214,69,69,0.35); color: #B23B3B; }
.form-card .btn { width: 100%; justify-content: center; }

/* ---------- Contact info / map ---------- */
.info-list { display: grid; gap: 20px; }
.info-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.info-item .ic { width: 48px; height: 48px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); color: var(--gold-deep); }
.section--ink .info-item .ic { background: var(--ink-2); border-color: var(--line-dark); color: var(--gold); }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dim); }
.section--ink .info-item .label { color: var(--on-dark-muted); }
.info-item .value { color: var(--text); font-size: 17px; }
.section--ink .info-item .value { color: var(--on-dark); }
.info-item a.value:hover { color: var(--gold-deep); }
.section--ink .info-item a.value:hover { color: var(--gold); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card .post-date { font-family: var(--font-mono); font-size: 12px; color: var(--gold-deep); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.post-card h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.18; }
.post-card p { flex: 1; }
.post-card .read-more { margin-top: 20px; }

/* Article (single post) */
.article { max-width: 760px; margin: 0 auto; }
.article-head { max-width: 820px; margin: 0 auto; text-align: center; }
.article-head h1 { font-size: clamp(32px, 5vw, 54px); }
.article-meta { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--text-dim); margin-top: 16px; text-transform: uppercase; }
.article-body { font-size: 18.5px; color: #34424F; line-height: 1.75; }
.article-body h2 { color: var(--text); font-size: clamp(26px, 3vw, 34px); margin-top: 1.7em; }
.article-body h3 { color: var(--text); font-size: 24px; margin-top: 1.4em; }
.article-body p { margin: 0 0 1.25em; }
.article-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 1.25em; }
.article-body li { margin-bottom: .55em; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body blockquote { margin: 1.4em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); font-family: var(--font-head); font-style: italic; font-size: 22px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-brand .logo-fallback b { color: #fff; }
.footer-brand .logo-fallback span { color: var(--gold); }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--on-dark-muted); max-width: 330px; font-size: 15px; margin: 16px 0 20px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col span { color: var(--on-dark-muted); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark-muted); transition: all .2s ease; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 52px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--on-dark-muted); font-size: 13.5px; }
.footer-bottom .font-mono { font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 44px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
