/* Osei Fortin LLP — design system: "first light / route & stamp"
   navy ink + maple red + dawn paper · Source Serif 4 / Public Sans / IBM Plex Mono */

:root {
  --ink: #132437;
  --ink-deep: #0c1826;
  --board: #0e1b29;
  --maple: #c2263b;
  --maple-deep: #a31c2f;
  --paper: #f7f3ec;
  --paper-warm: #f1eadf;
  --slate: #3e4c5c;
  --slate-soft: #64748b;
  --line: #d9d2c4;
  --line-dark: rgba(247, 243, 236, 0.16);
  --amber: #e8b577;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --radius: 3px;
  --shadow: 0 14px 40px rgba(12, 24, 38, 0.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--maple-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; }
.kicker {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--maple-deep); margin: 0 0 0.9rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--maple); flex: none; }
.kicker-light { color: var(--amber); }
.kicker-light::before { background: var(--amber); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Buttons (kept high-specificity; scoped anchors must not win) ---------- */
a.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  padding: 14px 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s;
}
a.btn.btn-lg, button.btn.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
a.btn.btn-maple, button.btn.btn-maple { background: var(--maple); color: #ffffff; }
a.btn.btn-maple:hover, button.btn.btn-maple:hover { background: var(--maple-deep); color: #ffffff; }
a.btn.btn-ghost-light, button.btn.btn-ghost-light { background: rgba(247, 243, 236, 0.06); color: #f7f3ec; border-color: rgba(247, 243, 236, 0.55); }
a.btn.btn-ghost-light:hover, button.btn.btn-ghost-light:hover { background: rgba(247, 243, 236, 0.16); color: #ffffff; }
a.btn.btn-ghost-dark, button.btn.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(19, 36, 55, 0.45); }
a.btn.btn-ghost-dark:hover, button.btn.btn-ghost-dark:hover { border-color: var(--ink); background: rgba(19, 36, 55, 0.05); color: var(--ink); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink-deep); color: #cfd8e3; font-size: 0.82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar-note { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-note .mono { color: var(--amber); margin-right: 8px; }
.topbar-links { display: flex; align-items: center; gap: 12px; flex: none; }
.topbar a { color: #f0ede6; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.topbar-sep { width: 1px; height: 14px; background: rgba(247, 243, 236, 0.25); }
.site-head { position: sticky; top: 0; z-index: 90; background: rgba(247, 243, 236, 0.96); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; }
.logo-sub { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-soft); margin-top: 3px; white-space: nowrap; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-item > a, .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px;
  font-size: 0.93rem; font-weight: 500; color: var(--ink); text-decoration: none;
  background: none; border: 0; font-family: var(--sans); cursor: pointer;
}
.nav-sub-toggle svg { width: 9px; height: 6px; transition: transform 0.15s; }
.nav-item.is-active > a, .nav-item.is-active > .nav-sub-toggle { color: var(--maple-deep); }
.nav-item.is-active > a::after { content: ''; display: block; }
.nav-item { position: relative; }
.nav-item.is-active > a, .nav-item.is-active > button { box-shadow: inset 0 -2px 0 var(--maple); }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fffdf8;
  border: 1px solid var(--line); border-top: 2px solid var(--maple); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px 0; display: none; z-index: 95;
}
.nav-item.has-sub.open .nav-sub, .nav-item.has-sub:focus-within .nav-sub { display: block; }
.nav-item.has-sub.open .nav-sub-toggle svg { transform: rotate(180deg); }
@media (min-width: 1021px) and (hover: hover) {
  /* Desktop: submenus open on hover. An invisible bridge spans the gap so the
     pointer can travel from the toggle to the panel without the menu closing. */
  .nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { display: block; }
  .nav-item.has-sub:hover .nav-sub-toggle svg, .nav-item.has-sub:focus-within .nav-sub-toggle svg { transform: rotate(180deg); }
  .nav-item.has-sub::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 10px; }
}
.nav-sub a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--paper); color: var(--maple-deep); }
.head-cta { flex: none; }
.nav-burger { display: none; }
.nav-cta-mobile { display: none; }
.nav-veil { position: fixed; inset: 0; background: rgba(12, 24, 38, 0.5); z-index: 80; }

@media (max-width: 1020px) {
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
}
@media (max-width: 480px) {
  .topbar-tf, .topbar-sep { display: none; }
}
@media (max-width: 1020px) {
  .head-cta { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
    background: var(--paper); z-index: 100; transform: translateX(105%);
    transition: transform 0.25s ease; overflow-y: auto; padding: 76px 24px 32px; margin: 0;
  }
  body.nav-open .site-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a, .nav-sub-toggle { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-item.is-active > a, .nav-item.is-active > button { box-shadow: inset 3px 0 0 var(--maple); padding-left: 10px; }
  .nav-sub { position: static; display: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 6px; }
  .nav-item.has-sub.open .nav-sub { display: block; }
  .nav-sub a { padding: 9px 4px 9px 18px; font-size: 0.95rem; color: var(--slate); }
  .nav-cta-mobile { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
}

/* ---------- Bands & plates (no flat colour anywhere) ---------- */
.band { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.band-paper { background: linear-gradient(rgba(247, 243, 236, 0.72), rgba(247, 243, 236, 0.72)), url('/demos/legal/osei-fortin/assets/img/plate-paper.webp') center/cover, var(--paper); }
.band-paper-warm { background: linear-gradient(rgba(241, 234, 223, 0.7), rgba(241, 234, 223, 0.7)), url('/demos/legal/osei-fortin/assets/img/plate-paper.webp') center/cover, var(--paper-warm); }
.band-navy { background: var(--ink) url('/demos/legal/osei-fortin/assets/img/plate-linen.webp') center/cover; background-blend-mode: soft-light; color: #d8dfe8; }
.band-navy h2, .band-navy h3 { color: var(--paper); }
.band-dawn { background: linear-gradient(160deg, rgba(247, 243, 236, 0.93) 0%, rgba(247, 243, 236, 0.86) 55%, rgba(240, 226, 205, 0.82) 100%), url('/demos/legal/osei-fortin/assets/img/plate-dawn.webp') center/cover; }
.band-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.band-head h2 { margin-bottom: 0.35em; }
.band-head .band-sub { font-size: 1.06rem; color: var(--slate); margin: 0; }
.band-navy .band-sub { color: #b9c4d2; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #f2ede4; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(88vh, 780px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(78deg, rgba(12, 24, 38, 0.9) 0%, rgba(12, 24, 38, 0.62) 40%, rgba(12, 24, 38, 0.18) 72%, rgba(12, 24, 38, 0.28) 100%); }
.hero-in { position: relative; width: 100%; padding-block: clamp(72px, 10vw, 130px) clamp(40px, 6vw, 70px); }
.hero h1 { color: #fbf8f2; max-width: 15ch; font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 700; margin-bottom: 0.4em; }
.hero-lede { max-width: 52ch; font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: #e5e0d5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c3cdd9; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.hero-meta li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--maple); }
.hero-meta { padding: 0; }

/* Routes board (split-flap) docked at hero base */
.routes-board { position: relative; background: var(--board); border-top: 2px solid var(--maple); }
.routes-board::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
.board-in { position: relative; z-index: 1; }
.board-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 10px; border-bottom: 1px solid var(--line-dark); }
.board-cap h2 { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--amber); margin: 0; }
.board-cap a { color: #93a5ba; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.board-clock { margin-left: auto; margin-right: 18px; color: #6d8098; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 560px) { .board-clock { display: none; } }
.board-cap a:hover { color: var(--paper); }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-row { display: grid; grid-template-columns: 74px 1fr auto auto; align-items: center; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(247, 243, 236, 0.08); text-decoration: none; }
a.board-row { color: #e8e3d8; }
a.board-row:hover { color: #ffffff; background: rgba(247, 243, 236, 0.03); }
.board-code { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--amber); letter-spacing: 0.12em; }
.board-route { font-family: var(--mono); font-size: clamp(0.85rem, 1.4vw, 1rem); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.board-time { font-family: var(--mono); font-size: 0.74rem; color: #93a5ba; letter-spacing: 0.08em; text-transform: uppercase; }
.board-go { font-family: var(--mono); font-size: 0.72rem; color: var(--maple); letter-spacing: 0.18em; }
a.board-row:hover .board-go { color: #ff8f9e; }
.board-note { padding: 10px 0 16px; color: #6d8098; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; margin: 0; }
@media (max-width: 760px) {
  .board-row { grid-template-columns: 56px 1fr auto; }
  .board-time { display: none; }
}
/* flap reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .board-row .board-route { opacity: 0; transform: translateY(6px); }
  .board-loaded .board-row .board-route { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
  .board-loaded .board-row:nth-child(2) .board-route { transition-delay: 0.07s; }
  .board-loaded .board-row:nth-child(3) .board-route { transition-delay: 0.14s; }
  .board-loaded .board-row:nth-child(4) .board-route { transition-delay: 0.21s; }
  .board-loaded .board-row:nth-child(5) .board-route { transition-delay: 0.28s; }
  .board-loaded .board-row:nth-child(6) .board-route { transition-delay: 0.35s; }
}

/* ---------- Founder story band ---------- */
.founder-band { overflow: clip; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photos { position: relative; min-height: 420px; }
.founder-photos .fp-main { width: 78%; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-photos .fp-inset { position: absolute; right: 0; bottom: -28px; width: 46%; border: 5px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--ink); margin: 0 0 1rem; }
.founder-quote em { color: var(--maple-deep); font-style: normal; }
.founder-cite { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-soft); }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photos { min-height: 0; margin-bottom: 34px; }
}

/* ---------- Journey line (pathway navigator) ---------- */
.journey-band { position: relative; overflow: clip; }
.journey-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.journey-list::before { content: ''; position: absolute; top: 9px; left: 2%; right: 2%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: 0.28; }
.journey-item { position: relative; padding-top: 26px; }
.journey-item::before { content: ''; position: absolute; top: 3px; left: 0; width: 13px; height: 13px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.journey-item:hover::before { background: var(--maple); border-color: var(--maple-deep); }
.journey-item a { text-decoration: none; display: block; color: inherit; }
.journey-code { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--maple-deep); display: block; margin-bottom: 4px; }
.journey-name { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; color: var(--ink); display: block; margin-bottom: 6px; }
.journey-desc { font-size: 0.85rem; color: var(--slate-soft); line-height: 1.45; margin: 0; }
.journey-item a:hover .journey-name { color: var(--maple-deep); }
@media (max-width: 1000px) {
  .journey-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
  .journey-list::before { display: none; }
  .journey-item { padding-top: 0; padding-left: 24px; }
  .journey-item::before { top: 5px; }
}
@media (max-width: 520px) { .journey-list { grid-template-columns: 1fr; } }

/* ---------- Inline tool (CRS) ---------- */
.tool-band { color: #d8dfe8; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.tool-intro h2 { color: var(--paper); }
.tool-points { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.tool-points li { padding: 9px 0 9px 26px; position: relative; color: #b9c4d2; font-size: 0.95rem; border-bottom: 1px solid rgba(247, 243, 236, 0.08); }
.tool-points li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 10px; height: 10px;
  border: 2px solid var(--amber); border-radius: 50%; }
.tool-card { background: #fffdf8; color: var(--slate); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); padding: clamp(22px, 3vw, 34px); border-top: 3px solid var(--maple); }
.tool-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.band-navy .tool-card h3 { color: var(--ink); }
.band-navy .tool-card h3 .mono { color: var(--slate-soft); }
.tool-card h3 .mono { color: var(--slate-soft); font-weight: 400; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.74rem; color: var(--slate-soft); }
.field select, .field input[type='number'], .field input[type='text'], .field input[type='email'], .field textarea {
  font: inherit; font-size: 0.95rem; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: #ffffff; color: var(--ink); width: 100%;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: 2px solid var(--maple); outline-offset: 1px; border-color: var(--maple); }
.field-error { color: var(--maple-deep); font-size: 0.78rem; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--maple); }
fieldset.field-set { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 6px; margin: 0 0 14px; }
fieldset.field-set legend { font-size: 0.8rem; font-weight: 700; color: var(--ink); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding-inline: 6px; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { font: inherit; font-size: 0.88rem; font-weight: 600; padding: 9px 18px; background: #fff; border: 0; cursor: pointer; color: var(--slate); }
.seg button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.crs-result { margin-top: 18px; border-top: 2px dashed var(--line); padding-top: 18px; }
.crs-total { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.crs-total .num { font-family: var(--mono); font-size: 3rem; font-weight: 600; color: var(--ink); line-height: 1; }
.crs-total .of { font-family: var(--mono); font-size: 0.8rem; color: var(--slate-soft); }
.crs-band-note { font-size: 0.9rem; margin: 8px 0 14px; }
.crs-bars { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.crs-bars li { display: grid; grid-template-columns: 168px 1fr 52px; align-items: center; gap: 10px; font-size: 0.8rem; }
.crs-bars .bar { height: 8px; background: var(--paper-warm); border-radius: 4px; overflow: hidden; }
.crs-bars .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ink), var(--maple)); border-radius: 4px; }
.crs-bars .val { font-family: var(--mono); text-align: right; color: var(--ink); }
@media (max-width: 980px) { .tool-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .field-grid { grid-template-columns: 1fr; } .crs-bars li { grid-template-columns: 118px 1fr 44px; } }

/* ---------- Route ledger (processing times) ---------- */
.ledger-table { width: 100%; border-collapse: collapse; background: #fffdf8; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.ledger-table th, .ledger-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.ledger-table th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); background: var(--ink); border-bottom: 2px solid var(--maple); }
.ledger-table td:first-child { font-weight: 600; color: var(--ink); }
.ledger-table .mono { color: var(--slate-soft); }
.ledger-note { font-size: 0.8rem; color: var(--slate-soft); margin-top: 12px; }
.ledger-scroll { overflow-x: auto; }
.ledger-scroll .ledger-table { min-width: 640px; }

/* ---------- Stamp wall ---------- */
.stamp-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stamp {
  position: relative; background: #fffdf8; border: 1.6px dashed rgba(19, 36, 55, 0.4);
  border-radius: 10px; padding: 22px 22px 18px; transform: rotate(var(--tilt, -1.2deg));
  box-shadow: 0 10px 26px rgba(12, 24, 38, 0.08);
}
.stamp:nth-child(2n) { --tilt: 1.1deg; }
.stamp:nth-child(3n) { --tilt: -0.6deg; }
.stamp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.stamp-kind { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--maple-deep); border: 1.4px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.stamp-date { font-family: var(--mono); font-size: 0.7rem; color: var(--slate-soft); letter-spacing: 0.08em; }
.stamp p { font-size: 0.94rem; margin: 0; color: var(--slate); }
.stamp p strong { color: var(--ink); }
@media (max-width: 920px) { .stamp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stamp-wall { grid-template-columns: 1fr; } .stamp { transform: none; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.team-card { background: #fffdf8; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.team-photo { aspect-ratio: 3 / 3.4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: 18px 20px 20px; border-top: 3px solid var(--maple); }
.team-body h3 { margin-bottom: 2px; font-size: 1.15rem; }
.team-role { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maple-deep); margin: 0 0 8px; }
.team-meta { font-size: 0.83rem; color: var(--slate-soft); margin: 0; }
@media (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Client letters ---------- */
.letters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.letter { background: linear-gradient(rgba(255, 253, 248, 0.8), rgba(255, 253, 248, 0.8)), url('/demos/legal/osei-fortin/assets/img/plate-paper.webp') center/cover;
  padding: 26px 26px 22px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.letter::before { content: '“'; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--maple); position: absolute; top: 14px; right: 20px; opacity: 0.55; }
.letter-text { font-family: var(--serif); font-size: 1.01rem; line-height: 1.6; color: var(--ink); margin: 0 0 16px; }
.letter-sig { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.letter-name { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.letter-ctx { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-soft); text-align: right; }
.letter-stars { color: var(--maple); font-size: 0.8rem; letter-spacing: 2px; margin: 0 0 6px; }
@media (max-width: 920px) { .letters-grid { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.alert-ribbon { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #e8e3d8;
  border-left: 4px solid var(--maple); padding: 12px 18px; border-radius: var(--radius); margin-bottom: 30px; }
.alert-ribbon .mono { color: var(--amber); flex: none; }
.alert-ribbon p { margin: 0; font-size: 0.92rem; }
.alert-ribbon a { color: #fff; }
.insights-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(26px, 4vw, 48px); }
.insight-lead { text-decoration: none; color: inherit; display: block; }
.insight-lead .il-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; aspect-ratio: 3/2; }
.insight-lead img { width: 100%; height: 100%; object-fit: cover; }
.insight-lead h3 { font-size: 1.5rem; }
.insight-lead:hover h3 { color: var(--maple-deep); }
.insight-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.insight-list li { border-bottom: 1px solid var(--line); }
.insight-list a { display: block; padding: 18px 2px; text-decoration: none; color: inherit; }
.insight-list h4 { font-size: 1.08rem; margin-bottom: 4px; }
.insight-list a:hover h4 { color: var(--maple-deep); }
.post-meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-soft); display: flex; gap: 14px; margin: 0 0 6px; }
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: none; border: 0; text-align: left; font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--ink); padding: 18px 2px; cursor: pointer; }
.faq-toggle:hover { color: var(--maple-deep); }
.faq-ic { width: 14px; height: 14px; position: relative; flex: none; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; background: var(--maple); inset: 6px 0; }
.faq-ic::after { transform: rotate(90deg); transition: transform 0.2s; }
.faq-toggle[aria-expanded='true'] .faq-ic::after { transform: rotate(0deg); }
.faq-a { padding: 0 34px 18px 2px; }
.faq-a p { margin: 0; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding-block: clamp(80px, 10vw, 130px); color: #f2ede4; overflow: clip; }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(12deg, rgba(12, 24, 38, 0.92) 8%, rgba(12, 24, 38, 0.55) 55%, rgba(194, 38, 59, 0.32) 100%); }
.cta-in { position: relative; text-align: center; max-width: 760px; }
.cta-in .kicker { justify-content: center; }
.cta-in h2 { color: #fbf8f2; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-in p { color: #dcd6c9; max-width: 56ch; margin-inline: auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.cta-meta { color: #a9b6c5; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink-deep) url('/demos/legal/osei-fortin/assets/img/plate-linen.webp') center/cover; background-blend-mode: soft-light; color: #b9c4d2; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(26px, 4vw, 56px); padding-block: clamp(52px, 6vw, 76px) 36px; }
.site-foot .logo { color: var(--paper); }
.site-foot .logo-sub { color: #8fa0b4; }
.foot-tag { font-size: 0.95rem; margin: 16px 0 10px; max-width: 34ch; }
.foot-langs { color: #7f92a8; }
.foot-col h3 { color: var(--paper); font-size: 0.95rem; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: #cfd8e3; text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.foot-contact address { font-style: normal; font-size: 0.94rem; }
.foot-hours { color: #7f92a8; }
.foot-legal { border-top: 1px solid rgba(247, 243, 236, 0.12); padding-block: 22px; font-size: 0.8rem; color: #8fa0b4; }
.foot-legal a { text-decoration: underline; }
.foot-copy { margin: 8px 0 0; }
.sl-disclaimer { border-top: 1px dashed rgba(232, 181, 119, 0.4); padding-block: 18px 26px; font-size: 0.8rem; color: #94a6bb; }
.sl-disclaimer a { color: #35e07f; text-decoration: underline; }
.sl-disclaimer p { margin: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Seed Light kit ---------- */
.sl-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; background: #171a21; color: #35e07f; font-family: var(--mono);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 7px; border: 0; border-radius: 0 4px 4px 0; cursor: pointer; z-index: 70; }
.sl-card { position: fixed; right: 34px; top: 50%; transform: translateY(-50%); width: 240px;
  background: #171a21; color: #e8eaee; border: 1px solid #2c3140; border-radius: 8px; padding: 18px; z-index: 71;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.sl-card-title { color: #35e07f; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 8px; }
.sl-card p { font-size: 0.82rem; margin: 0 0 12px; }
.sl-btn { display: block; text-align: center; font-size: 0.8rem; font-weight: 600; text-decoration: none;
  border-radius: 5px; padding: 9px 12px; margin-bottom: 8px; }
.sl-btn-wa { background: #35e07f; color: #10131a; }
.sl-btn-site { border: 1px solid #35e07f; color: #35e07f; }
.sl-float { position: fixed; right: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 72;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.sl-float svg { width: 30px; height: 30px; }
.sl-float:hover { background: #1fba57; color: #fff; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid;
    grid-template-columns: 1fr 1fr 1.4fr; background: var(--ink-deep); border-top: 1px solid rgba(247, 243, 236, 0.15); }
  .action-bar a { text-align: center; padding: 13px 6px; font-size: 0.82rem; font-weight: 600;
    color: #f0ede6; text-decoration: none; }
  .action-bar a + a { border-left: 1px solid rgba(247, 243, 236, 0.12); }
  .action-bar .ab-book { background: var(--maple); color: #fff; }
  body { padding-bottom: 52px; }
  .sl-float { bottom: 66px; width: 50px; height: 50px; }
  body.nav-open .sl-float, body.nav-open .sl-tab, body.nav-open .action-bar { display: none; }
}

/* ---------- Interior page title ---------- */
.page-title { position: relative; background: var(--ink); color: #e5e0d5; overflow: clip; }
.pt-plate { position: absolute; inset: 0; background: url('/demos/legal/osei-fortin/assets/img/plate-dawn.webp') center/cover; opacity: 0.34; mix-blend-mode: screen; }
.pt-plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(85deg, rgba(12, 24, 38, 0.9), rgba(12, 24, 38, 0.35) 65%, rgba(194, 38, 59, 0.18)); }
.pt-arc { position: absolute; inset: auto 0 0 0; height: 60%; width: 100%; }
.pt-in { position: relative; padding-block: clamp(44px, 6vw, 80px); }
.page-title h1 { color: #fbf8f2; max-width: 22ch; margin-bottom: 0.3em; }
.pt-lede { max-width: 62ch; font-size: 1.06rem; color: #c8d1dc; margin: 0; }
.crumbs { margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8fa0b4; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: 0.5; }
.crumbs a { color: #b9c4d2; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* ---------- Service page ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.svc-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; aspect-ratio: 5/3; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-body h2 { font-size: 1.55rem; margin-top: 1.6em; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body ul li { margin-bottom: 0.6em; }
.svc-aside { position: sticky; top: 96px; }
.facts-card { background: var(--board); color: #d8dfe8; border-radius: var(--radius); padding: 24px 24px 20px; box-shadow: var(--shadow); position: relative; overflow: clip; }
.facts-card::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px); }
.facts-card h3 { color: var(--amber); font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
.facts-list { list-style: none; margin: 0 0 18px; padding: 0; position: relative; z-index: 1; }
.facts-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid rgba(247, 243, 236, 0.1); }
.facts-list .fl-k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa0b4; }
.facts-list .fl-v { font-size: 0.95rem; color: #f0ede6; font-weight: 600; }
.facts-card .btn { width: 100%; position: relative; z-index: 1; }
.facts-note { font-size: 0.72rem; color: #7f92a8; margin: 10px 0 0; position: relative; z-index: 1; }
.related-band .journey-item::before { display: none; }
.related-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-cards a { display: block; background: #fffdf8; padding: 20px 22px; border-radius: var(--radius);
  border-left: 3px solid var(--maple); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.related-cards .rc-code { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--slate-soft); display: block; margin-bottom: 6px; text-transform: uppercase; }
.related-cards h3 { font-size: 1.05rem; margin: 0; }
.related-cards a:hover h3 { color: var(--maple-deep); }
@media (max-width: 980px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .related-cards { grid-template-columns: 1fr; }
}

/* ---------- Article ---------- */
.article-wrap { max-width: 780px; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.7em; }
.article-body ul li { margin-bottom: 0.6em; }
.article-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 34px; aspect-ratio: 2.2/1; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.byline { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 30px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.byline-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin: 0; }
.byline-role { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); margin: 0; }

/* ---------- Generic content ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 52px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-split .ms-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.media-split .ms-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .media-split { grid-template-columns: 1fr; } }
.interstitial { position: relative; min-height: 380px; overflow: clip; display: flex; align-items: flex-end; }
.interstitial img.int-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interstitial .int-scrim { position: absolute; inset: 0; background: linear-gradient(8deg, rgba(12, 24, 38, 0.78), rgba(12, 24, 38, 0.12) 60%); }
.interstitial .wrap { position: relative; padding-block: 44px; }
.interstitial blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fbf8f2; max-width: 26ch; line-height: 1.35; }
.interstitial cite { display: block; font-family: var(--mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-top: 14px; }

/* ---------- Steps (how we work) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { counter-increment: step; background: #fffdf8; border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); position: relative; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 2rem; font-weight: 600; color: var(--maple); opacity: 0.85; display: block; margin-bottom: 10px; }
.step.stat::before { display: none; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.9rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Fees ---------- */
.fee-table { width: 100%; border-collapse: collapse; background: #fffdf8; box-shadow: var(--shadow); }
.fee-table th, .fee-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.fee-table th { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid var(--maple); }
.fee-table td:last-child { font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; color: var(--ink); }
.fee-scroll { overflow-x: auto; }
.fee-scroll table { min-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-card { background: #fffdf8; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--maple); }
.form-success { display: none; background: #eaf6ee; border: 1.5px solid #2e7d4f; color: #1d5435; border-radius: var(--radius); padding: 16px 18px; font-size: 0.95rem; }
.form-success.show { display: block; }
.contact-info .ci-block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-block h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info .ci-block p { margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pathway finder / boarding pass ---------- */
.finder-steps { display: grid; gap: 18px; }
.finder-q { background: #fffdf8; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.finder-q h3 { font-size: 1.05rem; margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: inherit; font-size: 0.88rem; font-weight: 600; padding: 10px 18px; border: 1.5px solid var(--line);
  background: #fff; color: var(--slate); border-radius: 999px; cursor: pointer; }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.boarding-pass { background: #fffdf8; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(12, 24, 38, 0.25);
  max-width: 720px; position: relative; }
.bp-head { background: var(--board); color: var(--paper); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bp-head .mono { color: var(--amber); }
.bp-title { font-family: var(--mono); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.78rem; margin: 0; }
.bp-main { padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.bp-route { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.bp-sub { font-size: 0.9rem; color: var(--slate-soft); margin: 0; }
.bp-arc { width: 120px; }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px dashed var(--line); }
.bp-cell { padding: 14px 24px; border-right: 1px solid var(--line); }
.bp-cell:last-child { border-right: 0; }
.bp-cell .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-soft); display: block; }
.bp-cell .v { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.bp-foot { background: var(--paper-warm); padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.bp-notes { padding: 0 24px 18px; }
.bp-notes ul { margin: 0; padding-left: 1.2em; font-size: 0.9rem; }
@media (max-width: 620px) { .bp-grid { grid-template-columns: 1fr; } .bp-cell { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .team-photo img, .board-row .board-route { transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .sl-kit, .sl-tab, .sl-card, .sl-float, .action-bar, .topbar, .nav-burger, .head-cta, .sl-disclaimer { display: none !important; }
}

/* ===== Seed Light mobile-header fix (2026-07-24): head CTA never hid (a.btn out-specified .head-cta), crowding the burger off-screen ===== */
@media (max-width:1020px){
  a.btn.head-cta{display:none}
}

/* ===== Seed Light drawer close-X (2026-07-24c): lift the toggle above the open drawer as a visible close button ===== */
.nav-burger[aria-expanded="true"]{position:fixed;top:14px;right:16px;z-index:5000;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(0,0,0,.14);border-radius:10px;padding:0;font-size:0;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.nav-burger[aria-expanded="true"] span{display:none!important}
.nav-burger[aria-expanded="true"]::before{content:"\2715";font-size:20px;line-height:1;color:#222}
