:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #151512;
  --muted: #68645d;
  --line: rgba(21, 21, 18, 0.18);
  --panel: #e8e0d2;
  --accent: #0b6b50;
  --accent-dark: #084533;
  --accent-light: #0f8a67;
  --radius: 0px;
  --max: 1380px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --headline-word-spacing: clamp(-18px, -1.1vw, -8px);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #12130f;
    --ink: #f1eee6;
    --muted: #aaa59a;
    --line: rgba(241, 238, 230, 0.2);
    --panel: #1f211a;
    --accent: #84d6b4;
    --accent-dark: #b6e9d2;
    --accent-light: #b6e9d2;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.pending-es-copy [data-i18n] {
  visibility: hidden;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 0 47%, color-mix(in srgb, var(--ink) 7%, transparent) 47.2% 47.35%, transparent 47.55% 100%),
    linear-gradient(68deg, transparent 0 62%, color-mix(in srgb, var(--accent) 9%, transparent) 62.15% 62.3%, transparent 62.5% 100%);
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 78%, transparent 100%);
}

.ambient-field {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.46;
}

.ambient-field span {
  position: absolute;
  inset: -12%;
  background-repeat: repeat;
}

.ambient-field span:nth-child(1) {
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--ink) 38%, transparent) 0 1px, transparent 1.7px),
    radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 0 1px, transparent 1.6px);
  background-size: 148px 148px, 231px 231px;
  background-position: 8px 18px, 64px 82px;
}

.ambient-field span:nth-child(2) {
  display: none;
}

.ambient-field span:nth-child(3) {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-field span {
    animation: none;
  }
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header {
  z-index: 50;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(var(--max), calc(100vw - 2rem));
  min-height: 62px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  justify-self: start;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 520;
  transition: color 160ms ease, font-weight 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active {
  font-weight: 850;
}

.nav-actions {
  justify-self: end;
  display: flex;
  gap: 0.5rem;
}

button,
.button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.74rem 1rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

button:active,
.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary:hover,
.language-toggle:hover,
.menu-toggle:hover {
  background: var(--panel);
}

.menu-toggle {
  display: none;
}

main {
  overflow: hidden;
}

section {
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 63px);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: stretch;
  padding: clamp(1.3rem, 3vw, 2.6rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 520px;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-index span {
  display: block;
}

.hero-statement {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 1rem 0 0;
  border-top: 1px solid var(--ink);
}

.intro-line,
.section-label {
  margin: 0 0 1.1rem;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.9rem, 8.4vw, 7.9rem);
  line-height: 0.86;
  letter-spacing: 0;
  word-spacing: var(--headline-word-spacing);
}

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6.2vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  word-spacing: var(--headline-word-spacing);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.28rem, 2.1vw, 2rem);
  line-height: 1.04;
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

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

.portrait-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--panel);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 30%;
  filter: contrast(1.08);
  transform: scaleX(-1);
}

.portrait-note {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.portrait-note span {
  color: var(--muted);
}

@media (min-width: 981px) and (max-height: 800px) {
  .topbar {
    min-height: 54px;
  }

  .hero {
    min-height: calc(100dvh - 55px);
    grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 0.38fr);
    gap: clamp(1rem, 2.2vw, 2rem);
    padding: 1rem 0 1.4rem;
  }

  .hero-index,
  .hero-statement,
  .portrait-panel {
    min-height: 450px;
  }

  .hero-index {
    padding: 0.75rem 0;
    font-size: 0.86rem;
  }

  .hero-statement {
    padding-top: 0.75rem;
  }

  .intro-line {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 0.85rem;
    font-size: clamp(3.4rem, 7.2vw, 6.2rem);
    line-height: 0.88;
  }

  .hero-lede {
    max-width: 52ch;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.38;
  }

  button,
  .button {
    min-height: 38px;
    padding: 0.6rem 0.86rem;
  }

  .portrait-note {
    gap: 0.25rem;
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 981px) and (max-height: 700px) {
  .hero {
    min-height: calc(100dvh - 90px);
    padding: 0.8rem 0 1rem;
  }

  .hero-index,
  .hero-statement,
  .portrait-panel {
    min-height: 420px;
  }

  h1 {
    font-size: clamp(3.15rem, 6.7vw, 5.65rem);
  }

  .hero-lede {
    margin-bottom: 0.8rem;
    font-size: 0.96rem;
  }

  .portrait-note {
    padding: 0.65rem;
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.proof-strip div {
  min-height: 150px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

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

.proof-strip span {
  margin-bottom: 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-strip strong {
  max-width: 18ch;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.03;
}

.experience-section,
.education-section,
.approach-section,
.work-section,
.case-study-section,
.thinking-section,
.contact-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-bottom: 1px solid var(--line);
}

@supports (content-visibility: auto) {
  .experience-section,
  .education-section,
  .approach-section,
  .work-section,
  .case-study-section,
  .thinking-section,
  .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }

  .contact-section {
    contain-intrinsic-size: auto 380px;
  }
}

.difference-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.difference-copy {
  display: grid;
  gap: 1rem clamp(2.5rem, 5vw, 5.5rem);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.experience-section > h2,
.education-section > h2,
.work-section > h2,
.thinking-section > h2 {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.experience-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.experience-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.45rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.1rem;
}

.experience-meta span,
.experience-body p {
  color: var(--muted);
}

.experience-body p {
  max-width: 56ch;
  font-size: 1.05rem;
}

.experience-body {
  display: grid;
  gap: clamp(0.75rem, 1.25vw, 1rem);
}

.experience-body p + p {
  margin-top: 0;
}

.product-contexts {
  display: grid;
  gap: 0.65rem;
  max-width: 780px;
  margin-top: 1.15rem;
}

.product-contexts div {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--panel) 62%, transparent);
}

.product-contexts span {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.tag-row span {
  border: 1px solid var(--line);
  padding: 0.42rem 0.6rem;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 760;
}

.education-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.education-section .education-row {
  margin-top: 0;
}

.education-row div {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  background: var(--paper);
}

.education-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.education-row strong {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.08;
}

.approach-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.approach-section > div:first-child {
  max-width: 1080px;
}

.approach-section > div:first-child h2 {
  max-width: 18ch;
}

.approach-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.approach-intro {
  margin: 0;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.18;
  font-weight: 750;
}

.principles {
  counter-reset: principle-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principles article {
  counter-increment: principle-step;
  position: relative;
  min-height: 230px;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article:nth-child(2n) {
  border-right: 0;
}

.principles article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.principles article::before {
  content: counter(principle-step, decimal-leading-zero);
  display: block;
  margin-bottom: clamp(1.2rem, 3vw, 2.2rem);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 850;
}

.principles p {
  color: var(--muted);
}

.case-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.case-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
}

.case-index {
  color: var(--accent-dark);
  font-weight: 850;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.case-item p {
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.case-item a {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--accent-dark);
  font-weight: 800;
}

.case-study-section {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.case-study-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.case-study-hero p {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
}

.inline-link {
  color: var(--accent-light);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.case-study-grid article {
  grid-column: span 2;
  min-height: 260px;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-study-grid span {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--accent-dark);
  font-weight: 820;
}

.case-study-grid p {
  color: var(--muted);
}

.thinking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
  background: var(--line);
}

.reading-grid article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  min-height: 230px;
  padding: 1.05rem;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reading-grid article:first-child {
  grid-column: span 2;
  grid-template-columns: 132px minmax(0, 1fr);
}

.reading-grid article:first-child img {
  width: 132px;
}

.reading-grid img {
  width: 92px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
  filter: saturate(0.92) contrast(1.02);
}

.reading-grid article > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.reading-grid span,
.reading-grid strong,
.reading-grid small {
  display: block;
}

.reading-grid span {
  margin-bottom: 0.6rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 820;
}

.reading-grid strong {
  line-height: 1.08;
  font-size: 1.02rem;
}

.reading-grid small {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.reading-grid p {
  margin: auto 0 0;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  border-bottom: 0;
}

.contact-links {
  display: grid;
  border-top: 1px solid var(--ink);
}

.contact-links a,
.contact-email {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 820;
}

.contact-links a {
  text-decoration: none;
}

.site-footer {
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  body::before,
  body::after {
    position: absolute;
  }

  .ambient-field {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    position: relative;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    z-index: 80;
    display: none;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 8px 8px 0 rgba(126, 181, 214, 0.18);
  }

  .nav-links.is-open {
    display: grid;
    justify-content: stretch;
  }

  .nav-links a {
    display: block;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-index,
  .hero-statement,
  .portrait-panel {
    min-height: auto;
  }

  .hero-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .portrait-panel {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
    grid-template-rows: auto;
  }

  .portrait-note {
    border-top: 0;
    border-left: 1px solid var(--ink);
    align-content: end;
  }

  .difference-section,
  .approach-section,
  .case-study-hero,
  .thinking-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.8rem, 14vw, 6.8rem);
  }
}

@media (max-width: 680px) {
  section,
  .topbar,
  .site-footer {
    width: min(var(--max), calc(100vw - 1rem));
  }

  .site-header {
    position: sticky;
  }

  .brand {
    max-width: 140px;
    line-height: 1.05;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-index {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem 0;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    text-align: center;
  }

  .portrait-panel {
    grid-template-columns: 1fr;
  }

  .portrait-panel img {
    aspect-ratio: 1 / 1;
  }

  .portrait-note {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .experience-list article,
  .case-item,
  .case-study-grid,
  .reading-grid,
  .education-row {
    grid-template-columns: 1fr;
  }

  .approach-board {
    grid-template-columns: 1fr;
  }

  .approach-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .reading-grid article:first-child {
    grid-column: auto;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .reading-grid article:first-child img {
    width: 92px;
  }

  .principles article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
  }
}

/* Retro dossier direction: minimal technical language, sharp edges, blueprint accent. */
:root {
  --paper: #090c10;
  --ink: #eef3ea;
  --muted: #8f9a9a;
  --line: rgba(126, 181, 214, 0.24);
  --panel: #10161b;
  --accent: #7eb5d6;
  --accent-dark: #a8d5ea;
  --accent-light: #a8d5ea;
  --font: "SF Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --headline-word-spacing: -12px;
}

body {
  background: #090c10;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  opacity: 0.62;
  background:
    radial-gradient(circle, rgba(238, 243, 234, 0.9) 0 0.95px, transparent 1.65px) center center / 164px 164px;
  mask-image: none;
}

body::after {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(126, 181, 214, 0.28) 0 1px, transparent 1.7px);
  background-size: 322px 322px;
  background-position: 136px 118px;
  transform-origin: top left;
}

.ambient-field {
  opacity: 0.38;
}

.ambient-field span:nth-child(1) {
  background-image:
    radial-gradient(circle, rgba(126, 181, 214, 0.68) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(232, 243, 220, 0.32) 0 1px, transparent 1.8px);
  background-size: 166px 166px, 289px 289px;
}

.ambient-field span:nth-child(2) {
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(126, 181, 214, 0.4) 0 1px, transparent 1.8px);
}

.ambient-field span:nth-child(3) {
  display: none;
}

.site-header {
  background: rgba(9, 12, 16, 0.92);
  border-bottom: 1px solid var(--accent);
  box-shadow: 0 12px 0 rgba(126, 181, 214, 0.045);
}

.topbar {
  min-height: 54px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand {
  color: var(--accent);
  letter-spacing: 0.02em;
}

.brand::before {
  content: ">";
  margin-right: 0.5ch;
}

.nav-links {
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links a {
  padding: 0.42rem 0.55rem;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #081018;
}

.nav-links a.is-active {
  font-weight: 920;
}

.language-toggle,
.menu-toggle,
.button {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

button,
.button {
  border-color: var(--accent);
  color: var(--accent);
  background: #081018;
  box-shadow: 4px 4px 0 rgba(126, 181, 214, 0.18);
}

button:hover,
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(126, 181, 214, 0.22);
}

.button.primary {
  background: var(--accent);
  color: #081018;
}

.button.secondary:hover,
.language-toggle:hover,
.menu-toggle:hover {
  background: rgba(126, 181, 214, 0.16);
}

.hero {
  grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: clamp(1rem, 2.3vw, 2rem);
  position: relative;
}

.hero-index,
.hero-statement,
.portrait-panel,
.proof-strip,
.experience-list,
.principles,
.case-list,
.case-study-grid,
.reading-grid,
.contact-links {
  border-color: var(--accent);
}

.hero-index,
.hero-statement {
  border-top-color: var(--accent);
}

.hero-index {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-index span {
  position: relative;
  padding-left: 1.1rem;
}

.hero-index span::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: transparent;
}

.intro-line,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.intro-line::before,
.section-label::before {
  content: "$ ";
}

h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(3.4rem, 7.1vw, 6.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(126, 181, 214, 0.15);
  text-align: left;
  text-wrap: balance;
  word-spacing: var(--headline-word-spacing);
}

h1::after {
  content: "_";
  color: var(--accent);
  animation: cursor-blink 1.15s steps(2, start) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

h2 {
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  text-wrap: balance;
  word-spacing: var(--headline-word-spacing);
}

h3 {
  color: var(--ink);
  font-weight: 850;
}

.hero-lede,
.difference-copy,
.experience-body p,
.case-item p,
.case-study-hero p,
.case-study-grid p,
.principles p,
.reading-grid p {
  color: var(--muted);
}

.portrait-panel {
  position: relative;
  border-color: var(--accent);
  background: #10161b;
  box-shadow: 8px 8px 0 rgba(126, 181, 214, 0.18);
  overflow: hidden;
}

.portrait-panel::before {
  content: "PROFILE.IMG";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 0.38rem 0.5rem;
  background: var(--accent);
  color: #081018;
  font-size: 0.72rem;
  font-weight: 900;
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(232, 243, 220, 0.08) 0 1px, transparent 1px 5px);
  opacity: 0.16;
}

.portrait-panel img {
  filter: grayscale(1) contrast(1.08);
}

.portrait-note {
  border-top-color: var(--accent);
  background: #0d1216;
}

.portrait-note strong {
  color: var(--accent);
  text-transform: uppercase;
}

.proof-strip {
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateX(clamp(0rem, 2vw, 1.4rem));
}

.proof-strip div,
.experience-list article,
.case-item,
.case-study-grid article,
.principles article,
.reading-grid article,
.education-row div {
  background: rgba(8, 16, 24, 0.7);
}

.difference-section {
  grid-template-columns: 150px minmax(0, 1.1fr) minmax(280px, 0.42fr);
}

.difference-section h2 {
  max-width: 13ch;
  color: var(--accent);
}

.difference-copy {
  border-left: 1px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}

.approach-copy {
  counter-reset: approach-step;
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  gap: 0;
  column-gap: 0;
}

.approach-copy p {
  counter-increment: approach-step;
  position: relative;
  padding: 0 0 clamp(1.2rem, 2vw, 1.8rem) clamp(3rem, 4.5vw, 4.2rem);
  margin: 0;
  max-width: 72ch;
}

.approach-copy p::before {
  content: counter(approach-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent);
  font-weight: 850;
  font-size: 0.88em;
}

.approach-copy p + p {
  padding-top: clamp(1.2rem, 2vw, 1.8rem);
  border-top: 1px solid var(--line);
}

.approach-copy p + p::before {
  top: calc(clamp(1.2rem, 2vw, 1.8rem) + 0.1em);
}

.approach-copy p:last-child {
  padding-bottom: 0;
}

.proof-strip span,
.experience-meta span,
.education-row span,
.case-study-grid span,
.reading-grid span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.proof-strip strong,
.education-row strong,
.case-index {
  color: var(--ink);
}

.product-contexts div {
  border-left-color: var(--accent);
  background:
    linear-gradient(90deg, rgba(126, 181, 214, 0.13), transparent 68%),
    rgba(126, 181, 214, 0.06);
}

.product-contexts strong,
.tag-row span,
.case-item a,
.contact-links a,
.contact-email {
  color: var(--accent);
}

.tag-row span,
.reading-grid img {
  border-color: var(--accent);
}

.case-item {
  position: relative;
}

.case-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: clamp(2.5rem, 9vw, 8rem);
  height: 1px;
  background: var(--accent);
}

.reading-grid {
  background: var(--accent);
  transform: rotate(-0.25deg);
}

.reading-grid article {
  background:
    linear-gradient(180deg, rgba(126, 181, 214, 0.07), rgba(8, 16, 24, 0.92)),
    #081018;
  transform: rotate(0.25deg);
  transition: transform 180ms ease, background-color 180ms ease;
}

.reading-grid article:hover {
  transform: rotate(0deg) translateY(-2px);
}

.reading-grid img {
  box-shadow: 4px 4px 0 rgba(126, 181, 214, 0.24);
  filter: grayscale(0.18) contrast(1.12);
}

.contact-links a:hover {
  background: var(--accent);
  color: #081018;
  padding-left: 0.75rem;
}

.reading-grid strong {
  color: var(--ink);
}

.reading-grid small {
  color: var(--muted);
}

.contact-section {
  background: transparent;
}

.site-footer {
  border-top-color: var(--line-soft);
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  h1::after {
    animation: none;
  }
}

@media (min-width: 981px) and (max-height: 800px) {
  h1 {
    font-size: clamp(3.05rem, 6.5vw, 5.6rem);
  }
}

@media (max-width: 680px) {
  .topbar {
    font-size: 0.74rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 15vw, 4.7rem);
  }
}

@media (max-width: 980px) {
  .proof-strip,
  .reading-grid {
    transform: none;
  }

  .experience-list article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .experience-list article:nth-child(even) .experience-meta,
  .experience-list article:nth-child(even) .experience-body {
    grid-column: auto;
    grid-row: auto;
  }

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

  .principles article:nth-child(2n) {
    border-right: 0;
  }
}

/* Product thinking shelf: covers first, notes second. */
.thinking-section {
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}

.thinking-section > .section-label {
  grid-column: auto;
  grid-row: auto;
}

.thinking-section > h2 {
  grid-column: auto;
  grid-row: auto;
  position: static;
  align-self: start;
  max-width: 18ch;
  margin-bottom: 0;
}

.reading-grid {
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(178px, 18vw, 246px);
  grid-template-columns: none;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.35rem 1.15rem;
  border: 0;
  background:
    linear-gradient(90deg, transparent, rgba(126, 181, 214, 0.14) 38%, transparent 70%) 0 62% / 100% 1px no-repeat;
  transform: none;
  scrollbar-color: var(--accent) rgba(126, 181, 214, 0.14);
}

.reading-grid article,
.reading-grid article:first-child {
  position: relative;
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(145px, auto);
  gap: 0.85rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  scroll-snap-align: start;
  transform: none;
  transition: transform 180ms ease;
}

.reading-grid article:hover {
  transform: translateY(-4px);
}

.book-cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.book-cover-link:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 5px;
}

.reading-grid img,
.reading-grid article:first-child img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--accent);
  background: #081018;
  box-shadow:
    7px 7px 0 rgba(126, 181, 214, 0.2),
    0 0 0 1px rgba(8, 16, 24, 0.9);
  filter: grayscale(0.08) contrast(1.08) saturate(0.95);
}

.reading-grid article > div {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.75rem 0.15rem 0;
}

.reading-grid span {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.1;
}

.reading-grid strong {
  color: var(--ink);
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  line-height: 1.05;
}

.reading-grid small {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.reading-grid p {
  margin: 0.25rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

@media (min-width: 981px) {
  .reading-grid p {
    display: -webkit-box;
    max-height: 4.1em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 980px) {
  .thinking-section {
    grid-template-columns: 1fr;
  }

  .thinking-section > h2 {
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
  }

  .reading-grid {
    grid-column: auto;
    grid-row: auto;
    grid-auto-columns: clamp(156px, 42vw, 214px);
    margin-right: -1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 520px) {
  .reading-grid {
    grid-auto-columns: minmax(142px, 58vw);
  }

  .reading-grid p {
    display: none;
  }

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

  .principles article {
    min-height: auto;
    border-right: 0;
  }
}

h1,
h2 {
  text-align: left;
  text-wrap: balance;
  word-spacing: var(--headline-word-spacing) !important;
}

@media (max-width: 680px) {
  h1,
  h2 {
    word-spacing: -7px !important;
  }
}

/* Compact overview pass: keep the blueprint character, increase scan density. */
@media (min-width: 981px) {
  .hero {
    min-height: auto;
    grid-template-columns: 132px minmax(0, 1fr) minmax(240px, 0.28fr);
    gap: clamp(0.9rem, 1.8vw, 1.55rem);
    padding: clamp(0.85rem, 2vw, 1.35rem) 0 clamp(1.1rem, 2.4vw, 1.8rem);
  }

  .hero-index,
  .hero-statement,
  .portrait-panel {
    min-height: clamp(330px, calc(100dvh - 300px), 410px);
  }

  .hero-index {
    padding: 0.72rem 0;
    font-size: 0.7rem;
  }

  .hero-statement {
    padding-top: 0.72rem;
  }

  .intro-line,
  .section-label {
    margin-bottom: 0.72rem;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 13ch;
    margin-bottom: 0.78rem;
    font-size: clamp(2.85rem, 4.55vw, 4.35rem);
    line-height: 0.88;
  }

  .hero-lede {
    max-width: 55ch;
    margin-bottom: 0.95rem;
    font-size: clamp(0.94rem, 1.08vw, 1.08rem);
    line-height: 1.34;
  }

  .portrait-note {
    gap: 0.3rem;
    padding: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .portrait-panel::before {
    font-size: 0.62rem;
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none;
  }

  .proof-strip div {
    min-height: 92px;
    padding: 0.7rem 0.78rem;
  }

  .proof-strip span {
    margin-bottom: 0.72rem;
    font-size: 0.64rem;
  }

  .proof-strip strong {
    max-width: 19ch;
    font-size: clamp(0.92rem, 1.16vw, 1.16rem);
    line-height: 1.05;
  }

  .difference-section,
  .experience-section,
  .education-section,
  .approach-section,
  .work-section,
  .case-study-section,
  .thinking-section,
  .contact-section {
    padding: clamp(2.6rem, 5vw, 4.5rem) 0;
  }

  h2 {
    max-width: 22ch;
    font-size: clamp(2rem, 3.9vw, 4.15rem);
    line-height: 0.94;
  }

  h3 {
    font-size: clamp(1.12rem, 1.55vw, 1.55rem);
  }

  .experience-section > h2,
  .education-section > h2,
  .work-section > h2,
  .thinking-section > h2 {
    margin-bottom: clamp(1.1rem, 2.5vw, 2rem);
  }

  .difference-section {
    grid-template-columns: 130px minmax(0, 0.92fr) minmax(340px, 0.78fr);
    gap: clamp(1rem, 2.4vw, 2.2rem);
  }

  .difference-section h2 {
    max-width: 18ch;
  }

  .difference-copy {
    gap: 0.72rem;
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.42;
  }

  .approach-copy {
    row-gap: 0;
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: clamp(1.1rem, 1.8vw, 1.55rem);
    padding: clamp(1.45rem, 2.6vw, 2.2rem) 0;
  }

  .experience-body {
    display: grid;
    gap: clamp(0.75rem, 1.25vw, 1rem);
  }

  .experience-body p + p {
    margin-top: 0;
  }

  .experience-body p,
  .case-item p,
  .case-study-hero p,
  .case-study-grid p,
  .principles p {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .product-contexts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: none;
    margin-top: 0.4rem;
  }

  .product-contexts div {
    padding: 0.86rem 1rem;
  }

  .product-contexts span,
  .product-contexts strong {
    font-size: 0.83rem;
    line-height: 1.32;
  }

  .tag-row {
    margin-top: 0.25rem;
  }

  .tag-row span {
    padding: 0.32rem 0.48rem;
    font-size: 0.72rem;
  }

  .education-row {
    margin-top: 1rem;
  }

  .education-row div {
    padding: 0.76rem 0.86rem;
  }

  .education-row span {
    font-size: 0.72rem;
  }

  .education-row strong {
    font-size: clamp(0.98rem, 1.18vw, 1.2rem);
  }

  .approach-section {
    gap: clamp(1.25rem, 3vw, 2.4rem);
  }

  .approach-section > div:first-child h2 {
    max-width: 24ch;
  }

  .principles article {
    min-height: 190px;
    padding: 0.88rem;
  }

  .case-item {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2.3rem);
    padding: clamp(1rem, 2vw, 1.55rem) 0;
  }

  .case-index {
    font-size: clamp(1rem, 1.42vw, 1.36rem);
    line-height: 1.04;
  }

  .case-study-section {
    gap: clamp(1.2rem, 3vw, 2.3rem);
  }

  .case-study-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
    gap: clamp(1.25rem, 3vw, 2.7rem);
  }

  .case-study-grid article {
    min-height: 190px;
    padding: 0.86rem;
  }

  .case-study-grid span {
    margin-bottom: 1rem;
    font-size: 0.78rem;
  }

  .thinking-section {
    gap: clamp(1.35rem, 3vw, 2.5rem);
  }

  .thinking-section > h2 {
    max-width: 18ch;
  }

  .reading-grid {
    grid-auto-columns: clamp(132px, 13vw, 178px);
    gap: clamp(0.62rem, 1vw, 0.85rem);
    padding-bottom: 0.9rem;
  }

  .reading-grid article,
  .reading-grid article:first-child {
    grid-template-rows: auto minmax(92px, auto);
    gap: 0.58rem;
  }

  .reading-grid article > div {
    padding-top: 0.58rem;
  }

  .reading-grid img,
  .reading-grid article:first-child img {
    box-shadow:
      5px 5px 0 rgba(126, 181, 214, 0.18),
      0 0 0 1px rgba(8, 16, 24, 0.9);
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.52fr);
  }

  .contact-links a,
  .contact-email {
    padding: 0.74rem 0;
  }
}

@media (max-width: 980px) {
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip div:nth-child(2n) {
    border-right: 0;
  }

  .proof-strip div:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 1280px) {
  .approach-copy {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .hero {
    gap: 0.85rem;
    padding: 0.8rem 0 1rem;
  }

  .hero-index {
    font-size: 0.68rem;
  }

  .intro-line {
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
  }

  .hero-lede {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.33;
  }

  .portrait-panel img {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  .portrait-note {
    padding: 0.72rem;
    font-size: 0.8rem;
  }

  .difference-section,
  .experience-section,
  .education-section,
  .approach-section,
  .work-section,
  .case-study-section,
  .thinking-section,
  .contact-section {
    padding: clamp(2.4rem, 10vw, 3.4rem) 0;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  h2 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 9.5vw, 3.5rem);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
    padding: 0.85rem 0.9rem;
  }

  .proof-strip span {
    margin-bottom: 0.55rem;
  }

  .approach-copy {
    grid-template-columns: 1fr;
  }

  .approach-copy p:last-child {
    grid-column: auto;
  }
}

/* Mobile and tablet landing override: keep the first screen readable. */
@media (max-width: 980px) {
  body::before,
  body::after {
    position: absolute;
  }

  .hero {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: clamp(0.7rem, 2.5vw, 1.1rem) 0 clamp(1rem, 3vw, 1.5rem);
  }

  .hero-index,
  .hero-statement,
  .portrait-panel {
    width: 100%;
    min-height: 0;
  }

  .hero-index {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.72rem 0;
    font-size: 0.72rem;
    border-top-color: var(--accent);
  }

  .hero-statement {
    order: 2;
    display: grid;
    justify-content: start;
    gap: 0;
    padding: 0.85rem 0 0;
    border-top-color: var(--accent);
  }

  .portrait-panel {
    order: 3;
    grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, auto);
    align-items: stretch;
    max-height: 230px;
  }

  .portrait-panel img {
    aspect-ratio: auto;
    height: 100%;
    max-height: 230px;
    object-fit: cover;
    object-position: 50% 25%;
  }

  .portrait-note {
    align-content: center;
    border-top: 0;
    border-left: 1px solid var(--accent);
  }

  h1 {
    width: auto;
    max-width: 12ch;
    margin-bottom: 0.85rem;
    font-size: clamp(3rem, 10.5vw, 5.5rem);
    line-height: 0.9;
  }

  .hero-lede {
    width: min(100%, 50ch);
    max-width: 50ch;
    margin-bottom: 0.95rem;
    font-size: clamp(0.95rem, 2.2vw, 1.08rem);
    line-height: 1.38;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.46fr);
    align-items: stretch;
  }

  .hero-index {
    grid-column: 1 / -1;
  }

  .hero-statement {
    grid-column: 1;
    min-height: clamp(360px, 48dvh, 510px);
    align-content: end;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 7.8vw, 4.65rem);
    line-height: 0.9;
  }

  .hero-lede {
    max-width: 46ch;
  }

  .portrait-panel {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    max-height: none;
  }

  .portrait-panel img {
    max-height: none;
  }

  .portrait-note {
    align-content: end;
    border-left: 0;
    border-top: 1px solid var(--accent);
  }
}

@media (max-width: 680px) {
  section,
  .topbar,
  .site-footer {
    width: min(var(--max), calc(100vw - 1rem));
  }

  .hero {
    gap: 0.72rem;
  }

  .hero-index {
    grid-template-columns: 1fr;
    gap: 0.32rem;
    padding: 0.62rem 0;
  }

  .intro-line {
    margin-bottom: 0.5rem;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 0.72rem;
    font-size: clamp(2.8rem, 12.2vw, 3.7rem);
    line-height: 0.9;
  }

  .hero-lede {
    margin-bottom: 0.78rem;
    font-size: 0.92rem;
    line-height: 1.34;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .button {
    min-height: 42px;
    padding: 0.68rem 0.7rem;
    text-align: center;
    white-space: nowrap;
  }

  .portrait-panel {
    grid-template-columns: 118px minmax(0, 1fr);
    max-height: 155px;
  }

  .portrait-panel::before {
    padding: 0.22rem 0.34rem;
    font-size: 0.54rem;
    line-height: 1;
  }

  .portrait-panel img {
    max-height: 155px;
  }

  .portrait-note {
    gap: 0.25rem;
    padding: 0.62rem;
    font-size: 0.75rem;
    line-height: 1.25;
  }
}

/* Continuous blueprint surface: sections sit on the field, cards carry emphasis. */
:root {
  --line-soft: rgba(126, 181, 214, 0.18);
  --line-medium: rgba(126, 181, 214, 0.32);
  --line-strong: rgba(126, 181, 214, 0.72);
  --divider-accent-width: clamp(4.5rem, 14vw, 11rem);
  --surface-soft: rgba(126, 181, 214, 0.055);
  --surface-panel: rgba(8, 16, 24, 0.72);
}

.proof-strip div,
.experience-list article,
.case-item,
.case-study-grid article,
.principles article,
.approach-board {
  background: transparent;
}

.proof-strip,
.experience-list,
.experience-list article,
.education-row,
.education-row div,
.approach-board,
.approach-intro,
.principles article,
.case-item,
.case-study-grid article {
  border-color: var(--line-soft);
}

.case-study-grid {
  border-top-color: var(--line-soft);
  border-left: 0;
}

.case-list {
  border-top-color: var(--line-soft);
}

.experience-list article,
.case-item,
.approach-board,
.education-row,
.case-study-grid,
.proof-strip,
.reading-grid,
.contact-links {
  position: relative;
}

.experience-list article::before,
.case-item::before,
.approach-board::before,
.education-row::before,
.case-study-grid::before,
.reading-grid::before,
.contact-links::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: var(--divider-accent-width);
  height: 1px;
  background: var(--accent);
  pointer-events: none;
}

.case-study-grid article {
  border-right-color: var(--line-soft);
  border-bottom-color: var(--line-soft);
}

.case-study-grid article:nth-child(3n) {
  border-right: 0;
}

.proof-strip div,
.contact-links a {
  border-color: var(--line-soft);
}

.product-contexts div {
  background: var(--surface-soft);
}

.education-row div {
  background: transparent;
  border-color: var(--line-soft);
}

.education-row {
  background: transparent;
  gap: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--line-soft);
}

.education-row div + div {
  border-left: 1px solid var(--line-soft);
}

.portrait-note,
.portrait-panel,
.reading-grid article,
.reading-grid article:first-child {
  background: var(--surface-panel);
  background-color: var(--surface-panel);
}

.reading-grid {
  background: transparent;
  border-top: 1px solid var(--line-soft);
}

.reading-grid article,
.reading-grid article:first-child {
  border: 1px solid var(--line-soft);
}

.site-header {
  border-bottom-color: var(--line-medium);
  box-shadow: 0 8px 0 rgba(126, 181, 214, 0.025);
}

.portrait-panel {
  border-color: var(--line-medium);
  box-shadow: 8px 8px 0 rgba(126, 181, 214, 0.12);
}

.portrait-panel img,
.portrait-note {
  border-color: var(--line-medium);
}

.product-contexts div {
  border-left-color: var(--line-strong);
}

.tag-row span {
  border-color: var(--line-medium);
}

.contact-links {
  border-top-color: var(--line-soft);
}

@media (max-width: 680px) {
  .case-study-grid article,
  .case-study-grid article:nth-child(3n) {
    border-right: 0;
  }

  .education-row div + div {
    border-left: 0;
  }
}

/* Single fixed dot layer: the content scrolls over a stable blueprint sky. */
body::before {
  position: fixed;
  opacity: 0.62;
  background:
    radial-gradient(circle, rgba(238, 243, 234, 0.9) 0 0.95px, transparent 1.65px) center center / 164px 164px;
  mask-image: none;
}

body::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled.custom-cursor-visible,
  html.custom-cursor-enabled.custom-cursor-visible * {
    cursor: none;
  }

  .custom-cursor-dot,
  .custom-cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition:
      opacity 140ms ease,
      width 160ms ease,
      height 160ms ease,
      border-color 160ms ease,
      background-color 160ms ease;
    will-change: transform;
  }

  .custom-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d3d;
    box-shadow: none;
  }

  .custom-cursor-ring {
    width: 20px;
    height: 20px;
    border: 2px solid #ff4d3d;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
  }

  html.custom-cursor-visible .custom-cursor-dot,
  html.custom-cursor-visible .custom-cursor-ring {
    opacity: 1;
  }

  html.custom-cursor-hover .custom-cursor-ring {
    width: 32px;
    height: 32px;
    border-color: #ff4d3d;
    background: transparent;
  }

  html.custom-cursor-hover .custom-cursor-dot {
    background: #ff4d3d;
  }

  html.custom-cursor-pressed .custom-cursor-ring {
    width: 22px;
    height: 22px;
    border-color: #ff4d3d;
  }
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none;
  }
}
