:root {
  --paper: #faf9f6;
  --alternate: #f3f6fa;
  --ink: #151b26;
  --muted: #505d70;
  --on-dark: #f2f4f7;
  --on-dark-muted: #bac5d5;
  --blue: #2563eb;
  --blue-hover: #174ac3;
  --blue-light: #93c5fd;
  --line: #d9dfe7;
  --line-dark: #384457;
  --white: #fff;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 2.5rem;
  --s6: 3rem;
  --s8: 4rem;
  --s9: 4.5rem;
  --s10: 5rem;
  --s12: 6rem;
  --s14: 7rem;
  --gutter: clamp(var(--s3), 5.8vw, var(--s6));
  --section-space: clamp(var(--s8), 8vw, var(--s12));
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --hover-transition: 300ms ease-in-out;
  color: var(--ink);
  background: var(--paper);
  font: 400 100%/1.55 var(--sans);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
:where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.dark :focus-visible { outline-color: var(--blue-light); }
[id] { scroll-margin-top: var(--s4); }
::selection { background: #d8e6ff; color: var(--ink); }

.frame {
  width: min(calc(100% - var(--gutter) * 2), 76rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: var(--s2);
  left: var(--s2);
  z-index: 10;
  padding: var(--s1) var(--s2);
  border-radius: 4px;
  background: var(--white);
  color: var(--blue);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  min-height: var(--s9);
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: var(--s6);
  white-space: nowrap;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -.045em;
}
.wordmark > span:last-child { margin-inline-start: .22em; font-weight: 400; }
.monogram {
  width: var(--s4);
  height: var(--s4);
  margin-inline-end: 12px;
  flex: none;
  border-radius: 5px;
}
.site-nav { display: flex; align-items: center; gap: var(--s4); }
.site-nav a, .footer-nav a {
  display: inline-flex;
  position: relative;
  align-items: center;
  min-height: var(--s6);
  font-size: .9375rem;
  color: var(--muted);
  transition: color var(--hover-transition);
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-nav a[aria-current]::after {
  position: absolute;
  content: "";
  height: 2px;
  inset: auto 0 4px;
  background: currentColor;
}
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: center;
  gap: var(--s5);
  min-height: 38rem;
  padding-block: var(--s10);
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1);
  color: var(--blue);
  font: 600 .75rem/1.5 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.label-dot { display: inline-block; width: var(--s1); height: var(--s1); background: currentColor; border-radius: 50%; }
.hero h1, .page-intro h1 {
  margin-block: var(--s3) var(--s3);
  font-weight: 680;
  font-size: clamp(2.75rem, 5.1vw, 4.875rem);
  line-height: .995;
  letter-spacing: -.069em;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 .hero-emphasis { color: var(--blue); }
.hero-intro {
  max-width: 30rem;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  color: var(--muted);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); margin-block-start: var(--s4); }
.button, .text-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--s2);
  width: fit-content;
  min-height: var(--s6);
  font-size: .9375rem;
  font-weight: 700;
}
.button {
  padding: var(--s1) var(--s3);
  min-height: 3.5rem;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  transition: background-color var(--hover-transition), border-color var(--hover-transition);
}
.button:hover { background: var(--blue-hover); }
.text-link {
  color: var(--blue);
  text-decoration: underline transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--hover-transition);
}
.text-link:hover { text-decoration-color: currentColor; }
.arrow {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  position: relative;
}
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 12px; height: 1.5px; inset: 7.25px auto auto 2px; background: currentColor; }
.arrow::after {
  width: 6px; height: 6px;
  inset: 4px 2px auto auto;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  transform: rotate(45deg);
}
.arrow.up-right { transform: rotate(-45deg); }
.arrow.down { transform: rotate(90deg); }
.arrow.back { transform: rotate(180deg); }

.hero-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce6f8;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 47%, #e1ecff, #edf3fc 62%, #f3f6fa 96%);
}
.hero-art canvas { display: block; width: 100%; height: 100%; min-width: 0; position: relative; }
.art-grid {
  position: absolute; inset: 0;
  background: radial-gradient(circle, #5981bf 1px, transparent 1.1px) center / 16px 16px;
  opacity: .32;
  mask-image: radial-gradient(ellipse, #000 12%, transparent 77%);
}
.art-orbit { position: absolute; border: 1px solid #a7c0e8; border-radius: 50%; opacity: .58; }
.orbit-outer { inset: 11%; }
.orbit-inner { inset: 21%; }
.art-cross {
  width: 13px; height: 13px;
  display: inline-block;
  color: #7392bd;
  background: linear-gradient(currentColor, currentColor) center / 1px 13px no-repeat,
              linear-gradient(currentColor, currentColor) center / 13px 1px no-repeat;
}
.hero-art .art-cross { position: absolute; }
.cross-top { top: 7%; left: 7%; }
.cross-bottom { bottom: 7%; right: 7%; }

.section { padding-block: var(--section-space); }
.section-top { margin-bottom: var(--s5); }
.section-top .eyebrow { margin-bottom: var(--s2); }
h2 {
  font-size: clamp(2.125rem, 4.5vw, 3.625rem);
  line-height: 1.06;
  letter-spacing: -.058em;
  font-weight: 680;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; letter-spacing: -.03em; line-height: 1.2; }
.section-action { margin-top: var(--s4); }
.recent { border-top: 1px solid var(--line); background: #fdfcf9; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.project-card { min-width: 0; }
.project-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  transition: border-color var(--hover-transition), box-shadow var(--hover-transition);
}
.project-card > a:hover { border-color: #7faafd; box-shadow: 0 8px 20px rgb(28 62 125 / .075); }
.card-media, .project-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--alternate);
}
.card-media { border-radius: 8px 8px 0 0; }
.card-media > img, .project-cover > img { width: 100%; height: 100%; object-fit: cover; }
.card-info { position: relative; padding: var(--s3) var(--s9) var(--s3) var(--s3); }
.card-category {
  color: var(--blue);
  font: 600 .75rem/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card-title { margin-block: var(--s1); font-size: clamp(1.25rem, 2.5vw, 1.65rem); line-height: 1.2; letter-spacing: -.03em; }
.card-description { color: var(--muted); }
.card-arrow {
  position: absolute;
  right: var(--s3); top: var(--s3);
  display: grid;
  place-items: center;
  width: var(--s5); height: var(--s5);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  transition: background-color var(--hover-transition), color var(--hover-transition), border-color var(--hover-transition);
}
.project-card a:hover .card-arrow, .project-card a:focus-visible .card-arrow {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.project-art {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: inline-size;
}
.art-fridge { background: radial-gradient(ellipse at 58% 43%, #ddeaff, #a9c6f4); }
.art-cheese { background: radial-gradient(ellipse at 55% 40%, #684735, #2d1c20 76%); }
.art-capo { background: radial-gradient(ellipse at 50% 36%, #ffe9bb, #f1c798 92%); }
.art-system { background: radial-gradient(ellipse at 45% 40%, #ecf3f9, #cddce6 85%); }
.art-plain { color: var(--muted); font: .8rem var(--mono); }
.mock-dashboard, .mock-browser, .mock-kiosk, .mock-phone, .mock-board {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 2.4cqw 5.5cqw #162c5e32;
}
.mock-dashboard {
  width: 65%; height: 75%; top: 14%; left: 12%;
  border: .6cqw solid #1a3047; border-radius: 1.55cqw;
  background: #f6faff;
  transform: rotate(-5deg);
}
.mock-window {
  display: flex; gap: .65cqw; align-items: center;
  height: 2.5cqw; padding-inline: 1.25cqw; background: #ebeff5;
}
.mock-window i { width: .65cqw; height: .65cqw; border-radius: 50%; background: #8594aa; }
.mock-dashboard-body { height: calc(100% - 2.5cqw); display: grid; grid-template-columns: 22% 1fr; }
.mock-sidebar {
  background:
    repeating-linear-gradient(#7995b8 0 1px, transparent 1px 3.25cqw) center 5cqw / 67% 15cqw no-repeat,
    #17334d;
}
.mock-content { padding: 2cqw; color: #182e4a; font-size: 3cqw; line-height: 1; }
.mock-metrics { display: flex; gap: .85cqw; margin-block: 2cqw; }
.mock-metrics i { flex: 1; height: 5cqw; border: 1px solid #c6d8ee; background: linear-gradient(130deg, #e3efff, #fff); border-radius: .55cqw; }
.mock-table {
  height: 13cqw;
  border: 1px solid #dbe7f5;
  background: repeating-linear-gradient(#d8e6f7 0 1px, transparent 1px 2.4cqw), linear-gradient(90deg, #fff 60%, #e9f4ff 60%);
}
.mock-phone {
  width: 23%; height: 75%; right: 12%; top: 18%;
  border: .7cqw solid #13243a;
  border-radius: 2.35cqw;
  padding: 3.25cqw 1.5cqw 1.5cqw;
  background: #f5f9ff; color: #142e4f; font-size: 2.45cqw;
  font-weight: 750; line-height: 1;
  transform: rotate(8deg);
}
.mock-phone::before {
  content: ""; position: absolute; top: .8cqw; left: 36%; width: 28%; height: .75cqw;
  border-radius: 1cqw; background: #13243a;
}
.mock-phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8cqw; margin-block: 1.7cqw; }
.mock-phone-grid i { height: 6.1cqw; border-radius: .6cqw; background: linear-gradient(135deg, #c2e6df, #e6f2ff); }
.mock-phone-grid i:nth-child(2n) { background: linear-gradient(135deg, #e8d6ac, #fbf4e8); }
.mock-button { display: block; height: 2.1cqw; border-radius: .5cqw; background: #2259a2; }
.mock-kiosk {
  width: 75%; height: 76%;
  inset: 12% 12.5%;
  border: 1cqw solid #1a1313;
  border-radius: 1.45cqw;
  background: #22151a; color: #ffedc2;
  transform: rotate(-5deg);
}
.mock-kiosk-ui { display: grid; grid-template-columns: 42% 58%; align-items: center; height: 100%; padding: 4cqw; }
.mock-kiosk-ui b { font: 700 7.5cqw/.86 Georgia, serif; letter-spacing: -.065em; }
.mock-kiosk-ui i { display: block; margin-top: 2cqw; width: 13cqw; height: 3cqw; border-radius: .5cqw; background: #f3c676; }
.cheese-shape {
  width: 100%; aspect-ratio: 1.15;
  background:
    radial-gradient(circle at 56% 41%, #ba7620 0 7%, transparent 8%),
    radial-gradient(circle at 71% 63%, #ba7620 0 8%, transparent 9%),
    radial-gradient(circle at 52% 74%, #d39330 0 4%, transparent 5%),
    linear-gradient(135deg, #ffd97f 15%, #f3a82f 80%);
  clip-path: polygon(10% 46%, 85% 9%, 96% 26%, 88% 73%, 13% 93%);
  filter: drop-shadow(0 8px 10px #190e0b75);
}
.mock-browser {
  width: 78%; height: 82%; bottom: 4%; left: 11%;
  border: .5cqw solid #552719; border-radius: 1.1cqw 1.1cqw 0 0;
  background: #fbf4de;
  transform: rotate(-4deg);
}
.mock-capo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 3cqw 5cqw;
  color: #fff4d8; background: #ab251e;
}
.mock-capo b { display: block; font-size: 8cqw; line-height: .9; font-weight: 900; letter-spacing: -.085em; }
.mock-capo span { display: block; margin-top: 1.5cqw; font: 700 3.15cqw/1.05 Georgia, serif; }
.mock-package {
  justify-self: center; width: 23cqw; height: 19cqw;
  padding: 2.6cqw; border-radius: 1cqw;
  background: linear-gradient(150deg, #faf0c9 0 40%, #e0b350 42% 70%, #811c17 72%);
  color: #9e1c22; transform: rotate(11deg);
  box-shadow: 0 1.2cqw 3cqw #571c1950;
}
.mock-package b { font-size: 4.5cqw; }
.mock-package i { display: block; height: 5cqw; width: 12cqw; margin: 3cqw auto; border-radius: 50%; background: #fff3cb; }
.mock-product-row { display: flex; gap: 1.4cqw; padding: 2cqw 5cqw; }
.mock-product-row i { flex: 1; height: 8cqw; background: linear-gradient(135deg, #ecd5af, #f7e9c9); border-radius: .5cqw; }
.mock-board {
  width: 78%; height: 76%; top: 12%; left: 11%;
  display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr auto; gap: 1.35cqw;
  padding: 2.7cqw;
  border: 1px solid #d9e3ef; border-radius: 1.25cqw;
  background: #fff; color: #163451;
  transform: rotate(-5deg);
}
.mock-board-type { padding: 2.2cqw; background: #edf5fb; border-radius: .5cqw; }
.mock-board-type span, .mock-board-type small { display: block; font: 1.8cqw/1.35 var(--mono); }
.mock-board-type b { display: block; margin-block: 1.4cqw; font-size: 12cqw; line-height: .82; letter-spacing: -.09em; }
.mock-board-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqw; }
.mock-board-colors i { background: #173451; border-radius: .5cqw; }
.mock-board-colors i:nth-child(2) { background: #2f79cf; }
.mock-board-colors i:nth-child(3) { background: #9cbfe2; }
.mock-board-colors i:nth-child(4) { background: #e3eef6; }
.mock-board-buttons { grid-column: 1 / -1; display: flex; gap: 1.05cqw; }
.mock-board-buttons i { padding: .6cqw 1.6cqw; border: 1px solid #2f79cf; border-radius: .45cqw; background: #2f79cf; color: #fff; font: 1.8cqw/1.4 var(--sans); }
.mock-board-buttons i + i { background: #fff; color: #173451; }

.dark { background: var(--ink); color: var(--on-dark); }
.dark .eyebrow, .dark .text-link { color: var(--blue-light); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
}
.service-card { position: relative; padding: var(--s5); min-width: 0; }
.service-card:nth-child(odd) { border-inline-end: 1px solid var(--line-dark); }
.service-card:nth-child(-n+2) { border-block-end: 1px solid var(--line-dark); }
.service-card h3 {
  position: relative;
  width: 85%;
  z-index: 1;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--blue-light);
}
.service-card p { position: relative; z-index: 1; max-width: 35ch; margin-top: var(--s2); color: var(--on-dark-muted); }
.service-card ul { padding: 0; margin-top: var(--s3); list-style: none; display: grid; gap: var(--s1); }
.service-card li { display: flex; align-items: baseline; gap: var(--s1); }
.service-card li::before { font: 700 1rem var(--mono); content: "–"; color: var(--blue-light); }
.service-index {
  position: absolute; top: var(--s4); right: var(--s4);
  color: #344157; font-weight: 750; font-size: clamp(2.5rem, 5.3vw, 4.5rem);
  line-height: 1; letter-spacing: -.08em;
}

.process, .alternate { background: var(--alternate); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  gap: var(--s3);
  padding: 0;
}
.process-grid li { border-top: 1px solid #a7baf1; padding-block-start: var(--s3); }
.process-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--s5); height: var(--s5); margin-bottom: var(--s3);
  border: 1px solid #b8cbf5; border-radius: 50%; color: var(--blue);
  font: 600 .75rem var(--mono);
}
.process-grid p, .strength-grid p, .experience-item p:not(.card-category) { margin-top: var(--s1); color: var(--muted); }
.process-artifact { margin-top: var(--s2); }
.process-artifact img { width: 100%; border: 1px solid var(--line); border-radius: 4px; }
.process-artifact figcaption { margin-top: var(--s1); color: var(--muted); font-size: .875rem; }

.editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--s4); }
.editorial-copy { max-width: 43rem; font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.45; letter-spacing: -.025em; }
.editorial .text-link { margin-top: var(--s2); }

.contact {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: var(--s3) var(--s6); padding-block: var(--s10);
}
.contact p { margin-top: var(--s2); max-width: 31rem; color: var(--on-dark-muted); font-size: 1.125rem; }
@media (max-width: 44rem) {
  .site-footer .contact h2 { font-size: 30px; }
  .site-footer .contact h2 + p { font-size: 16px; }
}
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
.contact-placeholder { color: var(--blue-light); font-weight: 650; font-size: .9375rem; }
.contact-placeholder span { font-weight: 400; color: var(--on-dark-muted); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s1) var(--s4); padding-block: var(--s2);
}
.footer-nav { display: none; }
.footer-bottom nav a { color: var(--on-dark-muted); }
.footer-bottom nav a:hover { color: var(--blue-light); }

.contact-links .text-link { gap: 8px; }
.contact-links svg { flex: none; }

@media (width > 44rem) {
  .contact-links .text-link { font-size: 18px; }
  .contact-links svg { width: 20px; height: 20px; }
}
.contact-links-mobile { display: none; }

@media (max-width: 44rem) {
  .contact-links { flex-wrap: nowrap; gap: 16px; margin-inline-start: auto; }
  .contact-links-desktop { display: none; }
  .contact-links-mobile { display: flex; }
  .footer-bottom { column-gap: 16px; }
  footer .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    flex-basis: 100%;
  }
  .footer-nav a:first-child { justify-self: start; }
  .footer-nav a:nth-child(2) { justify-self: center; }
  .footer-nav a:last-child { justify-self: end; }
}

.page-intro { padding-block: var(--s10) var(--s6); }
.page-intro > p:not(.eyebrow), .about-bio { max-width: 42rem; color: var(--muted); font-size: clamp(1.1rem, 2.25vw, 1.4rem); }
.about-bio p + p { margin-top: var(--s2); }
.page-intro .button { margin-top: var(--s4); }
.listing { padding-bottom: var(--section-space); }
.experience-item { border-block-start: 1px solid var(--line); padding-block: var(--s3); }
.experience-item .card-category { margin-top: var(--s1); }
.strength-grid, .highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.strength-grid article, .highlight-grid article { padding: var(--s3); border: 1px solid var(--line); border-radius: 6px; }

.detail-intro { padding-top: var(--s4); }
.detail-intro .back-link { margin-bottom: var(--s3); }
.detail-category { color: var(--muted); border-left: 1px solid var(--line); margin-left: var(--s1); padding-left: var(--s2); }
.project-cover { max-width: 100%; border-radius: 8px; aspect-ratio: 2.2; }
.overview { padding-block: var(--s6) var(--s4); }
.detail-section h2 { font-size: clamp(1.7rem, 3.3vw, 2.75rem); }
.detail-section > p { max-width: 64ch; margin-top: var(--s2); color: var(--muted); font-size: 1.0625rem; }
.case-layout, .showcase-layout { padding-block: var(--s4); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr); gap: var(--s6); align-items: start; }
.case-layout-single { grid-template-columns: 1fr; }
.case-content .detail-section { border-top: 1px solid var(--line); padding-block: var(--s4); }
.chapter-nav { display: grid; align-self: start; gap: 2px; position: sticky; top: var(--s4); }
.chapter-nav .eyebrow { margin-bottom: var(--s1); }
.chapter-nav a {
  width: fit-content;
  padding-block: var(--s1);
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: underline transparent;
  transition: color var(--hover-transition), text-decoration-color var(--hover-transition);
}
.chapter-nav a:hover { color: var(--blue); text-decoration-color: currentColor; }
.showcase-layout { display: grid; gap: var(--s6); }
.highlight-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s3); }
.highlight-grid article p { margin-top: var(--s1); color: var(--muted); }
.gallery-grid { display: grid; gap: var(--s3); }
.gallery-media { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--alternate); }
.gallery-media img { width: 100%; height: auto; }
.gallery-placeholder {
  display: grid; align-content: center; justify-items: center; gap: var(--s1);
  aspect-ratio: 16/9; color: var(--muted); font: .75rem var(--mono);
  background: radial-gradient(circle, #c4d6f2 1px, transparent 1.2px) center / 16px 16px;
}
.gallery-grid figcaption { display: grid; color: var(--muted); font-size: .9375rem; margin-top: var(--s1); }
.gallery-grid figcaption strong { color: var(--ink); }
.detail-bottom { padding-block: var(--s2) var(--s8); }

@media (max-width: 70rem) {
  .hero { gap: var(--s3); min-height: 34rem; }
  .service-card { padding: var(--s4); }
}
@media (max-width: 56rem) {
  .hero { min-height: 30rem; }
  .hero h1 span { display: inline; }
  .hero h1 { text-wrap: initial; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
  .strength-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); }
  html { scroll-padding-top: var(--s8); }
  .header-inner { min-height: var(--s8); flex-wrap: wrap; gap: 0 var(--s2); }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: flex-end;
    min-width: var(--s6); min-height: var(--s6);
    background: transparent; border: 0; padding: 0; color: var(--ink);
    cursor: pointer;
  }
  html:has(.mobile-menu[open]), body:has(.mobile-menu[open]) { overflow: hidden; }

  .mobile-menu[open] {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(64px, 1fr) auto minmax(64px, 1fr);
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: max(16px, env(safe-area-inset-top)) 24px max(16px, env(safe-area-inset-bottom));
    margin: 0;
    border: 0;
    background: rgba(18, 18, 18, 0.98);
    color: #f2f0e7;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-menu::backdrop { background: transparent; }

  .mobile-menu-close {
    align-self: start;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .mobile-menu-links {
    display: grid;
    justify-items: center;
    gap: 32px;
    font: 600 36px/1.25 var(--display, var(--sans));
    text-align: center;
  }

  .mobile-menu-links [aria-current] { color: #07bfb8; }
  .mobile-menu :focus-visible { outline-color: #07bfb8; }

  .mobile-menu .mobile-menu-action {
    align-self: end;
    width: 100%;
    border: 1px solid #888;
    border-radius: 32px;
    background: transparent;
    color: inherit;
  }
  .mobile-menu .mobile-menu-action:is(:hover, :focus-visible) { border-color: currentColor; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: var(--s4); padding-block: var(--s6); }
  .hero h1 { font-size: clamp(2.55rem, 8.5vw, 3.75rem); }
  .hero-art { width: min(100%, 26rem); aspect-ratio: 1.55; justify-self: start; }
  .hero-art canvas { width: 69%; height: auto; aspect-ratio: 1; }
  .orbit-outer { inset: 11% 25%; }
  .orbit-inner { inset: 21% 31%; }
  .hero-actions { gap: var(--s1) var(--s3); }
  .section-top { margin-bottom: var(--s3); }
  .project-grid, .service-grid, .process-grid, .editorial, .strength-grid, .highlight-grid, .gallery-grid, .case-layout { grid-template-columns: minmax(0, 1fr); }
  .service-card:nth-child(odd) { border-inline-end: 0; }
  .service-card:not(:last-child) { border-block-end: 1px solid var(--line-dark); }
  .service-index { right: var(--s3); top: var(--s3); }
  .editorial { gap: var(--s3); }
  .page-intro { padding-block: var(--s6) var(--s4); }
  .detail-intro { padding-top: var(--s2); }
  .case-layout { gap: var(--s4); }
  .chapter-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-nav .eyebrow { grid-column: 1 / -1; }
  .project-cover { aspect-ratio: 16 / 9; }
  .contact { padding-block: var(--s6); }
}
@media (max-width: 24rem) {
  .hero-actions { gap: var(--s1) var(--s2); }
  .hero-actions .button { padding-inline: var(--s2); gap: var(--s1); }
  .service-card { padding: var(--s3); }
  .card-info { padding-inline-start: var(--s2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 23rem) {
  .home-footer > .frame, .footer-bottom { width: calc(100% - 32px); column-gap: 8px; }
  footer .wordmark { font-size: 1rem; }
  .contact-links .text-link { font-size: .8125rem; }
}
