/* =====================================
   OWEN DENESUIK PORTFOLIO V2
   PUBLIC DESIGN SYSTEM
===================================== */

:root {
  --bg: #ffffff;
  --surface: #e8eaea;
  --text: #1d1f1f;
  --muted: #626767;
  --accent: #3e4444;
  --highlight: #0057ff;
  --line: #cdd0d0;
  --radius: 2px;
  --heading: "larken", Georgia, serif;
  --body: "owners", Arial, sans-serif;
  --gutter: clamp(1rem, 3.5vw, 4rem);
  --section: clamp(5rem, 10vw, 10rem);
  --content: 96rem;
  --reading: 68ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
main { overflow: clip; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.icon-arrow { display: inline-block; flex: 0 0 auto; width: 1.05em; height: 1.05em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; vertical-align: -0.12em; }
.icon-arrow--left { transform: rotate(180deg); }
.icon-arrow--up-right { transform: rotate(-45deg); }

/* =====================================
   COORDINATED PAGE ARRIVAL
===================================== */
.page-intro { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.page-intro span { background: var(--text); transform: translateX(0); transition: transform 720ms var(--ease); }
.page-intro span:last-child { background: var(--highlight); }
.is-ready .page-intro span:first-child { transform: translateX(-102%); }
.is-ready .page-intro span:last-child { transform: translateX(102%); transition-delay: 70ms; }
.is-loading .site-header,
.is-loading main,
.is-loading .announcement-ribbon { opacity: 0; }
.is-ready .site-header { animation: site-arrive 520ms var(--ease) 360ms both; }
.is-ready main { animation: site-arrive 620ms var(--ease) 440ms both; }
@keyframes site-arrive { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.shell { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); font-weight: 400; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.2vw, 5.75rem); }
h2 { font-size: clamp(2.15rem, 3.8vw, 4.25rem); }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.7rem); }
p { margin: 0 0 1em; }
.lede { max-width: 56ch; font-size: clamp(1.12rem, 1rem + 0.5vw, 1.5rem); line-height: 1.5; }

/* =====================================
   NAVIGATION
===================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transform: translateY(0);
  transition: transform 320ms var(--ease), visibility 320ms;
  will-change: transform;
}
#site-header.is-hidden {
  visibility: hidden;
  transform: translateY(calc(-100% - 1px));
}
#site-header.is-returning {
  animation: navigation-return 460ms cubic-bezier(0.2, 1.35, 0.45, 1) both;
}
@keyframes navigation-return {
  0% { transform: translateY(calc(-100% - 1px)); }
  72% { transform: translateY(0.28rem); }
  100% { transform: translateY(0); }
}
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 5.25rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
}
.brand img { width: clamp(12rem, 18vw, 19rem); height: auto; }
.site-nav { display: flex; justify-content: flex-end; gap: clamp(1rem, 2.4vw, 2.6rem); }
.site-nav a, .nav-cv {
  position: relative;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-cv { min-height: 2.5rem; display: inline-flex; align-items: center; padding: 0.5rem 0.8rem; border: 1px solid var(--text); }
.site-nav a::after, .nav-cv::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after, .nav-cv:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 0; background: none; color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* =====================================
   ANNOUNCEMENT RIBBON
===================================== */
.announcement-ribbon { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--text); color: var(--bg); }
.announcement-track {
  display: flex;
  width: max-content;
  animation: ribbon 32s linear infinite;
}
.announcement-ribbon:hover .announcement-track { animation-play-state: paused; }
.announcement-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 2.6rem;
  padding-inline: 2rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.announcement-item::after { color: var(--accent); content: "✦"; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* =====================================
   HOME HERO
===================================== */
.home-hero { position: relative; padding: clamp(5rem, 11vw, 10rem) 0 var(--section); background: var(--bg); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.55fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.home-hero h1 { max-width: 11ch; }
.home-hero__aside { padding-top: 2rem; border-top: 1px solid var(--text); }
.home-hero__aside p:last-child { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; text-decoration: none; }
.text-link .icon-arrow { transition: transform 220ms var(--ease); }
.text-link:hover .icon-arrow { transform: translateX(0.28rem); }
.button-link {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.68rem 1.1rem;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}
.button-link:hover { background: transparent; color: var(--text); transform: translateY(-2px); }
.button-link:active { transform: translateY(0); }

/* =====================================
   FULL-WIDTH CAROUSEL
===================================== */
.feature-carousel { position: relative; overflow: clip; border-block: 1px solid var(--line); }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 850ms var(--ease); }
.feature-slide { position: relative; flex: 0 0 100%; min-width: 0; min-height: min(78vh, 58rem); background: var(--surface); }
.feature-slide img { width: 100%; height: min(78vh, 58rem); object-fit: cover; }
.feature-slide__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 14 13 / 72%) 0%, rgb(15 14 13 / 16%) 60%, transparent 100%); }
.feature-slide__copy { position: absolute; bottom: clamp(2rem, 6vw, 5rem); left: var(--gutter); width: min(42rem, calc(100% - 2 * var(--gutter))); color: #fff; }
.feature-slide__copy h2 { margin-bottom: 1rem; font-size: clamp(2.35rem, 4.2vw, 4.75rem); }
.feature-slide__copy a { color: inherit; }
.feature-slide__copy .button-link { border-color: #fff; background: #fff; color: #1b1a18; }
.feature-slide__copy .button-link:hover { background: transparent; color: #fff; }
.carousel-controls { position: absolute; right: var(--gutter); bottom: clamp(2rem, 5vw, 4rem); display: flex; align-items: center; gap: 0.5rem; z-index: 2; }
.carousel-button, .lightbox-close, .lightbox-nav {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 0;
  background: rgb(20 19 17 / 58%);
  color: #fff;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.carousel-button:hover { background: #fff; color: var(--text); }
.carousel-count { min-width: 4.4rem; color: #fff; font-size: 0.78rem; text-align: center; }

/* =====================================
   PROJECT INDEX
===================================== */
.section { padding-block: var(--section); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(16rem, 0.45fr); gap: 4rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 7rem); }
.project-list { position: relative; display: block; }
.project-card {
  --stage-progress: 0;
  position: sticky;
  top: calc(5.25rem + var(--stage-offset));
  z-index: var(--stage-index);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 5.25rem - var(--stage-offset));
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 3vw, 3rem);
  border-top: 2px solid var(--text);
  border-radius: 0 !important;
  background: var(--bg);
  box-shadow: 0 -1px 0 var(--bg), 0 -1.25rem 2.5rem rgb(29 31 31 / 9%);
  opacity: var(--stage-progress);
  transform: translateY(calc((1 - var(--stage-progress)) * 3rem));
  transition: opacity 80ms linear;
}
.project-card:last-child { margin-bottom: 0; }
.project-card::before {
  position: absolute;
  top: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--text);
  content: "";
}
.project-card *, .project-card__media, .project-card__media img { border-radius: 0 !important; }

/* HEADING HIGHLIGHT INTERACTION */
.feature-slide__copy h2,
.project-card__copy h3,
.poster-entry__copy h2,
.article-card h2 {
  position: relative;
  isolation: isolate;
  width: fit-content;
  padding: 0.04em 0.14em 0.08em;
  margin-left: -0.14em;
  transition: color 220ms ease;
}
.feature-slide__copy h2::before,
.project-card__copy h3::before,
.poster-entry__copy h2::before,
.article-card h2::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--highlight);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--ease);
}
.feature-slide:hover .feature-slide__copy h2::before,
.feature-slide:focus-within .feature-slide__copy h2::before,
.project-card:hover .project-card__copy h3::before,
.project-card:focus-within .project-card__copy h3::before,
.poster-entry:hover .poster-entry__copy h2::before,
.poster-entry:focus-within .poster-entry__copy h2::before,
.article-card:hover h2::before,
.article-card:focus-within h2::before {
  transform: scaleX(1);
}
.project-card:hover .project-card__copy h3,
.project-card:focus-within .project-card__copy h3,
.poster-entry:hover .poster-entry__copy h2,
.poster-entry:focus-within .poster-entry__copy h2,
.article-card:hover h2,
.article-card:focus-within h2 {
  color: #fff;
}
.project-card:nth-child(even) .project-card__media { order: 2; }
.project-card__media { overflow: hidden; background: var(--surface); }
.project-card__media img { width: 100%; max-height: calc(100svh - 10rem); aspect-ratio: 16 / 10; object-fit: cover; }
.project-card__copy { padding-block: 2rem; }
.project-card__copy h3 { margin-bottom: 1.2rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 0.65rem 1.4rem; margin-bottom: 1.5rem; color: var(--muted); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

/* =====================================
   TEXT CARDS
===================================== */
.text-card-section { padding: 0 var(--gutter) var(--section); }
.text-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 8vw, 9rem);
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0.45rem 0.45rem 0 var(--highlight);
}
.text-card h2 { font-size: clamp(2rem, 3.4vw, 3.8rem); }
.text-card__body { align-self: end; }

/* =====================================
   CASE STUDY BLOCKS
===================================== */
.project-intro {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 7.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.project-intro::after { position: absolute; right: var(--gutter); bottom: 0; width: clamp(5rem, 18vw, 18rem); height: 0.35rem; background: var(--highlight); content: ""; }
.project-intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: end; }
.project-intro__title { grid-column: 1 / span 7; }
.project-intro__context { grid-column: 9 / -1; }
.project-intro h1 { max-width: 11ch; font-size: clamp(2.7rem, 4.6vw, 5.25rem); }
.project-facts { display: grid; gap: 0; margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.project-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-block: 0.7rem; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: 0.9rem; line-height: 1.35; }
.case-study { counter-reset: case-block; }
.project-block { position: relative; padding-block: clamp(4.5rem, 8vw, 8.5rem); counter-increment: case-block; }
.project-block + .project-block { border-top: 1px solid var(--line); }
.project-block[data-tone="soft"] { background: var(--surface); }
.project-block[data-tone="royal-blue"] { background: #0057ff; color: #fff; }
.project-block[data-tone="royal-blue"] .eyebrow,
.project-block[data-tone="royal-blue"] figcaption { color: #fff; }
.project-block[data-tone="royal-blue"] a:not(.block-button) { color: inherit; }
.project-block[data-tone="royal-blue"] .block-button { border-color: #fff; background: #fff; color: #101820; }
.block-copy { min-width: 0; }
.block-copy h2 { max-width: 17ch; margin-bottom: clamp(1.25rem, 2vw, 2rem); font-size: clamp(2rem, 3.2vw, 3.75rem); }
.block-copy__body { max-width: 62ch; }
.block-copy__body p:last-child { margin-bottom: 0; }
.block-text-card { background: var(--bg); }
.block-text-card[data-tone="soft"] { background: var(--surface); }
.block-text-card .shell { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.block-text-card .block-copy { display: contents; }
.block-text-card .block-copy > .eyebrow { grid-column: 1 / span 4; }
.block-text-card .block-copy > h2 { grid-column: 1 / span 5; align-self: start; }
.block-text-card .block-copy__body { grid-column: 7 / -1; grid-row: 1 / span 3; max-width: 62ch; }
.block-text-card[data-columns="2"] .block-copy__body { columns: 1; }
.block-split .shell { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.block-split .block-media { grid-column: 1 / span 7; }
.block-split .block-copy { grid-column: 9 / -1; }
.block-split[data-image-side="right"] .block-media { grid-column: 6 / -1; order: 2; }
.block-split[data-image-side="right"] .block-copy { grid-column: 1 / span 4; }
.block-media { position: relative; min-width: 0; }
.block-media img { width: 100%; max-height: 82vh; object-fit: contain; }
.block-media[data-fit="cover"] img { aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { width: 100%; margin-top: 0.8rem; padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; line-height: 1.45; }
.block-image-feature { overflow: clip; padding-inline: var(--gutter); }
.block-image-feature__inner { width: min(100%, 108rem); margin-inline: auto; }
.block-image-feature .block-media { width: 100%; }
.block-image-feature .block-media img { width: 100%; max-height: min(88vh, 64rem); }
.block-image-feature .block-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); width: min(100%, var(--content)); margin: clamp(2rem, 4vw, 4rem) auto 0; }
.block-carousel__head .block-copy { display: contents; }
.block-image-feature .block-copy > .eyebrow,
.block-image-feature .block-copy > h2 { grid-column: 1 / span 5; }
.block-image-feature .block-copy__body,
.block-image-feature .block-copy > .block-button { grid-column: 7 / -1; }
.block-image-feature[data-layout="contained"] .block-image-feature__inner { width: min(100%, var(--content)); }
.block-project-hero { padding: 0 0 clamp(4rem, 7vw, 7rem); }
.block-project-hero .block-media img { width: 100%; height: min(82vh, 62rem); max-height: none; object-fit: cover; }
.block-project-hero .block-media figcaption { width: min(calc(100% - 2 * var(--gutter)), var(--content)); margin-inline: auto; }
.block-project-hero__context { margin-top: clamp(2.5rem, 5vw, 5rem); }
.block-project-hero__context .block-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.block-project-hero__context .eyebrow,
.block-project-hero__context h2 { grid-column: 1 / span 5; }
.block-project-hero__context .block-copy__body { grid-column: 7 / -1; }
.block-carousel { overflow: clip; }
.block-carousel__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.block-carousel__head .eyebrow,
.block-carousel__head h2 { grid-column: 1 / span 5; }
.block-carousel__head .block-copy__body { grid-column: 7 / -1; grid-row: 1 / span 3; }
.media-carousel { position: relative; }
.media-carousel__track { display: flex; gap: clamp(1rem, 2vw, 2rem); overflow-x: auto; padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2)); scroll-snap-type: x mandatory; scrollbar-width: none; }
.media-carousel__track::-webkit-scrollbar { display: none; }
.media-carousel__item { flex: 0 0 min(82vw, 82rem); scroll-snap-align: center; }
.media-carousel__item img { width: 100%; height: min(76vh, 54rem); object-fit: contain; background: transparent; }
.block-carousel[data-layout="comparison"] .media-carousel__item { flex-basis: min(68vw, 66rem); }
.block-carousel[data-layout="gallery"] .media-carousel__item { flex-basis: min(48vw, 44rem); }
.block-carousel[data-layout="gallery"] .media-carousel__item img { height: min(68vh, 46rem); }
.block-carousel[data-layout="panorama"] .media-carousel__item { flex-basis: min(88vw, 94rem); }
.block-carousel[data-layout="panorama"] .media-carousel__item img { height: min(82vh, 60rem); }
.media-carousel__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.media-carousel__status { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.block-video .shell { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.block-video video { width: min(100%, 76rem); margin-inline: auto; }
.block-button { display: inline-flex; min-height: 3rem; align-items: center; width: fit-content; margin-top: 1rem; padding: 0.75rem 1.1rem; border: 1px solid var(--text); background: var(--text); color: var(--bg); text-decoration: none; }

/* =====================================
   ABOUT AND ARTICLES
===================================== */
.page-hero { position: relative; padding-block: clamp(5rem, 11vw, 10rem); border-bottom: 1px solid var(--line); background: var(--bg); }
.page-hero::after { position: absolute; right: var(--gutter); bottom: 0; width: min(22vw, 18rem); height: 0.35rem; background: var(--highlight); content: ""; }
.page-hero__grid { display: grid; grid-template-columns: 1fr minmax(18rem, 0.48fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.about-intro { padding-block: clamp(4rem, 8vw, 8rem); border-bottom: 1px solid var(--line); }
.about-intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.about-intro__copy { grid-column: 1 / span 7; }
.about-intro h1 { max-width: 12ch; margin-bottom: clamp(2rem, 5vw, 4.5rem); font-size: clamp(2.75rem, 4.8vw, 5.4rem); }
.about-copy { max-width: 62ch; }
.about-copy p { margin-bottom: 1.3em; }
.about-photo { grid-column: 9 / -1; padding: clamp(0.65rem, 1.2vw, 1rem) clamp(0.65rem, 1.2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem); background: #fff; box-shadow: 0.45rem 0.45rem 0 var(--highlight), 0 1rem 2.5rem rgb(29 31 31 / 10%); transform: rotate(1.2deg); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo figcaption { margin-top: 1rem; padding: 0; border: 0; color: var(--text); font-size: 0.82rem; text-align: center; }
.practice-section { padding-block: clamp(4rem, 8vw, 8rem); background: var(--surface); }
.practice-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.practice-grid > div { grid-column: 1 / span 4; }
.practice-grid > div p { max-width: 34ch; margin-top: 1.5rem; }
.practice-list { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.practice-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center; min-height: 5rem; border-top: 1px solid var(--line); font-family: var(--heading); font-size: clamp(1.35rem, 2vw, 2rem); }
.practice-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.practice-list li:nth-child(odd) { padding-right: 1.5rem; }
.practice-list li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.practice-list span { color: var(--highlight); font-family: var(--body); font-size: 0.72rem; font-weight: 700; }
.listening-section { padding-block: clamp(4rem, 8vw, 8rem); overflow: clip; }
.listening-layout { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.listening-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr); gap: 3rem; align-items: end; }
.listening-intro p { max-width: 36ch; margin: 0; }
.listening-group { min-width: 0; }
.listening-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--text); }
.listening-group__head h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; }
.listening-group__head span { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.listening-row { display: flex; gap: clamp(1rem, 2vw, 2rem); overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.listening-card { flex: 0 0 min(72vw, 21rem); scroll-snap-align: start; text-decoration: none; }
.listening-card__art { position: relative; display: block; overflow: hidden; background: var(--surface); }
.listening-card__art img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.84); transition: filter 320ms ease, transform 420ms var(--ease); }
.listening-card__art > span { position: absolute; right: 1rem; bottom: 1rem; padding: 0.55rem 0.75rem; background: var(--text); color: var(--bg); font-size: 0.75rem; font-weight: 700; opacity: 0; transform: translateY(0.5rem); transition: opacity 220ms ease, transform 220ms var(--ease); }
.listening-card:hover img,
.listening-card:focus-visible img { filter: saturate(1); transform: scale(1.025); }
.listening-card:hover .listening-card__art > span,
.listening-card:focus-visible .listening-card__art > span { opacity: 1; transform: none; }
.listening-card__copy { display: grid; gap: 0.2rem; padding-top: 1rem; border-top: 0 solid var(--highlight); transition: padding 220ms ease, border-width 220ms ease; }
.listening-card:hover .listening-card__copy,
.listening-card:focus-visible .listening-card__copy { padding-top: 0.75rem; border-top-width: 0.25rem; }
.listening-card__copy strong { font-size: 0.95rem; line-height: 1.3; }
.listening-card__copy small { color: var(--muted); font-size: 0.82rem; }
.q-and-a { background: var(--surface); }
.q-and-a__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.q-and-a__grid > div:first-child { grid-column: 1 / span 4; position: sticky; top: 7rem; }
.q-and-a__grid > div:first-child p { max-width: 34ch; margin-top: 1.5rem; }
.accordion { grid-column: 6 / -1; width: 100%; }
.accordion-item { border-top: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-item > button { display: flex; width: 100%; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; }
.accordion-item > button span { font-family: var(--heading); font-size: clamp(1.3rem, 1.8vw, 1.85rem); line-height: 1.15; }
.accordion-item > button b { display: grid; flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line); font-family: var(--body); font-size: 1rem; font-weight: 400; transition: transform 320ms var(--ease), background 220ms ease, color 220ms ease; }
.accordion-item.is-open > button b { background: var(--text); color: var(--bg); transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 420ms var(--ease), opacity 260ms ease; }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { max-width: 58ch; margin: 0; padding: 0 3.5rem 1.5rem 0; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; opacity: 1; }
.articles-hero { background: var(--bg); }
.featured-article { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.featured-article__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.featured-article__media { grid-column: 1 / span 7; display: block; overflow: hidden; background: var(--surface); }
.featured-article__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 650ms var(--ease); }
.featured-article__media:hover img,
.featured-article__media:focus-visible img { transform: scale(1.018); }
.featured-article__copy { grid-column: 9 / -1; }
.featured-article__copy h2 { margin: 1rem 0 1.5rem; font-size: clamp(2.2rem, 3.6vw, 4.2rem); }
.featured-article__copy h2 a { text-decoration: none; }
.featured-article__copy > p:not(.article-meta) { max-width: 48ch; }
.article-meta { margin: 0; color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.article-archive { background: var(--surface); }
.article-archive__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 6rem); padding-bottom: 1rem; border-bottom: 1px solid var(--text); }
.article-archive__head p { margin: 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem); }
.article-card { padding-top: 1.4rem; border-top: 1px solid var(--text); }
.article-card h2 { margin: 1rem 0; font-size: clamp(1.8rem, 2.8vw, 3rem); }
.article-card a { display: block; text-decoration: none; }
.article-card a > p:not(.article-meta) { max-width: 52ch; }
.article-card a > span { display: inline-block; margin-top: 1rem; border-bottom: 1px solid currentColor; font-size: 0.82rem; font-weight: 700; }
.article-empty .empty-state { margin-inline: auto; text-align: center; }
.article-hero { padding-top: clamp(4rem, 8vw, 8rem); }
.article-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: end; padding-bottom: clamp(3rem, 6vw, 6rem); }
.article-hero__grid > div { grid-column: 1 / span 8; }
.article-hero__grid > .lede { grid-column: 9 / -1; }
.article-hero h1 { max-width: 13ch; margin-top: 1rem; font-size: clamp(2.8rem, 5.4vw, 6rem); }
.article-hero__media { width: min(calc(100% - 2 * var(--gutter)), 108rem); margin-inline: auto; }
.article-hero__media img { width: 100%; max-height: 86vh; object-fit: cover; }
.article-body .block-text-card .shell { display: block; width: min(calc(100% - 2 * var(--gutter)), 48rem); }
.article-body .block-text-card .block-copy { display: block; }
.article-body .block-text-card .block-copy > * { grid-column: auto; grid-row: auto; }
.article-body .block-text-card .block-copy h2 { max-width: 15ch; }
.article-body .block-copy__body { font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.2rem); line-height: 1.72; }
.article-body .block-image-feature .block-copy { width: min(100%, 48rem); display: block; }
.article-body .block-image-feature .block-copy > * { margin-inline: 0; }
.article-body .block-list .shell,
.article-body .block-quote .shell,
.article-body .block-button .shell { width: min(calc(100% - 2 * var(--gutter)), 48rem); }
.article-end { padding-block: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.article-end .shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.article-end p { margin: 0; color: var(--muted); }

/* =====================================
   FOOTER
===================================== */
.site-footer { margin-top: var(--section); padding: clamp(4rem, 8vw, 8rem) 0 2rem; border-top: 1px solid var(--line); background: var(--text); color: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(3rem, 8vw, 9rem); }
.site-footer h2 { max-width: 14ch; font-size: clamp(2.2rem, 3.8vw, 4.25rem); }
.site-footer .eyebrow { color: #c7caca; }
.footer-email { display: inline-block; margin-top: 2rem; font-size: clamp(1.1rem, 2vw, 1.7rem); }
.footer-links { display: grid; align-content: start; gap: 0; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgb(255 255 255 / 22%); color: inherit; text-decoration: none; }
.footer-small { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem; margin-top: clamp(2rem, 5vw, 5rem); padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 22%); color: #bdb8ae; font-size: 0.75rem; }
.footer-small div { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* =====================================
   LIGHTBOX AND REVEALS
===================================== */
.reveal { opacity: 0; transform: translateY(2rem); transition: opacity 760ms var(--ease), transform 760ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.media-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
.media-open__label { position: absolute; top: 50%; left: 50%; padding: 0.7rem 1rem; background: var(--text); color: var(--bg); opacity: 0; transform: translate(-50%, -40%); transition: opacity 180ms ease, transform 180ms ease; }
.media-open:hover .media-open__label, .media-open:focus-visible .media-open__label { opacity: 1; transform: translate(-50%, -50%); }
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 5rem; background: rgb(20 19 17 / 94%); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-nav--prev { left: 1.5rem; }
.lightbox-nav--next { right: 1.5rem; }

/* =====================================
   SUPPORTING COMPONENTS
===================================== */
.media-carousel__controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
.media-carousel__controls button { display: grid; width: 3rem; height: 3rem; place-items: center; border: 1px solid var(--text); border-radius: 0; background: transparent; cursor: pointer; }
.next-project { border-top: 1px solid var(--line); }
.next-project a { position: relative; display: grid; grid-template-columns: minmax(8rem, 18rem) 1fr auto; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); min-height: 15rem; padding: var(--gutter); text-decoration: none; }
.next-project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.next-project small { display: block; margin-bottom: 0.4rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.next-project strong { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 3.25rem); font-weight: 400; }
.next-project > a > .icon-arrow { width: clamp(2rem, 5vw, 5rem); height: clamp(2rem, 5vw, 5rem); }
.contact-hero { padding-block: clamp(5rem, 11vw, 10rem); border-bottom: 1px solid var(--line); }
.contact-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: end; }
.contact-hero__title { grid-column: 1 / span 8; }
.contact-hero__title h1 { max-width: 10ch; }
.contact-hero__intro { grid-column: 9 / -1; }
.contact-availability { display: flex; gap: 0.75rem; align-items: flex-start; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--text); color: var(--muted); font-size: 0.86rem; }
.contact-availability span { flex: 0 0 0.6rem; width: 0.6rem; height: 0.6rem; margin-top: 0.42rem; background: var(--highlight); }
.contact-options { padding-block: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); background: var(--surface); }
.contact-options__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.contact-option { position: relative; min-height: 19rem; padding: clamp(1.5rem, 3vw, 3rem); background: var(--bg); box-shadow: 0 1.2rem 3rem rgb(29 31 31 / 7%); }
.contact-option::before { position: absolute; top: 0; right: 0; left: 0; height: 0.35rem; background: var(--highlight); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease); }
.contact-option:hover::before { transform: scaleX(1); }
.contact-option:nth-child(2) { background: var(--text); color: var(--bg); }
.contact-option:nth-child(2) p:last-child,
.contact-option:nth-child(2) .contact-option__number { color: #c8cccc; }
.contact-option__number { margin: 0 0 clamp(3rem, 6vw, 6rem); color: var(--muted); font-size: 0.76rem; letter-spacing: 0.1em; }
.contact-option h3 { margin-bottom: 1rem; font-size: clamp(1.55rem, 2.2vw, 2.5rem); }
.contact-option p:last-child { max-width: 34ch; margin-bottom: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-aside { grid-column: 1 / span 4; position: sticky; top: 8rem; }
.contact-aside h2 { max-width: 9ch; margin-bottom: 1.5rem; font-size: clamp(2rem, 3.2vw, 3.6rem); }
.contact-aside > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); }
.contact-direct { display: grid; gap: 0.35rem; margin-top: clamp(2rem, 5vw, 5rem); padding-top: 1rem; border-top: 1px solid var(--text); }
.contact-direct span { color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-email { width: fit-content; font-size: clamp(1.05rem, 1.5vw, 1.35rem); overflow-wrap: anywhere; }
.contact-form-wrap { grid-column: 6 / -1; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.contact-form label { display: grid; gap: 0.55rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.form-label { display: inline; }
.form-label b { font-weight: 700; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-height: 3.5rem; border: 1px solid var(--text); border-radius: 0; background: var(--bg); color: var(--text); padding: 0.9rem 1rem; }
.contact-form textarea { min-height: 13rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--highlight); outline: 3px solid color-mix(in srgb, var(--highlight) 24%, transparent); outline-offset: 0; }
.contact-form button { width: fit-content; min-height: 3rem; padding: 0.75rem 1.2rem; border: 1px solid var(--text); border-radius: 0; background: var(--text); color: var(--bg); cursor: pointer; transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.contact-form button:hover { background: var(--highlight); border-color: var(--highlight); color: #fff; transform: translateY(-2px); }
.contact-form__end { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact-form__end p { margin: 0; color: var(--muted); font-size: 0.76rem; }
.contact-section { background: var(--surface); }
.form-feedback { margin-bottom: 1.25rem; padding: 1rem; border-left: 4px solid var(--text); background: var(--bg); }
.form-feedback.is-success { border-left-color: #267348; }
.form-feedback.is-error { border-left-color: #a12d35; }
.form-honeypot { position: absolute; left: -9999px; }
.empty-state { max-width: 48rem; padding-block: 2rem; border-top: 1px solid var(--text); }
.empty-state h2 { margin-bottom: 1rem; }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1.5rem; }
.block-list ul { columns: 2; gap: 3rem; }
.block-quote { margin: 0; }
.block-quote p { max-width: 28ch; font-family: var(--heading); font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1.08; }
.poster-hero { background: var(--bg); background-image: none; }
.poster-list { width: 100%; }
.poster-entry {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  min-height: min(58rem, calc(100svh - 5.25rem));
  padding: var(--section) max(var(--gutter), calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
}
.poster-entry:nth-child(even) { background: var(--surface); }
.poster-entry__media { grid-column: 1 / span 7; width: 100%; min-width: 0; }
.poster-entry__copy { grid-column: 9 / -1; max-width: 38rem; }
.poster-entry:nth-child(even) .poster-entry__media { grid-column: 6 / -1; order: 2; }
.poster-entry:nth-child(even) .poster-entry__copy { grid-column: 1 / span 4; }
.poster-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; cursor: zoom-in; }
.poster-open img { width: 100%; height: min(74vh, 52rem); border-radius: 0; object-fit: contain; }
.poster-open .media-open__label { pointer-events: none; }
.poster-open:hover .media-open__label,
.poster-open:focus-visible .media-open__label { opacity: 1; transform: translate(-50%, -50%); }
.poster-entry__media figcaption { width: 100%; text-align: center; }
.poster-number { margin: 0 0 clamp(2rem, 5vw, 5rem); color: var(--highlight); font-family: var(--heading); font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; }
.poster-entry__copy h2 { margin-bottom: 1rem; }
.poster-status { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.poster-description { max-width: 58ch; }
.lightbox-media { display: grid; max-width: calc(100vw - 10rem); max-height: calc(100vh - 7rem); place-items: center; }
.lightbox-media img { grid-area: 1 / 1; }
.lightbox-flip { position: absolute; bottom: 1.5rem; left: 50%; min-height: 3rem; padding: 0.7rem 1rem; border: 1px solid #fff; border-radius: 0; background: #fff; color: #1d1f1f; cursor: pointer; transform: translateX(-50%); }
.legal-copy { width: min(calc(100% - 2 * var(--gutter)), var(--reading)); margin-inline: auto; }
.legal-copy h2 { margin: 3rem 0 1rem; font-size: clamp(1.8rem, 3vw, 3rem); }

/* =====================================
   RESPONSIVE LAYOUTS
===================================== */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; min-width: 3rem; min-height: 3rem; cursor: pointer; }
  .menu-toggle__line { display: block; width: 1.5rem; height: 1px; margin: 0.42rem auto; background: currentColor; transition: transform 200ms ease; }
  .is-menu-open .menu-toggle__line:first-child { transform: translateY(0.22rem) rotate(45deg); }
  .is-menu-open .menu-toggle__line:nth-child(2) { transform: translateY(-0.22rem) rotate(-45deg); }
  .site-nav { position: fixed; inset: 5.25rem 0 auto; display: grid; gap: 0; padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); background: var(--bg); opacity: 0; pointer-events: none; transform: translateY(-1rem); transition: 240ms var(--ease); }
  .site-header.is-menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--heading); font-size: 1.55rem; }
  .nav-cv { display: none; }
  .home-hero__grid, .section-heading, .page-hero__grid, .text-card, .about-profile { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card { align-content: center; gap: 1.25rem; min-height: calc(100svh - 5.25rem - var(--stage-offset)); padding-block: 1.5rem; }
  .project-card:nth-child(even) .project-card__media { order: 0; }
  .project-card__media img { max-height: 46svh; aspect-ratio: 16 / 9; }
  .project-card__copy { padding-block: 0.5rem; }
  .project-intro__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .project-intro__title { grid-column: 1 / span 5; }
  .project-intro__context { grid-column: 6 / -1; }
  .block-text-card .shell,
  .block-split .shell,
  .block-image-feature .block-copy,
  .block-project-hero__context .block-copy,
  .block-carousel__head { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .block-text-card .block-copy > .eyebrow,
  .block-text-card .block-copy > h2,
  .block-image-feature .block-copy > .eyebrow,
  .block-image-feature .block-copy > h2,
  .block-project-hero__context .eyebrow,
  .block-project-hero__context h2,
  .block-carousel__head .eyebrow,
  .block-carousel__head h2 { grid-column: 1 / span 3; }
  .block-text-card .block-copy__body,
  .block-image-feature .block-copy__body,
  .block-image-feature .block-copy > .block-button,
  .block-project-hero__context .block-copy__body,
  .block-carousel__head .block-copy__body { grid-column: 4 / -1; }
  .block-split .block-media { grid-column: 1 / span 4; }
  .block-split .block-copy { grid-column: 5 / -1; }
  .block-split[data-image-side="right"] .block-media { grid-column: 5 / -1; order: 2; }
  .block-split[data-image-side="right"] .block-copy { grid-column: 1 / span 4; }
  .about-intro__grid,
  .practice-grid,
  .q-and-a__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .about-intro__copy { grid-column: 1 / span 5; }
  .about-photo { grid-column: 6 / -1; }
  .practice-grid > div,
  .q-and-a__grid > div:first-child { grid-column: 1 / span 3; }
  .practice-list,
  .accordion { grid-column: 4 / -1; }
  .featured-article__grid,
  .article-hero__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .featured-article__media { grid-column: 1 / span 5; }
  .featured-article__copy { grid-column: 6 / -1; }
  .article-hero__grid > div { grid-column: 1 / span 5; }
  .article-hero__grid > .lede { grid-column: 6 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-hero__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .contact-hero__title { grid-column: 1 / span 5; }
  .contact-hero__intro { grid-column: 6 / -1; }
  .contact-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .contact-aside { grid-column: 1 / span 3; }
  .contact-form-wrap { grid-column: 4 / -1; }
  .poster-entry { grid-template-columns: 1fr; }
  .poster-entry__media,
  .poster-entry__copy,
  .poster-entry:nth-child(even) .poster-entry__media,
  .poster-entry:nth-child(even) .poster-entry__copy { grid-column: 1; }
  .poster-entry:nth-child(even) .poster-entry__media { order: 0; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .feature-slide, .feature-slide img { min-height: 36rem; height: 72vh; }
  .feature-slide__copy { bottom: 6rem; }
  .carousel-controls { right: auto; bottom: 1.5rem; left: var(--gutter); }
  .block-text-card[data-columns="2"] .block-copy__body { columns: 1; }
  .project-intro { padding-block: 3.25rem; }
  .project-intro__grid,
  .block-text-card .shell,
  .block-split .shell,
  .block-image-feature .block-copy,
  .block-project-hero__context .block-copy,
  .block-carousel__head { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .project-intro__title,
  .project-intro__context,
  .block-text-card .block-copy > .eyebrow,
  .block-text-card .block-copy > h2,
  .block-text-card .block-copy__body,
  .block-split .block-media,
  .block-split .block-copy,
  .block-split[data-image-side="right"] .block-media,
  .block-split[data-image-side="right"] .block-copy,
  .block-image-feature .block-copy > .eyebrow,
  .block-image-feature .block-copy > h2,
  .block-image-feature .block-copy__body,
  .block-image-feature .block-copy > .block-button,
  .block-project-hero__context .eyebrow,
  .block-project-hero__context h2,
  .block-project-hero__context .block-copy__body,
  .block-carousel__head .eyebrow,
  .block-carousel__head h2,
  .block-carousel__head .block-copy__body { grid-column: 1; grid-row: auto; }
  .block-split[data-image-side="right"] .block-media { order: 0; }
  .project-facts { margin-top: 2rem; }
  .block-project-hero .block-media img { height: auto; max-height: none; }
  .block-media[data-fit="cover"] img { aspect-ratio: auto; object-fit: contain; }
  .block-image-feature { padding-inline: var(--gutter); }
  .block-image-feature .block-media img { max-height: none; }
  .media-carousel__item { flex-basis: calc(100vw - 2 * var(--gutter)); }
  .block-carousel[data-layout="comparison"] .media-carousel__item,
  .block-carousel[data-layout="gallery"] .media-carousel__item,
  .block-carousel[data-layout="panorama"] .media-carousel__item { flex-basis: calc(100vw - 2 * var(--gutter)); }
  .media-carousel__item img { height: auto; max-height: 72vh; }
  .about-intro__grid,
  .practice-grid,
  .q-and-a__grid,
  .listening-intro { grid-template-columns: 1fr; }
  .about-intro__copy,
  .about-photo,
  .practice-grid > div,
  .q-and-a__grid > div:first-child,
  .practice-list,
  .accordion { grid-column: 1; }
  .about-photo { width: min(92%, 26rem); margin: 1rem auto 0; transform: rotate(0.8deg); }
  .practice-list { grid-template-columns: 1fr; }
  .practice-list li,
  .practice-list li:nth-child(odd),
  .practice-list li:nth-child(even) { padding-inline: 0; border-right: 0; border-left: 0; }
  .practice-list li:nth-last-child(-n + 2) { border-bottom: 0; }
  .practice-list li:last-child { border-bottom: 1px solid var(--line); }
  .listening-intro { gap: 1.25rem; }
  .q-and-a__grid > div:first-child { position: static; }
  .accordion-panel p { padding-right: 0; }
  .article-grid { grid-template-columns: 1fr; }
  .featured-article__grid,
  .article-hero__grid { grid-template-columns: 1fr; }
  .featured-article__media,
  .featured-article__copy,
  .article-hero__grid > div,
  .article-hero__grid > .lede { grid-column: 1; }
  .featured-article__copy { padding-top: 1rem; }
  .article-hero__media img { max-height: none; object-fit: contain; }
  .article-end .shell { align-items: flex-start; flex-direction: column; }
  .footer-small { flex-direction: column; }
  .lightbox { padding: 4.5rem 1rem 1rem; }
  .lightbox-media { max-width: calc(100vw - 2rem); max-height: calc(100vh - 6rem); }
  .lightbox-nav { top: auto; bottom: 1rem; transform: none; }
  .next-project a { grid-template-columns: 7rem 1fr; }
  .next-project > a > .icon-arrow { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .contact-hero__grid,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero__title,
  .contact-hero__intro,
  .contact-aside,
  .contact-form-wrap { grid-column: 1; }
  .contact-hero__intro { padding-top: 2rem; }
  .contact-options__grid { grid-template-columns: 1fr; }
  .contact-option { min-height: auto; }
  .contact-option__number { margin-bottom: 2rem; }
  .contact-aside { position: static; }
  .contact-form__end { align-items: flex-start; flex-direction: column; }
  .block-list ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .project-card { position: relative; top: auto; min-height: auto; opacity: 1; transform: none; }
}
