:root {
  --ink: #0b0b0c;
  --ink-soft: #141416;
  --paper: #f1eee6;
  --paper-deep: #e7e1d5;
  --white: #fffdf8;
  --copper: #d97a56;
  --copper-light: #ef9a77;
  --teal: #6faaa1;
  --line-dark: rgba(11, 11, 12, 0.13);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 32px 90px rgba(22, 18, 14, 0.14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { color: var(--ink); background: var(--copper-light); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  border-color: var(--line-light);
  background: rgba(11, 11, 12, .87);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img { width: 36px; height: 44px; object-fit: contain; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: .79rem; letter-spacing: .14em; text-transform: uppercase; }
.brand small { margin-top: 5px; color: rgba(241, 238, 230, .48); font-size: .67rem; letter-spacing: .09em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav > a:not(.nav-cta) {
  color: rgba(241, 238, 230, .63);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.desktop-nav > a:hover { color: var(--paper); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 99px;
  color: var(--paper);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease;
}

.nav-cta:hover { border-color: var(--copper); background: rgba(217, 122, 86, .1); }
.menu-button { display: none; }

.mobile-nav {
  position: fixed;
  inset: 72px 0 0;
  padding: 44px 24px;
  color: var(--paper);
  background: rgba(11,11,12,.98);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 3rem);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 156px 0 38px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 84% 18%, rgba(217,122,86,.15), transparent 26%),
    radial-gradient(circle at 22% 100%, rgba(111,170,161,.08), transparent 30%),
    linear-gradient(180deg, #09090a 0%, #0d0d0f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  top: 5%;
  right: -12vw;
  width: min(50vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  animation: orbit 30s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(217,122,86,.13);
  border-radius: inherit;
}

.hero-orbit::before { inset: 12%; }
.hero-orbit::after { inset: 31%; border-color: rgba(111,170,161,.12); }
.hero-orbit span {
  position: absolute;
  top: 10.5%;
  left: 48%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 34px var(--copper);
}

@keyframes orbit { to { transform: rotate(360deg); } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .72fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--copper-light);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-copy > .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 7px rgba(217,122,86,.12);
}

.eyebrow-dark { color: #a84e31; }

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; }
h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 7.3vw, 7.2rem);
  letter-spacing: -.045em;
}

h1 em, h2 em, h3 em { color: var(--copper); font-weight: 400; }
.hero-lead {
  max-width: 670px;
  margin: 34px 0 0;
  color: rgba(241,238,230,.62);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--paper); }
.button-primary:hover { background: var(--copper-light); }
.button-quiet { color: rgba(241,238,230,.72); border-color: rgba(255,255,255,.16); background: transparent; }
.button-quiet:hover { color: var(--paper); border-color: rgba(255,255,255,.38); }

.hero-stats {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 54px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-light);
}
.hero-stats div { min-width: 0; }
.hero-stats dt { font-family: var(--serif); font-size: 2.35rem; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; color: rgba(241,238,230,.4); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }

.need-finder {
  position: relative;
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(20,20,22,.78);
  box-shadow: 0 38px 120px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.need-finder::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 19px;
  pointer-events: none;
}
.finder-topline { display: flex; justify-content: space-between; color: rgba(241,238,230,.36); font-size: .59rem; letter-spacing: .16em; text-transform: uppercase; }
.need-finder h2 { max-width: 390px; margin: 34px 0 14px; font-size: clamp(2.3rem, 3.6vw, 3.6rem); }
.need-finder > p { margin: 0; color: rgba(241,238,230,.48); font-size: .88rem; }
.need-options { display: grid; gap: 8px; margin-top: 26px; }
.need-options button {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: rgba(241,238,230,.72);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  text-align: left;
  font-size: .79rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.need-options button::after { content: "→"; float: right; color: rgba(241,238,230,.28); }
.need-options button:hover,
.need-options button[aria-pressed="true"] { color: var(--paper); border-color: rgba(217,122,86,.6); background: rgba(217,122,86,.1); transform: translateX(4px); }
.need-options button[aria-pressed="true"]::after { color: var(--copper); }

.finder-result {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}
.finder-result > span { color: #9f4d32; font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.finder-result p { margin: 7px 0 0; font-size: .8rem; line-height: 1.55; }
.finder-result a { display: inline-block; margin-top: 10px; color: #9f4d32; font-size: .7rem; font-weight: 700; text-transform: uppercase; }

.proof-rail {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  color: rgba(241,238,230,.37);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.proof-rail i { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }

.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-paper { background: var(--paper); }
.section-ink { color: var(--paper); background: var(--ink); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-heading h2 { margin: 0; font-size: clamp(3.6rem, 7vw, 7rem); letter-spacing: -.035em; }
.section-heading > p,
.section-heading .timeline-intro > p { max-width: 520px; margin: 0; color: rgba(11,11,12,.58); }
.section-heading-light > p { color: rgba(241,238,230,.5); }

.profile-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.profile-tabs button,
.architecture-tabs button,
.project-filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(11,11,12,.58);
  background: transparent;
  cursor: pointer;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.profile-tabs button:hover,
.profile-tabs button[aria-selected="true"],
.architecture-tabs button:hover,
.architecture-tabs button[aria-selected="true"] { color: var(--paper); border-color: var(--ink); background: var(--ink); }

.profile-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .62fr);
  min-height: 520px;
  margin-top: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.profile-main { padding: clamp(34px, 6vw, 76px); }
.profile-kicker { margin: 0 0 30px; color: #a74d30; font-size: .64rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.profile-main h3 { max-width: 800px; margin: 0; font-size: clamp(3.2rem, 5.8vw, 6rem); letter-spacing: -.035em; }
.profile-summary { max-width: 720px; margin: 32px 0 0; color: rgba(11,11,12,.6); font-size: 1.02rem; }
.profile-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.profile-skills span { padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 99px; color: rgba(11,11,12,.62); font-size: .64rem; font-weight: 600; }
.profile-help { display: flex; flex-direction: column; padding: clamp(32px, 4.8vw, 58px); color: var(--paper); background: var(--ink-soft); }
.profile-help > p { margin: 0 0 20px; color: var(--copper-light); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.profile-help ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.profile-help li { position: relative; padding-left: 24px; color: rgba(241,238,230,.7); font-size: .91rem; }
.profile-help li::before { content: "↳"; position: absolute; left: 0; color: var(--copper); }
.profile-help a { margin-top: auto; padding-top: 36px; border-top: 1px solid var(--line-light); color: var(--paper); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-help a span { float: right; color: var(--copper); }

.project-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.project-filters button { color: rgba(241,238,230,.48); border-color: var(--line-light); }
.project-filters button:hover,
.project-filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--paper); background: var(--paper); }
.project-toolbar > p { margin: 0; color: rgba(241,238,230,.35); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(217,122,86,.1), transparent 28%),
    var(--ink-soft);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(217,122,86,.45); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.project-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.project-number { color: rgba(241,238,230,.18); font-family: var(--serif); font-size: 3rem; line-height: 1; }
.project-eyebrow { margin: 0; color: var(--copper-light); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-card h3 { margin: 24px 0 0; font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -.03em; }
.project-summary { margin: 24px 0 0; color: rgba(241,238,230,.55); }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; padding: 24px 0; border-block: 1px solid var(--line-light); }
.project-facts div span { display: block; margin-bottom: 8px; color: rgba(241,238,230,.3); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; }
.project-facts div p { margin: 0; color: rgba(241,238,230,.75); font-size: .81rem; line-height: 1.55; }
.project-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.project-stack span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 99px; color: rgba(241,238,230,.46); font-size: .59rem; }
.project-footer { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 30px; }
.project-footer details { flex: 1; }
.project-footer summary { cursor: pointer; color: rgba(241,238,230,.72); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-footer details p { margin: 14px 0 0; color: rgba(241,238,230,.44); font-size: .77rem; }
.project-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: var(--copper-light); }
.project-status { color: rgba(241,238,230,.34); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }

.architecture-section {
  background:
    linear-gradient(rgba(11,11,12,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,11,12,.035) 1px, transparent 1px),
    var(--paper-deep);
  background-size: 48px 48px;
}
.architecture-grid { display: grid; grid-template-columns: minmax(280px, .52fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.architecture-copy h2 { margin: 0; font-size: clamp(3.8rem, 7vw, 7rem); letter-spacing: -.04em; }
.architecture-copy > p:not(.eyebrow) { margin: 28px 0 0; color: rgba(11,11,12,.58); }
.architecture-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.architecture-board {
  position: relative;
  min-height: 620px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line-dark);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,253,248,.88);
  box-shadow: var(--shadow);
}
.architecture-board::before { content: attr(data-project); position: absolute; right: -12px; top: -10px; color: rgba(11,11,12,.035); font-family: var(--serif); font-size: clamp(5rem, 10vw, 10rem); white-space: nowrap; }
.board-head { position: relative; display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.board-head p { margin: 0; color: #a34b2f; font-size: .61rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.board-head span { color: rgba(11,11,12,.4); font-size: .61rem; letter-spacing: .11em; text-transform: uppercase; }
.architecture-flow { position: relative; display: grid; grid-template-columns: 1fr 38px 1fr 38px 1fr; gap: 14px; align-items: stretch; margin-top: 34px; }
.flow-arrow { display: grid; place-items: center; color: var(--copper); font-size: 1.5rem; }
.architecture-node { min-height: 135px; padding: 22px; border: 1px solid var(--line-dark); border-radius: 18px; background: var(--white); }
.architecture-node b { display: block; margin-bottom: 10px; color: #a34b2f; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; }
.architecture-node p { margin: 0; font-size: .82rem; line-height: 1.55; }
.board-decisions { margin-top: 36px; }
.board-decisions > p { margin: 0 0 14px; font-size: .59rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.board-decisions ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: decisions; }
.board-decisions li { counter-increment: decisions; padding: 14px; border-radius: 12px; background: rgba(11,11,12,.05); font-size: .74rem; }
.board-decisions li::before { content: "0" counter(decisions) " "; color: #a34b2f; font-weight: 700; }

.timeline-intro { display: grid; gap: 24px; }
.time-toggle { width: fit-content; padding: 0; border: 0; color: #8f422b; background: none; cursor: pointer; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.time-toggle span { margin-right: 8px; }
.time-toggle[aria-pressed="true"] span { color: #26a653; text-shadow: 0 0 10px #26a653; }

.retro-window {
  margin: -20px 0 52px;
  border: 3px outset #d9d9d9;
  color: #000080;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(11,11,12,.18);
  font-family: "Courier New", monospace;
}
.retro-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; color: #fff; background: linear-gradient(90deg, #000080, #1084d0); font-weight: 700; }
.retro-titlebar button { width: 24px; height: 22px; border: 2px outset #eee; background: #d4d0c8; cursor: pointer; font-weight: 700; }
.retro-body { padding: 24px; background-image: radial-gradient(#dedede 1px, transparent 1px); background-size: 8px 8px; }
.retro-welcome { margin: 0; color: #ff00a8; font-size: 1.35rem; font-weight: 700; text-align: center; text-decoration: underline; animation: blink 1s steps(2) infinite; }
.retro-body > p:not(.retro-welcome) { max-width: 800px; margin: 20px auto; color: #000; text-align: center; }
.retro-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.retro-status span { padding: 3px 7px; border: 1px solid #000; color: #000; background: #ffff00; font-size: .72rem; }
@keyframes blink { 50% { opacity: .3; } }

.timeline { border-top: 1px solid var(--line-dark); }
.timeline-item { display: grid; grid-template-columns: 180px minmax(220px, .7fr) minmax(0, 1.2fr); gap: 44px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
.timeline-period { color: #a34b2f; font-size: .63rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.timeline-role h3 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.timeline-role p { margin: 7px 0 0; color: rgba(11,11,12,.48); font-size: .79rem; }
.timeline-detail > p { margin: 0; color: rgba(11,11,12,.6); font-size: .89rem; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.timeline-tags span { padding: 5px 8px; border-radius: 6px; background: rgba(11,11,12,.055); color: rgba(11,11,12,.56); font-size: .59rem; }

.capabilities-section { background: var(--white); }
.capability-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; }
.capability-group { min-height: 330px; padding: 30px 24px; border-right: 1px solid var(--line-dark); }
.capability-group:last-child { border-right: 0; }
.capability-group > span { display: block; margin-bottom: 30px; color: #a34b2f; font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.capability-group h3 { margin: 0 0 22px; font-family: var(--sans); font-size: .69rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.capability-group ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: rgba(11,11,12,.58); font-size: .78rem; }
.capability-group li::before { content: "—"; margin-right: 8px; color: var(--copper); }

.assistant-section { overflow: hidden; background: radial-gradient(circle at 25% 35%, rgba(217,122,86,.12), transparent 28%), var(--ink); }
.assistant-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, .9fr); gap: clamp(50px, 9vw, 130px); align-items: center; }
.assistant-copy h2 { margin: 0; font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -.04em; }
.assistant-copy > p:not(.eyebrow) { max-width: 620px; margin: 28px 0 0; color: rgba(241,238,230,.5); }
.assistant-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.assistant-prompts button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line-light); border-radius: 99px; color: rgba(241,238,230,.58); background: transparent; cursor: pointer; font-size: .62rem; transition: color .2s, border-color .2s; }
.assistant-prompts button:hover { color: var(--paper); border-color: var(--copper); }
.chat { border: 1px solid var(--line-light); border-radius: 26px; overflow: hidden; background: rgba(20,20,22,.92); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.chat-head { min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--line-light); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #63c489; box-shadow: 0 0 0 7px rgba(99,196,137,.09); }
.chat-head div { display: grid; }
.chat-head strong { font-size: .79rem; }
.chat-head small { color: rgba(241,238,230,.37); font-size: .64rem; }
.chat-log { height: 360px; display: flex; flex-direction: column; gap: 12px; padding: 22px; overflow-y: auto; scrollbar-color: var(--copper) transparent; }
.message { max-width: 86%; padding: 13px 15px; border-radius: 14px; font-size: .78rem; line-height: 1.55; }
.message-assistant { align-self: flex-start; border: 1px solid var(--line-light); border-bottom-left-radius: 4px; color: rgba(241,238,230,.7); background: rgba(255,255,255,.035); }
.message-user { align-self: flex-end; border-bottom-right-radius: 4px; color: var(--ink); background: var(--paper); }
.message a { color: var(--copper-light); text-decoration: underline; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px; border-top: 1px solid var(--line-light); }
.chat-form input { min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 12px; color: var(--paper); background: rgba(255,255,255,.04); font-size: .78rem; }
.chat-form input::placeholder { color: rgba(241,238,230,.28); }
.chat-form button { padding: 0 18px; border: 0; border-radius: 12px; color: var(--ink); background: var(--copper-light); cursor: pointer; font-size: .66rem; font-weight: 700; text-transform: uppercase; }

.education-section { background: var(--paper-deep); }
.education-grid { display: grid; grid-template-columns: minmax(300px, .7fr) 1fr; gap: clamp(50px, 10vw, 140px); }
.education-grid h2 { margin: 0; font-size: clamp(3.7rem, 6.5vw, 6.6rem); letter-spacing: -.04em; }
.education-list { border-top: 1px solid var(--line-dark); }
.education-item { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.education-item h3 { margin: 0; font-family: var(--sans); font-size: .98rem; font-weight: 700; line-height: 1.4; }
.education-item p { margin: 6px 0 0; color: rgba(11,11,12,.49); font-size: .78rem; }
.education-item span { color: #99472e; font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: right; }

.contact { padding: clamp(90px, 11vw, 150px) 0 70px; color: var(--paper); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(360px, .63fr); gap: clamp(50px, 10vw, 140px); align-items: end; }
.contact h2 { margin: 0; font-size: clamp(4.2rem, 8vw, 8rem); letter-spacing: -.045em; }
.contact .reveal > p:not(.eyebrow) { max-width: 680px; margin: 30px 0 0; color: rgba(241,238,230,.5); }
.contact-primary { display: block; padding: 26px; border-radius: 18px; color: var(--ink); background: var(--paper); transition: background .2s, transform .2s; }
.contact-primary:hover { background: var(--copper-light); transform: translateY(-3px); }
.contact-primary span { display: block; margin-bottom: 14px; color: rgba(11,11,12,.48); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-primary strong { display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: var(--line-light); }
.contact-links a { padding: 17px; color: rgba(241,238,230,.6); background: var(--ink); font-size: .65rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-links a:hover { color: var(--copper-light); }

footer { padding: 24px 0; color: rgba(241,238,230,.35); background: var(--ink); border-top: 1px solid var(--line-light); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-inner p { margin: 0; }
.footer-inner a:hover { color: var(--copper-light); }
.noscript { padding: 16px; color: #111; background: #ffdcae; text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .need-finder { max-width: 720px; }
  .profile-stage { grid-template-columns: 1fr; }
  .profile-help { min-height: 420px; }
  .architecture-grid { grid-template-columns: 1fr; }
  .architecture-copy { max-width: 750px; }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .capability-group { border-bottom: 1px solid var(--line-dark); }
  .capability-group:nth-child(3) { border-right: 0; }
  .assistant-grid { grid-template-columns: 1fr; }
  .assistant-copy { max-width: 840px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .header-inner { min-height: 72px; }
  .desktop-nav { display: none; }
  .menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span { display: block; width: 18px; height: 1px; background: var(--paper); transition: transform .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 128px; }
  .hero-orbit { width: 80vw; right: -35vw; }
  .hero-stats { gap: 12px; }
  .proof-rail { flex-wrap: wrap; justify-content: flex-start; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 560px; }
  .timeline-item { grid-template-columns: 120px 1fr; gap: 24px; }
  .timeline-detail { grid-column: 2; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-group:nth-child(2n) { border-right: 0; }
  .capability-group:nth-child(3) { border-right: 1px solid var(--line-dark); }
  .education-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .brand small { display: none; }
  .hero-actions { display: grid; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { display: grid; grid-template-columns: 72px 1fr; align-items: end; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
  .need-finder { padding: 22px; border-radius: 22px; }
  .proof-rail i { display: none; }
  .proof-rail span { width: calc(50% - 10px); }
  .section-heading h2, .architecture-copy h2, .assistant-copy h2, .education-grid h2, .contact h2 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
  .profile-main, .profile-help { padding: 28px 22px; }
  .profile-main h3 { font-size: 3rem; }
  .profile-help { min-height: 480px; }
  .project-toolbar { align-items: flex-start; flex-direction: column; }
  .project-card { min-height: 0; padding: 24px; }
  .project-facts { grid-template-columns: 1fr; }
  .architecture-board { min-height: 0; padding: 22px; border-radius: 22px; }
  .architecture-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .board-decisions ol { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-detail { grid-column: auto; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-group { min-height: 0; border-right: 0 !important; }
  .assistant-grid { grid-template-columns: minmax(0, 1fr); }
  .chat-log { height: 420px; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-form button { min-height: 44px; }
  .education-item { grid-template-columns: 1fr; }
  .education-item span { text-align: left; }
  .contact-links { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

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

@media print {
  @page { size: A4; margin: 12mm; }
  :root { --paper: #fff; --white: #fff; }
  body { color: #111; background: #fff; font-size: 10.5pt; }
  .site-header, .need-finder, .proof-rail, .profile-tabs, .project-toolbar, .architecture-section, .retro-window, .time-toggle, .assistant-section, .contact, footer, .hero-actions, .project-footer { display: none !important; }
  .hero { min-height: 0; padding: 0 0 12mm; color: #111; background: #fff; border-bottom: 1px solid #bbb; }
  .hero::before, .hero-orbit { display: none; }
  .hero-grid { display: block; }
  .hero-copy > .eyebrow { color: #8a3f28; }
  h1 { max-width: none; font-size: 33pt; }
  .hero-lead { max-width: none; margin-top: 5mm; color: #333; }
  .hero-stats { display: flex; margin-top: 7mm; padding-top: 4mm; border-color: #bbb; }
  .hero-stats dt { font-size: 19pt; }
  .hero-stats dd { color: #555; }
  .section { padding: 9mm 0; }
  .section-heading { display: block; margin-bottom: 6mm; }
  .section-heading h2 { font-size: 24pt; }
  .section-heading > p { max-width: none; margin-top: 3mm; color: #333; }
  .profile-stage { display: block; min-height: 0; margin: 0; border: 0; box-shadow: none; }
  .profile-main { padding: 0; }
  .profile-main h3 { font-size: 22pt; }
  .profile-summary { margin-top: 3mm; color: #333; }
  .profile-skills { margin-top: 4mm; }
  .profile-help { min-height: 0; margin-top: 5mm; padding: 5mm; color: #111; background: #f1f1f1; }
  .profile-help > p, .profile-help li::before { color: #8a3f28; }
  .profile-help li { color: #333; }
  .profile-help a { display: none; }
  .section-ink { color: #111; background: #fff; }
  .section-heading-light > p { color: #333; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 4mm; }
  .project-card { min-height: 0; padding: 5mm; break-inside: avoid; color: #111; border-color: #bbb; background: #fff; box-shadow: none; }
  .project-eyebrow { color: #8a3f28; }
  .project-card h3 { margin-top: 3mm; font-size: 20pt; }
  .project-summary, .project-facts div p { color: #333; }
  .project-facts { margin-top: 4mm; padding: 3mm 0; border-color: #ccc; }
  .project-stack span { color: #444; border-color: #ccc; }
  .timeline-item { grid-template-columns: 32mm 50mm 1fr; gap: 5mm; padding: 4mm 0; break-inside: avoid; }
  .timeline-period { color: #8a3f28; }
  .timeline-role p, .timeline-detail > p { color: #444; }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .capability-group { min-height: 0; padding: 4mm; break-inside: avoid; }
  .education-grid { grid-template-columns: 1fr 1fr; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
