@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/portfolio-serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Portfolio Serif";
  src: url("fonts/portfolio-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Portfolio Sans";
  src: url("fonts/manrope.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Portfolio Mono";
  src: url("fonts/plex-mono.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #dbe5d4;
  --ink: #193b31;
  --text: #263f36;
  --muted: #4b5e4e;
  --rule: #b6c2ad;
  --rule-dark: #899b85;
  --accent: #963c22;
  --accent-deep: #702c1b;
  --tint: #cddac5;
  --serif: "Portfolio Serif", "STIX Two Text", Georgia, "Times New Roman", serif;
  --sans: "Portfolio Sans", system-ui, sans-serif;
  --mono: "Portfolio Mono", ui-monospace, monospace;
  --gutter: clamp(1.2rem, 5.55vw, 6.75rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid #94381e; outline-offset: 4px; }
::selection { color: #15372b; background: #efbb86; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
figure, p, h1, h2, h3, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
.frame { width: min(calc(100% - var(--gutter) * 2), 85rem); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .5rem 1rem; color: white; background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); color: white; }
.kicker, .project-by, .contents > p {
  font: 400 .79rem/1.55 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: .75rem; color: var(--accent); }
.kicker::before { display: block; flex: none; width: 1.85rem; height: 2px; background: currentColor; content: ""; }
.masthead-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule-dark); }
.identity { display: inline-flex; align-items: center; gap: 1.05rem; text-decoration: none; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.85vw, 2.8rem); }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .94rem; font-weight: 600; text-decoration: none; position: relative; }
.main-nav a[aria-current] { color: var(--accent); }
.main-nav a[aria-current]::after, .main-nav a:hover::after { content: ""; position: absolute; bottom: .41rem; left: 0; right: 0; border-bottom: 1.5px solid currentColor; }

.intro-spread { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); column-gap: clamp(2rem,4.2vw,4.65rem); align-items: center; padding-block: clamp(1.65rem,3.1vw,3.4rem); }
.intro-text { min-width: 0; }
.intro-text h1 { font-size: clamp(3.3rem,6.35vw,6.4rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 1.05rem -.035em; }
.intro-copy { max-width: 29rem; font-size: clamp(1.025rem,1.3vw,1.18rem); line-height: 1.61; letter-spacing: -.016em; color: var(--text); }
.primary-link { display: inline-flex; justify-content: center; align-items: center; min-height: 2.9rem; padding: .65rem 1.3rem; background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 2px; text-decoration: none; font: 650 .93rem/1.45 var(--sans); }
.primary-link:hover { color: white; background: var(--accent-deep); border-color: var(--accent-deep); }
.section-opening { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1.7rem 1.75rem; border-top: 1px solid var(--rule-dark); }
.section-opening h2 { font-size: clamp(2.65rem, 4.65vw, 4.55rem); line-height: 1; letter-spacing: -.045em; }
.quiet-link, .inline-link, .backlink { color: var(--accent); font-size: .93rem; font-weight: 650; }
.quiet-link { margin-right: .05rem; }
.work-pair { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(1.25rem, 3vw, 3.2rem); align-items: start; }
.work-entry > a { display: block; text-decoration: none; }
.work-entry > a:hover h3, .index-title h3:hover, .project-index a:hover h3, .play-copy h3 a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.work-pic { height: clamp(13.4rem, 23.3vw, 23rem); overflow: hidden; background: var(--tint); }
.work-pic img { width: 100%; height: 100%; object-fit: cover; }
.toy-feature .work-pic img { object-position: 50% 59%; }
.work-caption { padding-top: 1.05rem; }
.project-by { color: var(--accent); font-size: .78rem; }
.work-caption h3, .play-copy h3 { color: var(--ink); font-size: clamp(2.15rem, 3.4vw, 3.6rem); letter-spacing: -.044em; line-height: 1.05; margin: .46rem 0 .55rem; }
.work-caption p:last-child, .play-copy > p:not(.project-by) { max-width: 38rem; color: var(--text); font-size: 1rem; line-height: 1.65; }
.more { margin-block: clamp(3.3rem, 6vw, 6.5rem); }
.project-index { list-style: none; padding: 0; border-bottom: 1px solid var(--rule); }
.project-index li { border-top: 1px solid var(--rule); }
.project-index a { display: grid; grid-template-columns: 5.2rem minmax(13rem,.93fr) minmax(16rem,1fr); align-items: center; gap: clamp(1rem,2.3vw,2.5rem); padding: 1.05rem 0; text-decoration: none; }
.index-thumb { height: 4.15rem; background: #eaeae3; overflow: hidden; }
.index-thumb img { height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.index-title h3 { font-size: clamp(1.55rem,2.25vw,2.35rem); letter-spacing: -.035em; line-height: 1.1; }
.index-title span, .project-index a > p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.index-title span { display: block; margin-top: .18rem; }
.project-index a > p { max-width: 35rem; }
.foot { border-top: 1px solid var(--rule-dark); }
.foot-inner { display: flex; justify-content: space-between; align-items: start; padding-block: 2.4rem 3rem; gap: 1rem; }
.foot-name { font: 400 2rem/1.15 var(--serif); letter-spacing: -.03em; text-decoration: none; }
.foot-inner p { font-size: .86rem; line-height: 1.5; margin-top: .5rem; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.7rem; justify-content: end; align-items: start; }
.foot-links a { font-size: .94rem; color: var(--accent); }

.case-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(2rem,5.2vw,6rem); padding-block: clamp(2.25rem,4.5vw,5.1rem); }
.backlink { display: inline-block; margin-bottom: 1.55rem; font-size: .88rem; color: var(--muted); }
.case-hero h1, .about-intro h1, .contact-grid h1, .utility h1 { margin: 1rem 0 1.1rem -.035em; font-size: clamp(3.7rem,6.65vw,6.8rem); line-height: .98; letter-spacing: -.055em; }
.case-lead, .about-lead, .contact-intro { font-size: clamp(1.04rem,1.5vw,1.24rem); line-height: 1.58; letter-spacing: -.016em; color: var(--text); max-width: 35rem; }
.case-plate { min-width: 0; }
.cover { overflow: hidden; background: #eaeae4; aspect-ratio: 1.36; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.bloom img { object-position: 50% 57%; }
.cover.object img { object-fit: contain; padding: clamp(.75rem,1.4vw,1.75rem); mix-blend-mode: multiply; }
figcaption { text-align: center; }
.case-plate figcaption, .study-figure figcaption, .clip figcaption, .film figcaption { color: var(--muted); font-size: .87rem; line-height: 1.5; margin-top: .57rem; }
.case-content { border-top: 1px solid var(--rule-dark); display: grid; grid-template-columns: minmax(11rem,.29fr) minmax(0,1fr); gap: clamp(2rem,5.9vw,6.8rem); align-items: start; }
.case-content > aside { height: 100%; min-width: 0; }
.contents { position: sticky; top: 1.65rem; padding-top: 2.8rem; display: grid; justify-items: start; gap: .48rem; }
.contents > p { margin-bottom: .3rem; color: var(--muted); }
.contents a { display: block; text-decoration: none; color: var(--text); font-size: .91rem; line-height: 1.6; padding-block: .16rem; }
.contents a:hover, .contents a[aria-current] { color: var(--accent); text-decoration: underline; }
.chapter { padding-block: clamp(2rem,3.75vw,4rem); border-bottom: 1px solid var(--rule); scroll-margin-block-start: .7rem; }
.chapter:last-child { border-bottom: 0; }
.chapter h2, .message-form h2 { font-size: clamp(2.2rem,3.45vw,3.6rem); line-height: 1.09; letter-spacing: -.04em; }
.chapter > p, .fold > div > p { font-size: clamp(1rem,1.18vw,1.13rem); line-height: 1.72; color: var(--text); max-width: 47rem; }
.chapter > p { margin-top: 1rem; }
.chapter > h2 + p { margin-top: 1.1rem; }
.chapter > .gallery, .chapter > .film, .chapter > .media-pair, .chapter > .directory-media, .chapter > .brackets, .chapter > .play-steps, .chapter > .play-demo { margin-block-start: 1.6rem; }
.chapter > .gallery + p, .chapter > .brackets + p, .chapter > .record + p { margin-top: 1.55rem; }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.55rem clamp(.8rem,1.5vw,1.65rem); }
.gallery-wide, .gallery-bracket, .gallery-deployment { grid-template-columns: minmax(0,1fr); }
.gallery-three, .gallery-handholds { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gallery-lead > :first-child, .gallery-release > :first-child { grid-column: 1/-1; }
.study-figure { min-width: 0; }
.zoomable { display: block; color: inherit; background: #eeeee8; text-decoration: none; cursor: zoom-in; overflow: hidden; }
.zoomable img { width: 100%; aspect-ratio: 1.48; object-fit: contain; background: #f2f2ec; }
.gallery-wide .zoomable img, .gallery-lead > :first-child .zoomable img { max-height: 34rem; aspect-ratio: auto; }
.gallery-handholds .zoomable img { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-handholds > :last-child img { object-position: center 70%; }
.gallery-release .zoomable img, .gallery-concept .zoomable img { aspect-ratio: auto; }
.gallery-release > :not(:first-child) .zoomable img { aspect-ratio: 1.9; background: white; }
.gallery-load-tests .zoomable img, .gallery-deployment .zoomable img {
  aspect-ratio: auto;
  max-height: none;
}
.gallery-deployment { row-gap: clamp(1.6rem,3vw,2.75rem); }
.gallery-deployment > :last-child { width: min(100%,40rem); justify-self: center; }
.autonomous-vehicle .gallery-two .zoomable img, .autonomous-vehicle .gallery-three .zoomable img { aspect-ratio: 9 / 8; }
.autonomous-vehicle #stage-1 .zoomable img { aspect-ratio: 4 / 5; object-fit: cover; }
.autonomous-vehicle #stage-3 .gallery-two .zoomable img { aspect-ratio: 4 / 3; }
.marwal-lunchpod .gallery .zoomable img { object-fit: cover; }
.marwal-lunchpod .gallery-wide .zoomable img, .marwal-lunchpod .gallery-lead > :first-child .zoomable img { max-height: none; }
.marwal-lunchpod #stage-1 .zoomable img { aspect-ratio: 680 / 587; }
.marwal-lunchpod #stage-4 .gallery-lead > :not(:first-child) .zoomable img { aspect-ratio: 19 / 10; }
.marwal-lunchpod #stage-5 .gallery-lead > :not(:first-child) .zoomable img { aspect-ratio: 8 / 5; }
/* The kitchen photo includes a thin white frame in the source. */
.marwal-lunchpod img[src$="/e32e8119c36c65.webp"] { transform: scale(1.04); }
.fold { margin-top: 1.55rem; padding-block: .86rem; border-block: 1px solid var(--rule); }
.fold + .fold { margin-top: -1px; }
.fold summary { cursor: pointer; font: 650 .95rem/1.5 var(--sans); color: var(--accent); }
.fold > div { margin-top: 1.1rem; }
.references { display: flex; gap: .6rem 1.5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.references a, .film figcaption a { font-weight: 600; font-size: .92rem; color: var(--accent); }
.play-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.65rem clamp(.8rem,1.5vw,1.65rem); padding: 0; list-style: none; }
.play-steps .zoomable img { aspect-ratio: 1.32; object-fit: cover; object-position: center 60%; }
.play-steps li { min-width: 0; }
.play-steps h3 { margin-top: .68rem; font-size: clamp(1.3rem,2.1vw,1.75rem); line-height: 1.15; }
.play-steps h3 span { color: var(--accent); }
.play-steps p { margin-top: .4rem; color: var(--text); }
.play-reset { grid-column: 1 / -1; padding: 1rem 1.2rem; background: var(--tint); border-top: 1px solid var(--rule-dark); }
.play-reset h3 { margin-top: 0; }
.brackets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.65rem,1.6vw,1.4rem); }
.bracket { min-width: 0; border-top: 1px solid var(--rule-dark); }
.bracket.chosen { border-top-color: var(--accent); }
.bracket h3 { min-height: 3.5rem; font: 650 .9rem/1.3 var(--sans); padding: .55rem 0 .65rem; }
.bracket.chosen h3 { color: var(--accent); }
.bracket h3 span { display: block; font-size: .82rem; font-weight: 600; }
.gallery-bracket { gap: .9rem; }
.gallery-bracket .study-figure:first-child img { aspect-ratio: 4.55; }
.gallery-bracket .study-figure:last-child img { aspect-ratio: 1.48; }
.film, .clip { max-width: 50rem; }
.film-stage { position: relative; aspect-ratio: 16/9; background: #dfdfd8; overflow: hidden; }
.film-stage iframe, .film-trigger, .film-trigger img { display: block; width: 100%; height: 100%; border: 0; }
.film-trigger img { object-fit: contain; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 3.6rem; height: 3.6rem; background: var(--accent); color: #fff; border-radius: 50%; }
.film-play::after { content: ""; display: block; border-top: .55rem solid transparent; border-bottom: .55rem solid transparent; border-left: .85rem solid currentColor; margin-left: .2rem; }
.film figcaption strong, .clip figcaption strong { color: var(--ink); display: block; }
.film figcaption span, .clip figcaption span { display: block; margin-top: .15rem; }
.film figcaption a { display: inline-block; margin-top: .2rem; }
.media-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: clamp(.7rem,1.5vw,1.65rem); }
.media-pair .gallery-wide .zoomable img { aspect-ratio: 1; max-height: none; }
.media-pair .film-stage { display: grid; place-items: center; aspect-ratio: 1; }
.media-pair .film-stage iframe { height: auto; aspect-ratio: 16 / 9; }
.directory-media { display: grid; grid-template-columns: minmax(0,.66fr) minmax(0,1fr); gap: clamp(1rem,2.5vw,2rem); max-width: 51.5rem; }
.directory-media .zoomable img { max-height: none; height: auto; }
.directory-media video { width: 100%; height: auto; background: #e6e6df; }
.record { max-width: 47rem; margin-top: 1.5rem; background: #f4efdf; border: 1px solid var(--rule-dark); }
.record h3 { padding: .75rem 1rem; background: #234738; color: #fff6df; font: 650 1rem/1.4 var(--sans); }
.record dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.record dl > div { padding: .8rem 1rem; }
.record dl > div + div { border-left: 1px solid var(--rule); }
.record dt { color: var(--muted); font-size: .9rem; }
.record dd { margin: .2rem 0 0; font-weight: 650; }
.record dd span { display: block; margin-top: .2rem; color: var(--text); font-size: .9rem; font-weight: 400; }
.project-neighbors { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; border-top: 1px solid var(--rule-dark); padding-block: 1.8rem 2.5rem; }
.project-neighbors a { text-decoration: none; }
.project-neighbors a:last-child:not(:only-child) { text-align: right; }
.project-neighbors a:only-child { grid-column: 1 / -1; }
.project-neighbors span { display: block; color: var(--muted); font-size: .82rem; }
.project-neighbors strong { display: block; font: 400 clamp(1.3rem,2.25vw,2.3rem)/1.22 var(--serif); }
.viewer { width: min(64rem, calc(100% - 2rem)); max-height: 95dvh; margin: auto; padding: .8rem 1.1rem 1rem; border: 1px solid #555b50; background: var(--paper); color: var(--ink); }
.viewer::backdrop { background: rgb(18 21 19 / 83%); }
.viewer-controls, .viewer-bottom, .viewer-bottom > div { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.viewer-controls { margin-bottom: .6rem; }
.viewer-controls p, .viewer-bottom p { font-size: .92rem; line-height: 1.4; }
.viewer button { background: transparent; border: 1px solid var(--rule-dark); color: var(--accent); min-height: 2.5rem; padding: .25rem .8rem; font-size: .91rem; }
.viewer button:hover { background: var(--tint); }
.viewer-image { background: #eaeae3; display: grid; place-items: center; }
.viewer-image img { width: 100%; height: min(67vh, 42rem); object-fit: contain; }
.viewer-bottom { padding-top: .7rem; flex-direction: column; }
.viewer-bottom p { text-align: center; }
.viewer-bottom > div { flex: none; }

.about-page, .contact-page { padding-block: clamp(2.5rem,5.7vw,6rem); }
.about-intro, .contact-grid { display: grid; grid-template-columns: 1.06fr .94fr; column-gap: clamp(2.5rem,7vw,7.5rem); align-items: start; }
.about-intro > div > p:not(.kicker):not(.about-lead) { color: var(--text); max-width: 37rem; margin-top: 1.3rem; font-size: 1.05rem; }
.portrait { width: 100%; max-width: 28rem; justify-self: end; }
.portrait img { width: 100%; aspect-ratio: .97; object-fit: cover; }
.address { display: inline-block; margin: 1.4rem 0 .8rem; color: var(--accent); font-size: clamp(1.3rem,2.6vw,2.6rem); line-height: 1.4; letter-spacing: -.03em; }
.contact-links { display: flex; gap: 1.15rem; align-items: center; }
.contact-links a, .copy-email { font-size: .92rem; text-decoration: underline; text-underline-offset: .22em; }
.copy-email { appearance: none; background: none; border: 0; min-height: 2.3rem; padding: 0; color: var(--accent); }
#copy-status { color: var(--accent); font-size: .9rem; min-height: 1.65rem; }
.location { color: var(--muted); margin-bottom: 1.25rem; }
.message-form { padding-block: .3rem 1rem; }
.message-form h2 { margin-bottom: 1.2rem; }
.message-form label:not(.honeypot) { display: block; font-size: .92rem; font-weight: 650; margin-top: .9rem; }
.message-form input:not([type="hidden"]), .message-form textarea { display: block; width: 100%; padding: .55rem .72rem; margin-top: .28rem; border-radius: 0; background: #fdfcf9; border: 1px solid var(--rule-dark); }
.message-form textarea { resize: vertical; min-height: 7rem; }
.message-form .primary-link { margin-top: 1.1rem; }
.form-hint { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.honeypot { display: none; }
.utility { padding-block: clamp(3rem,8vw,8rem); }
.utility p:not(.kicker) { margin-bottom: 1.3rem; }

/* Finish and field photography carry the portfolio from the opening spread into each case. */
.primary-link span { margin-left: .65rem; }
.field-feature { min-width: 0; }
.field-link { display: block; text-decoration: none; }
.field-photo { overflow: hidden; background: var(--tint); }
.field-photo img { width: 100%; aspect-ratio: 1.76; object-fit: cover; object-position: center 58%; }
.field-label { display: block; margin-top: .6rem; color: var(--accent); font-size: .95rem; font-weight: 650; text-align: center; text-decoration: underline; text-underline-offset: .2em; }
.field-link:hover .field-label { color: var(--accent-deep); }
.projects-band { background: #eee7d5; padding: clamp(1.7rem,3.15vw,3.45rem) 0; }
.projects-band .more { margin-bottom: 0; }
.home-work .section-opening { padding-block: 0 1.25rem; border-top: 0; }
.index-thumb { background: #cbd5c1; }
.index-thumb img { object-fit: cover; mix-blend-mode: normal; }
.cover.screen, .index-thumb.screen { background: #edeee7; }
.cover.screen { aspect-ratio: 3 / 2; }
.cover.screen .zoomable { height: 100%; background: transparent; }
.cover.screen img, .index-thumb.screen img { object-fit: contain; background: transparent; }
.autonomous-vehicle .case-plate { width: min(100%,25rem); justify-self: center; }
.cover.car { aspect-ratio: auto; }
.cover.car img { height: auto; }
.foot { background: #1c3e33; color: #f6f0dd; border-color: #1c3e33; }
.foot-inner p { color: #cbd6c4; }
.foot-links a, .foot a:hover { color: #f3c477; }
@media (max-width: 1070px) {
  .intro-spread { column-gap: 2rem; }
  .intro-copy { font-size: 1.02rem; }
  .case-content { grid-template-columns: 9.5rem minmax(0,1fr); gap: 2.25rem; }
  .project-index a { grid-template-columns: 4.6rem minmax(10rem,.83fr) minmax(14rem,1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: clamp(1.15rem,5.5vw,2.4rem); }
  .masthead-inner { min-height: 4rem; }
  .identity { gap: .75rem; }
  .main-nav { gap: 1.17rem; }
  .main-nav a { font-size: .91rem; }
  .intro-spread { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 1.9rem; }
  .intro-text h1 { font-size: clamp(2.8rem,9.7vw,4.65rem); margin-bottom: .75rem; }
  .intro-copy { font-size: 1.05rem; max-width: 36rem; line-height: 1.57; }
  .section-opening { padding-block: 1.3rem 1.25rem; }
  .section-opening h2 { font-size: 2.7rem; }
  .work-pair { gap: 1.15rem; grid-template-columns: 1fr 1fr; }
  .work-pic { height: clamp(10.5rem,26vw,13rem); }
  .work-caption { padding-top: .7rem; }
  .work-caption h3, .play-copy h3 { font-size: 2.05rem; }
  .work-caption p:last-child, .play-copy > p:not(.project-by) { font-size: .98rem; }
  .project-index a { grid-template-columns: 3.6rem minmax(8rem,1fr); gap: .4rem 1rem; }
  .index-thumb { grid-row: span 2; height: 3.6rem; }
  .project-index a > p { grid-column: 2; }
  .index-title span { display: none; }
  .case-hero { grid-template-columns: 1fr; gap: 1.35rem; }
  .case-hero h1, .about-intro h1, .contact-grid h1, .utility h1 { font-size: clamp(3.2rem,9vw,4.5rem); }
  .case-lead { max-width: 40rem; }
  .backlink { margin-bottom: 1rem; }
  .cover { aspect-ratio: 1.65; }
  .case-content { display: block; }
  .contents { position: static; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
  .contents > p { width: 100%; margin-bottom: .1rem; }
  .contents a { text-decoration: underline; }
  .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { width: min(100%,28rem); justify-self: start; }
  .contact-grid { gap: 1.4rem; }
  .message-form { border-top: 1px solid var(--rule); padding-top: 1.5rem; }
}
@media (max-width: 500px) {
  .masthead-inner { min-height: 3.7rem; }
  .identity { gap: .55rem; }
  .main-nav { gap: .9rem; }
  .main-nav a { font-size: .87rem; }
  .kicker { font-size: .73rem; letter-spacing: .035em; gap: .52rem; }
  .kicker::before { width: 1.15rem; }
  .work-pair { grid-template-columns: 1fr; gap: 1.9rem; }
  .work-pic { height: auto; aspect-ratio: 1.5; }
  .section-opening h2 { font-size: 2.5rem; }
  .quiet-link { font-size: .86rem; }
  .more { margin-block: 2.6rem; }
  .foot-inner { flex-direction: column; gap: 1.2rem; padding-block: 1.7rem 2rem; }
  .foot-links { justify-content: start; }
  .gallery-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-three > :last-child:nth-child(odd) { grid-column: 1/-1; }
  .gallery-handholds, .gallery-release, .gallery-concept { grid-template-columns: minmax(0,1fr); }
  .gallery-load-tests, .autonomous-vehicle .gallery { grid-template-columns: minmax(0,1fr); }
  .directory-media { grid-template-columns: minmax(0,1fr); }
  .directory-menu { width: min(100%,17rem); margin-inline: auto; }
  .record dl { grid-template-columns: minmax(0,1fr); }
  .record dl > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .play-steps { grid-template-columns: minmax(0,1fr); }
  .gallery { gap: 1.1rem .7rem; }
  .viewer { padding: .5rem .65rem .8rem; }
  .viewer-image img { height: min(60vh,36rem); }
}
@media (max-width: 355px) {
  .section-opening { gap: .5rem; }
}
@media print {
  .masthead, .stage-choices, .contents, .case-content > aside, .viewer, .project-neighbors, .primary-link, .quiet-link, .foot, .contact-links, .film { display: none; }
  .frame { width: 100%; }
  body { background: white; color: #111; }
  .case-content { display: block; }
  .chapter { padding-block: 1.2rem; }
  figure, h2 { break-inside: avoid; }
  h2 { break-after: avoid; }
}

.brand-name { font: 600 1.08rem/1.2 var(--sans); letter-spacing: -.045em; }
.field-photo img { object-position: 50% 58%; }
.play-demo { min-width: 0; margin: 1rem 0; padding: clamp(1rem,2.4vw,2rem); border: 1px solid #9ba995; background: #f4efdf; }
.play-demo legend { padding: .3rem .7rem; background: #234738; color: #fff6df; font: 550 1rem/1.4 var(--sans); }
.filter-steps { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-steps input { position:absolute; opacity:0; width:1px; height:1px; }
.filter-steps label { display: flex; align-items: center; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid #81917d; cursor: pointer; font-size: .94rem; }
.filter-steps input:checked + label { background:#234738; color:#fff6df; }
.filter-steps input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.result-panel { display:none; margin-top:1.2rem; }
.play-demo:has(#filter-0:checked) #filter-0-panel, .play-demo:has(#filter-1:checked) #filter-1-panel, .play-demo:has(#filter-2:checked) #filter-2-panel { display:block; }
.result-panel h3 { font-size:2.25rem; line-height:1.1; }
.result-panel > p { margin:.4rem 0 1rem; }
.result-panel ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; padding: 0; list-style: none; }
.result-panel li { display: grid; grid-template-columns: 5.3rem minmax(0,1fr); align-items: center; gap: .65rem; padding: .55rem; border: 1px solid var(--rule); background: #fffaf0; }
.result-panel li img { width: 100%; height: 4.2rem; object-fit: contain; background: #f0efe5; }
.result-panel li p { font-size: .92rem; line-height: 1.42; }
@media (max-width: 680px) { .result-panel ul { grid-template-columns: minmax(0,1fr); } }
@media(max-width:440px){.brand-name{font-size:.95rem}.filter-steps label{padding:.5rem .42rem}}
