/* ==========================================================================
   Atelier Réédition — design system v9 "Meridian"
   Direction: modern professional / editorial-grid consultancy.
   Sharp hairline grids, offset asymmetric layouts, numbered index tabs,
   flat surfaces, restrained motion, confident whitespace.
   Primary tone: #b0dbd6 (soft signal teal) paired with deep teal-ink
   anchors, cool neutral grays and a warm paper ground.
   ========================================================================== */

:root {
  /* ---- Teal ramp (#b0dbd6 = 300, the brand signal) ---- */
  --teal-900: #0a2b27;
  --teal-800: #0f3a34;
  --teal-700: #175248;
  --teal-600: #21776a;
  --teal-500: #3d9c8d;
  --teal-400: #74bab0;
  --teal-300: #b0dbd6;
  --teal-200: #cde9e5;
  --teal-100: #e4f3f1;
  --teal-50:  #f2f9f8;

  /* ---- Cool neutral ink ramp ---- */
  --ink-900: #10181a;
  --ink-800: #202b2d;
  --ink-700: #3a4749;
  --ink-600: #59686a;
  --ink-500: #7c8b8d;
  --ink-400: #a9b6b7;

  /* ---- Secondary warm sand (sparse accents) ---- */
  --sand-600: #a8823f;
  --sand-100: #f3e9d6;

  /* ---- Signal red for negative / required ---- */
  --flag-700: #963d2e;
  --flag-500: #c05a44;
  --flag-100: #f6e2dc;

  /* ---- Surfaces ---- */
  --paper: #f6f7f5;
  --cream: #eef2f0;
  --surface: #ffffff;
  --dark: #0b201d;
  --dark-2: #0f2a25;
  --border: #dfe6e3;
  --border-strong: #c3d0cc;

  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --container: 1240px;

  --shadow-xs: 0 1px 2px rgba(10, 24, 22, 0.05);
  --shadow-sm: 0 4px 16px -6px rgba(10, 24, 22, 0.10);
  --shadow-md: 0 18px 44px -18px rgba(10, 24, 22, 0.22);
  --shadow-lg: 0 44px 90px -28px rgba(10, 24, 22, 0.32);
  --ring: 0 0 0 4px rgba(61, 156, 141, 0.20);

  --grad-teal: linear-gradient(135deg, #175248 0%, #0f3a34 55%, #0a2b27 100%);
  --grad-paper: linear-gradient(180deg, #f6f7f5 0%, #eef2f0 100%);

  /* ---- Back-compat aliases (inline styles in templates) ---- */
  --accent-50: var(--teal-50);
  --accent-100: var(--teal-100);
  --accent-200: var(--teal-200);
  --accent-500: var(--teal-600);
  --accent-600: var(--teal-600);
  --accent-700: var(--teal-700);
  --accent-800: var(--teal-800);
  --accent-900: var(--teal-900);
  --gray-700: var(--ink-700);
  --gray-600: var(--ink-600);
  --gray-500: var(--ink-500);
  --gray-300: var(--border-strong);
  --gray-200: var(--border);
  --paper-alt: var(--cream);
  --white: var(--surface);
  --line-strong: var(--border-strong);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
main { flex: 1; }
::selection { background: var(--teal-300); color: var(--teal-900); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.75rem;
}
.rule { border: none; border-top: 1px solid var(--border); }

/* ---------- Eyebrow — index-tab style, square tick + rule ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--teal-700);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-500);
  display: inline-block;
}
.eyebrow.blue, .eyebrow.green { color: var(--sand-600); }
.eyebrow.blue::before, .eyebrow.green::before { background: var(--sand-600); }
.eyebrow.red { color: var(--flag-700); }
.eyebrow.red::before { background: var(--flag-500); }
.eyebrow.on-dark { background: none; color: var(--teal-200); }
.eyebrow.on-dark::before { background: var(--teal-300); }

/* ---------- Headings ---------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.2rem);
  color: var(--ink-900);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 1.4rem + 1.7vw, 2.7rem);
  color: var(--ink-900);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.2rem;
  color: var(--ink-900);
}
.lede { font-size: 1.1rem; line-height: 1.7; color: var(--ink-600); }
.text-muted { color: var(--ink-500); }

/* ---------- Buttons — squared-off, flat, thick underline hover ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
              background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange, .btn-gold {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-orange:hover, .btn-gold:hover { background: var(--teal-700); box-shadow: var(--shadow-md); }
.btn-navy, .btn-blue { background: var(--teal-700); color: #fff; }
.btn-navy:hover, .btn-blue:hover { background: var(--teal-800); }
.btn-green { background: var(--sand-600); color: #fff; }
.btn-green:hover { background: #8f6c30; }
.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: #fff; color: var(--teal-800); border-color: #fff; }
.btn-outline-navy {
  border-color: var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--ink-900); color: #fff; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header — flat hairline bar, underline nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-strong);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 82px;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.15;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-top: 4px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.primary-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-700);
  padding: 0.4rem 0;
  border-radius: 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.primary-nav a:hover { color: var(--teal-700); border-color: var(--teal-400); }
.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.header-actions .btn { padding: 0.7rem 1.4rem; }
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  width: 46px; height: 46px;
  position: relative;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-900);
  border-radius: 0;
  position: absolute;
  left: 13px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
#mobile-nav { display: none; }

@media (max-width: 1000px) {
  .primary-nav { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  #mobile-nav.is-open {
    display: block;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0 1.5rem;
  }
  #mobile-nav ul { list-style: none; display: flex; flex-direction: column; }
  #mobile-nav a {
    display: block;
    padding: 0.9rem 1.75rem;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
  }
  #mobile-nav a:hover { color: var(--teal-700); }
  #mobile-nav .btn { margin: 1rem 1.75rem 0.25rem; width: calc(100% - 3.5rem); }
}

/* ==========================================================================
   Inner-page hero — split panel with index rail
   ========================================================================== */
.page-hero {
  background: var(--surface);
  color: var(--ink-900);
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--border-strong);
  border-left: 6px solid var(--teal-300);
}
.page-hero-inner { max-width: 880px; }
.page-hero h1 { margin-top: 1.1rem; font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem); }
.page-hero .lede { color: var(--ink-600); max-width: 660px; margin-top: 1.3rem; }

.crumb-trail {
  display: flex;
  gap: 0.55rem;
  font-size: 0.72rem;
  color: var(--ink-500);
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.crumb-trail a { color: var(--teal-700); font-weight: 700; }
.crumb-trail a:hover { color: var(--teal-900); }

/* ==========================================================================
   Home hero — asymmetric split, left copy / right stat ledger
   ========================================================================== */
.home-hero {
  position: relative;
  background: var(--surface);
  color: var(--ink-900);
  padding-block: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-strong);
}
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 640px;
}
.home-hero-copy {
  max-width: 620px;
  text-align: left;
  padding-block: 5rem;
  padding-inline: clamp(1.75rem, 6vw, 5rem) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-hero-copy .eyebrow.on-dark {
  color: var(--teal-700); margin-bottom: 1.6rem;
}
.home-hero-copy .eyebrow.on-dark::before { background: var(--teal-500); }
.home-hero-copy h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.1rem); }
.home-hero-copy .lede { color: var(--ink-600); max-width: 560px; margin: 1.5rem 0 0; }
.home-hero-actions {
  display: flex; gap: 1rem; margin-top: 2.3rem; flex-wrap: wrap; justify-content: flex-start;
}

.hero-figure-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--grad-teal);
  margin-top: 0;
  padding: 0;
}
.hero-figure {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 2.4rem 2.1rem;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  box-shadow: none;
}
.hero-figure:nth-child(2n) { border-right: none; }
.hero-figure .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--teal-300);
}
.hero-figure p { font-size: 0.84rem; color: rgba(255,255,255,0.78); line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .home-hero-copy { padding-block: 3.5rem 2.5rem; padding-inline: 1.75rem; max-width: none; }
}
@media (max-width: 440px) {
  .hero-figure-list { grid-template-columns: 1fr; }
  .hero-figure:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.14); }
}

/* visual strip — full-bleed image with side caption rail */
.home-visual-strip { background: var(--cream); padding-block: 0; }
.visual-strip-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
}
.home-visual-strip img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.visual-note {
  position: relative;
  margin: 0;
  max-width: none;
  background: var(--ink-900);
  border-radius: 0;
  padding: 3rem 2.5rem;
  color: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-note .num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-300);
}
.visual-note p { color: rgba(255,255,255,0.82); margin-top: 1rem; font-size: 0.98rem; line-height: 1.75; }
@media (max-width: 720px) {
  .visual-strip-row { grid-template-columns: 1fr; }
  .home-visual-strip img { height: 280px; min-height: 0; }
}

/* ==========================================================================
   Bento — flush index-numbered column strip (replaces card grid)
   ========================================================================== */
.bento { padding-block: 6.5rem; }
.bento-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: 0;
  margin-top: 3.25rem;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.bento-primary {
  grid-column: 1 / 3;
  grid-row: 1;
  background: var(--grad-teal);
  color: #fff;
  border-radius: 0;
  padding: 3rem;
  box-shadow: none;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.bento-primary .bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 0;
  background: rgba(255,255,255,0.12);
  color: var(--teal-200);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.bento-primary h3 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; font-family: var(--font-display); font-weight: 600; }
.bento-primary p { color: rgba(255,255,255,0.82); line-height: 1.75; }
.bento-primary ul { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; list-style: none; }
.bento-primary li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  align-items: flex-start;
}
.bento-primary li::before {
  content: "";
  width: 14px; height: 2px;
  margin-top: 0.65rem;
  flex-shrink: 0;
  border-radius: 0;
  background: var(--teal-300);
}
.bento-side { display: contents; }
.bento-card {
  grid-column: 3;
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: none;
  transition: background-color 0.16s ease;
}
.bento-card:hover { background: var(--teal-50); }
.bento-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--ink-900);
}
.bento-card p { font-size: 0.92rem; line-height: 1.7; color: var(--ink-600); }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-primary { grid-column: 1; grid-row: auto; padding: 2.25rem; border-right: none; }
  .bento-card { grid-column: 1; border-right: none; }
}

/* ==========================================================================
   Zigzag feature row — flush framed media, no overlay offset
   ========================================================================== */
.zigzag { padding-block: 5.5rem; }
.zigzag-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border-strong);
}
.zigzag-media { position: relative; }
.zigzag-media::after { content: none; }
.zigzag-media img {
  border-radius: 0;
  position: relative;
  z-index: 1;
  box-shadow: none;
  height: 100%;
  object-fit: cover;
}
.zigzag-copy { padding: 3rem; }
.zigzag-copy h3 { font-size: 1.7rem; margin-bottom: 1.1rem; font-family: var(--font-display); font-weight: 600; }
.zigzag-copy p { color: var(--ink-600); line-height: 1.8; }
.zigzag-copy p + p { margin-top: 1rem; }
.zigzag-copy ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.zigzag-copy ul li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.94rem;
  color: var(--ink-700);
  align-items: flex-start;
}
.zigzag-copy ul li::before {
  content: "";
  width: 14px; height: 2px;
  border-radius: 0;
  background: var(--teal-500);
  margin-top: 0.6rem;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .zigzag-row { grid-template-columns: 1fr; }
  .zigzag-copy { padding: 2rem; }
}

/* ==========================================================================
   Steps — numbered ledger rows, full-width dividers (no cards)
   ========================================================================== */
.steps-section {
  background: var(--surface);
  padding-block: 6rem;
  color: var(--ink-900);
}
.steps-track {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  border-top: 1px solid var(--border-strong);
}
.step-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 2rem 0.5rem;
  box-shadow: none;
  transition: background-color 0.16s ease;
}
.step-card:hover { background: var(--teal-50); }
.step-card .step-num {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--teal-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
}
.step-card h3 { color: var(--ink-900); font-size: 1.15rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.92rem; color: var(--ink-600); line-height: 1.65; max-width: 620px; }
@media (max-width: 560px) {
  .step-card { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.5rem 0; }
}

/* ==========================================================================
   Generic section + skills — flush numbered rows, split label column
   ========================================================================== */
.section { padding-block: 6rem; }
.section-head {
  max-width: 780px;
  margin-bottom: 3.25rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  max-width: none;
  align-items: baseline;
}
.section-head .eyebrow { grid-column: 1; }
.section-head h2 { grid-column: 2; margin-top: 0; }
.section-head .lede { grid-column: 2; margin-top: 1.1rem; }
.section-head.center {
  display: block;
  text-align: center;
  margin-inline: auto;
  max-width: 720px;
}
.section-head.center .eyebrow { justify-content: center; display: inline-flex; }
.section-head.center h2 { margin-top: 1rem; }
.section-head.center .lede { margin-top: 1.1rem; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 0.75rem; }
}

.skills-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.skill-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding: 2.25rem;
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  align-items: start;
  transition: background-color 0.16s ease;
}
.skill-row:hover { background: var(--teal-50); }
.skill-row .icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 0;
  background: none;
  color: var(--teal-600);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border: 1.5px solid var(--teal-400);
}
.skill-row .icon-badge svg { display: none; }
.skill-row h3 { margin-bottom: 0.45rem; font-size: 1.15rem; }
.skill-row p { color: var(--ink-600); font-size: 0.93rem; line-height: 1.7; }
@media (max-width: 720px) {
  .skills-columns { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .skill-row { grid-template-columns: 1fr; gap: 0.85rem; } }

/* card grid (about.php) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.info-card {
  padding: 2.5rem;
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.16s ease;
}
.info-card:hover { background: var(--teal-50); }
.info-card .icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 0;
  background: none;
  border: 1.5px solid var(--teal-400);
  color: var(--teal-600);
  margin-bottom: 1.2rem;
}
.info-card .icon-badge svg { display: block; }
.info-card h3 { margin-bottom: 0.55rem; font-size: 1.12rem; }
.info-card p { color: var(--ink-600); font-size: 0.9rem; line-height: 1.7; }

/* ==========================================================================
   Fit-check — ledger split, plus/minus column markers
   ========================================================================== */
.fit-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
}
.fit-card {
  padding: 0 0 2rem;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--surface);
  border: none;
}
.fit-card.yes { border-right: 1px solid var(--border-strong); }
.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 1.35rem 2rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.fit-card.yes h3 { background: var(--teal-700); }
.fit-card.no h3 { background: var(--ink-800); }
.fit-card ul { display: flex; flex-direction: column; gap: 0.85rem; list-style: none; padding-inline: 2rem; }
.fit-card li { display: flex; gap: 0.8rem; font-size: 0.92rem; color: var(--ink-700); align-items: flex-start; }
.fit-card.yes li::before { content: "+"; color: var(--teal-600); font-weight: 800; font-size: 1rem; line-height: 1.5; }
.fit-card.no li::before { content: "\2013"; color: var(--ink-400); font-weight: 800; font-size: 1rem; line-height: 1.5; }
@media (max-width: 720px) {
  .fit-check { grid-template-columns: 1fr; }
  .fit-card.yes { border-right: none; border-bottom: 1px solid var(--border-strong); }
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
}
.compare-col {
  padding: 2rem;
  background: var(--surface);
  border: none;
}
.compare-col:first-child { border-right: 1px solid var(--border-strong); }
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col:first-child { border-right: none; border-bottom: 1px solid var(--border-strong); }
}

.callout {
  background: var(--teal-50);
  border: none;
  border-left: 4px solid var(--teal-500);
  border-radius: 0;
  padding: 2rem 2.25rem;
  box-shadow: none;
}
.callout h2 { font-size: 1.1rem; color: var(--teal-800); font-family: var(--font-body); font-weight: 700; }
.callout p { margin-top: 0.6rem; }

/* ==========================================================================
   CTA banner — flat dark slab, split rule instead of glow
   ========================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: #fff;
  padding: 4rem;
  border-radius: 0;
  box-shadow: none;
  border-top: 4px solid var(--teal-300);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 55%, rgba(176,219,214,0.08) 100%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 0.8rem; }
.cta-banner .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-banner .btn-orange, .cta-banner .btn-gold { background: var(--teal-300); color: var(--teal-900); }
.cta-banner .btn-orange:hover, .cta-banner .btn-gold:hover { background: #fff; }
@media (max-width: 620px) { .cta-banner { padding: 2.5rem 1.75rem; } }

/* ==========================================================================
   Contact — flat form panel, underline inputs
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border-strong);
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-card {
  padding: 2.75rem;
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 860px) { .form-card { border-right: none; border-bottom: 1px solid var(--border-strong); } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-700); }
.field input, .field textarea {
  padding: 0.8rem 0.2rem;
  border: none;
  border-bottom: 1.5px solid var(--border-strong);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink-900);
  background: transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: var(--teal-50);
  box-shadow: none;
}
.field-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-600); margin-bottom: 1.4rem; }
.field-consent input { margin-top: 0.15rem; accent-color: var(--teal-600); }
.required { color: var(--flag-700); }

.form-alert {
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--flag-100);
  border: none;
  border-left: 4px solid var(--flag-500);
  border-radius: 0;
  color: var(--flag-700);
  padding: 0.95rem 1.15rem;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}
.form-alert:not([hidden]) { display: flex; }
.form-alert svg { flex-shrink: 0; margin-top: 0.1rem; }

.form-success { text-align: left; padding: 1rem 0; }
.form-success .icon-badge {
  width: 52px; height: 52px;
  border-radius: 0;
  background: none;
  border: 1.5px solid var(--teal-400);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--ink-600); font-size: 0.92rem; line-height: 1.6; max-width: 380px; }
.form-success .btn { margin-top: 1.5rem; }

.side-card {
  padding: 1.9rem;
  background: var(--surface);
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}
.side-card:last-child { margin-bottom: 0; border-bottom: none; }
.side-card h3 {
  margin-bottom: 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--teal-700);
}
.side-card address { font-style: normal; font-size: 0.88rem; color: var(--ink-600); line-height: 1.75; }
.side-card ul { display: flex; flex-direction: column; gap: 0.7rem; list-style: none; }
.side-card a { font-size: 0.9rem; color: var(--ink-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--teal-300); }
.side-card a:hover { text-decoration-color: var(--teal-600); color: var(--teal-800); }

/* ==========================================================================
   Accordion FAQ — flush ledger list, no card shadows
   ========================================================================== */
.accordion-group + .accordion-group { margin-top: 3rem; }
.accordion-group h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--teal-700);
  margin-bottom: 1rem;
}
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  margin-bottom: 0;
  overflow: hidden;
  transition: background-color 0.15s ease;
}
.accordion-item[open] { background: var(--teal-50); }
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--ink-900);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-600);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item .accordion-body {
  padding: 0 0.25rem 1.5rem;
  color: var(--ink-600);
  font-size: 0.94rem;
  line-height: 1.75;
  max-width: 760px;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero {
  background: var(--surface);
  color: var(--ink-900);
  padding-block: 3.75rem;
  border-bottom: 1px solid var(--border-strong);
  border-left: 6px solid var(--teal-300);
}
.legal-hero .eyebrow { color: var(--teal-700); }
.legal-hero h1 {
  color: var(--ink-900);
  font-size: clamp(2rem, 1.55rem + 1.6vw, 2.9rem);
  margin-top: 1.1rem;
}
.legal-hero p { color: var(--ink-500); margin-top: 0.7rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.legal-hero .crumb-trail { justify-content: flex-start; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  padding-block: 3.75rem;
  align-items: start;
}
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } }
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 1.75rem 0 1.75rem 1.5rem;
  background: transparent;
  border: none;
  border-left: 2px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
}
.legal-toc p.label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 0.1rem; list-style: none; }
.legal-toc ul li { border-left: 2px solid var(--border); padding: 0.4rem 0 0.4rem 0.9rem; transition: border-color 0.15s ease; margin-left: -1.5rem; }
.legal-toc ul li:hover { border-color: var(--teal-500); }
.legal-toc a { font-size: 0.84rem; color: var(--ink-600); }
.legal-toc a:hover { color: var(--teal-800); }
.legal-toc .divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.3rem; margin-bottom: 0.9rem; scroll-margin-top: 120px; }
.legal-body p { color: var(--ink-600); font-size: 0.95rem; line-height: 1.8; }
.legal-body ul { margin-top: 0.75rem; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-body li { color: var(--ink-600); font-size: 0.93rem; line-height: 1.65; }
.legal-body address {
  font-style: normal;
  border: none;
  border-left: 4px solid var(--teal-300);
  background: var(--teal-50);
  border-radius: 0;
  padding: 1.2rem 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.85;
  margin-top: 0.7rem;
}
.legal-body table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 0.82rem; border-radius: 0; overflow: hidden; }
.legal-body th, .legal-body td { text-align: left; padding: 0.8rem 0.9rem; border: 1px solid var(--border); }
.legal-body th { background: var(--teal-50); color: var(--ink-900); font-weight: 700; }

.legal-layout .legal-body {
  background: var(--surface);
  border: none;
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  padding: 0.5rem 0 0;
  max-width: none;
}
.legal-layout .legal-body section { padding-block: 1.75rem; border-bottom: 1px solid var(--border); }
.legal-layout .legal-body section:first-of-type { padding-top: 1.75rem; }
.legal-layout .legal-body section:last-of-type { border-bottom: none; padding-bottom: 0; }

.consent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.consent-toggle:last-child { border-bottom: none; }
.consent-toggle .switch {
  width: 44px; height: 24px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  border: none;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}
.consent-toggle .switch::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  transition: left 0.15s ease;
}
.consent-toggle .switch.on { background: var(--teal-600); }
.consent-toggle .switch.on::before { left: 23px; }
.tag-pill {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-800);
  background: none;
  border: 1px solid var(--teal-400);
  padding: 0.3rem 0.7rem;
  border-radius: 0;
}

/* ==========================================================================
   Module list (program.php) — numbered ledger rows
   ========================================================================== */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3.25rem;
  border-top: 1px solid var(--border-strong);
}
.module-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 2rem;
  padding: 2.5rem 0.5rem;
  background: var(--surface);
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.16s ease;
}
.module-row:hover { background: var(--teal-50); }
.module-num {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--teal-600);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  align-items: center;
}
.module-row h3 { font-size: 1.45rem; font-family: var(--font-display); font-weight: 600; }
.module-row > .lede, .module-row p.lede { font-size: 0.98rem; margin-bottom: 0; margin-top: 0.8rem; color: var(--ink-600); }
.module-row .outcomes {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-top: 1.6rem;
  margin-bottom: 0.9rem;
}
.module-row ul { display: flex; flex-direction: column; gap: 0.55rem; list-style: none; }
.module-row li { font-size: 0.9rem; color: var(--ink-700); display: flex; gap: 0.7rem; align-items: flex-start; }
.module-row li::before { content: "\2192"; color: var(--teal-600); font-weight: 700; flex-shrink: 0; }
@media (max-width: 640px) { .module-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem 0.25rem; } }

/* ==========================================================================
   Phase list (learning-path.php) — offset alternating rail
   ========================================================================== */
.phase-grid { display: flex; flex-direction: column; gap: 0; margin-top: 3.25rem; }
.phase-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: none;
  border-left: none;
}
.phase-grid .phase-card:last-child { border-bottom: 1px solid var(--border-strong); }
.phase-card .phase-meta { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.phase-card .phase-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--teal-600); }
.phase-card .phase-duration {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-800);
  background: none;
  border: 1px solid var(--teal-400);
  padding: 0.3rem 0.65rem;
  border-radius: 0;
}
.phase-card h3 { color: var(--ink-900); margin-bottom: 1rem; font-size: 1.3rem; }
.phase-card ol { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.phase-card li { font-size: 0.9rem; display: flex; gap: 0.7rem; color: var(--ink-700); }
.phase-card li span.n { font-weight: 700; color: var(--teal-600); font-family: var(--font-display); }
@media (max-width: 640px) { .phase-card { grid-template-columns: 1fr; gap: 1rem; padding: 1.75rem 0; } }

/* ==========================================================================
   Project showcase (practice-projects.php) — flat outline cards, top rule accent
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  margin-top: 3.25rem;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
}
.project-card {
  background: var(--surface);
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: background-color 0.16s ease;
}
.project-card:hover { background: var(--teal-50); }
.project-card-head {
  padding: 1.6rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ink-900);
  border-bottom: 3px solid var(--teal-300);
}
.project-card-head .code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 0;
  background: rgba(255,255,255,0.1);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-200);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
}
.project-card-head h3 { color: #fff; font-size: 1.12rem; }
.project-card-body { padding: 1.85rem 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 1.3rem; }
.project-card-body p { font-size: 0.9rem; color: var(--ink-600); line-height: 1.7; }
.project-card-body h4 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.75rem;
}
.project-card-body ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }
.project-card-body li { font-size: 0.85rem; color: var(--ink-700); display: flex; gap: 0.6rem; }
.project-card-body li::before { content: "\2192"; color: var(--teal-600); font-weight: 700; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-800);
  background: none;
  border: 1px solid var(--teal-400);
  padding: 0.35rem 0.8rem;
  border-radius: 0;
}

/* ==========================================================================
   Homepage-only layout blocks (index.php) — unique to the redesigned home
   ========================================================================== */

/* Marquee strip under hero: running label row */
.marquee-strip {
  background: var(--ink-900);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.marquee-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-block: 1.1rem;
  justify-content: space-between;
}
.marquee-strip span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.marquee-strip span strong { color: var(--teal-300); }

/* Panel row — three unequal columns, ruled dividers */
.panel-row { padding-block: 6.5rem; background: var(--surface); }
.panel-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  margin-top: 3.25rem;
}
.panel-col {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--border-strong);
}
.panel-col:last-child { border-right: none; }
.panel-col .panel-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 1.1rem;
  display: block;
}
.panel-col h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.panel-col p { color: var(--ink-600); font-size: 0.94rem; line-height: 1.75; }
.panel-col ul { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.65rem; list-style: none; }
.panel-col li { font-size: 0.88rem; color: var(--ink-700); display: flex; gap: 0.6rem; }
.panel-col li::before { content: "\2192"; color: var(--teal-600); font-weight: 700; }
@media (max-width: 900px) {
  .panel-grid { grid-template-columns: 1fr; }
  .panel-col { border-right: none; border-bottom: 1px solid var(--border-strong); }
  .panel-col:last-child { border-bottom: none; }
}

/* Timeline rail — vertical spine with alternating offset entries */
.rail-section { background: var(--cream); padding-block: 6.5rem; }
.rail-track {
  margin-top: 3.5rem;
  position: relative;
  padding-left: 2.5rem;
  border-left: 2px solid var(--teal-300);
}
.rail-item { position: relative; padding-bottom: 3rem; }
.rail-item:last-child { padding-bottom: 0; }
.rail-item::before {
  content: "";
  position: absolute;
  left: -2.94rem;
  top: 0.35rem;
  width: 12px; height: 12px;
  background: var(--teal-600);
  border: 3px solid var(--cream);
  outline: 2px solid var(--teal-600);
}
.rail-item .rail-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: block;
  margin-bottom: 0.6rem;
}
.rail-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.rail-item p { color: var(--ink-600); font-size: 0.93rem; line-height: 1.7; max-width: 640px; }

/* Skill deck — horizontal-feeling index list with big numerals */
.skill-deck { padding-block: 6.5rem; background: var(--surface); }
.skill-deck-list { margin-top: 3.25rem; }
.skill-deck-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.4fr;
  gap: 2rem;
  align-items: center;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--border-strong);
}
.skill-deck-list .skill-deck-row:first-child { border-top: 1px solid var(--border-strong); }
.skill-deck-row .idx {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--teal-200);
  -webkit-text-stroke: 1.5px var(--teal-500);
  color: transparent;
}
.skill-deck-row h3 { font-size: 1.05rem; }
.skill-deck-row p { color: var(--ink-600); font-size: 0.9rem; line-height: 1.65; margin: 0; }
@media (max-width: 760px) {
  .skill-deck-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .skill-deck-row .idx { font-size: 1.4rem; }
}

/* Fit split — dark/light contrast with vertical divider label */
.fit-split-section { padding-block: 6.5rem; background: var(--ink-900); color: #fff; }
.fit-split-section .section-head h2,
.fit-split-section .section-head .lede,
.fit-split-section .eyebrow { color: #fff; }
.fit-split-section .eyebrow { color: var(--teal-300); }
.fit-split-section .eyebrow::before { background: var(--teal-300); }
.fit-split-section .lede { color: rgba(255,255,255,0.68); }

.fit-strip { margin-top: 3.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fit-strip-col { padding: 2.5rem; }
.fit-strip-col:first-child { border-right: 1px solid rgba(255,255,255,0.14); }
.fit-strip-col .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.3rem;
  border: 1px solid var(--teal-300);
  color: var(--teal-300);
}
.fit-strip-col.no .tag { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.55); }
.fit-strip-col ul { display: flex; flex-direction: column; gap: 0.9rem; list-style: none; }
.fit-strip-col li { font-size: 0.94rem; color: rgba(255,255,255,0.85); display: flex; gap: 0.8rem; align-items: flex-start; }
.fit-strip-col.yes li::before { content: "+"; color: var(--teal-300); font-weight: 800; }
.fit-strip-col.no li::before { content: "\2013"; color: rgba(255,255,255,0.4); font-weight: 800; }
.fit-strip-note {
  margin-top: 0;
  padding: 2rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
}
.fit-strip-note h2 { font-size: 1.05rem; color: var(--teal-300); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.fit-strip-note p { margin-top: 0.7rem; color: rgba(255,255,255,0.72); }
.fit-strip-note a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .fit-strip { grid-template-columns: 1fr; }
  .fit-strip-col:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
}

/* CTA split — copy + form-like action panel side by side */
.cta-split-section { padding-block: 6.5rem; background: var(--paper); }
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--border-strong);
}
.cta-split-copy { padding: 3.5rem; background: var(--surface); }
.cta-split-copy .eyebrow { margin-bottom: 1.2rem; }
.cta-split-copy p { color: var(--ink-600); margin-top: 1rem; max-width: 480px; }
.cta-split-actions { padding: 3.5rem; background: var(--grad-teal); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.cta-split-actions .btn { width: fit-content; }
.cta-split-actions .btn-outline-light { border-color: rgba(255,255,255,0.4); }
@media (max-width: 760px) {
  .cta-split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer — unique layout: right-aligned index rail, brand as a wide masthead
   band, columns arranged as a numbered ledger, split bottom bar.
   (Structure preserved: footer-top > footer-grid[brand + 3 cols] + footer-bottom)
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.72);
  position: relative;
  margin-top: 7rem;
  overflow: hidden;
  border-top: 6px solid var(--teal-300);
}
.site-footer::before { content: none; }
.footer-top { position: relative; padding-block: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
/* brand becomes a wide masthead band at the very top, full-bleed rule below */
.footer-brand {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  align-items: end;
  padding: 4rem 0 3rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: #fff; font-size: 2.1rem; font-family: var(--font-display); }
.footer-brand .brand span { display: block; }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 420px;
}
.footer-brand address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  grid-column: 2;
  justify-self: end;
  text-align: right;
}
.footer-brand address strong { color: rgba(255,255,255,0.9); }
@media (max-width: 780px) {
  .footer-brand { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; padding: 3rem 0 2rem; }
  .footer-brand address { grid-column: auto; justify-self: start; text-align: left; }
}

/* the three link columns run as a numbered ledger beneath the masthead */
.footer-grid { grid-template-columns: 1fr; }
.footer-brand ~ .footer-col {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: baseline;
  gap: 2rem;
  padding: 1.6rem 0 1.6rem 2.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand ~ .footer-col:nth-of-type(2)::before { content: "01"; }
.footer-brand ~ .footer-col:nth-of-type(3)::before { content: "02"; }
.footer-brand ~ .footer-col:nth-of-type(4)::before { content: "03"; }
.footer-brand ~ .footer-col::before {
  position: absolute;
  left: 0;
  top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--teal-300);
}
@media (max-width: 780px) {
  .footer-brand ~ .footer-col { grid-template-columns: 1fr; gap: 0.6rem; padding-left: 2.6rem; }
}
.footer-col h3 {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-col h3::before { content: none; }
.footer-col ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  list-style: none;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.66);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--teal-300); }
.footer-disclaimer {
  border: none;
  border-left: 3px solid var(--teal-300);
  background: rgba(255,255,255,0.03);
  border-radius: 0;
  padding: 1.1rem 1.25rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer-disclaimer a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  position: relative;
  padding-block: 1.75rem;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}
.footer-bottom::before {
  content: "Retour en haut ↑";
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.footer-bottom strong { color: rgba(255,255,255,0.85); }
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column-reverse; text-align: center; gap: 0.6rem; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-lg { margin-top: 3rem; }
.center-text { text-align: center; }
.max-w-prose { max-width: 640px; }
.mx-auto { margin-inline: auto; }
