/* Flandrien Consulting — one system for every page.
   Ink + paper from the checkered logo, orange as the single accent.
   Orange is a fill (buttons, markers) or text on dark; on light backgrounds text uses --accent-ink. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e0e0e;
  --ink-2: #1b1b1b;
  --ink-3: #2a2a2a;
  --text: #191919;
  --muted: #565656;
  --muted-dark: #b4b4b4;
  --paper: #ffffff;
  --paper-2: #f5f3ef;
  --line: #e3dfd8;
  --line-dark: #333;
  --accent: #ff6b35;
  --accent-hover: #ff8757;
  --accent-ink: #c2410c;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section: clamp(4rem, 2.6rem + 5.5vw, 7.5rem);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --checker: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; }
h3, .h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 650; }
.hl { color: var(--accent-ink); }
.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.lead-sm { font-size: 1.1875rem; line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-style: italic; }
.kicker { color: var(--accent-ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.list-title { font-weight: 650; color: var(--ink); margin-bottom: 0.6rem; }
.statement { font-size: 1.25rem; line-height: 1.4; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 16px; height: 8px; flex: none;
  background: var(--checker); background-size: 8px 8px;
  border: 1px solid var(--ink);
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.alt { background: var(--paper-2); }
.stack { display: grid; gap: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.prose > * + * { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn .i { width: 1.1em; height: 1.1em; flex: none; transition: transform .18s ease; }
.btn:hover .i { transform: translateX(2px); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- header ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) {
  position: relative; padding: 0.5rem 0.8rem; text-decoration: none;
  font-size: 0.9688rem; font-weight: 550; color: var(--text);
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav .btn { margin-left: 0.75rem; }
.menu-btn {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: none;
  font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .js .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(0,0,0,.25); }
  .js .nav:not(.open) { display: none; }
  .no-js .header-in { flex-wrap: wrap; padding-block: 0.75rem; }
  .no-js .nav { position: static; flex-direction: row; flex-wrap: wrap; padding: 0; box-shadow: none; border: 0; }
  .nav a:not(.btn) { padding: 0.85rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { left: 0; right: auto; width: 28px; bottom: 0.5rem; }
  .nav .btn { margin: 1rem 0 0; min-height: 48px; }
}

/* ---------- home hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(560px, min(calc(100svh - var(--header-h) - 7rem), 820px)); color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg, .cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { object-position: 60% 40%; }
.hero::before, .cta-band.has-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.72) 45%, rgba(14,14,14,.25) 100%),
              linear-gradient(0deg, rgba(14,14,14,.75) 0%, rgba(14,14,14,0) 45%);
}
.hero-in { padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 9vh, 6.5rem); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .hl, .cta-band .hl, .decision .hl { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.86); margin-top: 1.5rem; max-width: 46ch; }
.hero .eyebrow, .cta-band .eyebrow, .decision .eyebrow, .card-dark .eyebrow { color: var(--accent); }
.hero .eyebrow::before, .cta-band .eyebrow::before, .decision .eyebrow::before { border-color: #fff; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 0.75rem; font-size: 0.75rem; color: rgba(255,255,255,.72); text-align: right; }
.hero-credit a { color: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-in > :nth-child(2) { animation-delay: .08s; }
  .hero-in > :nth-child(3) { animation-delay: .16s; }
  .hero-in > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- triad strip ---------- */
.triad { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.triad-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.triad-item { padding: 2rem 1.5rem 2.1rem; border-left: 1px solid var(--line-dark); }
.triad-item:first-child { border-left: 0; padding-left: 0; }
.triad-k { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.triad-v { color: var(--accent); font-weight: 550; margin-top: 0.35rem; }
@media (max-width: 640px) {
  .triad-in { grid-template-columns: 1fr; }
  .triad-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .triad-item:first-child { border-top: 0; }
}

/* ---------- generic layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split h2 { max-width: 18ch; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
.split .lead { margin-top: 1.25rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .lead { margin: 1.25rem auto 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
}
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.card > * + * { margin-top: 0.9rem; }
.card h3 + .ticks, .card h3 + .tags { margin-top: 1rem; }
.card-k { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.card-dark { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.88); }
.card-dark h2, .card-dark h3, .card-dark .statement { color: #fff; }
.card-dark .note, .card-dark .muted { color: var(--muted-dark); }
.card-dark a:not(.btn) { color: #fff; }
.card-dark .card-k { color: var(--accent); }
.link-card { display: block; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.link-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; color: var(--ink); font-size: 0.9688rem; }
.more .i { width: 1.1em; height: 1.1em; transition: transform .18s ease; }
.link-card:hover .more .i, .service-card:hover .more .i { transform: translateX(3px); }
.i { display: inline-block; vertical-align: middle; }

/* ---------- lists ---------- */
.ticks { display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 0.85rem; height: 2px; background: var(--accent); }
.ticks.cols-2 { grid-template-columns: 1fr 1fr; gap: 0.55rem 2rem; }
@media (max-width: 640px) { .ticks.cols-2 { grid-template-columns: 1fr; } }
.dots { display: grid; gap: 0.35rem; }
.dots li { position: relative; padding-left: 1.1rem; }
.dots li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.risks { display: grid; gap: 0.55rem; }
.risks li { position: relative; padding-left: 1.6rem; }
.risks li::before { content: '×'; position: absolute; left: 0.1rem; top: -0.05em; font-weight: 700; color: var(--accent-ink); font-size: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 0.9375rem; line-height: 1.35; font-weight: 500; }
.alt .card .tags li, .card .tags li { background: var(--paper-2); border-color: transparent; }
.page-head .tags { margin-top: 1.75rem; }

/* ---------- about ---------- */
.audience { border-top: 1px solid var(--line); margin-top: 1.5rem !important; }
.audience li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1875rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.audience li::before { content: ''; width: 16px; height: 8px; flex: none; background: var(--checker); background-size: 8px 8px; border: 1px solid var(--ink); }
.advantage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3.5rem, 7vw, 6rem); align-items: center; }
.advantage h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.quote { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 1rem + 3vw, 3rem); position: relative; overflow: hidden; }
.quote::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--checker); background-size: 12px 12px; opacity: .9; }
.quote p { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; }
.quote footer { margin-top: 1.25rem; padding-bottom: 0.75rem; color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .advantage { grid-template-columns: 1fr; } }

/* ---------- services teaser (home) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card { display: flex; flex-direction: column; height: 100%; gap: 0.6rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.service-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.service-card .num { font-size: 0.9375rem; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.04em; }
.service-card h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem); letter-spacing: -0.02em; }
.service-card p { color: var(--muted); }
.service-card .more { margin-top: auto; padding-top: 1rem; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- principle ---------- */
.principle { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); text-align: center; }
.principle > p:first-child { color: var(--muted); font-size: 1.125rem; }
.principle-name { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; color: var(--ink); margin-top: 0.5rem !important; }
.principle .actions { justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; background: var(--ink); color: #fff; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.82); margin-top: 1.25rem; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cta-band.has-bg { padding-block: clamp(6rem, 4rem + 8vw, 10rem); }
.cta-band.has-bg::before { background: linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.78) 50%, rgba(14,14,14,.45) 100%); }
.cta-bg { object-position: 50% 45%; }
.cta-band .photo figcaption { color: var(--muted-dark); }
.cta-band .photo figcaption a { color: inherit; }
.facts { display: grid; gap: 1.5rem; justify-self: end; min-width: min(100%, 300px); }
.facts div { border-left: 2px solid var(--accent); padding-left: 1.25rem; }
.facts dt { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.facts dd { margin: 0.35rem 0 0; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) {
  .cta-in { grid-template-columns: 1fr; }
  .facts { justify-self: start; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.page-head-in { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-head.has-photo .page-head-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 1.5rem; }
.page-head-photo img { border-radius: var(--radius); }
@media (max-width: 900px) { .page-head.has-photo .page-head-in { grid-template-columns: 1fr; } }
.notfound { min-height: 55vh; display: flex; align-items: center; }

/* ---------- photo + credit ---------- */
.photo img { border-radius: var(--radius); background: var(--paper-2); }
.photo figcaption { margin-top: 0.6rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.photo figcaption a { color: inherit; }

/* ---------- services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 0.55rem; flex: none; padding: 0.95rem 0.9rem; font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:first-child { padding-left: 0; }
.subnav a .num { color: var(--accent-ink); font-size: 0.8125rem; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.service { scroll-margin-top: calc(var(--header-h) + 56px); }
.service-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.service-head { position: sticky; top: calc(var(--header-h) + 88px); }
.service-head > * + * { margin-top: 1rem; }
.service-head .eyebrow { margin-bottom: 0; }
.service-head .eyebrow .num { font-size: 1rem; letter-spacing: 0.04em; }
.service-head h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.75rem); margin-top: 0.75rem; }
.service-head .ticks, .service-head .risks { margin-top: 1.25rem; }
.service-body { display: grid; gap: 1rem; }
.service-body > .photo { margin-bottom: 0.5rem; }
.pricing .btn { width: 100%; margin-top: 1.5rem; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
.price-list dt { color: rgba(255,255,255,.86); }
.price-list dd { margin: 0; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.steps-mini { display: grid; gap: 0.5rem; margin-top: 1.25rem !important; }
.steps-mini li, .pillars li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; background: var(--paper-2); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.steps-mini .num, .pillars .num { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.875rem; font-weight: 700; }
.domain .card-k { margin-bottom: -0.35rem; }
.domain .note { padding-top: 0.9rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .service-in { grid-template-columns: 1fr; }
  .service-head { position: static; }
}

/* ---------- methodology ---------- */
.phase-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: phase; }
.phase-flow li { position: relative; }
.phase-flow li + li::before { content: ''; position: absolute; left: -0.95rem; top: 50%; width: 0.9rem; height: 2px; background: var(--ink); }
.phase-flow a { display: block; height: 100%; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.phase-flow a:hover { border-color: var(--ink); transform: translateY(-2px); }
.phase-flow .num { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 750; font-size: 1.125rem; margin-bottom: 1.25rem; }
.phase-flow p { color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 760px) {
  .phase-flow { grid-template-columns: 1fr; }
  .phase-flow li + li::before { left: 2.3rem; top: -0.95rem; width: 2px; height: 0.9rem; }
}
.phase-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 900px; }
.phase-letter { font-size: clamp(4rem, 2.5rem + 6vw, 7.5rem); line-height: 0.85; font-weight: 800; letter-spacing: -0.05em; color: var(--accent-ink); }
.phase-head .lead { margin-top: 1.1rem; }
.steps { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.step-n span { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.step-body { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); max-width: 760px; }
.step:last-child .step-body { border-bottom: 0; padding-bottom: 0; }
.step-body > * + * { margin-top: 1rem; }
.step-body h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); letter-spacing: -0.02em; }
.step-body .kicker { margin-top: 0.35rem; }
.step-body .photo { margin-top: 2rem; max-width: 640px; }
.sub-block { margin-top: 1.75rem !important; padding: 1.25rem 1.4rem; background: var(--paper-2); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.sub-block h4 { margin-bottom: 0.4rem; }
.alt .sub-block, .alt .pillars li { background: var(--paper); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.pillars li { align-items: flex-start; flex-direction: column; gap: 0.75rem; padding: 1.1rem; }
@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 0.75rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li { flex-direction: row; align-items: center; }
  .phase-head { gap: 1rem; }
  .phase-letter { font-size: 3.5rem; }
}
.decision { position: relative; background: var(--ink); color: #fff; text-align: center; }
.decision .checker { position: absolute; left: 0; right: 0; top: 0; }
.decision h2 { color: #fff; }
.decision-in { max-width: 900px; }
.decision-text { margin-top: 1.75rem; font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.4rem); line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; }
.decision .lead { color: var(--muted-dark); margin: 1.5rem auto 0; }
.decision .actions { justify-content: center; }

/* ---------- founders ---------- */
.founders { display: grid; gap: 0; }
.founder { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); align-items: start; }
.founder:first-child { padding-top: 0; }
.founder:last-child { border-bottom: 0; padding-bottom: 0; }
.founder-photo img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.founder-text { max-width: 64ch; }
.founder-text h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.4rem); }
.founder-text .role { margin: 0.5rem 0 1.25rem; color: var(--accent-ink); font-weight: 650; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
}

/* ---------- publications ---------- */
.pubs-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.pubs-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.pubs-aside p { color: var(--muted); }
.pub-group + .pub-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pub-group > h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 1rem; }
.pub-list { display: grid; gap: 1rem; }
.pub { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.pub:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,53,.25); }
.pub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--muted); }
.pub-type { font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); font-size: 0.8125rem; }
.pub h3 { margin-top: 0.75rem; }
.pub > p { margin-top: 0.5rem; color: var(--muted); }
.pub-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
@media (max-width: 900px) {
  .pubs-layout { grid-template-columns: 1fr; }
  .pubs-aside { position: static; order: 2; }
}

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem; align-items: start; }
.contact-side { display: grid; gap: 1rem; }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9688rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #c9c4bc; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input::placeholder, .field textarea::placeholder { color: #767676; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,107,53,.35); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .error { color: #b42318; font-size: 0.875rem; }
.form-note { font-size: 0.875rem; color: var(--muted); }
.contact-form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 550; }
.form-status.ok { background: #e7f6ec; color: #14532d; }
.form-status.err { background: #fdecea; color: #8a1c12; }
.no-js-note { display: none; font-size: 0.9375rem; }
.no-js .no-js-note { display: block; }
.no-js .contact-form .btn { display: none; }
.contact-list div { padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-list dt { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.contact-list dd { margin: 0.25rem 0 0; font-size: 1.0625rem; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.9375rem; }
.toc ol { counter-reset: toc; display: grid; gap: 0.15rem; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; text-decoration: none; color: var(--muted); }
.toc a::before { content: counter(toc) '. '; color: var(--accent-ink); font-weight: 600; }
.toc a:hover { color: var(--ink); }
.legal { max-width: 70ch; }
.legal section { padding-top: 2rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal section > * + * { margin-top: 0.9rem; }
.legal h2 { display: flex; gap: 0.75rem; align-items: baseline; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); letter-spacing: -0.02em; }
.legal h2 .num { color: var(--accent-ink); font-size: 0.85em; }
.legal-contact { margin-top: 3rem !important; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- credits ---------- */
.credit-list { display: grid; gap: 1rem; max-width: 900px; }
.credit-list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.credit-list img { border-radius: var(--radius-sm); }
.credit-list p { margin-top: 0.35rem; }
@media (max-width: 560px) { .credit-list li { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; } }

/* ---------- footer ---------- */
.checker { height: 14px; background: var(--checker); background-size: 14px 14px; }
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); }
.site-footer .wrap { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
.footer-brand img { height: 72px; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; font-size: 0.9688rem; }
.footer-title { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.footer-bottom a { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 340px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
