:root {
  --ink: #071114;
  --ink-2: #0d1b1e;
  --paper: #f2eee7;
  --paper-2: #e7e0d6;
  --lime: #c8ff4d;
  --coral: #ff7256;
  --cyan: #61d7ff;
  --white: #fffdf8;
  --muted: #9cadad;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(7, 17, 20, 0.17);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  --shell: min(1180px, calc(100vw - 48px));
  --display: "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

html[data-theme="dark"] {
  --ink: #f5f0e9;
  --ink-2: #ffffff;
  --paper: #0a1417;
  --paper-2: #101f22;
  --white: #081114;
  --muted: #506467;
  --line: rgba(7, 17, 20, 0.15);
  --line-dark: rgba(255, 255, 255, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

em {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

::selection {
  color: #071114;
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #071114;
  background: var(--lime);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding: clamp(88px, 11vw, 160px) 0;
}

.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 58px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(7, 17, 20, 0.9), rgba(7, 17, 20, 0));
  transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: max-content;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #071114;
  background: var(--lime);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  align-items: center;
  justify-content: flex-end;
  margin-right: 18px;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: #fff;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 16px;
  color: #071114;
  background: var(--lime);
  border-radius: 999px;
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.theme-moon {
  display: none;
}

html[data-theme="dark"] .theme-sun {
  display: none;
}

html[data-theme="dark"] .theme-moon {
  display: block;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 15%, rgba(97, 215, 255, 0.13), transparent 30%),
    radial-gradient(circle at 84% 72%, rgba(200, 255, 77, 0.12), transparent 30%),
    #071114;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.signal-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
  gap: clamp(44px, 7vw, 108px);
  align-items: center;
  padding-top: 126px;
  padding-bottom: 92px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-index,
.micro-label,
.project-type,
.experience-date,
.credential-year {
  margin: 0 0 22px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow span {
  margin: 0 0.5em;
  color: var(--lime);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8.6vw, 9.2rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.81;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  margin-top: 0.12em;
  color: var(--lime);
  font-size: 0.91em;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 38px;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #071114;
  background: var(--lime);
  border-color: var(--lime);
}

.button-quiet {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}

.availability {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 255, 77, 0.1);
}

.portrait-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  margin-left: auto;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  clip-path: polygon(13% 0, 100% 0, 100% 88%, 86% 100%, 0 100%, 0 12%);
  box-shadow: var(--shadow);
  transform: translateZ(24px);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(7, 17, 20, 0.92), transparent 35%),
    linear-gradient(120deg, transparent 55%, rgba(200, 255, 77, 0.13));
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.portrait-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-items: baseline;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.portrait-frame figcaption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portrait-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(97, 215, 255, 0.28);
  border-radius: 50%;
}

.orbit-one {
  inset: -10% -20%;
  transform: rotate(18deg);
}

.orbit-two {
  inset: 8% -28%;
  border-color: rgba(200, 255, 77, 0.2);
  transform: rotate(-28deg);
}

.signal-card {
  position: absolute;
  z-index: 4;
  display: flex;
  color: #071114;
  background: var(--lime);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transform: translateZ(62px);
}

.signal-card-a {
  top: 13%;
  left: -20%;
  gap: 10px;
  align-items: center;
  width: 188px;
  padding: 15px 16px;
}

.signal-card-a strong {
  font-size: 2.25rem;
  line-height: 1;
}

.signal-card-a span {
  max-width: 86px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.signal-card-b {
  right: -15%;
  bottom: 15%;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: #fff;
  background: #0c2024;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-wave {
  width: 36px;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 2px, transparent 2px 5px);
  clip-path: polygon(0 50%, 10% 30%, 20% 70%, 30% 10%, 40% 88%, 50% 35%, 60% 62%, 70% 18%, 80% 76%, 90% 40%, 100% 52%, 100% 100%, 0 100%);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: clamp(20px, 4vw, 58px);
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--lime);
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  from { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

.section-heading {
  max-width: 940px;
}

.section-heading .section-index {
  color: var(--coral);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.6vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-wrap: balance;
}

.section-heading > p:last-child,
.section-heading-split > p {
  max-width: 650px;
  margin: 30px 0 0;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: end;
  max-width: none;
}

.section-heading-split > p {
  margin: 0 0 8px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.kpi-card {
  min-height: 180px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-dark);
}

.kpi-card:last-child {
  border-right: 0;
}

.kpi-card p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kpi-card .kpi-value {
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.2vw, 4.5rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 1;
  text-transform: none;
}

.kpi-accent {
  color: #071114;
  background: var(--lime);
}

.proof-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--ink) 54%, transparent);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-note span::before {
  margin-right: 8px;
  color: var(--coral);
  content: "●";
}

.evidence-lens {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  margin-top: clamp(72px, 10vw, 132px);
  padding: clamp(30px, 5vw, 64px);
  color: #fff;
  background: #0a181b;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.lens-intro .micro-label {
  color: var(--lime);
}

.lens-intro h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lens-console {
  align-self: center;
}

.lens-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.lens-tabs button {
  min-height: 48px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lens-tabs button:last-child {
  border-right: 0;
}

.lens-tabs button[aria-selected="true"] {
  color: #071114;
  background: var(--lime);
}

.lens-panel {
  min-height: 255px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
}

.lens-kicker {
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lens-copy {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.lens-meter {
  height: 3px;
  margin: 32px 0 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.lens-meter span {
  display: block;
  width: var(--meter);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transition: width 420ms cubic-bezier(.2,.8,.2,1);
}

.lens-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lens-tags span,
.tag-list li {
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.work {
  color: #fff;
  background: #071114;
}

.work .section-heading > p,
.work .section-heading-split > p {
  color: rgba(255, 255, 255, 0.54);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 74px;
}

.project-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  background: #0c1a1d;
  border: 1px solid rgba(255, 255, 255, 0.13);
  transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: border-color 220ms ease, transform 180ms ease-out;
}

.project-card:hover {
  border-color: rgba(200, 255, 77, 0.55);
}

.project-featured {
  grid-column: 1 / -1;
}

.project-media,
.project-visual {
  position: relative;
  display: block;
  min-height: 370px;
  overflow: hidden;
  background: #0a1113;
}

.project-media img {
  width: 100%;
  min-height: 370px;
  object-fit: cover;
  transition: filter 500ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(7,17,20,.72), transparent 50%);
  pointer-events: none;
}

.project-media:hover img {
  filter: saturate(1.12);
  transform: scale(1.025);
}

.project-open {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #071114;
  background: var(--lime);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: transform 220ms ease;
}

.project-media:hover .project-open,
.project-visual:hover .project-open {
  transform: rotate(45deg);
}

.project-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 32px;
}

.project-number {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.project-type {
  margin-bottom: 9px;
  color: var(--cyan);
}

.project-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.project-body p:not(.project-type) {
  max-width: 68ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.57);
}

.tag-list {
  margin: 22px 0 0;
  padding: 0;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.terminal-visual {
  min-height: 400px;
  padding: 22px;
  color: #d9ffe9;
  background: #050b0c;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.4);
  font-size: .62rem;
}

.terminal-bar i {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.terminal-bar i:nth-child(2) { background: #ffc44d; }
.terminal-bar i:nth-child(3) { background: var(--lime); }
.terminal-bar span { margin-left: 8px; }

.terminal-lines {
  margin-top: 34px;
}

.terminal-lines p {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .72rem;
}

.terminal-lines b { color: rgba(255,255,255,.25); }
.terminal-lines span { color: rgba(255,255,255,.66); }
.terminal-lines em { color: var(--lime); font-family: inherit; font-style: normal; }

.terminal-prompt {
  display: block;
  margin-top: 28px;
  color: var(--cyan);
  font-size: .68rem;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--coral);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.principles {
  overflow: hidden;
  color: #071114;
  background: var(--lime);
  border-block: 1px solid #071114;
}

.principles-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 24px 0;
  animation: marquee 26s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.principles-track i {
  color: var(--coral);
  font-size: 0.45em;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(70px, 10vw, 145px);
}

.about .section-heading h2 {
  font-size: clamp(3.2rem, 6.3vw, 6rem);
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.about-proof p {
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--coral);
}

.about-proof strong,
.about-proof span {
  display: block;
}

.about-proof strong {
  font-family: var(--display);
  font-size: 3.4rem;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-proof span {
  margin-top: 9px;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  font-size: 0.72rem;
  line-height: 1.4;
}

.experience-list {
  border-top: 1px solid var(--line-dark);
}

.experience-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.experience-date {
  margin: 5px 0 0;
  color: var(--coral);
}

.experience-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.experience-item p:last-child {
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}

.credentials {
  background: var(--paper-2);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.credential-list article {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
}

.credential-list article:last-child {
  border-right: 0;
}

.credential-year {
  color: var(--coral);
}

.credential-list h3 {
  margin: 70px 0 8px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.credential-list p:last-child {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 0.78rem;
}

.contact {
  color: #fff;
  background: #071114;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 84px);
  color: #071114;
  background: var(--lime);
  clip-path: polygon(4% 0, 100% 0, 100% 88%, 96% 100%, 0 100%, 0 12%);
}

.contact-panel::after {
  position: absolute;
  top: -35%;
  right: -8%;
  width: 44%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(7, 17, 20, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(7,17,20,.04), 0 0 0 90px rgba(7,17,20,.035), 0 0 0 135px rgba(7,17,20,.025);
  pointer-events: none;
}

.contact-panel .section-index {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

.contact-panel h2 em {
  color: #071114;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

.contact-panel > p:not(.section-index) {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 30px 0;
  font-size: 1.12rem;
}

.contact-email {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 2px solid #071114;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 850;
}

.contact-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 50px;
}

.contact-links a {
  padding: 9px 14px;
  border: 1px solid rgba(7,17,20,.3);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-links a:hover {
  color: #fff;
  background: #071114;
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.5);
  background: #071114;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer .page-shell {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
}

.no-js .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    grid-column: 2;
    gap: 6px;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .theme-toggle {
    grid-column: 3;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    align-content: center;
    justify-content: stretch;
    justify-items: start;
    width: 100%;
    height: 100svh;
    overflow-y: auto;
    padding: 100px clamp(26px, 8vw, 80px);
    margin: 0;
    visibility: hidden;
    background: rgba(7,17,20,.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    padding: 16px 0;
    color: #fff;
    background: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.74fr;
    gap: 38px;
  }

  .signal-card-a { left: -8%; }
  .signal-card-b { right: -6%; }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-card:nth-child(2) { border-right: 0; }
  .kpi-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .section-pad {
    padding-block: 76px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-name { display: none; }
  .brand-mark { width: 40px; height: 40px; }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 118px;
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .portrait-stage {
    width: min(82vw, 390px);
    margin: 28px auto 0;
  }

  .signal-card-a {
    top: 7%;
    left: -7%;
    width: 160px;
  }

  .signal-card-a strong { font-size: 1.8rem; }
  .signal-card-b { right: -5%; bottom: 12%; }

  .section-heading h2,
  .about .section-heading h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading-split > p {
    margin-top: 0;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
  }

  .kpi-card {
    min-height: 150px;
    padding: 22px 16px;
  }

  .kpi-card .kpi-value {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .evidence-lens {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 28px 20px;
  }

  .lens-panel { padding: 24px 20px; }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-featured { grid-column: auto; }

  .project-media,
  .project-media img,
  .project-visual {
    min-height: 290px;
  }

  .project-body {
    grid-template-columns: 34px 1fr;
    padding: 26px 20px;
  }

  .analysis-visual,
  .terminal-visual {
    padding: 22px 18px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

  .credential-list article {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .credential-list article:last-child { border-bottom: 0; }
  .credential-list h3 { margin-top: 44px; }

  .contact-panel {
    clip-path: polygon(7% 0,100% 0,100% 94%,93% 100%,0 100%,0 6%);
  }

  .contact-panel h2 {
    font-size: clamp(3.3rem, 15vw, 5.8rem);
  }

  .contact-email {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer .page-shell {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .kpi-card:last-child { border-bottom: 0; }
  .kpi-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }

  .signal-card-a { left: -2%; }
  .signal-card-b { right: -2%; }

  .about-proof { grid-template-columns: 1fr; }
  .lens-tabs button { font-size: .62rem; }
}

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

@media (forced-colors: active) {
  .brand-mark,
  .nav-cta,
  .button-primary,
  .signal-card,
  .kpi-accent,
  .lens-tabs button[aria-selected="true"],
  .principles,
  .contact-panel {
    border: 2px solid ButtonText;
  }
}
