:root {
  --paper: #f4f4f0;
  --paper-2: #dfe1d9;
  --ink: #252824;
  --accent: #566052;
  --line: rgba(37, 40, 36, 0.18);
  --edge: clamp(24px, 4vw, 64px);
  --rail: 215px;
  --sweep: rgba(86, 96, 82, 0.12);
  --sweep-paper: rgba(244, 244, 240, 0.17);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Neue Montreal", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

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

figure,
h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
blockquote {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

p {
  max-width: 58ch;
  text-wrap: pretty;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 20px;
  padding: 11px 15px;
  position: fixed;
  top: -100px;
  z-index: 100;
}

.skip-link:focus {
  top: 15px;
}

.site-header {
  align-items: stretch;
  background: var(--paper);
  border-right: 1px solid var(--line);
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  padding: 42px 28px 35px;
  position: fixed;
  top: 0;
  width: var(--rail);
  z-index: 40;
}

.brand {
  display: block;
  font-size: 37px;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.brand span {
  display: block;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.55;
  margin-top: 20px;
}

.site-header nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 80px;
}

.site-header nav a {
  background-color: transparent;
  display: block;
  font-size: 13px;
  letter-spacing: -0.015em;
  margin-left: -10px;
  padding: 9px 10px;
  position: relative;
  width: calc(100% + 20px);
}

.site-header nav a[aria-current="page"] {
  background-color: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  background: transparent;
  border: 1px solid currentColor;
  display: none;
  min-height: 42px;
  padding: 0 17px;
}

.page-shell {
  margin-left: var(--rail);
  min-height: 100vh;
}

.button,
.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
}

.button {
  border: 1px solid currentColor;
  min-height: 48px;
  padding: 12px 24px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.62;
  text-transform: uppercase;
}

.demo-note {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0.62;
  text-transform: uppercase;
}

.page-intro {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6vw;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  min-height: 58vh;
  padding: clamp(70px, 10vw, 145px) var(--edge) clamp(55px, 7vw, 105px);
}

.page-intro h1 {
  font-size: clamp(72px, 11vw, 176px);
  max-width: 8ch;
}

.page-intro-copy {
  align-self: end;
}

.page-intro-copy p {
  font-size: 14px;
  line-height: 1.8;
  margin: 24px 0;
  max-width: 41ch;
}

.home-hero img {
  height: 66svh;
  min-height: 450px;
  object-fit: cover;
  object-position: center 55%;
}

.home-title {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 5vw;
  grid-template-columns: 1fr 1fr;
  padding: 35px var(--edge) 48px;
}

.home-title h1 {
  font-size: clamp(58px, 7vw, 104px);
  max-width: 8ch;
}

.home-title p {
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 40ch;
}

.statement {
  align-content: center;
  display: grid;
  min-height: 70svh;
  padding: clamp(65px, 9vw, 125px) var(--edge);
  text-align: center;
}

.statement h2 {
  font-size: clamp(42px, 5.4vw, 80px);
  margin: 0 auto;
  max-width: 17ch;
}

.statement p {
  font-size: 14px;
  line-height: 1.8;
  margin: 28px auto 0;
  max-width: 50ch;
}

.home-projects {
  background: var(--paper-2);
  padding: 68px var(--edge) 82px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 35px;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 70px);
}

.project-browser {
  display: grid;
  gap: 4vw;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.35fr);
}

.project-options {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-option {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(37, 40, 36, 0.32);
  color: inherit;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr auto;
  min-height: 84px;
  padding: 18px 0;
  text-align: left;
  width: 100%;
}

.project-option:hover {
  padding-left: 10px;
}

.project-option[aria-pressed="true"] {
  border-top: 2px solid currentColor;
  padding-top: 17px;
}

.project-option span {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.project-option small {
  font-size: 10px;
  grid-column: 1;
  opacity: 0.62;
}

.project-option::after {
  content: "↗";
  font-size: 13px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.project-previews {
  display: grid;
}

.project-preview {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms var(--ease), visibility 0s linear 450ms;
  visibility: hidden;
}

.project-preview.is-active {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
  visibility: visible;
}

.project-preview img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-preview .text-link {
  margin-top: 15px;
}

.home-about {
  align-items: start;
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  padding: 90px var(--edge);
}

.home-about img {
  max-width: 460px;
}

.home-about h2 {
  font-size: clamp(44px, 5vw, 74px);
  margin-bottom: 28px;
}

.home-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.dark-note {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 7vw;
  grid-template-columns: 1.15fr 0.85fr;
}

.dark-note img {
  align-self: stretch;
  height: 100%;
  object-fit: cover;
}

.dark-note blockquote {
  font-size: clamp(29px, 3.4vw, 49px);
  line-height: 1.14;
  max-width: 19ch;
  padding: 65px var(--edge) 65px 0;
}

.image-break {
  height: 68svh;
  min-height: 460px;
  overflow: hidden;
  position: relative;
}

.image-break img {
  height: calc(100% + 10vh);
  object-fit: cover;
  position: absolute;
  top: -5vh;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  width: 100%;
  will-change: transform;
}

.image-break--inset {
  background: var(--paper-2);
  height: 58svh;
  margin: 0 var(--edge);
  min-height: 420px;
}

.image-break--tall {
  height: 78svh;
}

.image-break-copy {
  bottom: 38px;
  color: var(--paper);
  font-size: clamp(27px, 3vw, 46px);
  left: var(--edge);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 15ch;
  position: absolute;
  z-index: 1;
}

.blog-preview,
.blog-index {
  padding: 86px var(--edge) 100px;
}

.post-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card a {
  display: block;
}

.post-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 250ms;
}

.post-card a:hover img {
  opacity: 0.82;
}

.post-card h2,
.post-card h3 {
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.08;
  margin-top: 18px;
}

.post-card .text-link {
  margin-top: 15px;
}

.contact-band {
  align-items: end;
  background: var(--paper-2);
  display: grid;
  gap: 5vw;
  grid-template-columns: 1fr auto;
  padding: 85px var(--edge);
}

.contact-band h2 {
  font-size: clamp(48px, 7vw, 105px);
  max-width: 9ch;
}

.site-footer {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  padding: 42px var(--edge) 28px;
}

.footer-brand {
  font-size: clamp(46px, 7vw, 102px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 11px;
}

.site-footer .demo-note {
  grid-column: 1 / -1;
}

/* Portfolio index */
.filter-bar {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
}

.filter-bar button {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  min-height: 88px;
  padding: 16px;
  width: 100%;
}

.filter-bar button:first-child {
  border-left: 0;
}

.filter-bar button[aria-pressed="true"] {
  background-color: var(--ink);
  color: var(--paper);
}

.project-grid {
  display: grid;
  gap: 3px;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 3px;
}

.project-card {
  background: var(--paper-2);
  min-width: 0;
}

.project-card:nth-child(3),
.project-card:nth-child(4) {
  grid-column: span 1;
}

.project-card[hidden] {
  display: none;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 280ms;
}

.project-card:nth-child(2) img,
.project-card:nth-child(3) img {
  aspect-ratio: 1 / 1;
}

.project-card a:hover img {
  opacity: 0.84;
}

.project-card-copy {
  display: grid;
  gap: 11px;
  grid-template-columns: 1fr auto;
  padding: 24px 25px 30px;
}

.project-card h2 {
  font-size: clamp(27px, 3vw, 43px);
}

.project-card-copy p {
  font-size: 11px;
  grid-column: 1;
  opacity: 0.65;
}

.project-card-copy span {
  font-size: 16px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Project detail */
.project-hero {
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
}

.project-hero-copy {
  align-items: start;
  display: flex;
  flex-direction: column;
  min-height: 75svh;
  padding: clamp(60px, 8vw, 115px) var(--edge) 48px;
}

.project-hero-copy h1 {
  font-size: clamp(60px, 7.7vw, 118px);
  margin: 25px 0 30px;
  max-width: 8ch;
}

.project-hero-copy p {
  font-size: 14px;
  margin-top: auto;
  max-width: 37ch;
}

.project-hero-media img {
  height: 75svh;
  min-height: 560px;
  object-fit: cover;
}

.project-brief {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5vw;
  grid-template-columns: 1fr 1.4fr;
  padding: 72px var(--edge);
}

.project-brief h2 {
  font-size: clamp(38px, 4.5vw, 66px);
  max-width: 11ch;
}

.project-brief p {
  font-size: 15px;
  line-height: 1.85;
  max-width: 52ch;
}

.project-gallery {
  display: grid;
  gap: 3px;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.project-gallery figure:first-child,
.project-gallery figure:last-child {
  grid-column: 1 / -1;
}

.project-gallery button {
  background: none;
  border: 0;
  display: block;
  padding: 0;
  width: 100%;
}

.project-gallery img {
  transition: opacity 250ms;
}

.project-gallery button:hover img {
  opacity: 0.84;
}

.project-next {
  align-items: end;
  background: var(--paper-2);
  display: grid;
  gap: 3vw;
  grid-template-columns: 1fr auto;
  padding: 75px var(--edge);
}

.project-next h2 {
  font-size: clamp(42px, 6vw, 88px);
  max-width: 10ch;
}

/* About */
.about-opening {
  align-items: start;
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  padding: 95px var(--edge);
}

.about-opening img {
  max-width: 520px;
}

.about-opening h2 {
  font-size: clamp(43px, 5.6vw, 82px);
  margin-bottom: 34px;
  max-width: 10ch;
}

.about-opening p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.approach {
  background: var(--paper-2);
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.75fr 1.25fr;
  padding: 85px var(--edge);
}

.approach h2 {
  font-size: clamp(42px, 5vw, 72px);
  max-width: 8ch;
}

.approach details {
  border-top: 1px solid rgba(37, 40, 36, 0.3);
  padding: 20px 0;
}

.approach summary {
  cursor: pointer;
  font-size: 19px;
  list-style: none;
}

.approach summary::-webkit-details-marker {
  display: none;
}

.approach summary::after {
  content: "+";
  float: right;
}

.approach details[open] summary::after {
  content: "−";
}

.approach details p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 48ch;
}

/* Blog */
.blog-index {
  padding-top: 65px;
}

.blog-index .post-card:nth-child(1) {
  grid-column: 1 / span 2;
}

.blog-index .post-card:nth-child(1) img {
  aspect-ratio: 2 / 1;
}

.blog-index .post-card:nth-child(1) h2 {
  font-size: clamp(38px, 5vw, 73px);
  line-height: 1;
  margin-top: 20px;
  max-width: 12ch;
}

.article-hero {
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
}

.article-hero img {
  height: 72svh;
  min-height: 560px;
  object-fit: cover;
}

.article-hero-copy {
  align-items: start;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  padding: clamp(60px, 7vw, 105px) var(--edge) 45px;
}

.article-hero h1 {
  font-size: clamp(54px, 6.5vw, 98px);
  margin: 24px 0 32px;
  max-width: 9ch;
}

.article-hero .demo-note {
  margin-top: auto;
}

.article-body {
  display: grid;
  gap: 5vw;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr) minmax(0, 0.65fr);
  padding: 90px var(--edge) 105px;
}

.article-body aside {
  font-size: 11px;
  line-height: 1.7;
  opacity: 0.68;
}

.article-copy p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.article-copy p:first-child::first-letter {
  float: left;
  font-size: 78px;
  letter-spacing: -0.07em;
  line-height: 0.76;
  padding: 10px 10px 0 0;
}

.article-body figure {
  align-self: start;
  position: sticky;
  top: 40px;
}

.article-wide {
  padding: 0 var(--edge) 95px;
}

.article-wide img {
  margin: 0 auto;
  max-width: 1240px;
}

.article-return {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 34px var(--edge);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.contact-picture {
  min-height: 100svh;
}

.contact-picture img {
  height: 100%;
  object-fit: cover;
}

.contact-panel {
  padding: clamp(65px, 8vw, 115px) var(--edge);
}

.contact-panel h1 {
  font-size: clamp(62px, 7.5vw, 112px);
  margin: 22px 0 28px;
  max-width: 8ch;
}

.contact-panel > p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-form {
  display: grid;
  gap: 23px;
}

.contact-form label {
  display: grid;
  font-size: 11px;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 10px 0;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
}

.form-status {
  font-size: 12px;
  min-height: 1.5em;
}

/* Shared motion and viewer */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.viewer {
  --sweep: var(--sweep-paper);
  background: var(--ink);
  border: 0;
  color: var(--paper);
  height: 100dvh;
  inset: 0;
  max-height: none;
  max-width: none;
  padding: 22px 28px 24px;
  width: 100vw;
}

/* The open dialog is a column: close, photograph, control bar. The photograph
   takes the leftover height, so no control row can be clipped. */
.viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.viewer::backdrop {
  background: var(--ink);
}

.viewer-close {
  align-items: center;
  align-self: flex-end;
  background-color: transparent;
  border: 1px solid rgba(244, 244, 240, 0.34);
  color: inherit;
  display: inline-flex;
  flex: none;
  height: 46px;
  justify-content: center;
  padding: 0;
  width: 46px;
}

.viewer-close svg {
  height: 18px;
  width: 18px;
}

.viewer img {
  flex: 1;
  height: auto;
  min-height: 0;
  object-fit: contain;
  width: 100%;
}

.viewer-controls {
  align-items: center;
  border: 1px solid rgba(244, 244, 240, 0.2);
  display: grid;
  flex: none;
  gap: 10px 20px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 9px 10px;
}

.viewer-step {
  align-items: center;
  background-color: transparent;
  border: 1px solid rgba(244, 244, 240, 0.34);
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  gap: 9px;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.viewer-step svg {
  height: 13px;
  width: 13px;
}

.viewer-status {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin: 0 auto;
  max-width: 68ch;
  text-align: center;
}

.viewer-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  opacity: 0.72;
  white-space: nowrap;
}

.viewer-caption {
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* The one hover and focus mechanic of the family: the soft sweep the primary
   navigation used, grown from the left over 320ms, shared by every call to
   action, button and link (Daniel, 2026-10-07). Dark grounds — the viewer and
   any ink-filled current state — swap --sweep for the paper tint, so the sweep
   reads there too. Declared after the component rules so their background
   shorthands cannot drop the gradient. */
.site-header nav a,
.button,
.text-link,
.filter-bar button,
.project-option,
.viewer-close,
.viewer-step,
.footer-links a {
  background-image: linear-gradient(var(--sweep), var(--sweep));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: background-color 240ms var(--ease), background-size 320ms var(--ease), color 240ms var(--ease);
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.filter-bar button:hover,
.filter-bar button:focus-visible,
.project-option:hover,
.project-option:focus-visible,
.viewer-close:hover,
.viewer-close:focus-visible,
.viewer-step:hover,
.viewer-step:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background-size: 100% 100%;
}

.site-header nav a[aria-current="page"],
.filter-bar button[aria-pressed="true"] {
  --sweep: var(--sweep-paper);
}

.project-option {
  transition: background-size 320ms var(--ease), padding-left 220ms var(--ease);
}

@media (max-width: 920px) {
  .page-intro {
    grid-template-columns: 1fr;
  }

  .page-intro-copy {
    align-self: auto;
  }

  .project-hero,
  .article-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .project-hero-copy {
    min-height: 52svh;
  }

  .article-hero-copy {
    min-height: 55svh;
    order: -1;
  }

  .contact-picture {
    min-height: 60svh;
  }
}

/* Tablet portrait: the two-column openers left the display headings 180–230px
   wide, one word a line; stack them a little earlier than the phone layout. */
@media (min-width: 761px) and (max-width: 920px) {
  .home-title { display: block; }
  .home-title p { margin-top: 22px; }
  .home-about,
  .about-opening { grid-template-columns: 1fr; }
  .home-about img,
  .about-opening img { max-width: 460px; }
}

@media (max-width: 760px) {
  :root {
    --edge: 6vw;
  }

  .site-header {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-right: 0;
    bottom: auto;
    flex-direction: row;
    height: 80px;
    justify-content: space-between;
    padding: 0 var(--edge);
    right: 0;
    width: auto;
  }

  .brand {
    font-size: 30px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 5px 24px;
    grid-template-columns: 1fr 1fr;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 23px var(--edge) 29px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 80px;
    transform: translateY(-8px);
    transition: opacity 220ms, transform 220ms, visibility 0s linear 220ms;
    visibility: hidden;
  }

  .site-header.is-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
    visibility: visible;
  }

  .site-header nav a {
    font-size: 13px;
    margin: 0;
    padding: 10px;
    width: 100%;
  }

  .page-shell {
    margin-left: 0;
    padding-top: 80px;
  }

  .home-hero img {
    height: 56svh;
    min-height: 350px;
  }

  .home-title {
    display: block;
    padding-bottom: 40px;
    padding-top: 29px;
  }

  .home-title h1 {
    font-size: clamp(58px, 16vw, 70px);
  }

  .home-title p {
    margin-top: 22px;
  }

  .statement {
    min-height: 65svh;
    padding-bottom: 63px;
    padding-top: 60px;
  }

  .statement h2 {
    font-size: clamp(37px, 11vw, 46px);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .home-projects {
    padding-bottom: 60px;
    padding-top: 50px;
  }

  .project-browser {
    display: flex;
    flex-direction: column;
  }

  .project-previews {
    order: -1;
  }

  .project-option span {
    font-size: 18px;
  }

  .home-about,
  .about-opening,
  .approach,
  .project-brief {
    grid-template-columns: 1fr;
  }

  .home-about,
  .about-opening {
    padding-bottom: 65px;
    padding-top: 65px;
  }

  .home-about img,
  .about-opening img {
    max-width: 340px;
  }

  .dark-note {
    grid-template-columns: 1fr;
  }

  .dark-note blockquote {
    padding: 45px var(--edge) 55px;
  }

  .image-break,
  .image-break--inset,
  .image-break--tall {
    height: 54svh;
    margin: 0;
    min-height: 360px;
  }

  .image-break img {
    height: 100%;
    position: static;
    transform: none !important;
  }

  .post-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .blog-index .post-card:nth-child(1) {
    grid-column: auto;
  }

  .blog-index .post-card:nth-child(1) img {
    aspect-ratio: 4 / 3;
  }

  .blog-preview,
  .blog-index {
    padding-bottom: 70px;
    padding-top: 60px;
  }

  .contact-band,
  .project-next {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-intro {
    min-height: auto;
    padding-bottom: 60px;
    padding-top: 65px;
  }

  .page-intro h1 {
    font-size: clamp(62px, 20vw, 94px);
  }

  .project-grid {
    gap: 2px;
  }

  .filter-bar {
    grid-template-columns: repeat(5, minmax(132px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  .filter-bar button {
    min-height: 72px;
    scroll-snap-align: start;
  }

  .project-card:nth-child(2) img,
  .project-card:nth-child(3) img {
    aspect-ratio: 4 / 3;
  }

  .project-hero-copy {
    min-height: 510px;
    padding-bottom: 38px;
    padding-top: 62px;
  }

  .project-hero-media img,
  .article-hero img {
    height: auto;
    min-height: 0;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure:first-child,
  .project-gallery figure:last-child {
    grid-column: auto;
  }

  .approach {
    padding-bottom: 65px;
    padding-top: 65px;
  }

  .article-hero-copy {
    min-height: 510px;
    padding-bottom: 35px;
    padding-top: 62px;
  }

  .article-hero h1 {
    font-size: clamp(52px, 15vw, 68px);
  }

  .article-body {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
    padding-top: 65px;
  }

  .article-body aside {
    max-width: 32ch;
  }

  .article-body figure {
    position: static;
  }

  .article-copy p {
    font-size: 15px;
  }

  .article-return {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .contact-picture {
    min-height: 0;
  }

  .contact-panel {
    padding-bottom: 65px;
    padding-top: 65px;
  }

  .viewer {
    gap: 12px;
    padding: 14px 15px 16px;
  }

  .viewer-controls {
    gap: 8px 12px;
    padding: 7px 8px;
  }

  .viewer-step {
    padding: 0;
    width: 44px;
  }

  .viewer-step-label {
    display: none;
  }

  .viewer-caption {
    font-size: 13px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Commercial sitemap sections: capabilities, clients, client quotes, and the
   labelled frames of the one mixed portfolio gallery. */
.capabilities,
.clients,
.testimonials {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4vw;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  padding: 86px var(--edge);
}

.capabilities h2,
.clients h2,
.testimonials h2 {
  font-size: clamp(27px, 3vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  max-width: 12ch;
}

.capabilities ul,
.clients ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.capabilities li {
  border-top: 1px solid var(--line);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.45;
  padding: 20px 0;
}

.capabilities li:first-child {
  border-top: 0;
  padding-top: 0;
}

.capabilities li b {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.6;
  padding-bottom: 7px;
  text-transform: uppercase;
}

/* The six sectors read as one line of the content width, not a block beside
   the heading (Daniel, 2026-10-07): the list spans both columns under its
   heading, which fits all six at desktop. */
.clients ul {
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.clients li {
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 16px 0;
}

.quote-grid {
  display: grid;
  gap: 3vw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-grid blockquote {
  border-top: 1px solid var(--line);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  margin: 0;
  padding-top: 20px;
}

.quote-grid cite {
  display: block;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
  opacity: 0.6;
  padding-top: 16px;
  text-transform: uppercase;
}

.frame-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.62;
  padding: 11px 4px 20px;
}

.footer-license {
  font-size: 11px;
  grid-column: 1 / -1;
  opacity: 0.55;
}

@media (max-width: 920px) {
  .capabilities,
  .clients,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .clients ul {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

  /* Mobile review: 44px hit areas (visual size unchanged), small-text floors and 16px form controls. */
  @media (max-width:820px){
    a.brand{position:relative}
    a.brand::after{content:"";position:absolute;inset:-10px 0}
    .footer-links a{position:relative}
    .footer-links a::after{content:"";position:absolute;inset:-13px -8px}
    .approach summary{position:relative}
    .approach summary::before{content:"";position:absolute;inset:-7px 0}
    .project-option small:not(#_){font-size:12px}
    .footer-links a:not(#_){font-size:12px}
    span.footer-license:not(#_){font-size:12px}
    .project-gallery figcaption.frame-meta:not(#_){font-size:12px}
    .contact-form label:not(#_){font-size:12px}
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not(#_),select:not(#_),textarea:not(#_){font-size:16px}
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not(#_),select:not(#_){min-height:44px}
  }
