/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Brand palette — Yeich Consulting brand sheet, 2026-08-06 */
  --ink: #000000;
  --ink-soft: #1E1E1E;
  --muted: #555555;
  --paper: #F5F5F5;
  --white: #FFFFFF;
  --gold: #B68C3A;      /* dark grounds, rules, large display type only */
  --gold-ink: #8A6A2A;  /* small gold text on light grounds — #B68C3A is 2.83:1 there */

  --hairline: rgba(0, 0, 0, 0.12);
  --hairline-dark: rgba(255, 255, 255, 0.16);

  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1280px;
  --gutter: 32px;
  --section-y: 120px;
  --nav-height: 72px;
  --radius: 2px;
  --transition: 240ms ease-out;
}

@media (max-width: 900px) {
  :root { --section-y: 96px; --gutter: 20px; }
}
@media (max-width: 600px) {
  :root { --section-y: 72px; }
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 6.5vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 24px; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 500; }

/* ─── CONTAINER ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── UTILITIES ─── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* A short gold tick leads every eyebrow, so section openings share one signature. */
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.band-dark .eyebrow { color: var(--gold); }

/* The sentence under a section heading that sets up the section. */
.section-lede {
  font-size: 20px;
  line-height: 1.6;
  max-width: 60ch;
  color: var(--ink-soft);
  margin-top: -8px;
}

.rule-gold {
  width: 64px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 32px 0;
}

.band-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }

.band-paper { background: var(--paper); }
.band-white { background: var(--white); }

section {
  padding: var(--section-y) 0;
  /* The bar is fixed, so anchor targets need to clear it. */
  scroll-margin-top: var(--nav-height);
}

/* ─── BUTTONS ─── */
.btn-primary, .btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 34px;
  border-radius: var(--radius);
  min-height: 44px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); }

.band-dark .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.band-dark .btn-primary:hover { background: var(--white); border-color: var(--white); }
.band-dark .btn-ghost { color: var(--white); border-color: var(--hairline-dark); }
.band-dark .btn-ghost:hover { border-color: var(--white); }

.btn-primary:focus-visible, .btn-ghost:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}
.band-dark .btn-primary:focus-visible, .band-dark .btn-ghost:focus-visible {
  outline-color: var(--gold);
}
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }

/* The monogram's <symbol> sheet. A class, not a style attribute, so the
   Content-Security-Policy in netlify.toml can refuse inline styles. */
.sprite { position: absolute; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  /* Clear of the viewport by a full box height: at -48px the border showed as a
     white sliver against the black hero. */
  top: -96px;
  left: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 12px;
}

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

/* Solid once the black hero has scrolled away. `scrolled` is set by script.js. */
#navbar.scrolled {
  background: rgba(245, 245, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--hairline);
}

/* Over the hero the bar is transparent, so everything in it inverts. */
#navbar:not(.scrolled) .nav-brand,
#navbar:not(.scrolled) .nav-wordmark { color: var(--white); }
#navbar:not(.scrolled) .nav-wordmark-sub { color: rgba(255, 255, 255, 0.6); }
#navbar:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.72); }
#navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }
#navbar:not(.scrolled) .nav-toggle span { background: var(--white); }
#navbar:not(.scrolled) .btn-nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
}
#navbar:not(.scrolled) .btn-nav-cta:hover { background: var(--white); }
#navbar:not(.scrolled) .nav-links a:focus-visible,
#navbar:not(.scrolled) .nav-toggle:focus-visible { outline-color: var(--gold); }

/* The open mobile menu always needs its own solid ground, scrolled or not, and
   so does the bar above it, otherwise a seam shows where they meet. */
#navbar.menu-open {
  background: var(--paper);
  border-bottom-color: transparent;
}
#navbar.menu-open .nav-brand,
#navbar.menu-open .nav-wordmark { color: var(--ink); }
#navbar.menu-open .nav-wordmark-sub { color: var(--muted); }
#navbar.menu-open .nav-toggle span { background: var(--ink); }

#navbar:not(.scrolled) .nav-links.open a { color: var(--muted); }
#navbar:not(.scrolled) .nav-links.open a:hover { color: var(--ink); }
#navbar:not(.scrolled) .nav-links.open .btn-nav-cta { color: var(--white) !important; background: var(--ink); }

/* Mirrors the supplied horizontal lockup: mark, hairline divider, then the
   wordmark stacked over CONSULTING. */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.monogram { width: 34px; height: 34px; flex-shrink: 0; }
.nav-divider {
  width: 1px;
  height: 30px;
  background: currentColor;
  opacity: 0.28;
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  /* The tracking adds a trailing gap the divider would otherwise sit against. */
  padding-right: 0.22em;
}
/* CONSULTING is tracked to sit flush under YEICH, as it does in the artwork. */
.nav-wordmark-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 5px;
  padding-right: 0.42em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  padding: 12px 0;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 4px;
  background: var(--gold);
}
#navbar:not(.scrolled) .nav-links a.current { color: var(--white); }
.nav-links a:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}

.btn-nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 13px 26px !important;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background var(--transition);
}
.btn-nav-cta:hover { background: var(--ink-soft); }
.btn-nav-cta:active { background: var(--muted); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

/* The button carried .open from the start with no rule behind it, so the
   hamburger never became an X. */
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Tap-outside-to-close. Sits under the panel, over the page. */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.4);
  border: 0;
  padding: 0;
}
body.nav-open { overflow: hidden; }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 16px var(--gutter) 28px;
    display: none;
  }
  .nav-links.open { display: flex; align-items: stretch; z-index: 100; }
  /* Block, not inline: an inline <a>'s vertical padding does not expand its line
     box, so the CTA's padding collided with the link above it. */
  .nav-links a { display: block; padding: 16px 0; font-size: 17px; }
  .btn-nav-cta { display: inline-block; margin-top: 16px; }
}

/* ─── HERO ─── */
#hero {
  padding: calc(var(--nav-height) + 104px) 0 104px;
  position: relative;
  overflow: hidden;
}

/* A single warm light source off the top-left, so the black band has depth
   without a gradient that fights the flat brand. Also used on #contact. */
.hero-glow {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 900px;
  height: 900px;
  max-width: 120vw;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(182, 140, 58, 0.16), rgba(182, 140, 58, 0) 100%);
}
#contact { position: relative; overflow: hidden; }
#contact .hero-glow { top: auto; bottom: -45%; left: auto; right: -12%; }

/* Full container width, so the hero's left edge lines up with every section
   below it. The measure is constrained per element instead. */
.hero-inner { position: relative; }
#hero h1 { max-width: 900px; }
.hero-monogram {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin-bottom: 40px;
}
.hero-sub {
  font-size: 21px;
  line-height: 1.6;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* Heads the four figures so they read as the leadership's record, not the firm's. */
.hero-stats-caption {
  margin-top: 88px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero-stats-caption + .hero-stats { margin-top: 16px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline-dark);
}
/* Each stat is ruled off from the next, so the four read as a table of record
   rather than four floating brag numbers. */
.hero-stat + .hero-stat { border-left: 1px solid var(--hairline-dark); padding-left: 40px; }
.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.hero-stat-body { margin: 0; }
.hero-stat-figure {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
/* Provenance under every number. A stat without a source is a claim. */
.hero-stat-note {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

@media (max-width: 860px) {
  #hero { padding: calc(var(--nav-height) + 80px) 0 72px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
  .hero-stats-caption { margin-top: 56px; }
  .hero-stat + .hero-stat { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { text-align: center; }
}

/* ─── CLIENT BAND ─── */
/* Reads as the closing shelf of the hero, not a section of its own. */
.client-band {
  padding: 0 0 56px;
  border-bottom: 1px solid var(--hairline-dark);
}
.client-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px 40px;
}
.client-band-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}
.client-band-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.client-band-list li {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 600px) {
  .client-band { padding-bottom: 40px; }
  .client-band-list { gap: 10px 24px; }
  .client-band-list li { font-size: 17px; }
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card ul { flex: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
}
.service-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}
.service-card h3 { margin-bottom: 16px; }
.service-card p { font-size: 17px; margin-bottom: 24px; }
.service-card ul { display: grid; gap: 10px; margin-bottom: 32px; }
.service-card li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.service-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color var(--transition);
}
.service-link:hover { color: var(--gold-ink); }
.service-link:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.service-card:hover .service-link::after { transform: translateX(4px); }

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }
}

/* ─── CASE STUDIES ─── */
.work-rows { margin-top: 56px; border-top: 1px solid var(--hairline); }
.work-row {
  display: grid;
  grid-template-columns: 72px 1fr 320px;
  gap: 40px;
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color var(--transition);
}
/* A ruled row, so the hover cue is the rule and the numeral, never a card lift. */
.work-row:hover { border-bottom-color: var(--gold); }
.work-row:hover .work-index { color: var(--ink); }
.work-index {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-ink);
  padding-top: 4px;
  transition: color var(--transition);
}
.work-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}
.work-body h3 { margin-bottom: 12px; }
.work-challenge { font-size: 17px; max-width: 52ch; }
.work-metric {
  border-left: 1px solid var(--hairline);
  padding-left: 32px;
}
.work-metric-figure {
  font-family: var(--font-display);
  font-size: clamp(38px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  font-variant-numeric: tabular-nums;
}
.work-metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: block;
  margin-top: 8px;
}
.work-result { font-size: 15px; margin-top: 16px; }

@media (max-width: 980px) {
  .work-row { grid-template-columns: 40px 1fr; gap: 20px; padding: 40px 0; }
  .work-metric {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
  }
}

/* ─── ABOUT ─── */
.about-mission {
  font-size: 21px;
  line-height: 1.6;
  max-width: 62ch;
  color: var(--ink);
}
/* The founder is one block under the firm's mission, not the subject of the section:
   the site speaks as the firm (Nick, 2026-09-24). */
.leadership {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  max-width: 72ch;
}
.leadership-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}
.leadership-name { font-size: 28px; margin-bottom: 4px; }
.leadership-role { font-size: 15px; margin-bottom: 20px; }
.leadership p:last-child { font-size: 17px; }

/* ─── CREDENTIALS ─── */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--hairline);
}
.cred-card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--hairline);
}
.cred-card:last-child { border-right: 0; }
.cred-card + .cred-card { padding-left: 24px; }
.cred-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.cred-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.cred-card p { font-size: 15px; }

@media (max-width: 1100px) {
  .creds-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-card:nth-child(3n) { border-right: 0; }
  .cred-card:nth-child(n + 4) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 800px) {
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-card:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .cred-card:nth-child(2n) { border-right: 0; }
  .cred-card:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 560px) {
  .creds-grid { grid-template-columns: 1fr; }
  .cred-card { border-right: 0; padding: 28px 0; }
  .cred-card + .cred-card { padding-left: 0; border-top: 1px solid var(--hairline); }
}

/* ─── CONTACT ─── */
#contact .container { position: relative; }
.contact-inner { max-width: 840px; }
.contact-inner p { font-size: 19px; color: rgba(255, 255, 255, 0.72); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.contact-email { margin-top: 32px; font-size: 15px; }
.contact-sep { margin: 0 10px; color: rgba(255, 255, 255, 0.4); }
.contact-email-link {
  color: var(--gold);
  border-bottom: 1px solid rgba(182, 140, 58, 0.5);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.contact-email-link:hover { color: var(--white); border-bottom-color: var(--white); }
.contact-email-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 480px) {
  .contact-ctas { flex-direction: column; align-items: stretch; }
  .contact-ctas a { text-align: center; }
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink-soft);
  padding: 40px 0;
  border-top: 1px solid var(--hairline-dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-monogram { width: 28px; height: 28px; color: var(--gold); }
.site-footer p { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ─── FADE-IN ANIMATION ─── */
/* Only animates when JS is active (body.js is added by script.js) */
body.js .fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}
body.js .fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  body.js .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ─── HOW WE WORK ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.process-grid-step { position: relative; padding-top: 32px; }
.process-grid-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  height: 1px;
  background: var(--gold);
}
.process-grid-num {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 20px;
}
.process-grid-step h3 { font-size: 20px; margin-bottom: 12px; }
.process-grid-step p { font-size: 16px; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ─── 404 PAGE ─── */
/* Moved out of an inline <style> in 404.html so the Content-Security-Policy can refuse inline styles. */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
/* The flex parent would otherwise shrink .container to its content and let
   auto margins centre it, breaking the left edge the rest of the site holds. */
.notfound-inner { position: relative; width: 100%; }
.notfound h1, .notfound .hero-sub { max-width: 620px; }
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 112px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
