:root {
  color-scheme: dark;
  background: #080808;
  color: #f2f2ee;
  font-family: Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { overflow-x: clip; }
::selection { background: #f2f2ee; color: #080808; }

.icon { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: -.2em; }

.intro-sequence {
  position: relative;
}

.hero {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.is-ready .intro-sequence {
  height: 270vh;
  height: 270svh;
}

.is-ready .intro-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  overflow: clip;
  isolation: isolate;
}

.is-ready .hero,
.is-ready .about {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 0;
}

#ascii-name {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-name {
  position: absolute;
  left: 6%;
  top: 49%;
  width: 46%;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(60px, 11vw, 180px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.065em;
  text-align: center;
}

.hero-name span { display: block; }
.hero-portrait {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: min(42vw, 65svh, 640px);
  opacity: var(--portrait-opacity, 1);
  transform: translateY(var(--portrait-shift, 0px));
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.06) brightness(.94);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 100%);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 100%);
}

@media (max-width: 900px) and (orientation: portrait) {
  .hero-name { left: 8%; top: 23%; width: 84%; font-size: clamp(52px, 16vw, 140px); }
  .hero-portrait { width: min(82vw, 48svh); right: 0; }
}

.is-ready .hero-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.about {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 64px 8vw;
}

.is-ready .about {
  opacity: var(--about-opacity, 0);
  transform: translateY(var(--about-shift, 24px));
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.about-copy { width: 52%; margin-left: auto; }
.about .section-label { margin: 0 0 32px; }
.about-portrait {
  position: absolute;
  z-index: 1;
  left: 4vw;
  bottom: 0;
  width: min(42vw, 50svh, 540px);
  height: 88svh;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}
.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.04) brightness(.94);
}

.section-label {
  margin: 12px 0 0;
  color: #90908c;
  font: 10px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.about h2 {
  margin: 0 0 44px;
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.065em;
}

.about h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

.about-intro {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.about-description {
  max-width: 420px;
  margin: 0;
  color: #a5a5a0;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -.01em;
}

@media (max-width: 640px) {
  .about { padding: 36px 8vw; }
  .section-label { margin: 0; font-size: 9px; }
  .about h2 { margin-bottom: 32px; font-size: clamp(34px, 10.6vw, 60px); }
  .about-intro { font-size: 17px; }
  .about-description { font-size: 15px; line-height: 1.75; }
}

@media (max-width: 640px) and (orientation: portrait) {
  .about { align-items: start; }
  .about-copy { width: 100%; margin-left: 0; }
  .about .section-label { margin-bottom: 24px; }
  .about-portrait {
    left: 2vw;
    width: min(62vw, 36svh);
    height: min(46svh, max(64px, calc(100svh - 310px)));
  }
}

@media (max-width: 640px) and (max-height: 700px) and (orientation: portrait) {
  .about { padding-top: 24px; }
  .about .section-label { margin-bottom: 16px; }
  .about h2 { font-size: clamp(30px, 9.4vw, 38px); margin-bottom: 20px; }
  .about-intro { font-size: 16px; margin-bottom: 8px; }
  .about-description { font-size: 14px; line-height: 1.65; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .about { padding-block: 24px; }
  .about .section-label { margin-bottom: 20px; }
  .about h2 { font-size: clamp(34px, 8vh, 46px); margin-bottom: 20px; }
  .about-intro { margin-bottom: 8px; font-size: 16px; }
  .about-description { font-size: 14px; line-height: 1.6; }
}

/* Experience: a horizontal editorial timeline, pinned only when there is room. */
.experience {
  --chapter-width: clamp(340px, 37vw, 540px);
  --chapter-gap: clamp(32px, 4.5vw, 72px);
  --timeline-inset: 8vw;
  position: relative;
  background: #080808;
}

.experience-stage {
  min-height: 100svh;
  padding: 56px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience.has-pin { height: var(--experience-height); }
.experience.has-pin .experience-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  overflow: clip;
}

.experience-heading {
  margin: 0 var(--timeline-inset) 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.experience-heading .section-label { margin: 0 0 20px; }
.experience-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -.065em;
}
.experience-heading em { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.06em; }
.experience-note { margin: 0 0 5px; color: #92928d; font-size: 13px; line-height: 1.65; }

.experience-window {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  outline: none;
}
.experience-window::-webkit-scrollbar { display: none; }
.experience-window:focus-visible { outline: 1px solid #747470; outline-offset: -1px; }
.experience.has-pin .experience-window { overflow-x: hidden; scroll-snap-type: none; }

.experience-track {
  list-style: none;
  display: flex;
  gap: var(--chapter-gap);
  width: max-content;
  margin: 0;
  padding: 0 var(--timeline-inset);
}
.chapter { flex: 0 0 var(--chapter-width); width: var(--chapter-width); scroll-snap-align: center; }
.chapter-date {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 19px;
  color: #b0b0aa;
  font: 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.chapter-date::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + var(--chapter-gap));
  height: 1px;
  background: #353531;
}
.chapter:last-child .chapter-date::after { width: 100%; }
.timeline-dot { position: absolute; z-index: 1; bottom: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #bfbfb7; }
.chapter-image { position: relative; margin: 0 0 20px; height: clamp(180px, 26svh, 290px); overflow: hidden; background: #191a18; }
.chapter-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .chapter:hover .chapter-image img { transform: scale(1.035); } }
.chapter-image figcaption {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 24px 14px 12px;
  background: linear-gradient(transparent, #0008);
  color: #f0f0eb;
  font: 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}
.chapter-meta { display: flex; justify-content: space-between; color: #8e8e89; font: 8px/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; }
.chapter h3 { margin: 10px 0 7px; font-size: clamp(27px, 2.15vw, 34px); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
.chapter-role { margin: 0 0 14px; font-size: 12px; line-height: 1.5; color: #c3c3bc; }
.chapter-description { max-width: 49ch; min-height: 6.6em; margin: 0; font-size: 13px; line-height: 1.65; color: #93938e; }
.chapter-tags { margin: 16px 0 0; color: #a6a69f; font: 9px/1.5 "SFMono-Regular", Consolas, monospace; }
.chapter-project-link { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.chapter-project-link .icon { width: 20px; height: 20px; color: #a6a69f; }
.chapter-project-link:focus-visible { outline: 1px solid #d8d8cd; outline-offset: 5px; }
.render-gallery { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: #080808; }
.render-gallery a { position: relative; display: block; min-height: 0; overflow: hidden; }
.render-gallery a:first-child { grid-row: 1 / -1; }
.render-gallery a:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.render-gallery-label { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 26px 12px 12px; color: #fff; background: linear-gradient(transparent, #000a); font: 7px/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.render-gallery-label .icon { flex: 0 0 15px; width: 15px; height: 15px; }
.render-viewer-open { overflow: hidden; }
.render-viewer { width: min(1180px, calc(100% - 40px)); max-width: none; max-height: calc(100svh - 40px); padding: 0; border: 1px solid #353531; color: #eeeee8; background: #0d0d0c; }
.render-viewer::backdrop { background: #000e; }
.render-viewer-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px 20px; gap: 16px; }
.render-viewer h2 { margin: 0; font: 13px/1.5 Arial, sans-serif; }
.render-viewer h2 span { color: #8e8e89; }
.render-viewer button { display: grid; place-items: center; width: 44px; height: 44px; padding: 12px; border: 1px solid transparent; border-radius: 0; color: #eeeee8; background: transparent; cursor: pointer; }
.render-viewer button:hover { background: #242420; }
.render-viewer button:focus-visible { outline: 1px solid #eeeee8; outline-offset: -2px; }
.render-viewer button svg { width: 20px; height: 20px; }
.render-viewer figure { margin: 0; }
.render-viewer-image { display: block; width: 100%; height: min(62vw, calc(100svh - 205px), 650px); object-fit: contain; background: #080808; }
.render-viewer figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px 10px; color: #b7b7af; font: 10px/1.5 "SFMono-Regular", Consolas, monospace; }
.render-viewer-nav { display: flex; justify-content: flex-end; gap: 4px; padding: 0 10px 10px; }
@media (max-width: 600px) {
  .render-viewer { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .render-viewer-header { padding-left: 14px; }
  .render-viewer h2 { font-size: 12px; }
  .render-viewer h2 span { display: block; font-size: 10px; }
  .render-viewer figcaption { padding-inline: 14px; font-size: 9px; }
}

.experience-footer { display: flex; align-items: center; gap: 36px; margin: 34px var(--timeline-inset) 0; }
.experience-footer p { margin: 0; font: 8px/1.4 "SFMono-Regular", Consolas, monospace; color: #8f8f89; letter-spacing: .05em; }
#timeline-hint { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
#timeline-hint > .icon { color: #d3d3cc; }
.timeline-progress { height: 1px; flex: 1; overflow: hidden; background: #292926; }
.timeline-progress > span { display: block; width: 100%; height: 100%; background: #d9d9d1; transform: scaleX(var(--timeline-progress, 0)); transform-origin: left; }
.timeline-count { display: flex; gap: 12px; font-variant-numeric: tabular-nums; }
#current-chapter { color: #efefe8; }
.count-divider { color: #545450; }
.touch-timeline-hint { display: inline; }
.desktop-timeline-hint { display: none; }
.has-pin .touch-timeline-hint { display: none; }
.has-pin .desktop-timeline-hint { display: inline; }

@media (max-height: 800px) and (min-width: 761px) {
  .experience-stage { padding-top: 30px; padding-bottom: 26px; }
  .experience-heading { margin-bottom: 24px; }
  .experience-heading .section-label { margin-bottom: 14px; }
  .experience-heading h2 { font-size: 48px; }
  .chapter-image { height: 21svh; min-height: 150px; margin-bottom: 16px; }
  .chapter-date { margin-bottom: 16px; padding-bottom: 16px; }
  .chapter h3 { font-size: 28px; }
  .chapter-tags { margin-top: 12px; }
  .experience-footer { margin-top: 24px; }
}

@media (max-width: 760px) {
  .experience { --chapter-width: min(82vw, 440px); --chapter-gap: 26px; --timeline-inset: 8vw; }
  .experience-stage { min-height: 0; padding-block: 70px 54px; }
  .experience-heading { margin-bottom: 34px; }
  .experience-heading h2 { font-size: clamp(38px, 9.5vw, 56px); }
  .experience-note { display: none; }
  .chapter-image { height: auto; aspect-ratio: 1.65; }
  .chapter-date { font-size: 9px; }
  .chapter-role { font-size: 11px; }
  .chapter-description { min-height: 8.25em; font-size: 13px; }
  .chapter-tags { font-size: 8px; }
  .experience-footer { gap: 20px; margin-top: 30px; }
  .experience-footer p { font-size: 7px; }
  .timeline-count { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter-image img { transition: none; }
  .chapter:hover .chapter-image img { transform: none; }
}

/* A quiet transition from the work to the thinking behind it. */
.approach,
.contact {
  position: relative;
  isolation: isolate;
  margin-inline: 8vw;
  border-top: 1px solid #292926;
}

/* Character fields sit behind content and never intercept scrolling or links. */
.ascii-field {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}
.about-field {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
  mask-image: linear-gradient(90deg, #000 0%, #000 25%, transparent 58%);
}
.about-inner { z-index: 2; }
.approach-field {
  inset: 0;
  width: 100%;
  height: 100%;
  filter: invert(1);
  opacity: .9;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
}
.approach-layout,
.contact-main,
.site-footer { position: relative; z-index: 1; }
.contact-field {
  right: -7vw;
  top: 3%;
  width: 63%;
  height: 87%;
  opacity: .82;
  mask-image: linear-gradient(90deg, transparent, #000 34%), linear-gradient(180deg, transparent, #000 16%, #000 76%, transparent);
  mask-composite: intersect;
}
.chapter-image .ascii-field { inset: 0; width: 100%; height: 100%; z-index: 1; }
.chapter-image.has-ascii { background: #0b0b0b; }
.chapter-image.has-ascii img { opacity: .16; }

@media (max-width: 900px) {
  .contact-field { width: 75%; opacity: .4; }
}
@media (max-width: 640px) {
  .about-field { opacity: .5; mask-image: linear-gradient(180deg, transparent 46%, #000 74%, transparent); }
  .contact-field { top: 32%; right: -7vw; width: 88%; height: 62%; opacity: .33; }
}

.approach { padding-block: clamp(88px, 9vw, 136px); }
.approach-layout {
  max-width: 1320px;
  margin-inline: auto;
}
.approach-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.approach-heading .section-label { margin: 0 0 34px; }
.approach-intro {
  max-width: 31ch;
  padding-bottom: 7px;
  color: #a5a5a0;
  font-size: 15px;
  line-height: 1.8;
}
.approach-intro p { margin: 0; }
.approach-caption {
  display: block;
  margin-top: 24px;
  color: #777771;
  font: 9px/1.6 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .03em;
}
.approach h2 {
  margin: 0;
  font-size: clamp(44px, 5.8vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.06em;
}
.approach h2 em,
.step-ai h3 em,
.contact h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
.approach-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  grid-template-areas: "understand hardware ai" "verify document ai";
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.approach-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 36px);
  background: #0d0d0c;
  border: 1px solid #292926;
  transition: background-color .3s ease, border-color .3s ease;
}
.step-understand { grid-area: understand; }
.step-hardware { grid-area: hardware; }
.step-verify { grid-area: verify; }
.step-document { grid-area: document; }
.step-topline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 35px;
  padding-right: 46px;
}
.step-number {
  color: #c4c4bd;
  font: 12px/1.5 "SFMono-Regular", Consolas, monospace;
}
.step-category {
  color: #92928d;
  font: 8px/1.6 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.step-art {
  position: absolute;
  top: 26px;
  right: 22px;
  margin: 0;
  color: #696961;
  font: 8px/1.25 "SFMono-Regular", Consolas, monospace;
  user-select: none;
  transition: color .3s ease, transform .3s ease;
}
.approach-step h3 {
  margin: 24px 0 18px;
  font-size: clamp(25px, 2.25vw, 33px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.approach-step p {
  margin: 0;
  color: #a5a5a0;
  font-size: 14px;
  line-height: 1.75;
}
.approach-step .step-footnote {
  margin-top: auto;
  padding-top: 28px;
  color: #8d8d86;
  font: 9px/1.7 "SFMono-Regular", Consolas, monospace;
}
.step-ai {
  grid-area: ai;
  background: #e9e9e2;
  border-color: #e9e9e2;
  color: #141412;
}
.step-ai .step-topline { padding-right: 0; }
.step-ai .step-number { color: #292926; }
.step-ai .step-category { color: #65655e; }
.step-ai h3 { font-size: clamp(29px, 2.6vw, 40px); line-height: 1.1; }
.step-ai p { color: #52524c; }
.step-ai-visual {
  position: relative;
  flex: 1;
  min-height: 230px;
  margin-block: 32px;
}
.ascii-corner {
  position: absolute;
  color: #9a9a91;
  font: 15px/1 monospace;
}
.corner-top { top: 0; left: 0; }
.corner-bottom { bottom: 0; right: 0; }
.step-ai .ai-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #66665f;
  font: 8px/1.6 "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}
.ai-flow .icon { width: 12px; height: 12px; color: #8a8a81; }
.step-ai-projects { padding-top: 22px; border-top: 1px solid #c6c6bd; }
.step-ai-projects > span {
  display: block;
  margin-bottom: 9px;
  color: #76766f;
  font: 8px/1.6 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}
.step-ai-projects p { font-size: 11px; line-height: 1.8; }

@media (hover: hover) and (pointer: fine) {
  .approach-step:not(.step-ai):hover { background: #131311; border-color: #52524b; }
  .approach-step:hover .step-art { color: #d0d0c6; transform: translateY(-3px); }
}

.contact {
  min-height: 100svh;
  padding-top: clamp(88px, 10vw, 144px);
  display: flex;
  flex-direction: column;
}
.contact-main { flex: 1; }
.contact .section-label { margin: 0 0 34px; }
.contact h2 {
  margin: 0;
  font-size: clamp(48px, 7.5vw, 110px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.065em;
}
.contact-focus {
  margin: 30px 0 0;
  max-width: 46ch;
  color: #a5a5a0;
  font-size: 15px;
  line-height: 1.8;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 42px;
  margin-top: 44px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 44px;
  padding-block: 10px;
  color: #a5a5a0;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid #454541;
  transition: color .2s ease, border-color .2s ease;
}
.contact-links a.contact-primary { color: #f2f2ee; border-color: #94948c; }
.contact-links a:hover { color: #fff; border-color: #fff; }
.contact-links a:focus-visible { outline: 1px solid #f2f2ee; outline-offset: 7px; }
.contact-links a .icon { transition: transform .2s ease; }
.contact-links a:hover .icon { transform: translate(2px, -2px); }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 96px 32px;
}
.site-footer p {
  margin: 0;
  color: #92928d;
  font: 9px/1.6 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}

[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .65, .3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .approach-heading { gap: 32px; margin-bottom: 48px; }
  .approach h2 { font-size: clamp(44px, 6.5vw, 58px); }
  .approach-intro { max-width: 26ch; font-size: 14px; }
  .approach-steps {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "understand hardware" "ai ai" "verify document";
  }
  .approach-step { padding: 28px; }
  .step-ai {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "label art" "copy art" "projects art";
    column-gap: 32px;
  }
  .step-ai .step-topline { grid-area: label; min-height: 0; }
  .step-ai-copy { grid-area: copy; }
  .step-ai-visual { grid-area: art; margin: 0; min-height: 260px; }
  .step-ai-projects { grid-area: projects; margin-top: 28px; }
  .step-ai h3 { font-size: 32px; }
}

@media (max-width: 640px) {
  .approach { padding-block: 80px; }
  .approach-heading { display: block; margin-bottom: 36px; }
  .approach-heading .section-label { margin-bottom: 28px; }
  .approach h2 { font-size: clamp(40px, 11vw, 60px); }
  .approach-intro { margin-top: 28px; max-width: 34ch; padding: 0; }
  .approach-caption { margin-top: 16px; }
  .approach-steps {
    grid-template-columns: 1fr;
    grid-template-areas: "understand" "hardware" "ai" "verify" "document";
    gap: 12px;
  }
  .approach-step { padding: 26px; }
  .approach-step h3 { font-size: 30px; margin-top: 20px; }
  .step-art { top: 22px; right: 26px; }
  .step-ai { display: flex; }
  .step-ai h3 { font-size: clamp(28px, 8.5vw, 34px); }
  .step-ai-visual { min-height: 220px; margin-block: 28px; }
  .step-ai-projects { margin-top: 0; }
  .contact { padding-top: 80px; }
  .contact .section-label { margin-bottom: 28px; }
  .contact h2 { font-size: clamp(34px, 9.5vw, 56px); line-height: 1.1; }
  .contact-focus { margin-top: 24px; font-size: 14px; }
  .contact-links { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 32px; }
  .contact-links a { font-size: 13px; }
  .site-footer { flex-direction: column; gap: 10px; padding-top: 80px; }
  .site-footer p { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending { opacity: 1; transform: none; transition: none; }
  .contact-links a,
  .contact-links a .icon { transition: none; }
  .contact-links a:hover .icon { transform: none; }
  .approach-step, .step-art { transition: none; }
  .approach-step:hover .step-art { transform: none; }
}
