:root {
  --bg: #0a0d10;
  --bg-elevated: #11161b;
  --surface: #151b21;
  --surface-2: #1a2229;
  --ink: #f4f1e8;
  --muted: #a8afb3;
  --faint: #717a80;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --accent: #b7f36b;
  --accent-ink: #142006;
  --blue: #8eb8ff;
  --orange: #ffb47b;
  --violet: #c3a8ff;
  --max-width: 1240px;
  --section-space: clamp(5.5rem, 10vw, 9rem);
  --shadow-card: 0 0 0 1px oklch(1 0 0 / 0.08);
  --shadow-card-hover: 0 0 0 1px oklch(1 0 0 / 0.14), 0 22px 70px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] {
  --bg: #f3f0e8;
  --bg-elevated: #ece8dd;
  --surface: #faf8f2;
  --surface-2: #e9e5da;
  --ink: #121619;
  --muted: #596166;
  --faint: #7c8387;
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: rgba(0, 0, 0, 0.075);
  --accent: #70aa22;
  --accent-ink: #f6ffe9;
  --blue: #376fc8;
  --orange: #bd6425;
  --violet: #7652b3;
  --shadow-card: 0 0 0 1px oklch(0 0 0 / 0.06), 0 1px 2px -1px oklch(0 0 0 / 0.06), 0 2px 4px oklch(0 0 0 / 0.04);
  --shadow-card-hover: 0 0 0 1px oklch(0 0 0 / 0.09), 0 16px 46px rgba(20, 24, 27, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -5%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 29rem),
    var(--bg);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

.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: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 150ms ease-out;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(130%);
  transition-property: min-height, border-color, background-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.site-header.is-scrolled {
  min-height: 64px;
  border-color: var(--line-soft);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 150ms ease-out;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ink);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button,
.menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition-property: color, background-color, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.icon-button:hover,
.icon-button:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
  color: var(--ink);
  background: var(--line-soft);
}

.icon-button:active,
.menu-button:active,
.button:active {
  scale: 0.96;
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition-property: opacity, filter, scale;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.theme-icon svg {
  width: 100%;
  height: 100%;
}

.theme-icon-sun,
html[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  filter: blur(0);
  scale: 1;
}

.theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  filter: blur(4px);
  scale: 0.25;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 13px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition-property: color, background-color, box-shadow, scale;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 40px;
  padding-left: 14px;
  padding-right: 12px;
  border-radius: 11px;
}

.button-primary {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 64%, black), 0 8px 28px color-mix(in srgb, var(--accent) 20%, transparent);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: color-mix(in srgb, var(--accent) 88%, white);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 72%, black), 0 12px 34px color-mix(in srgb, var(--accent) 28%, transparent);
}

.button-ghost,
.button-quiet {
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.button-ghost:hover,
.button-ghost:focus-visible,
.button-quiet:hover,
.button-quiet:focus-visible {
  background: var(--surface-2);
  box-shadow: var(--shadow-card-hover);
}

.menu-button {
  display: none;
}

.menu-button span:not(.sr-only) {
  position: absolute;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease-out;
}

.menu-button span:first-child {
  transform: translateY(-3.5px);
}

.menu-button span:nth-child(2) {
  transform: translateY(3.5px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

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

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  padding: 7rem 7vw 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 1.05rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: min(calc(100% - 8vw), var(--max-width));
  margin: 0 auto;
  padding: clamp(9.5rem, 17vh, 12.5rem) 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.55fr);
  gap: 4rem;
  align-content: center;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -12%;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 11%, transparent), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.project-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 950px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 9.4vw, 8.4rem);
  font-weight: 520;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.hero-summary {
  max-width: 790px;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-profile {
  align-self: end;
  padding: 1rem;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.profile-photo-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.2rem;
  background: var(--surface-2);
  border-radius: 16px;
}

.profile-photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  outline: 1px solid oklch(1 0 0 / 0.1);
  outline-offset: -1px;
}

html[data-theme="light"] .profile-photo-shell img {
  outline-color: oklch(0 0 0 / 0.1);
}

.profile-status {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid var(--surface);
  border-radius: 50%;
}

.profile-meta {
  padding: 0 0.35rem 0.7rem;
}

.profile-meta p {
  margin-bottom: 0.1rem;
  color: var(--faint);
  font-size: 0.83rem;
}

.profile-meta .profile-name {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.profile-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
}

.profile-links a {
  min-height: 46px;
  padding: 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 150ms ease-out;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  color: var(--accent);
}

.profile-links svg {
  width: 16px;
  height: 16px;
}

.signal-strip {
  grid-column: 1 / -1;
  margin-top: clamp(3rem, 7vh, 5.5rem);
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.signal-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.signal-item strong,
.impact-value,
.impact-unit,
.timeline-date,
.article-row time,
.case-meta time,
.project-card time,
.proof-card time {
  font-variant-numeric: tabular-nums;
}

.signal-item strong {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.signal-item span {
  max-width: 13rem;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.4;
}

.section {
  width: min(calc(100% - 8vw), var(--max-width));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.manifesto {
  border-top: 1px solid var(--line);
}

.manifesto-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.manifesto h2,
.section-heading h2,
.career-intro h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.3vw, 5.7rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.manifesto-copy p {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.manifesto-copy p:first-child::first-letter {
  float: left;
  margin: 0.1rem 0.55rem 0 0;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 3.9rem;
  line-height: 0.82;
}

.work-section,
.writing-section,
.proof-section {
  width: min(calc(100% - 4vw), 1380px);
  padding-right: clamp(1.2rem, 2vw, 2rem);
  padding-left: clamp(1.2rem, 2vw, 2rem);
  background: var(--bg-elevated);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.section-heading .section-kicker {
  margin-bottom: 1rem;
}

.section-intro {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-case {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

.case-visual {
  min-height: 550px;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 76% 24%, rgba(183, 243, 107, 0.21), transparent 28%),
    linear-gradient(145deg, #14201a, #0e151a 48%, #15262b);
}

.mock-window {
  position: relative;
  width: min(100%, 640px);
  overflow: hidden;
  background: #f5f1e7;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35), 0 0 0 1px oklch(1 0 0 / 0.18);
  transform: rotate(-1.7deg);
  transition: transform 300ms ease-out;
}

.feature-case:hover .mock-window {
  transform: rotate(-0.5deg) translateY(-4px);
}

.mock-toolbar {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555d5d;
  background: #e7e2d6;
}

.mock-toolbar span {
  width: 7px;
  height: 7px;
  background: #a8a39a;
  border-radius: 50%;
}

.mock-toolbar small {
  margin-left: auto;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.mock-storefront {
  min-height: 350px;
  display: grid;
  grid-template-columns: 27% 73%;
  color: #111719;
}

.mock-sidebar {
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #ded9cd;
}

.mock-line {
  height: 7px;
  width: 100%;
  background: rgba(20, 28, 29, 0.19);
  border-radius: 8px;
}

.mock-line-short { width: 42%; background: #6d8f43; }
.mock-line-mid { width: 72%; }

.mock-content {
  padding: 1.6rem;
}

.mock-hero-block {
  min-height: 185px;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #cfe1ae;
  border-radius: 14px;
}

.mock-label {
  color: #426020;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-hero-block strong {
  max-width: 19rem;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mock-product-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.mock-product-row span {
  aspect-ratio: 1.5;
  background: #e7e2d7;
  border-radius: 10px;
}

.orchestration-pill {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.75rem;
  color: #ebffd1;
  background: #1a2b1d;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.57rem;
}

.case-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta,
.project-card-top,
.proof-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-meta span {
  color: var(--accent);
}

.case-copy h3 {
  margin: 1.4rem 0 1rem;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  font-weight: 560;
  line-height: 1;
}

.case-lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.evidence-list {
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
}

.evidence-list li::before {
  content: "";
  position: absolute;
  top: 1.08rem;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.case-links,
.card-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.case-links a,
.card-link,
.proof-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.case-links a:hover,
.case-links a:focus-visible,
.card-link:hover,
.card-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.project-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-height: 470px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition-property: transform, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.project-number {
  color: var(--accent);
}

.project-symbol {
  height: 130px;
  margin: 2.1rem 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.copilot-symbol {
  gap: 8px;
  background: linear-gradient(145deg, #162133, #111820);
}

.sound-wave {
  width: 6px;
  height: 24px;
  background: var(--blue);
  border-radius: 8px;
}

.sound-wave:nth-child(2),
.sound-wave:nth-child(4) { height: 46px; }
.sound-wave:nth-child(3) { height: 72px; background: var(--accent); }

.voice-symbol {
  gap: 0.5rem;
  color: #29155a;
  background: linear-gradient(145deg, #d8ccff, #aaa0f3);
}

.voice-symbol span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.47);
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 800;
}

.accessibility-symbol {
  overflow: hidden;
  gap: 0;
  background: #11181c;
}

.accessibility-symbol span {
  width: 28%;
  height: 78%;
  border-radius: 50%;
  filter: blur(2px);
  mix-blend-mode: screen;
}

.accessibility-symbol span:nth-child(1) { background: #ff513a; transform: translateX(21%); }
.accessibility-symbol span:nth-child(2) { background: #46e173; }
.accessibility-symbol span:nth-child(3) { background: #478dff; transform: translateX(-21%); }

.project-label {
  margin-bottom: 0.75rem;
  color: var(--faint);
  letter-spacing: 0.09em;
}

.project-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 580;
  line-height: 1.1;
}

.project-card > p:not(.project-label) {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-card > .card-link,
.project-card > .card-links-row {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-link svg {
  width: 17px;
  height: 17px;
}

.impact-section {
  padding-top: calc(var(--section-space) * 1.15);
}

.retail-domain-grid {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.retail-domain-grid article {
  min-height: 205px;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition-property: transform, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.retail-domain-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.retail-domain-grid span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.retail-domain-grid h3 {
  margin: 1rem 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 580;
  line-height: 1.08;
}

.retail-domain-grid p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.impact-stat {
  min-height: 295px;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.impact-stat-wide {
  grid-column: span 2;
}

.impact-value {
  margin-bottom: -0.5rem;
  color: var(--accent);
  font-size: clamp(3.7rem, 7vw, 6.5rem);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.07em;
}

.impact-unit {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-stat p {
  max-width: 28rem;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.impact-stat-quote {
  grid-column: span 2;
  justify-content: space-between;
  background: var(--accent);
  color: var(--accent-ink);
}

.impact-stat-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.impact-stat-quote a {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.impact-stat-quote a:hover,
.impact-stat-quote a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.impact-note {
  margin-top: 1rem;
  color: var(--faint);
  font-size: 0.72rem;
}

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

.article-row {
  min-height: 142px;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 110px minmax(250px, 1fr) minmax(260px, 0.85fr) 40px;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition-property: color, padding-left, padding-right, background-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.article-row:hover,
.article-row:focus-visible {
  padding-right: 1rem;
  padding-left: 1rem;
  background: var(--line-soft);
}

.article-row time {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.article-row div span {
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-row h3 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 580;
  line-height: 1.15;
}

.article-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-row > svg {
  width: 20px;
  height: 20px;
  color: var(--faint);
  justify-self: end;
  transition-property: color, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.article-row:hover > svg,
.article-row:focus-visible > svg {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.career-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.career-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.career-intro .section-kicker {
  margin-bottom: 1rem;
}

.career-intro h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.career-intro > p:last-child {
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 1.6rem 0 2rem;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.timeline-date {
  padding-top: 0.15rem;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.timeline-content h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 580;
}

.timeline-content p {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.timeline-content span {
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  min-height: 300px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition-property: transform, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.proof-card:nth-child(1),
.proof-card:nth-child(2) {
  grid-column: span 3;
}

.proof-card:nth-child(n + 3) {
  grid-column: span 2;
}

.proof-card:hover,
.proof-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.proof-card-patent {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%) border-box;
}

.proof-card h3 {
  max-width: 24rem;
  margin: 2.3rem 0 0.7rem;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 580;
  line-height: 1.1;
}

.proof-card p {
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.proof-link {
  margin-top: auto;
  color: var(--accent);
}

.contact-section {
  position: relative;
  overflow: hidden;
  margin-top: var(--section-space);
  margin-bottom: 2rem;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  color: #10190a;
  background: var(--accent);
  border-radius: 32px;
}

.contact-section .section-kicker {
  color: #304714;
}

.contact-section h2 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 1rem 0 1.5rem;
}

.contact-section > p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  max-width: 670px;
  color: #304023;
  font-size: 1.05rem;
}

.contact-actions {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-section .button-primary {
  color: #f5f7ef;
  background: #121a0c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.16);
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: #26351b;
}

.contact-section .button-quiet {
  color: #10190a;
  background: rgba(255, 255, 255, 0.23);
  box-shadow: 0 0 0 1px rgba(16, 25, 10, 0.16);
}

.contact-orbit {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(16, 25, 10, 0.18);
  border-radius: 50%;
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(16, 25, 10, 0.18);
  border-radius: 50%;
}

.contact-orbit::after {
  inset: 34%;
}

.contact-orbit span {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #10190a;
  border-radius: 50%;
}

.contact-orbit span:nth-child(1) { top: 13%; left: 19%; }
.contact-orbit span:nth-child(2) { top: 51%; left: 7%; }
.contact-orbit span:nth-child(3) { top: 30%; right: 9%; }

.site-footer {
  width: min(calc(100% - 8vw), var(--max-width));
  min-height: 120px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-domain {
  text-align: center;
}

.footer-domain span {
  padding: 0 0.25rem;
  color: var(--accent);
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
}

.site-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--faint);
  text-decoration: none;
  transition: color 150ms ease-out;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.toast {
  position: fixed;
  z-index: 150;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.7rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  filter: blur(4px);
  scale: 0.25;
  pointer-events: none;
  transition-property: opacity, filter, scale;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.toast.is-visible {
  opacity: 1;
  filter: blur(0);
  scale: 1;
}

.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px);
  animation: reveal-in 520ms ease-out forwards;
}

.reveal-delay-1 { animation-delay: 90ms; }
.reveal-delay-2 { animation-delay: 180ms; }
.reveal-delay-3 { animation-delay: 270ms; }

@keyframes reveal-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

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

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 2.5rem;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.5rem;
  }

  .feature-case {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 480px;
  }

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

  .retail-domain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card:last-child {
    grid-column: 1 / -1;
  }

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

  .impact-stat-wide,
  .impact-stat-quote {
    grid-column: span 2;
  }

  .article-row {
    grid-template-columns: 95px minmax(0, 1fr) 32px;
  }

  .article-row p {
    display: none;
  }

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

  .proof-card:nth-child(n) {
    grid-column: auto;
  }

  .proof-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 5.5rem;
  }

  .site-header {
    min-height: 66px;
    padding: 0 4.5vw;
  }

  .brand-text,
  .header-resume {
    display: none;
  }

  .hero {
    min-height: auto;
    width: min(calc(100% - 9vw), var(--max-width));
    padding-top: 8.5rem;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 6.2rem);
  }

  .hero-profile {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 0 1rem;
  }

  .profile-photo-shell {
    grid-row: 1 / 3;
    margin: 0;
    border-radius: 13px;
  }

  .profile-meta {
    padding: 0;
  }

  .profile-links {
    grid-column: 2;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }

  .signal-item strong {
    font-size: 1.05rem;
  }

  .section {
    width: min(calc(100% - 9vw), var(--max-width));
  }

  .manifesto-grid,
  .section-heading,
  .career-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .manifesto h2,
  .section-heading h2,
  .career-intro h2,
  .contact-section h2 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .work-section,
  .writing-section,
  .proof-section {
    width: calc(100% - 1rem);
    border-radius: 26px;
  }

  .section-heading {
    align-items: start;
  }

  .case-visual {
    min-height: 360px;
    padding: 1.25rem;
  }

  .mock-storefront {
    min-height: 260px;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-storefront {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .proof-grid,
  .retail-domain-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .proof-card {
    min-height: auto;
  }

  .project-card:last-child,
  .proof-card:last-child {
    grid-column: auto;
  }

  .project-symbol {
    height: 115px;
  }

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

  .impact-stat-wide,
  .impact-stat-quote {
    grid-column: auto;
  }

  .impact-stat {
    min-height: 245px;
  }

  .article-row {
    min-height: 0;
    grid-template-columns: 1fr 24px;
    gap: 1rem;
  }

  .article-row time {
    grid-column: 1;
  }

  .article-row div {
    grid-column: 1;
  }

  .article-row > svg {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .career-intro {
    position: static;
  }

  .timeline li {
    grid-template-columns: 82px 1fr;
    gap: 1rem;
  }

  .contact-section {
    width: calc(100% - 1rem);
    border-radius: 26px;
  }

  .contact-orbit {
    opacity: 0.45;
    scale: 0.72;
    transform-origin: right bottom;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.5rem;
  }

  .footer-domain {
    text-align: left;
  }

  .site-footer > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
