:root {
  --paper: #f7f4ed;
  --paper-deep: #ece5da;
  --ink: #1e1c19;
  --muted: #6c665f;
  --faint: #938b80;
  --line: #d7d0c4;
  --line-dark: #4b4640;
  --blue: #be5e40;
  --blue-soft: #f2ddd3;
  --dark: #1e1d1a;
  --dark-soft: #302d29;
  --white: #fffdf8;
  --display: 'Iowan Old Style', 'Songti SC', STSong, 'Noto Serif SC', Georgia, serif;
  --body: 'Avenir Next', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', ui-sans-serif, system-ui, sans-serif;
  --utility: 'SFMono-Regular', 'SF Mono', 'Roboto Mono', Consolas, 'Liberation Mono', monospace;
  --serif: var(--display);
  --sans: var(--body);
  --mono: var(--utility);
  --max: 1240px;
  --shadow: 0 22px 70px rgba(23, 23, 23, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: var(--paper); background: var(--blue); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(245, 243, 238, 0.9);
  border-bottom: 1px solid rgba(217, 214, 206, 0.8);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 700 11px/1 var(--mono);
  letter-spacing: -0.12em;
}
.brand-sub { color: var(--faint); font: 500 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
}
.nav a { color: var(--muted); transition: color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.nav-ask { color: var(--ink); }
.nav-ask::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.mobile-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }

.page { overflow: hidden; }
.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-wide { width: min(calc(100% - 48px), 1400px); margin: 0 auto; }
.eyebrow, .micro-label {
  margin: 0;
  color: var(--faint);
  font: 600 11px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow strong { color: var(--blue); font-weight: 600; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.section-heading h2 { max-width: 610px; margin: 0; font-size: clamp(2.15rem, 4.2vw, 4.3rem); line-height: .98; letter-spacing: -.075em; font-weight: 600; }
.section-heading h2 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.section-heading p { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; }
.section-number { color: var(--blue); font: 600 12px/1 var(--mono); }
.rule { border-top: 1px solid var(--line); }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 13px; font-weight: 600; }
.arrow-link span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; transition: all 180ms ease; }
.arrow-link:hover span { color: var(--paper); background: var(--ink); transform: translateX(3px); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }
.button.ghost { min-height: 36px; border: 0; padding: 0 3px; color: var(--muted); background: transparent; }
.button.ghost:hover { color: var(--ink); transform: none; }

/* Editorial home */
.hero { padding: 88px 0 52px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 72px; align-items: end; }
.hero h1 { margin: 22px 0 14px; max-width: 780px; font-size: clamp(4.2rem, 10.2vw, 9.2rem); line-height: .82; letter-spacing: -.11em; font-weight: 600; }
.hero h1 .last { color: var(--blue); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.1em; }
.hero-role { margin: 0; font-size: clamp(1.02rem, 2vw, 1.45rem); letter-spacing: -.04em; }
.hero-role i { color: var(--blue); font-style: normal; padding: 0 7px; }
.hero-copy { max-width: 560px; margin: 30px 0 34px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-side { position: relative; min-height: 440px; }
.portrait-frame { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-deep); }
.portrait-frame::before { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(23,23,23,.18); pointer-events: none; }
.portrait-art { position: absolute; inset: 48px 40px 35px; display: grid; place-items: center; background: #dcd8ce; overflow: hidden; }
.portrait-art::before { content: ''; position: absolute; width: 270px; height: 350px; border-radius: 50% 50% 42% 42%; background: #c9c2b5; transform: translate(18px, 28px) rotate(7deg); }
.portrait-art::after { content: 'T Z'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(79,70,229,.75); font: 600 clamp(3.5rem, 9vw, 8rem)/1 var(--serif); letter-spacing: -.18em; transform: translateX(-6px); }
.portrait-caption { position: absolute; right: 22px; bottom: 18px; left: 22px; display: flex; justify-content: space-between; color: var(--muted); font: 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.portrait-stamp { position: absolute; top: 4px; right: -12px; width: 94px; height: 94px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); background: var(--paper); font: 600 10px/1.2 var(--mono); text-align: center; transform: rotate(12deg); }
.hero-meta { display: flex; gap: 25px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font: 11px/1.4 var(--mono); }
.hero-meta span:first-child { color: var(--blue); }
.credibility { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credibility-item { min-height: 126px; padding: 23px 24px 22px 0; border-right: 1px solid var(--line); }
.credibility-item + .credibility-item { padding-left: 24px; }
.credibility-item:last-child { border-right: 0; }
.credibility strong { display: block; margin-bottom: 6px; font-size: 22px; line-height: 1; letter-spacing: -.06em; }
.credibility span { color: var(--muted); font: 11px/1.4 var(--mono); text-transform: uppercase; }
.background-section { padding: 140px 0 128px; }
.background-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; }
.background-intro p { max-width: 500px; margin: 0 0 25px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.background-intro p:first-of-type { color: var(--ink); font-size: 23px; line-height: 1.35; letter-spacing: -.04em; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 82px 1fr; gap: 22px; padding: 21px 0 25px; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--blue); font: 11px/1.3 var(--mono); }
.timeline h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.04em; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }
.book-section { padding: 90px 0 145px; background: #eae7de; }
.book-grid { display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; gap: 88px; align-items: center; }
.book-cover { position: relative; width: min(100%, 300px); aspect-ratio: .72; overflow: hidden; box-shadow: 18px 20px 0 rgba(23,23,23,.09), 0 25px 55px rgba(23,23,23,.12); background: var(--dark); color: #f5f3ee; }
.book-cover::before { content: '01'; position: absolute; top: 21px; left: 22px; color: #8b87ff; font: 12px/1 var(--mono); }
.book-cover::after { content: ''; position: absolute; right: -26%; bottom: -24%; width: 84%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.05), 0 0 0 48px rgba(255,255,255,.04); }
.book-cover-content { position: absolute; inset: 86px 24px 26px; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; }
.book-cover h3 { max-width: 220px; margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: .86; letter-spacing: -.09em; }
.book-cover h3 span { color: #9c97ff; font-family: var(--serif); font-style: italic; font-weight: 400; }
.book-cover small { color: #c4c1ff; font: 10px/1.3 var(--mono); text-transform: uppercase; }
.book-copy h3 { margin: 8px 0 17px; max-width: 700px; font-size: clamp(2.1rem, 4.6vw, 4.5rem); line-height: .94; letter-spacing: -.08em; }
.book-copy h3 span { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.book-copy > p { max-width: 610px; margin: 0 0 27px; color: var(--muted); font-size: 17px; }
.book-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.book-fact { padding: 7px 10px; border: 1px solid #c6c2b9; color: var(--muted); font: 10px/1.3 var(--mono); text-transform: uppercase; }
.projects-section { padding: 140px 0 145px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); background: rgba(255,253,248,.36); transition: background 180ms ease, transform 180ms ease; }
.project-card:hover { background: var(--white); transform: translateY(-4px); }
.project-top { display: flex; justify-content: space-between; gap: 16px; color: var(--faint); font: 10px/1.4 var(--mono); text-transform: uppercase; }
.project-index { color: var(--blue); }
.project-visual { min-height: 155px; margin: 25px 0 24px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper-deep); }
.visual-lab { width: 80%; height: 76%; border: 1px solid #b8b3aa; background: linear-gradient(135deg, transparent 48%, rgba(79,70,229,.55) 49%, rgba(79,70,229,.55) 51%, transparent 52%), repeating-linear-gradient(0deg, transparent 0 16px, rgba(23,23,23,.1) 17px 18px); }
.visual-agent { width: 78%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.visual-agent i { display: block; aspect-ratio: 1; border: 1px solid #9d98ff; background: #dedcff; }
.visual-agent i:nth-child(2n) { background: var(--dark); }
.visual-agent i:nth-child(3) { border-radius: 50%; }
.visual-writing { width: 72%; font: 18px/1.2 var(--serif); letter-spacing: -.06em; }
.visual-writing::before { content: 'idea  →  system  →  product'; color: var(--blue); }
.project-card h3 { margin: 0 0 9px; font-size: 25px; line-height: 1; letter-spacing: -.065em; }
.project-card p { min-height: 68px; margin: 0; color: var(--muted); font-size: 14px; }
.project-bottom { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 7px; color: var(--muted); background: var(--paper-deep); font: 10px/1.2 var(--mono); }
.status { color: var(--blue); font: 10px/1.2 var(--mono); text-transform: uppercase; }
.lab-section { padding: 96px 0 100px; background: var(--dark); color: var(--paper); }
.lab-section .eyebrow, .lab-section .section-number { color: #9c97ff; }
.lab-section .section-heading p { color: #aeb4bf; }
.lab-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.lab-title { max-width: 730px; margin: 0; font-size: clamp(3.2rem, 8vw, 8.2rem); line-height: .83; letter-spacing: -.11em; }
.lab-title em { color: #9c97ff; font-family: var(--serif); font-weight: 400; }
.lab-copy { color: #aeb4bf; font-size: 16px; }
.lab-list { margin: 30px 0 33px; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.lab-list li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: #d8dbe1; font: 12px/1.4 var(--mono); }
.lab-list li::before { content: '↳'; margin-right: 11px; color: #9c97ff; }
.lab-orbit { position: relative; min-height: 330px; display: grid; place-items: center; border: 1px solid var(--line-dark); overflow: hidden; }
.lab-orbit::before, .lab-orbit::after { content: ''; position: absolute; width: 255px; height: 255px; border: 1px solid rgba(156,151,255,.45); border-radius: 50%; transform: rotate(30deg) skewX(-14deg); }
.lab-orbit::after { width: 175px; height: 175px; transform: rotate(-50deg) skewX(16deg); }
.lab-orbit-label { position: relative; z-index: 1; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: #9c97ff; color: var(--dark); font: 700 11px/1 var(--mono); text-align: center; box-shadow: 0 0 0 11px rgba(156,151,255,.12), 0 0 0 22px rgba(156,151,255,.06); }
.services-section { padding: 140px 0 146px; }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 70px 1fr 240px 32px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-num { color: var(--blue); font: 11px/1 var(--mono); }
.service-item h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.05em; }
.service-item p { margin: 0; color: var(--muted); font-size: 13px; }
.service-arrow { font-size: 22px; font-weight: 300; }
.boundary-note { max-width: 670px; margin: 44px 0 0 94px; padding-left: 17px; border-left: 2px solid var(--blue); color: var(--muted); font: 13px/1.5 var(--mono); }

/* Alternate prototype variants */
.variant-fieldnotes .hero { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 50px; padding-top: 72px; }
.variant-fieldnotes .hero-side { order: -1; min-height: 310px; }
.variant-fieldnotes .portrait-frame { min-height: 310px; }
.variant-fieldnotes .portrait-art { inset: 33px 26px 28px; }
.variant-fieldnotes .hero h1 { max-width: 740px; font-size: clamp(4rem, 10vw, 8.6rem); }
.variant-fieldnotes .hero-copy { max-width: 630px; }
.variant-fieldnotes .credibility { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.variant-fieldnotes .credibility-item:nth-child(2) { border-right: 0; }
.variant-fieldnotes .credibility-item:nth-child(3), .variant-fieldnotes .credibility-item:nth-child(4) { border-top: 1px solid var(--line); }
.variant-fieldnotes .background-grid { grid-template-columns: .7fr 1.3fr; }
.variant-fieldnotes .background-intro { position: sticky; top: 120px; align-self: start; }
.variant-fieldnotes .projects-grid { grid-template-columns: 1fr; }
.variant-fieldnotes .project-card { min-height: 250px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.variant-fieldnotes .project-visual { grid-row: span 2; grid-column: 2; margin: 0; height: 100%; }
.variant-fieldnotes .project-bottom { grid-column: 1; }

.variant-index { background: #ebe8df; }
.variant-index .site-header { background: rgba(235,232,223,.9); }
.variant-index .hero { display: block; padding: 106px 0 70px; }
.variant-index .hero h1 { max-width: 1100px; margin: 18px 0 22px; font-size: clamp(5rem, 15vw, 13.5rem); line-height: .75; }
.variant-index .hero-copy { max-width: 600px; margin-left: 37%; }
.variant-index .hero .button-row { margin-left: 37%; }
.variant-index .hero-side { min-height: 0; position: absolute; top: 220px; right: max(24px, calc((100vw - var(--max)) / 2)); width: 170px; }
.variant-index .portrait-frame { min-height: 210px; transform: rotate(4deg); }
.variant-index .portrait-art { inset: 25px 20px 20px; }
.variant-index .portrait-stamp { display: none; }
.variant-index .portrait-caption { font-size: 8px; }
.variant-index .hero-meta { margin-left: 37%; }
.variant-index .credibility { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.variant-index .credibility-item { border-color: #353535; }
.variant-index .credibility span { color: #aaa; }
.variant-index .background-section, .variant-index .projects-section, .variant-index .services-section { background: var(--paper); }
.variant-index .background-grid { grid-template-columns: 1fr; gap: 45px; }
.variant-index .background-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.variant-index .timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.variant-index .timeline-item { display: block; min-height: 190px; padding: 21px 20px 25px; border-right: 1px solid var(--line); }
.variant-index .timeline-item:last-child { border-right: 0; }
.variant-index .timeline-year { display: block; margin-bottom: 40px; }
.variant-index .projects-grid { grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
.variant-index .project-card { min-height: 465px; }
.variant-index .project-card:first-child { min-height: 560px; }
.variant-index .project-card:first-child .project-visual { min-height: 235px; }
.variant-index .lab-grid { grid-template-columns: 1fr 1fr; }

/* Standard detail pages */
.detail-hero { padding: 100px 0 70px; border-bottom: 1px solid var(--line); }
.detail-hero h1 { max-width: 980px; margin: 18px 0 25px; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .84; letter-spacing: -.1em; }
.detail-hero h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.detail-lede { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; }
.detail-body { padding: 88px 0 140px; }
.detail-two-col { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.detail-two-col > aside { padding-top: 5px; }
.detail-two-col > aside p { margin: 0 0 6px; color: var(--faint); font: 11px/1.4 var(--mono); text-transform: uppercase; }
.detail-copy { max-width: 760px; }
.detail-copy h2 { margin: 0 0 18px; font-size: 34px; line-height: 1; letter-spacing: -.07em; }
.detail-copy h3 { margin: 42px 0 9px; font-size: 19px; letter-spacing: -.04em; }
.detail-copy p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.detail-copy strong { color: var(--ink); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; }
.fact-card { padding: 18px; border: 1px solid var(--line); }
.fact-card strong { display: block; margin-bottom: 4px; font-size: 24px; letter-spacing: -.06em; }
.fact-card span { color: var(--muted); font: 10px/1.3 var(--mono); text-transform: uppercase; }
.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.detail-list li::before { content: '↳'; margin-right: 10px; color: var(--blue); }
.page-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.page-card { min-height: 290px; padding: 23px; border: 1px solid var(--line); background: rgba(255,253,248,.35); }
.page-card h3 { margin: 46px 0 10px; font-size: 25px; line-height: 1; letter-spacing: -.07em; }
.page-card p { margin: 0; color: var(--muted); font-size: 14px; }
.page-card .arrow-link { margin-top: 30px; }
.full-dark { background: var(--dark); color: var(--paper); }
.full-dark .detail-hero { border-color: var(--line-dark); }
.full-dark .detail-lede, .full-dark .detail-copy p { color: #aeb4bf; }
.full-dark .detail-copy strong { color: var(--paper); }
.full-dark .detail-two-col > aside p { color: #9c97ff; }
.contact-box { padding: 42px; background: var(--blue); color: white; }
.contact-box h2 { max-width: 650px; margin: 0 0 20px; font-size: clamp(2.3rem, 5vw, 5rem); line-height: .9; letter-spacing: -.09em; }
.contact-box p { max-width: 590px; color: #e7e5ff; }
.contact-box .button { border-color: white; background: white; color: var(--blue); }

/* Ask Tomie */
.ask-overlay { position: fixed; z-index: 50; inset: 0; display: none; padding: 24px; background: rgba(17,24,39,.72); backdrop-filter: blur(10px); }
.ask-overlay.is-open { display: grid; place-items: center; }
.ask-panel { width: min(100%, 790px); max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: 30px; background: var(--paper); box-shadow: var(--shadow); }
.ask-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 22px; }
.ask-head h2 { margin: 5px 0 0; font-size: 37px; line-height: .95; letter-spacing: -.08em; }
.ask-close { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.ask-close:hover { background: var(--ink); color: var(--paper); }
.ask-search { display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--ink); background: var(--white); }
.ask-search span { color: var(--blue); font: 12px/1 var(--mono); }
.ask-search input { width: 100%; min-height: 52px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.ask-hint { margin: 12px 0 21px; color: var(--muted); font: 11px/1.4 var(--mono); }
.ask-results { display: grid; gap: 8px; }
.ask-result { padding: 15px 17px; border: 1px solid var(--line); background: rgba(255,253,248,.45); cursor: pointer; }
.ask-result:hover, .ask-result.is-selected { border-color: var(--blue); background: var(--blue-soft); }
.ask-question { margin: 0 0 5px; font-size: 14px; font-weight: 650; }
.ask-answer { display: none; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.ask-result.is-selected .ask-answer { display: block; }
.ask-source { display: inline-block; margin-top: 10px; color: var(--blue); font: 10px/1.3 var(--mono); }
.ask-empty { padding: 22px 0; color: var(--muted); font-size: 14px; }

/* Prototype controls and footer */
.prototype-switcher { position: fixed; z-index: 30; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 7px 9px; border: 1px solid #40434b; border-radius: 999px; background: #20232b; color: white; box-shadow: 0 9px 30px rgba(0,0,0,.18); transform: translateX(-50%); font: 10px/1 var(--mono); }
.prototype-switcher button { width: 24px; height: 24px; padding: 0; border: 1px solid #646976; border-radius: 50%; background: transparent; color: white; cursor: pointer; }
.prototype-switcher button:hover { background: var(--blue); border-color: var(--blue); }
.prototype-switcher strong { color: #c7c4ff; font-weight: 500; }
.site-footer { padding: 35px 0 38px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.footer-title { margin: 0 0 9px; font-size: 22px; letter-spacing: -.06em; }
.footer-copy { max-width: 370px; margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font: 11px/1.4 var(--mono); }
.footer-links a:hover { color: var(--blue); }
.noscript-card { width: min(calc(100% - 48px), 700px); margin: 15vh auto; padding: 40px; border: 1px solid var(--line); }

@media (max-width: 940px) {
  .nav { gap: 15px; }
  .hero, .variant-fieldnotes .hero { gap: 38px; }
  .hero h1, .variant-fieldnotes .hero h1 { font-size: clamp(4rem, 11vw, 7rem); }
  .background-grid, .lab-grid { gap: 50px; }
  .service-item { grid-template-columns: 50px 1fr 180px 25px; }
  .variant-index .hero-side { right: 24px; }
}
@media (max-width: 720px) {
  .header-inner, .section, .section-wide { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 62px; }
  .brand-sub { display: none; }
  .mobile-toggle { display: block; }
  .mobile-toggle span, .mobile-toggle::before, .mobile-toggle::after { display: block; width: 23px; height: 1px; margin: 5px 0; background: var(--ink); content: ''; }
  .nav { position: absolute; top: 62px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-ask::before { margin-left: 1px; }
  .hero, .variant-fieldnotes .hero { display: flex; flex-direction: column; gap: 35px; padding: 58px 0 35px; align-items: stretch; }
  .hero-side, .variant-fieldnotes .hero-side, .variant-index .hero-side { position: static; order: 0; width: 100%; min-height: 320px; }
  .portrait-frame, .variant-fieldnotes .portrait-frame { min-height: 320px; }
  .portrait-art { inset: 40px 30px 28px; }
  .hero h1, .variant-fieldnotes .hero h1, .variant-index .hero h1 { font-size: clamp(4rem, 19vw, 7.2rem); }
  .hero-copy, .variant-index .hero-copy, .variant-index .hero .button-row, .variant-index .hero-meta { margin-left: 0; }
  .hero-copy { font-size: 15px; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .credibility, .variant-fieldnotes .credibility { grid-template-columns: repeat(2, 1fr); }
  .credibility-item { min-height: 105px; padding: 17px 10px 16px 0; }
  .credibility-item + .credibility-item { padding-left: 14px; }
  .credibility-item:nth-child(2) { border-right: 0; }
  .credibility-item:nth-child(3), .credibility-item:nth-child(4) { border-top: 1px solid var(--line); }
  .background-section, .projects-section, .services-section { padding: 84px 0; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading p { margin-top: 18px; }
  .background-grid, .book-grid, .lab-grid, .detail-two-col { grid-template-columns: 1fr; gap: 42px; }
  .background-intro p:first-of-type { font-size: 20px; }
  .timeline-item { grid-template-columns: 66px 1fr; gap: 12px; }
  .book-section { padding: 70px 0 88px; }
  .book-cover { margin: 0 auto; }
  .book-copy h3 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .projects-grid, .variant-index .projects-grid, .page-card-grid { grid-template-columns: 1fr; }
  .project-card, .variant-index .project-card { min-height: 370px; }
  .variant-fieldnotes .project-card { display: flex; min-height: 390px; }
  .variant-fieldnotes .project-visual { height: auto; min-height: 150px; order: 0; }
  .variant-index .background-intro { display: block; }
  .variant-index .timeline { grid-template-columns: 1fr; }
  .variant-index .timeline-item { min-height: 0; border-right: 0; }
  .variant-index .timeline-year { margin-bottom: 12px; }
  .lab-section { padding: 74px 0 78px; }
  .lab-title { font-size: clamp(3.3rem, 16vw, 6rem); }
  .lab-orbit { min-height: 270px; }
  .service-item { grid-template-columns: 35px 1fr 20px; gap: 10px; padding: 21px 0; }
  .service-item p { grid-column: 2 / 3; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .boundary-note { margin: 32px 0 0; }
  .detail-hero { padding: 66px 0 52px; }
  .detail-hero h1 { font-size: clamp(3.5rem, 16vw, 6.5rem); }
  .detail-body { padding: 62px 0 90px; }
  .detail-two-col > aside { padding: 0; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { padding: 28px 22px; }
  .ask-overlay { padding: 10px; }
  .ask-panel { padding: 22px; max-height: calc(100vh - 20px); }
  .ask-head h2 { font-size: 31px; }
  .prototype-switcher { bottom: 9px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 25px; }
}

/* Full-stack direction: quiet editorial space with one purposeful work surface. */
.site-header {
  background: rgba(247, 244, 237, .92);
  border-bottom-color: rgba(215, 208, 196, .58);
}
.header-inner { width: min(calc(100% - 64px), 1320px); min-height: 76px; }
.brand { gap: 10px; font-size: 14px; font-weight: 650; }
.brand-mark { width: 25px; height: 25px; border-radius: 0; border: 0; background: var(--ink); color: var(--paper); font-size: 9px; letter-spacing: -.08em; }
.brand-sub { color: var(--faint); font-size: 9px; }
.nav { gap: 21px; font-size: 12px; }
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a.nav-ask { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.nav-ask::before { width: 5px; height: 5px; margin-right: 6px; background: #f0b99e; box-shadow: none; }

.section { width: min(calc(100% - 64px), 1320px); }
.eyebrow, .micro-label { color: var(--faint); font-size: 10px; letter-spacing: .11em; }
.eyebrow strong { color: var(--blue); }
.section-heading { align-items: start; margin-bottom: 46px; }
.section-heading h2, .detail-copy h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; }
.section-heading h2 { max-width: 650px; font-size: clamp(2.75rem, 5.1vw, 5.3rem); line-height: .93; }
.section-heading h2 em { color: var(--ink); font-style: italic; }
.button { min-height: 48px; padding: 0 20px; border-color: var(--ink); background: var(--ink); font-weight: 600; }
.button span { margin-left: 12px; }
.button.secondary { border-color: var(--line-dark); }
.button.secondary:hover { background: var(--blue); border-color: var(--blue); }
.button.ghost { color: var(--ink); font-weight: 600; }
.button.ghost:hover { color: var(--blue); }
.arrow-link:hover span { background: var(--blue); border-color: var(--blue); }

.anthropic-hero { position: relative; isolation: isolate; padding: 54px 0 72px; }
.anthropic-hero::before { content: ''; position: absolute; inset: 10px -28px 24px; z-index: 0; border-radius: 0 0 34px 34px; background-image: linear-gradient(90deg, rgba(247,244,237,.99) 0%, rgba(247,244,237,.94) 38%, rgba(247,244,237,.58) 68%, rgba(247,244,237,.22) 100%), linear-gradient(0deg, rgba(247,244,237,.14), rgba(247,244,237,.14)), url('/assets/hero-signal-field-v1.png'); background-position: center; background-size: cover; opacity: .92; pointer-events: none; }
.hero-context, .hero-statement, .stack-surface { position: relative; z-index: 1; }
.hero-context { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 48px; color: var(--muted); font-size: 12px; }
.hero-context p { margin: 0; }
.hero-context p:last-child { max-width: 360px; text-align: right; }
.hero-identity { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.hero-identity img { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid rgba(30,28,25,.18); border-radius: 50%; object-fit: cover; }
.hero-identity p { color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.hero-statement { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr); gap: 70px; align-items: end; }
.hero-statement h1 { max-width: 920px; margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(4.8rem, 10.4vw, 10.6rem); font-weight: 400; line-height: .79; letter-spacing: -.088em; }
.hero-statement h1 em { color: var(--blue); font-style: italic; font-weight: 400; }
.hero-thesis { padding: 0 0 7px; }
.hero-thesis > p { margin: 0 0 27px; color: var(--muted); font-size: 16px; line-height: 1.64; }
.hero-thesis .button-row { gap: 8px; }
.stack-surface { margin-top: 82px; padding: 29px 34px 25px; border-radius: 27px; background: var(--dark); color: var(--paper); }
.stack-surface .micro-label { color: #b7aea1; }
.stack-route { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin-top: 48px; }
.stack-route span { flex: 1; color: #fffdf8; font-family: var(--serif); font-size: clamp(1.2rem, 2.15vw, 2rem); line-height: .95; letter-spacing: -.045em; }
.stack-route i { width: 24px; height: 24px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #777067; border-radius: 50%; color: #e9a487; font-style: normal; font-size: 12px; }
.stack-foot { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 46px; padding-top: 15px; border-top: 1px solid var(--line-dark); color: #aaa298; font: 10px/1.3 var(--mono); text-transform: uppercase; }
.stack-foot span:first-child { color: #efac91; }

.credibility { margin-bottom: 0; }
.credibility-item { min-height: 112px; padding-top: 20px; }
.credibility strong { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 28px; }
.credibility span { color: var(--muted); font-size: 10px; }
.background-section { padding: 142px 0 132px; }
.background-intro p:first-of-type { color: var(--ink); font-family: var(--serif); font-size: 27px; line-height: 1.24; letter-spacing: -.045em; }
.timeline-year { color: var(--blue); }
.timeline h3 { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.book-section { background: #e8ded1; }
.book-cover { border-radius: 3px; background: var(--blue); box-shadow: 15px 18px 0 rgba(30, 28, 25, .1), 0 22px 48px rgba(30, 28, 25, .1); }
.book-cover::before { color: #f9d4c4; }
.book-cover h3 span, .book-cover small { color: #fde9de; }
.book-cover-photo { margin: 0; background: #fff; }
.book-cover-photo::before, .book-cover-photo::after { display: none; }
.book-cover-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 72% center; }
.book-copy h3 { font-family: var(--serif); font-weight: 400; }
.book-copy h3 span { color: var(--blue); font-style: italic; }
.book-fact { border-color: #cfc3b4; background: rgba(255, 253, 248, .45); }
.projects-section { padding: 144px 0 138px; }
.project-card { min-height: 390px; border-color: var(--line); background: rgba(255, 253, 248, .5); }
.project-card:hover { background: var(--white); box-shadow: 0 15px 38px rgba(30,28,25,.07); }
.project-top { color: var(--faint); }
.project-visual { background: #eee8df; }
.project-card h3 { font-family: var(--serif); font-weight: 400; font-size: 29px; }
.status, .project-index { color: var(--blue); }
.tag { background: #eee8df; color: var(--muted); }
.teaching-section { padding: 122px 0; border-top: 1px solid var(--line); background: #efe9df; }
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.course-card { min-height: 242px; display: flex; flex-direction: column; padding: 29px 32px 32px; background: rgba(255,253,248,.78); transition: background 180ms ease, box-shadow 180ms ease; }
.course-card:hover { background: var(--white); box-shadow: inset 0 -3px 0 var(--blue); }
.course-meta { display: flex; gap: 13px; align-items: center; margin: 0 0 48px; color: var(--faint); font: 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.course-meta span { color: var(--blue); }
.course-card h3 { max-width: 430px; margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.85rem, 3.1vw, 2.75rem); font-weight: 400; line-height: .96; letter-spacing: -.055em; }
.course-description { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.course-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 24px; color: var(--ink); font: 600 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.course-link i { color: var(--blue); font-size: 15px; font-style: normal; transition: transform 180ms ease; }
.course-card:hover .course-link i { transform: translate(2px, -2px); }
.teaching-footer { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 29px; }
.teaching-footer > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; }
.course-grid-detail { margin-top: 32px; }
.course-grid-detail .course-card { min-height: 210px; }
.course-grid-detail .course-meta { margin-bottom: 34px; }
.lab-section { margin: 0 24px; padding: 94px 0 100px; border-radius: 28px; background: var(--dark); }
.lab-section .section { width: min(calc(100% - 64px), 1272px); }
.lab-section .eyebrow, .lab-section .section-number { color: #e8a084; }
.lab-title { font-family: var(--serif); font-weight: 400; }
.lab-title em { color: #e8a084; }
.lab-orbit { border-color: var(--line-dark); border-radius: 16px; }
.lab-orbit-label { background: #e8a084; }
.services-section { padding: 145px 0 72px; }
.service-list { border-color: var(--line); }
.service-item { grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) 30px; gap: 32px; padding: 31px 0; }
.service-item h3 { font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 400; }
.service-item p { font-size: 14px; }
.service-arrow { color: var(--blue); }
.boundary-note { max-width: 650px; margin: 38px 0 0; border-left-color: var(--blue); }
.service-cta { margin: 34px 0 0; }

.contact-section { padding: 46px 0 122px; }
.contact-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 78px; padding: clamp(34px, 6vw, 78px); border-radius: 30px; background: var(--dark); color: var(--paper); }
.contact-intro .eyebrow { color: #e8a084; }
.contact-intro h2 { max-width: 680px; margin: 22px 0 25px; font-family: var(--serif); font-size: clamp(3rem, 5.6vw, 6.25rem); font-weight: 400; line-height: .86; letter-spacing: -.075em; }
.contact-intro > p:last-child { max-width: 550px; margin: 0; color: #bcb4aa; font-size: 16px; }
.contact-actions { align-self: end; }
.contact-email { display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; padding: 19px 0 22px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: color 160ms ease; }
.contact-email:hover { color: #f0b99e; }
.contact-email span, .contact-socials .micro-label { color: #a79e93; font: 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.contact-email strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 400; letter-spacing: -.05em; }
.contact-email i { grid-row: span 2; align-self: center; color: #e8a084; font-size: 22px; font-style: normal; }
.contact-socials { margin-top: 37px; }
.contact-socials .micro-label { margin-bottom: 11px; }
.contact-social { display: grid; grid-template-columns: 1fr auto 22px; gap: 15px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.contact-social:hover { color: #f0b99e; }
.contact-social:hover small { color: #f0b99e; }
.contact-social span { font-family: var(--serif); font-size: 22px; letter-spacing: -.04em; }
.contact-social small { color: #a79e93; font: 10px/1.3 var(--mono); text-transform: uppercase; }
.contact-social i { color: #e8a084; font-style: normal; }

.detail-hero { padding-top: 114px; }
.detail-hero h1 { font-family: var(--serif); font-weight: 400; }
.detail-hero h1 em { color: var(--blue); }
.detail-copy h2 { font-size: 40px; }
.contact-box { border-radius: 22px; background: var(--blue); }
.contact-box .button { color: var(--ink); }
.prototype-switcher { display: none; }
.site-footer { border-top-color: var(--line); }
.footer-title { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.footer-links a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 840px) {
  .header-inner, .section { width: min(calc(100% - 40px), 1320px); }
  .nav { gap: 13px; }
  .anthropic-hero { padding-top: 42px; }
  .hero-statement, .contact-shell { grid-template-columns: 1fr; gap: 42px; }
  .hero-thesis { max-width: 570px; }
  .stack-route { gap: 10px; }
  .stack-route span { font-size: 1.35rem; }
  .lab-section { margin: 0 20px; }
  .lab-section .section { width: min(calc(100% - 40px), 1272px); }
  .contact-actions { max-width: 620px; }
  .anthropic-hero::before { right: -20px; left: -20px; }
}

@media (max-width: 720px) {
  .header-inner, .section { width: min(calc(100% - 32px), 1320px); }
  .header-inner { min-height: 66px; }
  .nav { top: 66px; }
  .nav a.nav-ask { padding: 9px 0; border-radius: 0; background: transparent; color: var(--ink); }
  .nav-ask::before { background: var(--blue); }
  .anthropic-hero { padding: 31px 0 54px; }
  .anthropic-hero::before { inset: 0 -16px 14px; border-radius: 0 0 24px 24px; background-image: linear-gradient(90deg, rgba(247,244,237,.96) 0%, rgba(247,244,237,.78) 77%, rgba(247,244,237,.45) 100%), url('/assets/hero-signal-field-v1.png'); background-position: 66% center; opacity: .74; }
  .hero-context { padding-bottom: 40px; }
  .hero-context p:last-child { display: none; }
  .hero-identity img { width: 33px; height: 33px; }
  .hero-statement h1 { font-size: clamp(4.1rem, 19vw, 6.6rem); line-height: .8; }
  .hero-thesis > p { font-size: 15px; }
  .stack-surface { margin-top: 52px; padding: 22px; border-radius: 21px; }
  .stack-route { display: grid; grid-template-columns: 1fr 24px; gap: 13px 10px; margin-top: 31px; }
  .stack-route span { font-size: 1.48rem; }
  .stack-route i { grid-column: 2; }
  .stack-route i:last-child { display: none; }
  .stack-foot { gap: 9px 16px; margin-top: 31px; }
  .credibility { grid-template-columns: 1fr 1fr; }
  .background-section, .projects-section { padding: 91px 0; }
  .teaching-section { padding: 86px 0; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 0; padding: 25px 22px 28px; }
  .course-meta { margin-bottom: 33px; }
  .teaching-footer { display: grid; align-items: start; gap: 22px; }
  .book-section { padding-top: 82px; }
  .section-heading h2 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .lab-section { margin: 0 12px; padding: 73px 0; border-radius: 22px; }
  .lab-section .section { width: min(calc(100% - 40px), 1272px); }
  .services-section { padding: 91px 0 38px; }
  .service-item { grid-template-columns: 1fr 20px; gap: 8px 15px; }
  .service-item p { grid-column: 1; }
  .service-arrow { grid-column: 2; grid-row: 1; }
  .contact-section { padding: 36px 0 82px; }
  .contact-shell { gap: 39px; padding: 28px 22px; border-radius: 22px; }
  .contact-intro h2 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .contact-intro > p:last-child { font-size: 15px; }
  .contact-email strong { font-size: 1.45rem; overflow-wrap: anywhere; }
  .contact-social { grid-template-columns: 1fr 18px; }
  .contact-social small { grid-column: 1; grid-row: 2; }
  .contact-social i { grid-column: 2; grid-row: 1 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
