/* Layout: editorial split hero over a live "org network" canvas, then alternating paper / tint / ink bands. */
:root {
  --bg: #f2f4f0;
  --surface: #ffffff;
  --tint: #e6ece6;
  --fg: #15231f;
  --muted: #56655f;
  --line: #cfd8d1;
  --pine: #1d4a43;
  --pine-2: #2b6a5f;
  --brass: #b8812a;
  --brass-soft: #f1e2c3;
  --on-pine-ac: #e3b25c;
  --ink-bg: #10211d;
  --ink-fg: #e8efe9;
  --ink-muted: #9fb4ab;
  --ink-line: #2a3f39;
  --shadow: 0 20px 50px -24px rgba(21, 45, 39, .35);

  --f-display: "Literata", "Georgia", "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .85rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
  --step-4: clamp(2.8rem, 1.6rem + 5vw, 5.4rem);

  --radius: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1614; --surface: #142320; --tint: #11201c; --fg: #e6eee9; --muted: #9db0a8; --line: #263a35;
    --pine: #7cc2b2; --pine-2: #5aa595; --brass: #e2b25c; --brass-soft: #3a2f1b; --on-pine-ac: #7a4d0c;
    --ink-bg: #08100e; --ink-fg: #e6eee9; --ink-muted: #8fa59c; --ink-line: #1f302b;
    --shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1614; --surface: #142320; --tint: #11201c; --fg: #e6eee9; --muted: #9db0a8; --line: #263a35;
  --pine: #7cc2b2; --pine-2: #5aa595; --brass: #e2b25c; --brass-soft: #3a2f1b; --on-pine-ac: #7a4d0c;
  --ink-bg: #08100e; --ink-fg: #e6eee9; --ink-muted: #8fa59c; --ink-line: #1f302b;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--pine); }
.h2--xl { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }

/* progress */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pine), var(--brass)); }

/* NAV */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--pine); color: var(--bg);
  font-family: var(--f-display); font-style: italic; font-size: 1rem;
}
.brand__name { font-weight: 600; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .92rem; color: var(--muted); position: relative; padding-block: .3rem; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg);
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--brass); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
.nav__burger { display: none; }
.nav__burger span { display: block; width: 16px; height: 1.6px; background: currentColor; transition: transform .3s; grid-area: 1/1; }
.nav__burger span:first-child { transform: translateY(-3px); }
.nav__burger span:last-child { transform: translateY(3px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* BUTTONS */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.4rem; border-radius: 999px;
  font: 500 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--pine); color: var(--bg); box-shadow: var(--shadow); }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brass);
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn--accent:hover::before { transform: translateY(0); }
.btn--accent:hover { color: #1a140a; }
.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--small { padding: .6rem 1rem; font-size: .85rem; }

/* page-load sequence */
.load { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* HERO */
.hero { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) 2.5rem; overflow: hidden; }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__text { min-width: 0; }
.hero__title {
  font-family: var(--f-display); font-weight: 400; font-size: var(--step-4);
  line-height: .98; letter-spacing: -.03em; margin: 0 0 1.4rem;
}
.hero__title .line { display: block; }
.hero__title em { font-weight: 500; }
.hero__role { font-weight: 500; color: var(--fg); margin: 0 0 1rem; font-size: var(--step-1); line-height: 1.4; }
.hero__role .sep { color: var(--brass); margin-inline: .5rem; }
.hero__lead { color: var(--muted); max-width: 56ch; margin: 0 0 2rem; font-size: 1.05rem; }
.hero__lead strong { color: var(--fg); font-weight: 600; background: linear-gradient(transparent 62%, var(--brass-soft) 62%); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(100%, 420px); aspect-ratio: 1; max-width: 100%; }
.portrait__orbit { position: absolute; inset: -6%; width: 112%; height: 112%; animation: spin 40s linear infinite; }
.portrait__orbit circle { fill: none; stroke: var(--brass); stroke-width: 1; stroke-dasharray: 2 9; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait__frame {
  position: absolute; inset: 0; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
  overflow: hidden; box-shadow: var(--shadow);
  animation: morph 14s ease-in-out infinite;
  background: var(--tint);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
@keyframes morph {
  0%, 100% { border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%; }
  50% { border-radius: 54% 46% 52% 48% / 46% 54% 48% 52%; }
}
.chip, .badge { position: absolute; transition: transform .4s var(--ease); will-change: transform; }
.chip {
  padding: .55rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow);
  white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.chip--a { top: 8%; left: -8%; }
.chip--b { top: 46%; right: -12%; }
.chip--c { bottom: 6%; left: 2%; }
.badge {
  bottom: -2%; right: 4%; width: 112px; height: 112px; border-radius: 50%;
  background: var(--pine); color: var(--bg); display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow);
}
.badge__num { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; }
.badge__txt { font-size: .7rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }

/* stats */
.stats {
  position: relative; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 1.4rem 1.2rem 0 0; min-width: 0; }
.stat + .stat { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.stat dt { font-size: .8rem; color: var(--muted); order: 2; }
.stat dd { margin: 0 0 .3rem; font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.1; color: var(--fg); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat .dash { color: var(--brass); }
.stat small { font-family: var(--f-body); font-size: .85rem; color: var(--muted); margin-left: .4rem; }

/* ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1rem; background: var(--surface); }
.ticker__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; white-space: nowrap; color: var(--fg); }
.ticker i { width: 8px; height: 8px; border-radius: 2px; background: var(--brass); transform: rotate(45deg); flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink-bg); color: var(--ink-fg); }
.section--ink .h2 em { color: var(--brass); }
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }

/* reveal: elements stay visible unless JS marks them as below the fold */
.reveal.pre { opacity: 0; transform: translateY(36px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); }
.about__head, .about__body { min-width: 0; }
.about__body p { margin: 0 0 1.1rem; color: var(--muted); max-width: 64ch; }
.about__body .lead { font-size: var(--step-1); color: var(--fg); line-height: 1.55; }
.quote {
  margin: 1.8rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line);
  font-family: var(--f-display); font-style: italic; font-size: var(--step-1); line-height: 1.5; color: var(--pine);
}
.focus {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem);
  row-gap: .5rem; padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line);
}
.focus__title { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); margin: 0; line-height: 1.25; }
.focus__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.focus__list li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--brass-soft); position: relative; margin-top: 2px; }
.tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.focus__note { grid-column: 2; margin: .5rem 0 0; font-size: .9rem; color: var(--muted); }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  --x: 50%; --y: 50%;
  position: relative; padding: 1.8rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; min-width: 0;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--x) var(--y), color-mix(in srgb, var(--brass) 18%, transparent), transparent 60%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brass) 50%, var(--line)); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: color-mix(in srgb, var(--pine) 12%, transparent); color: var(--pine);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--pine); color: var(--surface); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.card h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 .7rem; line-height: 1.35; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* 3P */
.threep { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.threep__intro, .threep__tool { min-width: 0; }
.threep__intro p:not(.eyebrow) { color: var(--muted); max-width: 52ch; margin: 1.2rem 0 0; }
.threep__tool { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tint); border-radius: 999px; padding: 4px; }
.tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; color: var(--muted);
  padding: .7rem .4rem; border-radius: 999px; font: 500 .9rem/1.2 var(--f-body);
  display: flex; flex-direction: column; align-items: center; gap: .1rem; transition: color .3s;
}
.tab__p { font-family: var(--f-mono); font-size: .72rem; color: var(--brass); }
.tab.is-active { color: var(--bg); }
.tab.is-active .tab__p { color: var(--brass-soft); }
.tabs__ink {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3);
  background: var(--pine); border-radius: 999px; transition: transform .5s var(--ease);
}
.panel { padding: 1.6rem .3rem 1.2rem; min-height: 190px; }
.panel__title { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); margin: 0 0 .6rem; line-height: 1.25; }
.panel__text { color: var(--muted); margin: 0 0 1rem; }
.panel__link { font-size: .85rem; margin: 0; color: var(--fg); }
.panel__link span { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); margin-right: .4rem; }
.panel.swap > * { animation: rise .5s var(--ease) both; }
.panel.swap > *:nth-child(2) { animation-delay: 60ms; }
.panel.swap > *:nth-child(3) { animation-delay: 120ms; }
.bar3 { display: flex; height: 38px; border-radius: 10px; overflow: hidden; gap: 3px; }
.bar3 span {
  flex: 0 0 var(--w); display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem;
  background: color-mix(in srgb, var(--pine) 22%, var(--surface)); color: var(--fg); transition: background .4s, flex-grow .4s;
}
.bar3 span.is-on { background: var(--pine); color: var(--bg); }
.bar3__cap { margin: .7rem 0 0; font-size: .78rem; color: var(--muted); }

/* TIMELINE */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; --prog: 0; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 190px; top: 8px; bottom: 8px; width: 1px; background: var(--ink-line);
}
.timeline::after { background: linear-gradient(var(--brass), var(--pine-2)); transform-origin: top; transform: scaleY(var(--prog)); width: 2px; margin-left: -.5px; }
.tl { display: grid; grid-template-columns: 190px 1fr; gap: 0 3rem; padding-bottom: 3rem; position: relative; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: 190px; top: 8px; width: 13px; height: 13px; border-radius: 50%;
  transform: translateX(-50%); background: var(--ink-bg); border: 2px solid var(--brass); z-index: 1;
  transition: background .4s, box-shadow .4s;
}
.tl.lit::before { background: var(--brass); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brass) 22%, transparent); }
.tl__when { font-family: var(--f-mono); font-size: .82rem; color: var(--brass); padding-top: 2px; padding-right: 1.5rem; }
.tl__body { min-width: 0; max-width: 680px; }
.tl__body h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); margin: 0 0 .25rem; line-height: 1.25; }
.tl__org { color: var(--ink-fg); font-weight: 500; margin: 0 0 .7rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tl__body p:last-child { color: var(--ink-muted); margin: 0; }
.tag { font-family: var(--f-mono); font-size: .7rem; font-weight: 400; padding: .2rem .55rem; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--ink-muted); }

/* PROJECTS */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.project {
  min-width: 0; padding: 2rem 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.project::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--pine), var(--brass)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project:hover::after { transform: scaleX(1); }
.project__metric { font-size: .85rem; color: var(--muted); line-height: 1.3; margin-bottom: 1.6rem; min-height: 4.2rem; }
.project__metric span { font-family: var(--f-display); font-size: 2.6rem; color: var(--pine); line-height: 1; margin-right: .25rem; }
.project h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); margin: 0 0 .3rem; line-height: 1.2; }
.project__sector { font-size: .82rem; color: var(--brass); margin: 0 0 1rem; font-weight: 500; }
.project p:not(.project__sector) { color: var(--muted); font-size: .93rem; margin: 0 0 1.4rem; }
.project--private .project__sector::before { content: "● "; }
.pills { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pills li { font-size: .75rem; padding: .3rem .7rem; border-radius: 999px; background: var(--tint); color: var(--fg); }

/* METHOD: steps light up along a scroll-driven track */
.method { position: relative; --p: 0; }
.method__track {
  position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.method__fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p));
  background: linear-gradient(90deg, var(--pine), var(--brass));
}
.method__dot {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brass) 25%, transparent), 0 0 24px var(--brass);
  opacity: calc(var(--p) * 30); transition: opacity .3s;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.step { min-width: 0; position: relative; display: flex; flex-direction: column; }
.step__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; flex: none;
  background: var(--tint); border: 1px solid var(--line); font-family: var(--f-mono); font-size: .9rem; color: var(--pine);
  margin-bottom: 1.2rem; transition: background .5s, color .5s, transform .5s var(--ease), border-color .5s;
}
.step__ring { position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--brass); opacity: 0; }
.step__card {
  flex: 1; display: flex; flex-direction: column; padding: 1.3rem 1.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); min-width: 0;
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s var(--ease), opacity .6s;
}
.step__ico { width: 34px; height: 34px; margin-bottom: .9rem; fill: none; stroke: var(--pine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step__ico .draw { stroke: var(--brass); stroke-width: 2; stroke-dasharray: 40; stroke-dashoffset: 0; }
.step h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .5rem; line-height: 1.35; }
.step p { margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.step__out {
  margin-top: auto; align-self: flex-start; font-family: var(--f-mono); font-size: .7rem; line-height: 1.4; color: var(--brass);
  padding: .3rem .6rem; border-radius: 6px; background: var(--brass-soft);
}
/* animated states (only when JS is running) */
.method.js .step:not(.on) .step__card { opacity: .62; transform: translateY(10px); }
.method.js .step:not(.on) .step__ico .draw { stroke-dashoffset: 40; }
.method.js .step__ico .draw { transition: stroke-dashoffset 1s var(--ease) .2s; }
.step.on .step__n { background: var(--pine); color: var(--bg); border-color: var(--pine); transform: scale(1.1); }
.step.on .step__ring { animation: ring 1.2s var(--ease) 1; }
.step.on .step__card { border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); box-shadow: var(--shadow); }
.step__card:hover { transform: translateY(-4px) !important; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

/* CULTURE: chronological timeline 2017 -> 2022, colour-coded by programme type */
.culture__top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.culture__head, .culture__meta { min-width: 0; }
.culture__meta p { color: var(--muted); margin: 0 0 1.3rem; max-width: 52ch; }
.culture__nums { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 0; }
.culture__nums div { display: flex; flex-direction: column-reverse; }
.culture__nums dt { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.culture__nums dd { margin: 0; font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; color: var(--fg); font-variant-numeric: tabular-nums; }
.lg dt::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--cat); }
.lg--bond, .ev--bond { --cat: var(--pine); }
.lg--contest, .ev--contest { --cat: var(--brass); }

.ctl { position: relative; --gap: .9rem; }
.ctl__yrs { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--gap); margin-bottom: 1.1rem; }
.ctl__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); border-radius: 2px; }
.ctl__line b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pine), var(--brass)); transform-origin: left; transition: transform 1.8s var(--ease); }
.ctl.js:not(.run) .ctl__line b { transform: scaleX(0); }
.ctl__node {
  position: relative; z-index: 1; justify-self: start; padding: .5rem .9rem; border-radius: 999px;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 500; color: var(--bg); background: var(--fg); border: 1px solid var(--fg);
  transition: opacity .5s, transform .5s var(--ease);
}
.ctl__node--span { grid-column: span 2; justify-self: center; }
.ctl__events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--gap); }
.ctl__ev { display: flex; min-width: 0; }
.ctl__ev > .ev { flex: 1; }
.ctl.js .ctl__node { transition-delay: calc(var(--i) * 220ms); }
.ctl.js .ctl__ev .ev { transition-delay: calc(var(--i) * 160ms + 150ms); }
.ctl.js:not(.run) .ctl__node { opacity: 0; transform: scale(.8); }
.ctl.js:not(.run) .ctl__ev .ev { opacity: 0; transform: translateY(18px); }
.ev__year { display: none; font-family: var(--f-mono); font-size: .72rem; color: var(--cat); margin-bottom: .15rem; }

.tile {
  --t-bg: var(--surface); --t-art: color-mix(in srgb, var(--pine) 7%, var(--surface)); --t-ink: var(--pine); --t-ac: var(--brass);
  --t-fg: var(--fg); --t-muted: var(--muted);
  position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--t-bg); color: var(--t-fg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, opacity .8s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cat, var(--brass)) 55%, var(--line)); }
.ev { display: flex; flex-direction: column; }
.ev::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cat); z-index: 1; }
.ev--bond { --t-art: color-mix(in srgb, var(--pine) 8%, var(--surface)); }
.ev--contest { --t-art: color-mix(in srgb, var(--brass) 10%, var(--surface)); }
.ev .art { display: block; width: 100%; aspect-ratio: 5 / 3; height: auto; }
.ev__body { padding: .8rem .9rem 1rem; flex: 1; }
.ev__cat { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .03em; color: var(--t-muted); margin-bottom: .2rem; }
.ev h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; line-height: 1.3; }

.culture__bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.band { display: grid; grid-template-columns: 160px 1fr; align-items: stretch; }
.band__art { width: 100%; height: 100%; min-height: 140px; display: block; background: var(--t-art); }
.band__body { padding: 1.3rem 1.4rem; min-width: 0; align-self: center; }
.band h3 { margin: 0 0 .4rem; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.band p { margin: 0; font-size: .9rem; color: var(--t-muted); }
.band--award {
  --t-bg: var(--pine); --t-art: color-mix(in srgb, var(--bg) 8%, var(--pine)); --t-ink: color-mix(in srgb, var(--bg) 75%, var(--pine));
  --t-ac: var(--on-pine-ac); --t-fg: var(--bg); --t-muted: color-mix(in srgb, var(--bg) 72%, var(--pine)); --cat: var(--on-pine-ac); border-color: var(--pine);
}

/* art primitives */
.art .a-bg { fill: var(--t-art); }
.art path, .art circle, .art rect:not(.a-bg) { fill: none; stroke: var(--t-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .a-soft { fill: var(--t-ac); stroke: none; opacity: .14; }
.art .a-route { stroke: var(--t-ac); stroke-width: 3; stroke-dasharray: 2 10; animation: march 1.6s linear infinite; }
.art .a-pin { fill: var(--t-bg); stroke: var(--t-ac); stroke-width: 3; }
.art .a-flag { fill: var(--t-ac); stroke: var(--t-ac); }
.art .a-beam { fill: var(--t-ac); stroke: none; opacity: .1; }
.art .a-starshape { fill: var(--t-ac); stroke: none; transform-box: fill-box; transform-origin: center; }
.art .a-corner { stroke-width: 3; }
.art .a-flash { fill: var(--t-ac); stroke: none; }
.art .a-base { stroke: var(--line); }
.art .a-bar { fill: var(--t-ink); stroke: none; transform-box: fill-box; transform-origin: bottom; }
.art .a-bar.b3 { fill: var(--t-ac); }
.art .a-crown { fill: color-mix(in srgb, var(--t-ac) 22%, transparent); stroke: var(--t-ac); transform-box: fill-box; transform-origin: bottom; }
.art .a-gem { fill: var(--t-ac); stroke: none; }
.art .a-lens circle, .art .a-lens path { stroke: var(--t-ac); stroke-width: 3; }
.art .a-lens { transition: transform 1.2s var(--ease); }
.art .a-lane { stroke: color-mix(in srgb, var(--t-ink) 35%, transparent); }
.art .a-lane--dash { stroke-dasharray: 6 8; }
.art .a-finish { stroke: var(--t-ac); stroke-width: 3; stroke-dasharray: 6 6; }
.art .a-runner { fill: var(--t-ac); stroke: none; }
.art .a-ribbon { stroke: var(--t-ac); stroke-width: 6; }
.art .a-medal { fill: var(--t-ac); stroke: none; }
.art .a-medal-in { stroke: var(--t-bg); stroke-width: 2; }
.art .a-shine { fill: var(--t-ac); stroke: none; transform-box: fill-box; transform-origin: center; }
.art .a-heart { fill: var(--t-ac); stroke: none; transform-box: fill-box; transform-origin: center; }
.art .a-hands circle { fill: var(--t-ac); stroke: none; opacity: .6; }

@keyframes march { to { stroke-dashoffset: -24; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(18deg); opacity: .7; } }
@keyframes grow { from { transform: scaleY(.2); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes dash { from { transform: translateX(-40px); } to { transform: translateX(300px); } }
@keyframes flash { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.tile:is(:hover, .play) .a-starshape.s1 { animation: twinkle 1.4s ease-in-out infinite; }
.tile:is(:hover, .play) .a-starshape.s2 { animation: twinkle 1.4s ease-in-out .3s infinite; }
.tile:is(:hover, .play) .a-starshape.s3 { animation: twinkle 1.4s ease-in-out .6s infinite; }
.tile:is(:hover, .play) .a-flash { animation: flash .8s ease-in-out infinite; }
.tile:is(:hover, .play) .a-bar { animation: grow .8s var(--ease) both; }
.tile:is(:hover, .play) .a-bar.b2 { animation-delay: .1s; }
.tile:is(:hover, .play) .a-bar.b3 { animation-delay: .2s; }
.tile:is(:hover, .play) .a-crown { animation: bob 1.4s ease-in-out infinite; }
.tile:is(:hover, .play) .a-lens { transform: translateX(-50px); }
.tile .a-runner.r1, .tile .a-runner.r2 { transition: transform 1.6s var(--ease); }
.tile:is(:hover, .play) .a-runner.r1 { transform: translateX(140px); }
.tile:is(:hover, .play) .a-runner.r2 { transform: translateX(150px); transition-duration: 2s; }
.tile:is(:hover, .play) .a-shine { animation: twinkle 1.6s ease-in-out infinite; }
.tile:is(:hover, .play) .a-heart { animation: beat 1.3s ease-in-out infinite; }
.tile:is(:hover, .play) .a-medal { animation: bob 1.6s ease-in-out infinite; }

/* CERTS */
.certs { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.certs__list { min-width: 0; }
.edu { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.edu li { display: grid; grid-template-columns: 100px 1fr; gap: 1.2rem; padding-block: 1.2rem; border-top: 1px solid var(--line); }
.edu__y { font-family: var(--f-mono); font-size: .8rem; color: var(--brass); padding-top: 3px; }
.edu h3 { margin: 0 0 .25rem; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.edu p { margin: 0; color: var(--muted); font-size: .9rem; }
.cert { margin: 0; min-width: 0; perspective: 1200px; }
.cert__btn {
  --rx: 0deg; --ry: 0deg;
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative;
  border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(10, 30, 25, .55);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s var(--ease);
}
.cert__btn img { width: 100%; height: auto; }
.cert__btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 62%);
  transform: translateX(-100%); transition: transform 1s var(--ease);
}
.cert__btn:hover::after { transform: translateX(100%); }
.cert__zoom {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: .4rem; align-items: center;
  padding: .45rem .8rem; border-radius: 999px; background: rgba(16, 33, 29, .82); color: #fff; font-size: .78rem;
}
.cert__zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cert figcaption { margin-top: .9rem; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); text-align: center; }

/* CONTACT */
.contact { background: var(--pine); color: var(--bg); overflow: hidden; }
.contact .eyebrow { color: var(--brass-soft); }
.contact .h2 em { color: var(--brass-soft); }
.contact::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -200px; top: -240px;
  border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); box-shadow: 0 0 0 80px color-mix(in srgb, var(--bg) 4%, transparent), 0 0 0 160px color-mix(in srgb, var(--bg) 3%, transparent);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact__text { min-width: 0; }
.fit { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.fit li { padding-left: 1.6rem; position: relative; opacity: .9; }
.fit li::before { content: "→"; position: absolute; left: 0; color: var(--brass-soft); }
.contact__card {
  min-width: 0; background: var(--bg); color: var(--fg); border-radius: calc(var(--radius) + 6px); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.cline { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k btn" "v btn"; align-items: center; gap: .1rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cline:first-child { padding-top: 0; }
.cline__k { grid-area: k; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cline__v { grid-area: v; font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
a.cline__v:hover { color: var(--pine); }
.copy {
  grid-area: btn; border: 1px solid var(--line); background: transparent; color: var(--fg); border-radius: 999px;
  padding: .45rem .9rem; font: 500 .78rem/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.copy:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.contact__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.contact__card .btn--accent { background: var(--pine); color: var(--bg); }

/* FOOTER */
.footer { background: var(--ink-bg); color: var(--ink-muted); font-size: .85rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.footer__top { text-decoration: none; color: var(--ink-fg); }

/* LIGHTBOX / TOAST */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(6, 14, 12, .88); backdrop-filter: blur(6px); animation: fade .3s ease both; cursor: zoom-out;
}
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; animation: zoomIn .45s var(--ease) both; }
.lightbox__close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px));
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.6rem; cursor: pointer;
}
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 110;
  transform: translate(-50%, 140%); opacity: 0; padding: .75rem 1.2rem; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: .88rem; font-weight: 500; transition: transform .4s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav__links { gap: 1.1rem; }
  .steps { grid-template-columns: 1fr; row-gap: 1.2rem; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.2rem; }
  .step__n { margin-bottom: 0; }
  .method__track { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
  .method__fill { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--pine), var(--brass)); }
  .method__dot { top: calc(var(--p) * 100%); left: 50%; margin: -7px 0 0 -7px; }
  .method.js .step:not(.on) .step__card { transform: translateX(10px); }
  .culture__top { grid-template-columns: 1fr; }
  .culture__bottom { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed; top: calc(68px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem max(20px, env(safe-area-inset-right, 0px)) 1rem max(20px, env(safe-area-inset-left, 0px));
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding-block: .85rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .hero__grid, .about, .focus, .threep, .certs, .contact__grid { grid-template-columns: 1fr; }
  .focus__note { grid-column: 1; }
  .hero__visual { order: -1; }
  .portrait { width: min(78%, 360px); }
  .cards, .projects { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.4rem; }
  .timeline::before, .timeline::after, .tl::before { left: 6px; }
  .tl { grid-template-columns: 1fr; padding-left: 2.2rem; }
  .tl__when { margin-bottom: .4rem; }
}
@media (max-width: 600px) {
  .brand__name { display: none; }
  .nav__actions .btn--small { display: none; }
  .cards, .projects { grid-template-columns: 1fr; }
  .chip { font-size: .72rem; padding: .4rem .7rem; }
  .chip--a { left: -6%; }
  .chip--b { right: -8%; }
  .badge { width: 88px; height: 88px; }
  .badge__num { font-size: 1.8rem; }
  .edu li { grid-template-columns: 1fr; gap: .3rem; }
  .step { grid-template-columns: 44px 1fr; column-gap: .9rem; }
  .step__n { width: 44px; height: 44px; font-size: .8rem; }
  .method__track { left: 21px; top: 22px; bottom: 22px; }
  .culture__nums { gap: .8rem 1.1rem; flex-wrap: nowrap; }
  .culture__nums dt { font-size: .7rem; }
  .culture__nums dd { font-size: 1.6rem; }
  .band { grid-template-columns: 110px 1fr; }
  .band__body { padding: 1rem 1.1rem; }
  .band h3 { font-size: 1.12rem; }
  .ticker span { font-size: 1.1rem; }
  .stat dd { font-size: 1.75rem; }
  .stat small { font-size: .75rem; margin-left: .25rem; }
  .stat { padding-right: .6rem; }
  .stat + .stat { padding-left: .8rem; }
}

/* SKIP LINK */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200; padding: .7rem 1rem; border-radius: 8px;
  background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* TRUST STRIP */
.trust { display: flex; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px dashed var(--line); }
.trust__k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.trust__list li {
  font-family: var(--f-display); font-size: 1.12rem; color: var(--muted); letter-spacing: -.01em;
  transition: color .3s;
}
.trust__list li:hover { color: var(--pine); }

/* BRIEF FORM */
.brief {
  position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--bg); color: var(--fg);
  border-radius: calc(var(--radius) + 6px); padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.brief__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.6rem; }
.brief__head h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); margin: 0; }
.brief__head p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 52ch; }
.brief__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field legend { font-size: .78rem; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: .1rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 .95rem/1.4 var(--f-body); color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 18%, transparent);
}
.field input.invalid { border-color: #c2412d; box-shadow: 0 0 0 3px rgba(194, 65, 45, .15); }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; font-size: .85rem;
  border: 1px solid var(--line); background: var(--surface); transition: background .2s, color .2s, border-color .2s;
}
.checks span::before { content: "+"; font-family: var(--f-mono); color: var(--brass); transition: transform .3s var(--ease); }
.checks input:checked + span { background: var(--pine); color: var(--bg); border-color: var(--pine); }
.checks input:checked + span::before { content: "✓"; color: var(--brass-soft); }
.checks input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.brief__note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 60ch; }
.brief .btn { border: 0; }

/* MOBILE DOCK + TO TOP */
.dock { display: none; }
.totop {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--brass); }
.totop svg, .dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 920px) {
  .brief__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .brief__grid { grid-template-columns: 1fr; }
  .brief__foot .btn { width: 100%; justify-content: center; }
  .trust__list { gap: .4rem 1.2rem; }
  .trust__list li { font-size: 1rem; }
  .totop { display: none; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .6rem max(12px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .dock.show { transform: none; }
  .dock__btn {
    display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .5rem; border-radius: 999px;
    border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--fg); background: var(--surface);
  }
  .dock__btn--main { background: var(--pine); color: var(--bg); border-color: var(--pine); }
  .footer { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* PRINT */
@media print {
  .nav, .progress, .ticker, .hero__net, .dock, .totop, .toast, .brief, .hero__cta, .contact__ctas, .copy, .cert__zoom, .lightbox, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; break-inside: avoid-page; }
  .section--ink, .contact { background: #fff !important; color: #000 !important; }
  .reveal.pre { opacity: 1 !important; transform: none !important; }
  .card, .project { box-shadow: none !important; break-inside: avoid; }
  .portrait__orbit, .chip { display: none; }
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 1080px) {
  .ctl__yrs { display: none; }
  .ctl__events { grid-template-columns: repeat(2, 1fr); }
  .ev { display: grid; grid-template-columns: 120px 1fr; align-items: stretch; }
  .ev .art { height: 100%; aspect-ratio: auto; min-height: 92px; }
  .ev__body { align-self: center; }
  .ev__year { display: block; }
  .ctl__ev:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ctl__events { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 104px 1fr; }
  .ctl__ev:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal.pre { opacity: 1; transform: none; }
}
