/* ==========================================================================
   Diamond Star Venture Group — styles.css
   Visual direction: v1.3 branding — white / charcoal / DSVG logo accent
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-serif-4-var.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* v1.3 palette — derived from the official DSVG logo (#DC1A59) */
  --accent: #DC1A59;         /* logo colour: logo, CTAs, focus, rules, icons. 4.84:1 on white, 4.56:1 on paper */
  --accent-deep: #B3124A;    /* hover/pressed, small accent text on tinted areas. 6.77:1 on white */
  --accent-light: #F0628F;   /* accent text/lines on charcoal. 5.88:1 on --ink */
  --accent-tint: #FCEEF3;    /* very light accent wash for info messages / selection */
  --ink: #16161A;            /* charcoal: headings, structural dark areas. 18:1 on white */
  --ink-2: #212125;
  --ink-3: #2C2C31;
  --paper: #F8F8F7;          /* light off-white sections */
  --white: #ffffff;
  --text: #2A2B2F;
  --muted: #5B5D63;          /* 6.2:1 on paper */
  --rule: #E4E3E0;
  --rule-dark: rgba(255, 255, 255, 0.12);
  --on-dark: #ECECEE;
  --on-dark-muted: #A6A8AE;  /* 7.6:1 on --ink */
  --focus: #DC1A59;
  --success: #2f6b4f;
  --error: #9b2c2c;

  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
  --shadow: 0 1px 2px rgba(22, 22, 26, 0.04), 0 8px 24px rgba(22, 22, 26, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: #F8D5E1; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); outline-color: var(--accent-light); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--space-section) 0; }
.section--tight { padding: calc(var(--space-section) * 0.6) 0; }
.section--white { background: var(--white); }
.section--rule { border-top: 1px solid var(--rule); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: var(--white); }
.section--dark a:not(.btn) { color: var(--white); }
.section--dark .eyebrow { color: var(--accent-light); }
.section--dark .muted, .section--dark .lede { color: var(--on-dark-muted); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 7fr 5fr; }
}
.stack > * + * { margin-top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.statement {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; color: var(--ink);
  letter-spacing: -0.01em; max-width: 30em; margin: 0;
}
.statement em { font-style: normal; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--accent); color: var(--white); }
.btn--light:hover { background: var(--accent-deep); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.text-link::after { content: "→"; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--accent-deep); }
.text-link:hover::after { transform: translateX(3px); }
.section--dark .text-link, .hero .text-link { color: var(--white); border-color: var(--accent-light); }
.section--dark .text-link:hover, .hero .text-link:hover { color: var(--accent-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 2px 12px rgba(22,22,26,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 35px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.75rem;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius);
  font: 600 0.85rem var(--font-sans); color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 32px rgba(22,22,26,.08);
  padding: 0.5rem var(--gutter) 1.5rem; max-height: calc(100vh - 76px); overflow-y: auto;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.85rem 0; text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 1rem; border-bottom: 1px solid var(--rule);
}
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta { margin-top: 1.25rem; }
.site-nav .nav-cta a { display: inline-flex; border-bottom: 0; padding: 0.8rem 1.4rem; color: var(--white); }
.site-nav a:hover { color: var(--accent-deep); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: flex; position: static; background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; max-height: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
  .site-nav a { padding: 0.4rem 0; border: 0; font-size: 0.92rem; position: relative; }
  .site-nav li:not(.nav-cta) a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent);
    transition: right .25s var(--ease);
  }
  .site-nav li:not(.nav-cta) a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-nav .nav-cta { margin: 0 0 0 0.5rem; }
  .site-nav .nav-cta a { padding: 0.55rem 1.1rem; min-height: 40px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 7fr 4fr; gap: 4rem; } }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--accent-light); }
.hero .eyebrow { color: var(--accent-light); }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-dark); max-width: 34em; margin-bottom: 2.25rem; opacity: .92; }
.hero__aside {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; color: var(--on-dark-muted); font-size: 0.98rem;
}
.hero__aside strong { color: var(--white); font-weight: 600; }

/* Spine graphic in hero */
.spine { list-style: none; margin: 0; padding: 0; position: relative; }
.spine::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px;
  background: rgba(220,26,89,.45);
}
.spine li { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 0.7rem 0; }
.spine__dot {
  width: 43px; height: 43px; flex: none; display: grid; place-items: center;
  background: var(--ink); border: 1px solid rgba(220,26,89,.55);
  transform: rotate(45deg); transform-origin: center;
}
.spine__dot span { transform: rotate(-45deg); font: 600 0.78rem var(--font-serif); color: var(--accent-light); }
.spine__label { display: flex; flex-direction: column; }
.spine__label b { font: 600 0.82rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); }
.spine__label small { font-size: 0.88rem; color: var(--on-dark-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: clamp(3.75rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.25rem, 5vw, 3.6rem); max-width: 18em; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero .lede { color: var(--on-dark); opacity: .88; }
.page-hero .btn-row { margin-top: 2rem; }
.breadcrumb { font-size: 0.82rem; color: var(--on-dark-muted); margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: .5; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* In-page subnav */
.subnav { background: var(--white); border-bottom: 1px solid var(--rule); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 1rem 0; white-space: nowrap; font-size: 0.88rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.subnav a:hover { color: var(--ink); }

/* ---------- Operating model ---------- */
.model { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: stage; }
.model__step { position: relative; padding: 0 0 2.25rem 4.25rem; }
.model__step::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--rule);
}
.model__step:last-child::before { display: none; }
.model__num {
  position: absolute; left: 0; top: 0; width: 43px; height: 43px; display: grid; place-items: center;
  border: 1px solid var(--accent); background: var(--paper); transform: rotate(45deg);
}
.section--white .model__num { background: var(--white); }
.model__num span { transform: rotate(-45deg); font: 600 0.85rem var(--font-serif); color: var(--accent); }
.model__title { font: 600 0.95rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 0.55rem 0 0.5rem; }
.model__text { color: var(--muted); margin: 0; font-size: 1rem; }
.model__text + ul { margin-top: 0.85rem; }
@media (min-width: 1000px) {
  .model { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
  .model__step { padding: 4.25rem 0 0; }
  .model__step::before { left: 52px; right: -1.75rem; top: 21px; bottom: auto; width: auto; height: 1px; }
  .model__num { top: 0; left: 0; }
}
.model--detailed .model__step { padding-bottom: 3rem; }
.model--detailed .model__text { font-size: 1.02rem; }
@media (min-width: 1000px) {
  .model--detailed { grid-template-columns: 1fr; gap: 0; }
  .model--detailed .model__step { padding: 0 0 3rem 5.5rem; display: grid; grid-template-columns: 14rem 1fr; gap: 2.5rem; }
  .model--detailed .model__step::before { left: 21px; top: 44px; bottom: 0; right: auto; width: 1px; height: auto; }
  .model--detailed .model__title { margin-top: 0.6rem; }
}

/* ---------- Cards / tiles ---------- */
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem); height: 100%;
}
.section--white .card { background: var(--paper); }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--top { border-top: 2px solid var(--accent); }
.card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.card--link:hover { border-color: #D2D1CD; box-shadow: var(--shadow); color: inherit; transform: translateY(-2px); }
.card--link .text-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; border: 0; }
.card__kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.section--dark .card { background: var(--ink-2); border-color: var(--rule-dark); color: var(--on-dark); }
.section--dark .card p { color: var(--on-dark-muted); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tiles li { background: var(--white); padding: 1.6rem 1.5rem; }
.section--white .tiles li { background: var(--paper); }
.tiles h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.tiles p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Diamond checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 0.85rem 0 0.85rem 1.9rem; border-bottom: 1px solid var(--rule); }
.checklist li:first-child { border-top: 1px solid var(--rule); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 1.45rem; width: 8px; height: 8px;
  background: var(--accent); transform: rotate(45deg);
}
.checklist--plain li { border: 0 !important; padding: 0.35rem 0 0.35rem 1.6rem; }
.checklist--plain li::before { top: 0.95rem; width: 6px; height: 6px; }
.section--dark .checklist li { border-color: var(--rule-dark); }
.section--dark .checklist li::before { background: var(--accent-light); }
.checklist strong { display: block; }

.cols-list { columns: 1; column-gap: 2.5rem; }
@media (min-width: 640px) { .cols-list { columns: 2; } }
@media (min-width: 1000px) { .cols-list--3 { columns: 3; } }
.cols-list li { break-inside: avoid; }

/* Sector groups */
.sector { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.sector h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sector ul { list-style: none; padding: 0; margin: 0; }
.sector li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); display: flex; gap: 0.75rem; align-items: baseline; }
.sector li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: none; position: relative; top: -2px; }
.sector__note { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; }

/* Workflow diagram */
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.flow li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.flow li + li::before { content: "→"; color: var(--accent); }
.flow li span { display: inline-block; border: 1px solid var(--rule); padding: 0.4rem 0.7rem; background: var(--paper); border-radius: var(--radius); }
.section--white .flow li span, .card .flow li span { background: var(--white); }
.section--white .card .flow li span { background: var(--white); }
.flow li.flow__human span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.flow-legend { font-size: 0.82rem; color: var(--muted); margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.flow-legend i { width: 14px; height: 14px; border: 2px solid var(--accent); display: inline-block; }
.section--dark .flow li { color: var(--white); }
.section--dark .flow li span { background: var(--ink-2); border-color: var(--rule-dark); }
.section--dark .flow li.flow__human span { border-color: var(--accent-light); box-shadow: inset 0 0 0 1px var(--accent-light); }

/* Callout */
.callout {
  position: relative; background: var(--white); border: 1px solid var(--rule);
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2rem; align-items: center;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
@media (min-width: 900px) { .callout { grid-template-columns: 1.6fr 1fr; } }
.callout h2 { margin-bottom: 0.75rem; }
.callout p:last-child { margin-bottom: 0; }

/* Quote / principle */
.principle { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.principle__num { font: 600 0.85rem var(--font-serif); color: var(--accent); display: block; margin-bottom: 0.5rem; }
.principle h3 { margin-bottom: 0.4rem; }
.principle p { color: var(--muted); margin: 0; }
.section--dark .principle { border-color: var(--rule-dark); }
.section--dark .principle__num { color: var(--accent-light); }
.section--dark .principle p { color: var(--on-dark-muted); }

/* Contrast table: we do / we don't */
.contrast { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast > div { background: var(--white); padding: 1.75rem; }
.contrast h3 { font-size: 1.05rem; font-family: var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.contrast ul { margin: 0; padding-left: 1.1em; }
.contrast li { margin-bottom: 0.5rem; }

/* Steps (process) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { background: var(--white); padding: 1.6rem 1.4rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 0.9rem var(--font-serif); color: var(--accent); display: block; margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.steps .steps__time { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.75rem; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--font-serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-deep); }
.faq .faq__body { padding: 0 0 1.5rem; max-width: 44rem; color: var(--text); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Team ---------- */
.person { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; height: 100%; }
.section--white .person { background: var(--paper); }
.person__photo {
  aspect-ratio: 4 / 3; background: #ECECEA;
  display: grid; place-items: center; color: #8C8E94; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.person__photo svg { width: 44px; height: 44px; opacity: .55; }
.person__body { padding: 1.5rem; }
.person__role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.person h3 { margin-bottom: 0.6rem; }
.person p { font-size: 0.96rem; color: var(--muted); margin-bottom: 0; }

/* Founder card */
.founder { display: grid; background: var(--paper); border: 1px solid var(--rule); max-width: 960px; }
@media (min-width: 720px) { .founder { grid-template-columns: 280px 1fr; } }
.founder__panel { background: var(--ink); display: grid; place-items: center; min-height: 220px; }
.founder__panel svg { width: 96px; height: 96px; }
.founder__body { padding: clamp(1.75rem, 4vw, 2.75rem); }
.founder__body h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.9rem; }
.founder__body p { color: var(--text); max-width: 40rem; }
.founder__contact { margin: 0; font-size: 0.95rem; }

/* Sector priority */
.focus-primary { border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.focus-primary h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.focus-primary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 640px) { .focus-primary ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.focus-primary li { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); display: flex; gap: 0.75rem; align-items: baseline; font-size: 1.05rem; color: var(--ink); }
.focus-primary li::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: none; position: relative; top: -2px; }
.focus-secondary { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.focus-secondary h3 { font-size: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.focus-secondary p { color: var(--muted); font-size: 0.98rem; }
.focus-secondary .examples { font-size: 0.92rem; color: var(--muted); margin: 0; }
.focus-secondary .examples strong { display: inline; color: var(--ink); font-weight: 600; }
.badge.badge--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.badge.badge--muted { color: var(--muted); border-color: var(--rule); }
.focus-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .focus-grid { grid-template-columns: 7fr 4fr; align-items: start; } }

/* Form: offline notice + mailto fallback */
.form-offline { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; padding: 0.85rem 1rem; margin: 0 0 1.5rem; background: var(--paper); border-left: 3px solid var(--accent); color: var(--text); }
.form-offline a { font-weight: 600; }
.form-status .btn { margin-top: 0.85rem; }
.form-status.is-info { border-color: var(--accent); background: var(--accent-tint); color: var(--ink); }

.badge {
  display: inline-block; font: 600 0.68rem var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; border: 1px solid var(--accent); color: var(--accent); background: transparent; vertical-align: middle;
  border-radius: var(--radius); white-space: nowrap;
}

/* ---------- Forms ---------- */
.form-panel { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-panel--dark { background: var(--ink-2); border-color: var(--rule-dark); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: 400 1rem var(--font-sans); color: var(--text);
  background: var(--white); border: 1px solid #CFCECB; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316161A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(220,26,89,.22); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { display: block; font-size: 0.82rem; color: var(--error); margin-top: 0.35rem; min-height: 0; }
.field__hint { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; max-width: 32rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.form-note svg { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-left: 3px solid var(--success); background: #eef4f0; color: #1f4836; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: var(--error); background: #f7eded; color: #6b1f1f; }

/* Assurance strip */
.assurance { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .assurance { grid-template-columns: repeat(3, 1fr); } }
.assurance div { font-size: 0.9rem; color: var(--muted); padding-top: 0.85rem; border-top: 1px solid var(--rule); }
.assurance strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.15rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 360px; height: 360px;
  border: 1px solid rgba(220,26,89,.18); transform: translateY(-50%) rotate(45deg); pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.5fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 36em; }

/* ---------- Footer ---------- */
.site-footer { background: #111114; color: var(--on-dark-muted); padding: 4.5rem 0 2rem; font-size: 0.92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand { color: var(--white); }
.site-footer .brand__sub { color: var(--on-dark-muted); }
.footer-tag { margin: 1.25rem 0 0; max-width: 24rem; line-height: 1.6; }
.footer-h { font: 600 0.74rem var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-legal {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem;
}
.footer-legal p { margin: 0; max-width: 46rem; }

/* ---------- Prose (privacy etc.) ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose p, .prose li { max-width: 44rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--rule); border: 0; margin: 3rem 0; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, form { display: none !important; }
  body { background: #fff; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}

/* Hero secondary link wraps naturally on small screens */
.hero__aside .text-link { display: inline; line-height: 1.8; }
.hero__aside .text-link::after { display: inline-block; margin-left: 0.35rem; }

/* ---------- v1.3 brand details ---------- */
.site-nav .nav-cta a, .site-nav .nav-cta a[aria-current="page"], .site-nav .nav-cta a:hover { color: var(--white); }
.site-footer .brand__mark { width: 38px; height: 35px; }
.founder__panel svg { width: 104px; height: 96px; }
.btn:focus-visible { outline-offset: 3px; }
.section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }

/* LIGHT-HERO:START — v1.3 primary intensity: white home hero, off-white page heroes, dark text, accent used selectively */
.hero { background: var(--white); color: var(--text); border-bottom: 1px solid var(--rule); }
.hero h1 { color: var(--ink); }
.hero h1 span:nth-child(2) { color: var(--accent); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.hero__lede { color: var(--text); opacity: 1; }
.hero__aside { border-top-color: var(--rule); color: var(--muted); }
.hero__aside strong { color: var(--ink); }
.hero .text-link { color: var(--ink); border-color: var(--accent); }
.hero .text-link:hover { color: var(--accent-deep); }
.hero .btn--ghost-light, .page-hero .btn--ghost-light { color: var(--ink); border-color: var(--ink); }
.hero .btn--ghost-light:hover, .page-hero .btn--ghost-light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.spine::before { background: rgba(220,26,89,.35); }
.spine__dot { background: var(--white); border-color: var(--accent); }
.spine__dot span { color: var(--accent); }
.spine__label b { color: var(--ink); }
.spine__label small { color: var(--muted); }
.page-hero { background: var(--paper); color: var(--text); border-bottom: 1px solid var(--rule); }
.page-hero h1 { color: var(--ink); }
.page-hero .lede { color: var(--muted); opacity: 1; }
.breadcrumb, .breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-deep); }
/* LIGHT-HERO:END */

/* ---------- v1.3 final refinements ---------- */
/* 1. Desktop header: logo + wordmark ~13% larger (from 1180px; 1080–1179px keeps the v1.3 size so the nav keeps its spacing) */
@media (min-width: 1180px) {
  .site-header .brand { gap: 0.85rem; }
  .site-header .brand__mark { width: 43px; height: 40px; }
  .site-header .brand__name { font-size: 1.19rem; }
  .site-header .brand__sub { font-size: 0.745rem; }
}
/* 3. Small accent text on off-white (#F8F8F7) uses the deeper accent (6.4:1 instead of 4.56:1) */
:is(.page-hero, .section:not(.section--white):not(.section--dark), .section--white .card, .section--white .tiles li, .section--white .person, .founder, .form-offline)
  :is(.eyebrow, .card__kicker, .principle__num, .person__role, .model__num span, .badge:not(.badge--solid):not(.badge--muted)) { color: var(--accent-deep); }
:is(.page-hero, .section:not(.section--white):not(.section--dark), .section--white .card, .section--white .tiles li, .section--white .person, .founder)
  .badge:not(.badge--solid):not(.badge--muted) { border-color: var(--accent-deep); }
:is(.page-hero, .section:not(.section--white):not(.section--dark), .section--white .card) .flow li + li::before { color: var(--accent-deep); }
