:root {
  --paper: #ffffff;
  --paper-deep: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #e5e5e5;
  --accent: #3d46c7;
  --dark: #101114;
  --dark-muted: #9b9ca3;
  --gutter: clamp(1rem, 3vw, 3.5rem);
  --section: clamp(5rem, 10vw, 10rem);
  --type-page: clamp(2.25rem, 3.2vw, 2.75rem);
  --type-section: clamp(1.625rem, 2.15vw, 1.875rem);
  --type-project: clamp(1.75rem, 2.55vw, 2.25rem);
  --type-body: clamp(1rem, 1.05vw, 1.125rem);
  --type-small: clamp(0.8125rem, 0.85vw, 0.875rem);
  --display: var(--type-page);
  --h1: var(--type-page);
  --h2: var(--type-section);
  --h3: var(--type-body);
  --body: var(--type-body);
  --small: var(--type-small);
  --max: 1600px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea { font: inherit; }

button { color: inherit; }

::selection {
  background: var(--accent);
  color: white;
}

.shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 4.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand span {
  color: var(--muted);
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.8rem);
  font-size: 0.86rem;
}

.site-nav a,
.text-link {
  position: relative;
}

.site-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.2rem;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.text-link:hover::after { right: 0; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.65rem;
  margin-right: -0.65rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.4rem;
  height: 1px;
  margin: 0.3rem 0;
  background: currentColor;
}

.eyebrow,
.meta-label,
.kicker {
  margin: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.4;
  text-transform: none;
}

.display,
h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3,
.display {
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.display { font-size: var(--display); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

.lede {
  max-width: 52rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.1vw, 2.05rem);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.copy {
  max-width: 44rem;
  color: var(--muted);
}

.hero {
  min-height: calc(100svh - 4.3rem);
  display: grid;
  align-content: space-between;
  padding-block: clamp(2.5rem, 6vw, 6rem) 2rem;
}

.hero__title {
  max-width: 14ch;
  margin: 0;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  gap: 2rem;
  align-items: end;
  padding-top: 5rem;
}

.hero__focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1.5rem;
  align-self: end;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__focus span {
  border-top: 1px solid var(--line);
  padding-block: 0.6rem;
}

.section {
  padding-block: var(--section);
}

.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 6rem);
}

.section-head h2 { max-width: 15ch; }

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.55fr);
  gap: var(--gutter);
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 68vw, 58rem);
  background: #f5f5f5;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-card__media img { transform: scale(1.015); }

.project-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-top: 1rem;
}

.project-card__body h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 2.5vw, 2.7rem);
}

.project-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-card--archive .project-card__media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(28rem, 68vw, 58rem);
  padding: clamp(1.25rem, 2.5vw, 2.6rem);
  background: var(--dark);
  color: white;
}

.archive-list {
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.archive-list span {
  border-top: 1px solid rgba(255,255,255,0.24);
  padding-block: 0.85rem;
  color: #d7d7d8;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.statement-grid,
.about-preview {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 7vw, 8rem);
}

.statement-grid__text {
  font-size: clamp(1.65rem, 3.6vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.about-preview__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.data-pair {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.data-pair p { margin: 0.35rem 0 0; }

.page-intro {
  padding-block: clamp(4rem, 10vw, 9rem);
}

.page-intro h1 {
  max-width: 15ch;
  margin-bottom: clamp(2rem, 6vw, 5rem);
}

.page-intro__grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 2rem;
}

.work-index {
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 0.22fr 0.95fr 1.15fr 0.28fr;
  gap: 1rem;
  align-items: center;
  min-height: 9rem;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.work-row:hover {
  padding-inline: 1rem;
  background: var(--paper-deep);
}

.work-row h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3.8rem);
}

.work-row p {
  margin: 0;
  color: var(--muted);
}

.work-row__arrow {
  justify-self: end;
  font-size: 1.5rem;
}

.case-hero {
  padding-block: clamp(3rem, 8vw, 8rem) 3rem;
}

.case-hero__top {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 2rem;
}

.case-hero h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
}

.case-hero__subtitle {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 7rem);
}

.case-meta > div {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.case-meta p { margin: 0.4rem 0 0; }

.hero-stage {
  display: grid;
  min-height: min(88svh, 64rem);
  place-items: center;
  overflow: hidden;
  background: #f5f5f5;
}

.hero-stage img {
  width: min(42rem, 72vw);
  max-height: 82svh;
  object-fit: contain;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.case-toc {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0;
}

.case-toc a {
  border-top: 1px solid var(--line);
  padding-block: 0.65rem;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-toc a.is-active,
.case-toc a:hover { color: var(--ink); }

.case-section {
  scroll-margin-top: 7rem;
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.case-section:first-child { padding-top: 0; border-top: 0; }

.case-section__head {
  display: grid;
  grid-template-columns: 0.36fr 1.64fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.case-section__head h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
}

.body-copy {
  max-width: 47rem;
  color: #343632;
}

.body-copy p { margin-bottom: 1.35rem; }

.pullquote {
  margin: clamp(3rem, 7vw, 7rem) 0;
  font-size: clamp(2rem, 4.6vw, 5.1rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.research-grid,
.principle-grid,
.category-grid,
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.research-card,
.principle-card,
.category-card,
.skill-card {
  min-height: 14rem;
  padding: clamp(1.2rem, 2.5vw, 2.25rem);
  background: var(--paper);
}

.research-card h3,
.principle-card h3,
.category-card h3,
.skill-card h3 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.research-card p,
.principle-card p,
.category-card p,
.skill-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.research-card a { text-decoration: underline; text-underline-offset: 0.2rem; }

.method-list,
.timeline,
.experience-list {
  border-top: 1px solid var(--line);
}

.method-row,
.timeline-row,
.experience-row {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.method-row h3,
.timeline-row h3,
.experience-row h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.method-row p,
.timeline-row p,
.experience-row p { color: var(--muted); }

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow__step {
  min-height: 11rem;
  padding: 1.2rem;
  background: var(--ink);
  color: white;
}

.flow__step span {
  color: #969892;
  font-family: inherit;
  font-size: 0.7rem;
}

.flow__step p {
  margin-top: 3.5rem;
  font-size: 1.15rem;
}

.media-stage {
  display: grid;
  place-items: center;
  min-height: min(86svh, 62rem);
  margin-block: 2rem;
  padding: clamp(1rem, 4vw, 4rem);
  background: #f5f5f5;
}

.media-stage img {
  max-height: 78svh;
  object-fit: contain;
  cursor: zoom-in;
}

.media-pair,
.media-triptych {
  display: grid;
  gap: 1px;
  margin-block: 2rem;
  background: var(--line);
}

.media-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.media-pair figure,
.media-triptych figure {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  background: #f5f5f5;
}

.media-pair img,
.media-triptych img {
  max-height: 72svh;
  object-fit: contain;
  cursor: zoom-in;
}

figcaption {
  width: 100%;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.dark-panel {
  margin-inline: calc(var(--gutter) * -1);
  padding: var(--section) var(--gutter);
  background: var(--dark);
  color: white;
}

.dark-panel .eyebrow,
.dark-panel .copy { color: var(--dark-muted); }

.about-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(2rem, 7vw, 8rem);
}

.about-grid + .about-grid { margin-top: var(--section); }

.about-copy {
  max-width: 50rem;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.about-copy p + p { color: var(--muted); }

.interest-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.interest-list div {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.interest-list p { margin: 0; color: var(--muted); }

.resume-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.resume-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.resume-section__grid {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 2rem;
}

.experience-row__detail ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.contact-page {
  min-height: calc(100svh - 4.3rem);
  display: grid;
  align-content: space-between;
  padding-block: clamp(4rem, 10vw, 9rem) 2rem;
}

.contact-page h1 { max-width: 13ch; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 5rem;
}

.contact-note {
  max-width: 38rem;
  color: var(--muted);
}

.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding-block: 1.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.next-project {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 2rem;
  align-items: end;
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}

.next-project h2 { margin: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 13, 12, 0.94);
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: min(94vw, 1200px);
  max-height: 92vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: white;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

/* Editorial homepage */
.home-page { background: #ffffff; }

.home-header {
  background: rgba(255, 255, 255, 0.9);
}

.home-hero {
  min-height: calc(100svh - 4.3rem);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding-block: clamp(1.5rem, 3vw, 3rem) 1.2rem;
}

.home-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.home-hero__meta p:last-child { text-align: right; }

.home-hero__name {
  align-self: center;
  display: grid;
  margin: clamp(2rem, 4vw, 4rem) 0;
  font-size: clamp(5rem, 15.2vw, 16rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.72;
}

.home-hero__name span:last-child {
  justify-self: end;
  padding-right: 0.055em;
}

.home-hero__statement {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: end;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.home-hero__role {
  grid-column: 1 / span 3;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  letter-spacing: -0.045em;
}

.home-hero__statement > div { grid-column: 7 / -1; }

.home-hero__statement h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4.2vw, 5rem);
}

.home-hero__statement > div > p {
  max-width: 37rem;
  margin-bottom: 0;
  color: var(--muted);
}

.home-hero__next {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-family: inherit;
  font-size: var(--small);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-work { padding-block: clamp(5rem, 10vw, 10rem); }

.home-section-label {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  margin-bottom: clamp(4rem, 9vw, 9rem);
}

.home-section-label .eyebrow { grid-column: 1 / span 3; }

.home-section-label > p:last-child {
  grid-column: 7 / -1;
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
}

.featured-project {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}

.featured-project + .featured-project {
  margin-top: clamp(8rem, 16vw, 16rem);
}

.featured-project__media {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

.featured-project__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}

.featured-project__media:hover img {
  transform: scale(1.012);
  filter: contrast(1.02);
}

.featured-project--music .featured-project__media--portrait {
  grid-column: 1 / span 6;
  aspect-ratio: 0.74;
}

.featured-project--music .featured-project__info {
  grid-column: 8 / -1;
  align-self: end;
  padding-bottom: clamp(1rem, 5vw, 5rem);
}

.featured-project__info h2 {
  max-width: 11ch;
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.7rem, 6.3vw, 7rem);
}

.featured-project__info > p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--muted);
}

.project-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 2.5rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  transition: padding 180ms ease;
}

.project-link:hover { padding-inline: 0.6rem; }

.featured-project__collage {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: end;
}

.featured-project__media--landscape {
  grid-column: 1 / span 9;
  aspect-ratio: 16 / 9;
}

.featured-project__media--detail {
  grid-column: 10 / -1;
  aspect-ratio: 0.6;
}

.featured-project__info--spatial {
  grid-column: 5 / span 7;
  margin-top: clamp(2.5rem, 6vw, 6rem);
}

.home-about,
.home-contact {
  padding-block: clamp(6rem, 12vw, 12rem);
  border-top: 1px solid var(--line);
}

.home-about__grid,
.home-contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.home-about__grid h2 {
  grid-column: 1 / span 7;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6.7vw, 7.5rem);
}

.home-about__grid > div {
  grid-column: 9 / -1;
  align-self: end;
}

.home-about__grid > div > p { color: var(--muted); }

.home-contact__grid {
  align-items: end;
  margin-top: clamp(2rem, 5vw, 5rem);
}

.home-contact__grid h2 {
  grid-column: 1 / span 9;
  max-width: 14ch;
}

.home-contact__grid .project-link { grid-column: 10 / -1; }

.home-footer { margin-top: 0; }

@keyframes homeEnter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero__meta,
.home-hero__name,
.home-hero__statement {
  animation: homeEnter 650ms both cubic-bezier(.2,.7,.2,1);
}

.home-hero__name { animation-delay: 70ms; }
.home-hero__statement { animation-delay: 140ms; }

/* Spatial project archive */
.archive-hero {
  padding-block: clamp(4rem, 9vw, 9rem) clamp(3rem, 7vw, 7rem);
}

.archive-hero h1 {
  max-width: 13ch;
  margin: 1.5rem 0 2rem;
}

.archive-hero__intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: end;
}

.project-collection {
  display: grid;
  gap: clamp(4rem, 9vw, 9rem);
}

.collection-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.collection-heading h2 { max-width: 12ch; }

.spatial-project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.spatial-card {
  grid-column: span 6;
  min-width: 0;
}

.spatial-card--wide { grid-column: span 8; }
.spatial-card--narrow { grid-column: span 4; }

.spatial-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #deded8;
}

.spatial-card--portrait .spatial-card__media { aspect-ratio: 3 / 4; }

.spatial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.spatial-card:hover .spatial-card__media img { transform: scale(1.018); }

.spatial-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.spatial-card__body h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.35rem, 2.3vw, 2.7rem);
}

.spatial-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.image-hero {
  position: relative;
  min-height: min(82svh, 62rem);
  overflow: hidden;
  background: #d8d8d2;
}

.image-hero img {
  width: 100%;
  height: min(82svh, 62rem);
  object-fit: cover;
}

.image-hero--contain img { object-fit: contain; }

.project-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: var(--section);
}

.project-intro__copy {
  max-width: 49rem;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.project-intro__copy p:last-child { color: var(--muted); }

.project-gallery {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #deded8;
}

.project-gallery img {
  width: 100%;
  max-height: 88svh;
  object-fit: contain;
  cursor: zoom-in;
}

.project-gallery--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery--two figure:nth-child(3n) { grid-column: 1 / -1; }

.video-stage {
  padding: clamp(1rem, 3vw, 3rem);
  background: var(--dark);
}

.video-stage video {
  display: block;
  width: 100%;
  max-height: 88svh;
  background: #000;
}

.document-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: var(--gutter);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
}

.document-card h3 { max-width: 12ch; }
.document-card p { color: var(--muted); }

.project-card--spatial .project-card__media img { object-fit: cover; }

.lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 4.3rem 0 auto;
    display: none;
    padding: 1.5rem var(--gutter) 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    font-size: 1.4rem;
  }

  .site-nav.is-open { display: flex; }

  .hero__bottom,
  .section-head,
  .statement-grid,
  .about-preview,
  .page-intro__grid,
  .case-hero__top,
  .case-layout,
  .case-section__head,
  .about-grid,
  .resume-section__grid,
  .next-project,
  .archive-hero__intro,
  .collection-heading,
  .project-intro,
  .document-card {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 82svh; }
  .hero__bottom { padding-top: 3rem; }
  .project-grid { grid-template-columns: 1fr; }

  .project-card__media,
  .project-card--archive .project-card__media { min-height: min(78svh, 44rem); }

  .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .case-toc {
    position: sticky;
    top: 4.3rem;
    z-index: 20;
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(15px);
  }

  .case-toc a {
    flex: 0 0 auto;
    border-top: 0;
    padding-block: 0.85rem;
  }

  .work-row {
    grid-template-columns: 0.25fr 1fr auto;
    min-height: 8rem;
  }

  .work-row p { display: none; }

  .flow { grid-template-columns: 1fr; }
  .flow__step { min-height: 7rem; }
  .flow__step p { margin-top: 1.8rem; }
  .media-triptych { grid-template-columns: 1fr; }
  .spatial-card,
  .spatial-card--wide,
  .spatial-card--narrow { grid-column: 1 / -1; }

  .home-hero { min-height: calc(92svh - 4.3rem); }
  .home-hero__name { font-size: clamp(4.7rem, 18vw, 10rem); }
  .home-hero__role { grid-column: 1 / span 4; }
  .home-hero__statement > div { grid-column: 6 / -1; }
  .featured-project--music .featured-project__media--portrait { grid-column: 1 / span 7; }
  .featured-project--music .featured-project__info { grid-column: 8 / -1; }
  .featured-project__media--landscape { grid-column: 1 / span 9; }
  .featured-project__media--detail { grid-column: 10 / -1; }
  .featured-project__info--spatial { grid-column: 4 / span 8; }
  .home-about__grid h2 { grid-column: 1 / span 8; }
  .home-about__grid > div { grid-column: 9 / -1; }
}

@media (max-width: 620px) {
  :root { --gutter: 1rem; }

  .hero__focus,
  .about-preview__meta,
  .research-grid,
  .principle-grid,
  .category-grid,
  .skill-grid,
  .media-pair,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .case-meta { grid-template-columns: 1fr; }
  .project-card__body { grid-template-columns: 1fr; }
  .method-row,
  .timeline-row,
  .experience-row,
  .interest-list div { grid-template-columns: 1fr; gap: 0.75rem; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero-stage img { width: 88vw; }
  .media-stage { min-height: auto; padding: 1rem; }
  .media-stage img { max-height: none; }
  .project-gallery--two { grid-template-columns: 1fr; }
  .project-gallery--two figure:nth-child(3n) { grid-column: auto; }
  .image-hero,
  .image-hero img { min-height: 0; height: auto; }

  .home-hero {
    min-height: calc(100svh - 4.3rem);
    grid-template-rows: auto auto 1fr auto;
  }

  .home-hero__meta p:last-child { text-align: left; }
  .home-hero__name { margin-block: 3.5rem; font-size: clamp(4.6rem, 23vw, 8rem); }
  .home-hero__name span:last-child { justify-self: start; }
  .home-hero__statement { align-items: start; }
  .home-hero__role,
  .home-hero__statement > div,
  .home-section-label .eyebrow,
  .home-section-label > p:last-child,
  .featured-project--music .featured-project__media--portrait,
  .featured-project--music .featured-project__info,
  .featured-project__collage,
  .featured-project__media--landscape,
  .featured-project__media--detail,
  .featured-project__info--spatial,
  .home-about__grid h2,
  .home-about__grid > div,
  .home-contact__grid h2,
  .home-contact__grid .project-link {
    grid-column: 1 / -1;
  }

  .home-hero__role { margin-bottom: 2rem; }
  .home-hero__statement h2 { font-size: clamp(2rem, 11vw, 3.5rem); }
  .home-section-label { gap: 1rem; margin-bottom: 3.5rem; }
  .featured-project { gap: 1.5rem; }
  .featured-project__info { padding-bottom: 0; }
  .featured-project__info h2 { margin-top: 0.8rem; font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .featured-project__collage { gap: 0.7rem; }
  .featured-project__media--landscape { aspect-ratio: 16 / 10; }
  .featured-project__media--detail { width: 58%; aspect-ratio: 0.68; margin: -1.5rem 0 0 auto; }
  .featured-project + .featured-project { margin-top: 8rem; }
  .featured-project__info--spatial { margin-top: 1rem; }
  .home-about__grid,
  .home-contact__grid { gap: 2rem; }
  .home-about__grid h2 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
}

/* Text portfolio index and real-work preview */
.home-index-page { min-height: 100vh; }

.portfolio-index {
  min-height: calc(100vh - 8.5rem);
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 8rem);
}

.portfolio-index__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.portfolio-index__head > .eyebrow { grid-column: 1 / span 3; }
.portfolio-index__head > div { grid-column: 4 / span 6; }
.portfolio-index__head h1 { margin: 0 0 0.8rem; font-size: var(--type-page); line-height: 1.02; letter-spacing: -0.04em; }
.portfolio-index__head p:last-child { max-width: 38ch; margin: 0; color: var(--muted); }

.work-list {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.work-list__rows { border-top: 1px solid var(--line); }

.index-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: clamp(8rem, 12vw, 10.5rem);
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.index-row__number,
.index-row__main small { color: var(--muted); font-size: var(--type-small); }
.index-row__main { display: grid; gap: 0.65rem; }
.index-row__main strong { font-size: var(--type-project); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.index-row__arrow { font-size: 1.2rem; transition: transform 220ms ease; }
.index-row:hover .index-row__arrow,
.index-row:focus-visible .index-row__arrow { transform: translate(0.2rem, -0.2rem); }
.index-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.index-row__mobile-image { display: none; }

.mask-preview {
  position: sticky;
  top: 7rem;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
}

.mask-preview__layer {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 560ms cubic-bezier(.2,.75,.25,1), opacity 380ms ease;
  will-change: clip-path, opacity;
}

.mask-preview__layer.is-active { opacity: 1; clip-path: inset(0); }
.mask-preview__layer img { width: 100%; height: 100%; object-fit: contain; }

.index-footer { border-top: 1px solid var(--line); }

/* Direction landing pages */
.direction-projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 5rem) 1rem;
  padding-bottom: var(--section);
}

.direction-project { grid-column: span 6; }
.direction-project:first-child:last-child { grid-column: 3 / span 8; }
.direction-project > img { width: 100%; height: auto; margin-bottom: 1.25rem; background: #f7f7f7; transition: transform 420ms ease; }
.direction-project:hover > img { transform: scale(1.008); }
.direction-project__media { margin-bottom: 1.25rem; overflow: hidden; background: #f7f7f7; }
.direction-project__media img { width: 100%; height: auto; transition: transform 420ms ease; }
.direction-project:hover .direction-project__media img { transform: scale(1.015); }
.direction-project h2 { margin: 0 0 0.45rem; font-size: var(--type-section); line-height: 1.12; letter-spacing: -0.03em; }
.direction-project p { margin: 0; color: var(--muted); }

/* Profile photographs */
.profile-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  margin-block: clamp(2.5rem, 5vw, 5rem);
}
.profile-visual figure { margin: 0; }
.profile-visual img { width: 100%; height: auto; }
.profile-visual figcaption { margin-top: 0.7rem; color: var(--muted); font-size: var(--type-small); }

/* Framework and missing asset management */
.interaction-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.interaction-step { margin: 0; min-width: 0; }
.interaction-step img { width: 100%; height: auto; background: #f7f7f7; }
.interaction-step figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.7rem; padding-top: 1rem; }
.interaction-step figcaption span { grid-row: 1 / span 2; color: var(--muted); font-size: var(--type-small); }
.interaction-step figcaption strong { font-size: var(--type-body); font-weight: 600; }
.interaction-step figcaption p { grid-column: 2; margin: 0; color: var(--muted); font-size: var(--type-small); }
.memory-outcome { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.memory-outcome p { margin: 0; }
.memory-outcome p:last-child { max-width: 56ch; }

.asset-placeholder-grid,
.video-reservations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 4rem); }
.asset-placeholder-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.asset-placeholder {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: 1.5rem;
  border: 1px dashed #dadada;
  background: #f7f7f7;
  color: var(--muted);
  text-align: center;
}
.asset-placeholder-grid .asset-placeholder,
.video-reservations .asset-placeholder { margin-top: 0; }
.asset-placeholder strong { color: #555; font-size: var(--type-small); font-weight: 600; }
.asset-placeholder span { font-size: var(--type-small); }
.asset-placeholder--landscape { aspect-ratio: 16 / 10; }
.asset-placeholder--wide { aspect-ratio: 16 / 7; }
.asset-placeholder--video { aspect-ratio: 16 / 9; }

@media (max-width: 1100px) {
  .interaction-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .portfolio-index__head > .eyebrow { grid-column: 1 / span 3; }
  .portfolio-index__head > div { grid-column: 4 / -1; }
  .work-list { grid-template-columns: 1fr; }
  .mask-preview { display: none; }
  .index-row { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .index-row__mobile-image { display: block; grid-column: 2 / -1; width: 100%; height: auto; margin-top: 0.5rem; }
  .direction-project { grid-column: span 12; }
  .direction-project:first-child:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .portfolio-index { padding-block: 2.75rem 4rem; }
  .portfolio-index__head { display: block; margin-bottom: 2.5rem; }
  .portfolio-index__head > .eyebrow { margin-bottom: 1.5rem; }
  .portfolio-index__head h1 { margin-bottom: 0.65rem; }
  .index-row { grid-template-columns: 2rem minmax(0, 1fr) auto; min-height: 0; padding-block: 1.5rem; }
  .index-row__main strong { font-size: var(--type-section); }
  .index-row__mobile-image { grid-column: 1 / -1; }
  .profile-visual { grid-template-columns: 1fr; }
  .interaction-path {
    display: flex;
    width: calc(100% + var(--gutter));
    padding-right: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .interaction-path::-webkit-scrollbar { display: none; }
  .interaction-step { flex: 0 0 84%; scroll-snap-align: start; }
  .memory-outcome { grid-template-columns: 1fr; }
  .asset-placeholder-grid,
  .video-reservations { grid-template-columns: 1fr; }
  .asset-placeholder-grid > :last-child:nth-child(odd) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .home-hero__meta,
  .home-hero__name,
  .home-hero__statement { animation: none; }
}

/* 2026 visual system and responsive media layouts */
.site-header { background: rgba(255, 255, 255, 0.9); }
.media-stage { min-height: 0; padding: clamp(1rem, 3vw, 3rem); background: #f5f5f5; }
.media-stage img { width: auto; max-width: 100%; max-height: 78svh; }

.home-hero {
  min-height: clamp(28rem, 56svh, 38rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(3rem, 6vw, 6rem) 1.35rem;
}

.home-hero__kicker { color: var(--muted); }

.home-hero__composition {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: end;
  margin-block: clamp(3rem, 8vw, 7rem);
}

.home-hero__name {
  grid-column: 1 / span 6;
  display: block;
  margin: 0;
  font-size: clamp(4.5rem, 9.5vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.home-hero__position {
  grid-column: 7 / -1;
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 4.75rem);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.home-hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.home-hero__footer p { margin: 0; }
.home-hero__footer a { display: flex; gap: 0.8rem; color: var(--ink); }

.home-work {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 8rem);
}

.home-work > *:not(.ambient-background) { position: relative; z-index: 2; }
.home-work .home-section-label { margin-bottom: clamp(3rem, 6vw, 6rem); }
.home-work .home-section-label .eyebrow { grid-column: 1 / -1; }

.ambient-background {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  overflow: hidden;
  pointer-events: none;
  background: #fff;
}

.ambient-layer {
  position: absolute;
  inset: -7rem;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: blur(82px) saturate(0.8);
  transform: scale(1.16);
  transition: opacity 620ms ease;
  will-change: opacity;
}

.ambient-layer.is-visible { opacity: 0.34; }
.ambient-wash { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.78); }

.featured-project__media { background: #f5f5f5; }
.featured-project__media img { position: relative; z-index: 1; }

.experience-feature {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 5rem);
}

.experience-feature figure,
.sequence-slide,
.experience-final,
.tablet-views figure { margin: 0; }

.experience-feature figure { max-width: 38rem; justify-self: center; }
.experience-feature img { width: 100%; height: auto; }
.experience-feature__copy h3 { max-width: 15ch; margin: 1rem 0 1.4rem; font-size: clamp(2rem, 3.6vw, 4.2rem); }
.experience-feature__copy p:last-child { max-width: 36rem; color: var(--muted); }

.sequence-gallery { margin-top: clamp(4rem, 8vw, 8rem); }
.sequence-gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.sequence-gallery__head h3 { margin: 0.6rem 0 0; font-size: clamp(1.7rem, 2.6vw, 3rem); }
.sequence-gallery__controls { display: flex; align-items: center; gap: 0.75rem; white-space: nowrap; }
.sequence-gallery__controls button { width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.sequence-gallery__controls span { min-width: 3.6rem; text-align: center; color: var(--muted); font-size: 0.88rem; }

.sequence-track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding-bottom: 1rem;
}
.sequence-track::-webkit-scrollbar { display: none; }
.sequence-slide { flex: 0 0 calc((100% - 4rem) / 3); scroll-snap-align: start; }
.sequence-slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f5f5f5; }
.sequence-slide figcaption { display: flex; gap: 1rem; padding-top: 0.85rem; color: var(--muted); font-size: 0.92rem; }
.sequence-slide figcaption span { color: var(--ink); }

.experience-final { margin-top: clamp(5rem, 10vw, 10rem); }
.experience-final img { width: 100%; height: auto; max-height: 80svh; object-fit: contain; background: #f5f5f5; }
.experience-final figcaption { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); padding-top: 1rem; color: var(--muted); }
.experience-final figcaption span { color: var(--ink); }

.design-exploration {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6.5rem);
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.design-exploration__intro {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: start;
}

.design-exploration__intro h3,
.exploration-chapter__copy h3 {
  margin: 0;
}

.exploration-chapter {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.exploration-chapter__copy {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(12rem, 1fr) minmax(18rem, 1.4fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}

.exploration-chapter__copy > p:last-child {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
}

.exploration-chapter__copy--compact {
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 2.4fr);
  gap: 0.6rem clamp(1.5rem, 3vw, 3.5rem);
}

.exploration-chapter__copy--compact > .meta-label {
  grid-row: 1 / span 2;
}

.exploration-chapter__copy--compact > h3,
.exploration-chapter__copy--compact > p:last-child {
  grid-column: 2;
}

.exploration-media-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.exploration-media-grid--early {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 2.2vw, 2rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.exploration-media-grid--early > figure:not(.exploration-media-grid__wide) {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
}

.exploration-media-grid--early > figure:not(.exploration-media-grid__wide) .exploration-media {
  display: grid;
  height: clamp(420px, 42vw, 560px);
  place-items: center;
  overflow: hidden;
  background: #1f1f1f;
}

.exploration-media-grid--early > figure:not(.exploration-media-grid__wide) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exploration-media-grid__wide {
  grid-column: 1 / -1;
  width: min(100%, 52rem);
}

.exploration-media-grid--early .exploration-media-grid__wide .exploration-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1f1f1f;
}

.exploration-media-grid--early .exploration-media-grid__wide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.exploration-media-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exploration-media-grid figure,
.exploration-final {
  min-width: 0;
  margin: 0;
}

.exploration-media {
  display: block;
  aspect-ratio: auto;
  overflow: visible;
  background: var(--source-bg, transparent);
}

.exploration-media img,
.exploration-media video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.exploration-media--video {
  display: block;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.exploration-media--video video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.exploration-media--fit-portrait img {
  width: auto;
  max-width: 100%;
  max-height: 75svh;
  margin-inline: auto;
}

.exploration-media-grid figcaption,
.exploration-final figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: var(--type-caption);
}

.exploration-chapter--final {
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
  align-items: start;
}

.exploration-chapter--final .exploration-chapter__copy {
  grid-template-columns: 1fr;
}

.exploration-final {
  width: min(100%, 42rem);
  justify-self: end;
}

@media (max-width: 860px) {
  .design-exploration__intro,
  .exploration-chapter__copy,
  .exploration-chapter--final {
    grid-template-columns: 1fr;
  }

  .exploration-chapter__copy--compact > .meta-label,
  .exploration-chapter__copy--compact > h3,
  .exploration-chapter__copy--compact > p:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .exploration-final {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .design-exploration {
    gap: 3.5rem;
  }

  .exploration-media-grid--early,
  .exploration-media-grid--two {
    grid-template-columns: 1fr;
  }

  .exploration-media-grid__wide {
    grid-column: auto;
    width: 100%;
  }
}

.tablet-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(6rem, 12vw, 12rem);
}
.tablet-views__intro { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); align-items: end; margin-bottom: 1rem; }
.tablet-views__intro h3 { margin: 0; font-size: clamp(2rem, 4vw, 4.5rem); }
.tablet-views__intro p:last-child { max-width: 38rem; margin: 0; color: var(--muted); }
.tablet-views img { width: 100%; height: auto; background: #f5f5f5; }

.video-reservations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(5rem, 10vw, 10rem); }
.video-reservation { min-height: clamp(18rem, 30vw, 28rem); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.2rem, 2.5vw, 2.5rem); border: 1px solid var(--line); background: #fff; }
.video-reservation > span { color: var(--muted); font-size: 0.85rem; }
.video-reservation h3 { margin: 0.7rem 0 1rem; font-size: clamp(1.8rem, 3vw, 3.2rem); }
.video-reservation p:last-child { max-width: 32rem; margin-bottom: 0; color: var(--muted); }

@media (max-width: 900px) {
  .home-hero { min-height: clamp(28rem, 58svh, 36rem); }
  .home-hero__name { grid-column: 1 / span 5; font-size: clamp(4rem, 10vw, 7rem); }
  .home-hero__position { grid-column: 6 / -1; font-size: clamp(2rem, 5vw, 3.8rem); }
  .experience-feature { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; }
  .sequence-slide { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .case-layout,
  .case-layout > * { width: 100%; min-width: 0; }
  .case-toc,
  .dark-panel { width: calc(100% + (var(--gutter) * 2)); min-width: 0; }
  .home-hero { min-height: auto; padding-block: 2.5rem 1rem; }
  .home-hero__composition { grid-template-columns: 1fr; gap: 2rem; margin-block: 3.5rem 4rem; }
  .home-hero__name,
  .home-hero__position { grid-column: 1; }
  .home-hero__name { font-size: clamp(3.8rem, 20vw, 5.8rem); line-height: 0.9; }
  .home-hero__position { max-width: 16ch; font-size: clamp(2rem, 10vw, 3rem); line-height: 1.04; }
  .home-hero__footer { align-items: flex-end; }
  .home-hero__footer p { max-width: 10rem; }
  .home-work { padding-top: 3.5rem; }
  .ambient-background { display: none; }
  .experience-feature { grid-template-columns: 1fr; gap: 2rem; }
  .experience-feature__copy { order: -1; }
  .sequence-gallery__head { align-items: flex-start; flex-direction: column; }
  .sequence-slide { flex-basis: 84%; }
  .sequence-slide img { aspect-ratio: auto; max-height: 72svh; }
  .experience-final figcaption,
  .tablet-views__intro { grid-template-columns: 1fr; }
  .tablet-views,
  .video-reservations { grid-template-columns: 1fr; }
  .video-reservation { min-height: 16rem; }
}

@media (hover: none), (pointer: coarse) {
  .ambient-background { display: none; }
}

/* Layout refinement: tighter hierarchy, unified type and grouped case-study content */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-header__inner { min-height: 4rem; }
.site-nav { gap: clamp(1.1rem, 2.2vw, 2.5rem); }
.site-nav a { padding-block: 0.45rem; }

.home-hero {
  min-height: clamp(26rem, 52svh, 35rem);
  padding-block: clamp(2rem, 4vw, 3.75rem) 1.1rem;
}

.home-hero__composition {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.5vw, 2.75rem);
  margin-block: clamp(2.75rem, 6vw, 5.25rem);
}

.home-hero__name {
  grid-column: 1 / span 5;
  font-size: clamp(4.2rem, 8.4vw, 8.75rem);
}

.home-hero__position {
  grid-column: 6 / span 6;
  max-width: 19ch;
  font-size: clamp(1.85rem, 3.45vw, 3.65rem);
  line-height: 1.04;
}

.home-hero__footer { font-size: 0.9rem; }
.home-work { padding-top: clamp(2.5rem, 5vw, 5rem); }
.home-work .home-section-label { margin-bottom: clamp(2.5rem, 5vw, 5rem); }

.case-hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.5rem, 5vw, 5rem); }
.case-hero__top { grid-template-columns: minmax(9rem, 0.32fr) minmax(0, 1.68fr); gap: clamp(2rem, 4vw, 4.5rem); }
.case-hero h1 { max-width: 13ch; font-size: clamp(3.2rem, 6.4vw, 7.2rem); line-height: 0.96; }
.case-hero__subtitle { max-width: 46rem; font-size: clamp(1.1rem, 1.65vw, 1.5rem); line-height: 1.45; }
.case-meta { margin-top: clamp(2.5rem, 5vw, 5rem); }

.hero-stage {
  width: min(calc(100% - (var(--gutter) * 2)), 1500px);
  min-height: 0;
  grid-template-columns: minmax(20rem, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: #f7f7f7;
}

.hero-stage__visual { display: grid; place-items: center; min-width: 0; }
.hero-stage__visual img { width: min(100%, 44rem); max-height: 78svh; object-fit: contain; cursor: zoom-in; }
.hero-stage__copy { max-width: 34rem; }
.hero-stage__copy h2 { margin: 1rem 0 1.35rem; font-size: clamp(2rem, 3.7vw, 4.2rem); line-height: 1.02; }
.hero-stage__copy p:last-child { color: var(--muted); }

.case-layout {
  grid-template-columns: minmax(9.5rem, 0.28fr) minmax(0, 1.72fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.case-layout > div { min-width: 0; }

.case-toc { top: 5.4rem; }
.case-toc a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding-block: 0.7rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}
.case-toc a.is-active { border-color: var(--ink); color: var(--ink); font-weight: 650; }

.case-section { padding-block: clamp(3.75rem, 6.5vw, 6.5rem); }
.case-section__head {
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1.72fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 3.5vw, 3.75rem);
}
.case-section__head h2 { max-width: 18ch; margin-bottom: 0.85rem; font-size: clamp(2.25rem, 4.1vw, 4.6rem); line-height: 1; }
.case-section__head .lede { max-width: 42rem; font-size: clamp(1.15rem, 1.75vw, 1.65rem); }
.body-copy { max-width: 43rem; color: #333333; }
.pullquote { margin: clamp(2.5rem, 5vw, 5rem) 0; font-size: clamp(2rem, 4vw, 4.6rem); }
.content-spacer { height: clamp(2.5rem, 5vw, 5rem); }

.dark-panel {
  margin-inline: 0;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: #f7f7f7;
  color: var(--ink);
}
.dark-panel .eyebrow,
.dark-panel .copy { color: var(--muted); }
.dark-panel .pullquote { max-width: 20ch; font-size: clamp(2rem, 3.7vw, 4.1rem); }

.research-grid,
.principle-grid {
  gap: 0;
  overflow: hidden;
  border-radius: clamp(1.1rem, 1.8vw, 1.75rem);
  background: #f7f7f7;
}
.research-card,
.principle-card {
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.research-card:nth-child(2n),
.principle-card:nth-child(2n) { border-right: 0; }
.research-card:nth-last-child(-n + 2),
.principle-card:nth-last-child(-n + 2) { border-bottom: 0; }

.method-list,
.interest-list {
  overflow: hidden;
  padding-inline: clamp(1rem, 2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 1.6vw, 1.5rem);
  background: #fafafa;
}
.method-list { border-top: 1px solid var(--line); }
.method-row { grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 0.7fr); gap: clamp(1.5rem, 3vw, 3rem); }
.flow__step span { font-family: inherit; letter-spacing: 0.02em; }

.media-stage,
.media-pair,
.media-triptych { border-radius: clamp(1rem, 1.8vw, 1.75rem); overflow: hidden; }
.media-pair,
.media-triptych { gap: 0; border: 1px solid var(--line); background: #f7f7f7; }
.media-pair figure,
.media-triptych figure { border-right: 1px solid var(--line); background: #f7f7f7; }
.media-pair figure:last-child,
.media-triptych figure:last-child { border-right: 0; }

@media (max-width: 900px) {
  .case-hero__top { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-layout { gap: 2.5rem; }
  .case-toc { top: 4rem; }
  .case-section__head { grid-template-columns: minmax(7.5rem, 0.3fr) minmax(0, 0.7fr); }
  .hero-stage { grid-template-columns: minmax(16rem, 0.9fr) minmax(16rem, 1.1fr); }
}

@media (max-width: 620px) {
  .site-header__inner { min-height: 4rem; }
  .site-nav { inset: 4rem 0 auto; }
  .home-hero { padding-top: 1.8rem; }
  .home-hero__composition {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-block: 2.75rem 3.25rem;
  }
  .home-hero__name,
  .home-hero__position { grid-column: 1; }
  .home-hero__name { font-size: clamp(3.7rem, 19vw, 5.4rem); }
  .home-hero__position { max-width: 15ch; font-size: clamp(1.85rem, 8.7vw, 2.55rem); }
  .home-hero__footer p { max-width: 12rem; }
  .case-hero { padding-block: 2.75rem 2.5rem; }
  .case-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .case-meta { gap: 1rem; margin-top: 2.5rem; }
  .hero-stage { width: calc(100% - 2rem); grid-template-columns: 1fr; gap: 2rem; padding: 1rem; border-radius: 1.1rem; }
  .hero-stage__copy { order: -1; padding: 0.75rem 0.5rem 0; }
  .hero-stage__copy h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .case-section { padding-block: 3.25rem; }
  .case-section__head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .case-section__head h2 { font-size: clamp(2.15rem, 10.5vw, 3.25rem); }
  .case-toc a { min-height: 2.65rem; font-size: 0.76rem; }
  .dark-panel { padding: 1.5rem; border-radius: 1rem; }
  .dark-panel .pullquote { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .research-card,
  .principle-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .research-card:last-child,
  .principle-card:last-child { border-bottom: 0; }
  .method-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .media-pair figure,
  .media-triptych figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .media-pair figure:last-child,
  .media-triptych figure:last-child { border-bottom: 0; }
}

/* Canonical typography and media rhythm */
h1,
h2,
h3,
.display {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1,
.display,
.case-hero h1,
.archive-hero h1,
.page-intro h1,
.contact-page h1 { font-size: var(--type-page); }

h2,
.case-section__head h2,
.collection-heading h2,
.next-project h2,
.home-about__grid h2,
.home-contact__grid h2,
.work-row h2,
.statement-grid__text,
.pullquote,
.dark-panel .pullquote { font-size: var(--type-section); }

h3,
.research-card h3,
.principle-card h3,
.category-card h3,
.skill-card h3,
.method-row h3,
.timeline-row h3,
.experience-row h3,
.experience-feature__copy h3,
.sequence-gallery__head h3,
.tablet-views__intro h3,
.video-reservation h3 { font-size: var(--type-body); }

.lede,
.case-hero__subtitle,
.case-section__head .lede,
.project-intro__copy,
.about-copy { font-size: var(--type-body); }

.eyebrow,
.meta-label,
.kicker,
figcaption,
.case-toc a,
.site-nav,
.site-footer__inner,
.spatial-card__body p,
.project-card__body p,
.research-card p,
.principle-card p,
.category-card p,
.skill-card p { font-size: var(--type-small); }

.home-hero__name {
  font-size: var(--type-page);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.home-hero__position {
  max-width: 20ch;
  font-size: var(--type-project);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.featured-project__info h2,
.spatial-card__body h3 { font-size: var(--type-project); }

.case-section__head h2,
.collection-heading h2,
.case-hero h1 { max-width: 24ch; }

.eyebrow,
.meta-label,
.kicker,
.case-toc a,
.home-hero__next {
  letter-spacing: 0.01em;
  text-transform: none;
}

.section,
.case-section,
.project-intro,
.next-project { padding-block: clamp(3.5rem, 6vw, 6rem); }

.case-section__head,
.collection-heading { margin-bottom: clamp(1.75rem, 3vw, 3rem); }

.image-hero {
  width: min(100%, var(--max));
  min-height: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow: visible;
  background: transparent;
}

.image-hero img,
.image-hero--contain img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.project-gallery {
  gap: clamp(1.25rem, 2.2vw, 2rem);
  align-items: start;
}

.project-gallery figure {
  overflow: visible;
  background: transparent;
}

.project-gallery img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.spatial-card__media,
.spatial-card--portrait .spatial-card__media,
.featured-project--music .featured-project__media--portrait,
.featured-project__media--landscape,
.featured-project__media--detail {
  aspect-ratio: auto;
  overflow: hidden;
  background: #f7f7f7;
}

.spatial-card__media img,
.featured-project__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-stage {
  min-height: 0;
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2vw, 1.75rem);
}

.media-stage img,
.media-pair img,
.media-triptych img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sequence-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.experience-final {
  display: grid;
  justify-items: center;
}

.experience-final img {
  width: auto;
  max-width: min(100%, 36rem);
  height: auto;
  max-height: none;
  object-fit: contain;
  background: transparent;
}

.experience-final figcaption { width: 100%; }

.tablet-views img { width: 100%; height: auto; object-fit: contain; }

.video-stage {
  padding: 0;
  overflow: hidden;
  background: #000;
}

.video-stage video { width: 100%; height: auto; max-height: none; }

@media (max-width: 900px) {
  .case-section__head,
  .collection-heading,
  .project-intro { gap: 1.5rem; }
}

@media (max-width: 620px) {
  :root {
    --type-page: clamp(1.75rem, 8.5vw, 2.125rem);
    --type-section: clamp(1.375rem, 6.5vw, 1.625rem);
    --type-project: clamp(1.625rem, 7.5vw, 2rem);
    --type-body: 1rem;
    --type-small: 0.8125rem;
  }

  .home-hero__composition {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-block: 2.5rem 3rem;
  }

  .home-hero__name,
  .home-hero__position { grid-column: 1; }

  .home-hero__name { font-size: var(--type-page); line-height: 1.02; }
  .home-hero__position { max-width: 18ch; font-size: var(--type-project); line-height: 1.12; }

  .case-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .case-toc {
    position: sticky;
    top: 4rem;
    z-index: 20;
    display: flex;
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    padding-inline: 1rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    scrollbar-width: none;
  }

  .case-toc::-webkit-scrollbar { display: none; }
  .case-toc a { flex: 0 0 auto; padding-inline: 0 1.25rem; white-space: nowrap; }
  .dark-panel { width: 100%; margin-inline: 0; }

  .project-gallery--two,
  .tablet-views { grid-template-columns: 1fr; }

  .project-gallery--two figure:nth-child(3n) { grid-column: auto; }

  .image-hero { padding-inline: 1rem; }
  .media-stage { padding: 0.75rem; }
  .experience-final img { max-width: min(100%, 26rem); }
}

/* Compact category introductions */
.direction-page .page-intro {
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(2.5rem, 4vw, 4rem);
}
.direction-page .page-intro h1 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.direction-page .direction-projects { padding-top: clamp(2.5rem, 4vw, 4rem); }

@media (max-width: 620px) {
  .direction-page .page-intro { padding-block: 2.75rem 2rem; }
  .direction-page .page-intro h1 { margin-bottom: 1.25rem; }
  .direction-page .direction-projects { padding-top: 2rem; }
}

/* Second-round precision pass */
.portfolio-index { padding-block: clamp(2.75rem, 5vw, 5rem) clamp(3.5rem, 6vw, 6rem); }
.portfolio-index__head {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.portfolio-index__head > .eyebrow {
  margin: 0;
  font-size: clamp(0.9375rem, 1vw, 1rem);
  font-weight: 500;
  color: var(--ink);
}
.index-row {
  min-height: 0;
  padding-block: clamp(1.625rem, 2.4vw, 2.25rem);
}
.index-row__number {
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  font-weight: 400;
}
.index-row__main { gap: 0.5rem; }
.index-row__main strong {
  font-size: clamp(1.875rem, 2.25vw, 2rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
.index-row__main small {
  font-size: clamp(0.875rem, 0.95vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.45;
}
.index-row:focus-visible { outline-width: 1px; }

.research-question {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.research-question__copy h3 {
  max-width: 25ch;
  margin: 1rem 0 0;
  font-size: clamp(1.625rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.research-question .asset-placeholder { margin: 0; border-radius: 0; }
.asset-placeholder[id]::after {
  content: "ID: " attr(id);
  margin-top: 0.25rem;
  color: #888;
  font-size: 0.75rem;
}
.asset-placeholder small { display: none; }

.hero-stage__visual img,
.experience-feature img,
.media-stage img,
.experience-final img {
  width: auto;
  max-width: min(100%, 27.5rem);
  max-height: 65svh;
  object-fit: contain;
}
.hero-stage__visual img { max-width: min(100%, 22.5rem); }
.experience-feature figure { width: 100%; max-width: 22.5rem; }
.media-stage { min-height: 0; padding: clamp(1rem, 2vw, 1.5rem); background: #fff; }
.experience-final { justify-items: center; }
.profile-visual__portrait { width: min(100%, 27.5rem); }

/* Selected works accordion */
.work-list.work-accordion {
  display: block;
}

.work-accordion .work-list__rows {
  border-top: 1px solid var(--line);
}

.work-accordion__item {
  border-bottom: 1px solid var(--line);
}

.work-accordion__trigger {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding-inline: 0;
  color: var(--ink);
  text-align: left;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.work-accordion__trigger .index-row__main strong {
  font-weight: 400;
}

.work-accordion__trigger .index-row__arrow {
  color: var(--muted);
  font-size: var(--type-small);
  opacity: 0.65;
  transform: none;
  transition: opacity 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}

.work-accordion__trigger:hover .index-row__arrow,
.work-accordion__trigger:focus-visible .index-row__arrow,
.work-accordion__item.is-open .index-row__arrow {
  opacity: 1;
  transform: rotate(180deg);
}

.work-accordion__trigger:hover .index-row__main,
.work-accordion__trigger:focus-visible .index-row__main {
  opacity: 0.68;
}

.work-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 360ms cubic-bezier(.2,.7,.2,1), opacity 260ms ease-out;
}

.work-accordion__clip {
  min-height: 0;
  overflow: hidden;
}

.work-accordion__projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  width: min(100%, 45rem);
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-0.45rem);
  transition: padding-bottom 360ms cubic-bezier(.2,.7,.2,1), opacity 260ms ease-out, transform 360ms cubic-bezier(.2,.7,.2,1);
}

.work-accordion__projects--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 64rem);
}

.work-accordion__item.is-open .work-accordion__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.work-accordion__item.is-open .work-accordion__projects {
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
  opacity: 1;
  transform: translateY(0);
}

.work-accordion__project {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}

.work-accordion__project img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 30rem;
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.work-accordion__project span {
  color: var(--ink);
  font-size: var(--type-body);
  font-weight: 400;
}

.work-accordion__project:hover span,
.work-accordion__project:focus-visible span {
  opacity: 0.62;
}

.profile-visual--three {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 0.72fr);
}

.profile-visual--three .profile-visual__context:last-child {
  width: min(100%, 27.5rem);
}

.sequence-gallery {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.sequence-gallery__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sequence-gallery__head h3 {
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sequence-gallery__controls button {
  border-radius: 50%;
  transition: opacity 180ms ease, border-color 180ms ease;
}
.sequence-gallery__controls button:disabled {
  opacity: 0.28;
  cursor: default;
}
.sequence-track {
  width: 100%;
  gap: 24px;
  padding: 0 0 1rem;
  scroll-padding-inline: 0;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
}
.sequence-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.sequence-slide {
  flex: 0 0 auto;
  width: fit-content;
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
  cursor: default;
}
.sequence-slide.is-active { opacity: 1; transform: none; }
.sequence-slide:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.sequence-slide__media {
  height: min(56svh, 34rem);
}
.sequence-slide__media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.sequence-slide figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.8rem;
  padding-top: 0.9rem;
  font-size: var(--type-small);
  width: 0;
  min-width: 100%;
}
.sequence-slide figcaption > span { grid-row: 1 / span 2; }
.sequence-slide figcaption strong { color: var(--ink); font-weight: 500; }
.sequence-slide figcaption p { margin: 0.2rem 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .research-question { grid-template-columns: 1fr; }
  .research-question__copy h3 { max-width: 32ch; }
}

@media (max-width: 900px) {
  .work-accordion__projects,
  .work-accordion__projects--multiple { width: 100%; }
  .profile-visual--three { grid-template-columns: 1fr 1fr; }
  .profile-visual--three .profile-visual__portrait { grid-row: span 2; }
}

@media (max-width: 620px) {
  .portfolio-index { padding-block: 2.25rem 3.5rem; }
  .portfolio-index__head { margin-bottom: 1rem; }
  .index-row { padding-block: 1.625rem; }
  .index-row__main strong { font-size: clamp(1.5rem, 7vw, 1.75rem); line-height: 1.25; }
  .index-row__main small { font-size: 0.875rem; }
  .research-question { gap: 1.5rem; padding-block: 1.5rem; }
  .research-question__copy h3 { font-size: clamp(1.375rem, 6.5vw, 1.625rem); }
  .hero-stage__visual img,
  .experience-feature img,
  .media-stage img,
  .experience-final img { max-width: min(100%, 22rem); max-height: 65svh; }
  .sequence-gallery__controls { width: 100%; justify-content: space-between; }
  .sequence-track {
    gap: 16px;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .sequence-slide { flex-basis: auto; }
  .sequence-slide__media { height: min(60svh, 30rem); }
}

@media (max-width: 620px) {
  .work-accordion__projects--multiple { grid-template-columns: 1fr; }
  .work-accordion__project { width: 100%; }
  .work-accordion__project img { width: 100%; max-height: none; }
  .profile-visual--three { grid-template-columns: 1fr; }
  .profile-visual--three .profile-visual__portrait { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .work-accordion__panel,
  .work-accordion__projects,
  .work-accordion__trigger .index-row__arrow { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sequence-track { scroll-behavior: auto; }
  .sequence-slide { transition: none; }
}

/* Lightweight case navigation and continuous experience walkthrough */
.case-toc {
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 220ms ease-out, box-shadow 220ms ease-out;
}
.case-toc.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08), 0 8px 24px rgba(17, 17, 17, 0.035);
}
.case-toc__toggle { display: none; }
.case-toc__links { display: grid; }
.case-toc a {
  position: relative;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.055);
  font-size: var(--type-small);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: color 200ms ease-out;
}
.case-toc a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: '';
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}
.case-toc a.is-active { font-weight: 500; }
.case-toc a.is-active::after { opacity: 1; transform: scaleX(1); }
.sequence-gallery { margin-top: clamp(2.5rem, 5vw, 4rem); }
.experience-summary {
  width: min(100%, 44rem);
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 900px) {
  .case-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .case-toc {
    top: 4rem;
    z-index: 24;
    display: block;
    width: calc(100% + 2rem);
    margin-inline: -1rem;
    padding: 0;
    overflow: visible;
    border: 0;
    background: rgba(255, 255, 255, 0.82);
  }
  .case-toc__toggle {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
    background: transparent;
    color: var(--ink);
    font: 500 var(--type-small)/1.2 var(--font-sans);
  }
  .case-toc__toggle span:last-child { color: var(--muted); font-weight: 400; }
  .case-toc__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 30px rgba(17, 17, 17, 0.07);
    opacity: 0;
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    transition: max-height 220ms ease-out, opacity 180ms ease-out;
  }
  .case-toc.is-open .case-toc__links { max-height: 28rem; opacity: 1; }
  .case-toc a {
    min-height: 2.75rem;
    padding: 0.8rem 1rem;
    border-bottom-color: rgba(17, 17, 17, 0.055);
    white-space: normal;
  }
  .case-toc a::after { right: auto; left: 1rem; width: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .case-toc,
  .case-toc__links,
  .case-toc a,
  .case-toc a::after { transition: none; }
}

/* Keep project hero media proportional without allowing tall source images to dominate the viewport. */
.image-hero {
  display: grid;
  place-items: center;
}
.image-hero img {
  width: auto;
  max-width: min(100%, 68.75rem);
  height: auto;
  max-height: 75svh;
  object-fit: contain;
}

/* Confirmed project hierarchy and shared glass surfaces — layout and type remain unchanged. */
.site-header {
  z-index: 40;
  border-bottom-color: rgba(17, 17, 17, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}

.project-information {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(15rem, 0.9fr) minmax(20rem, 1.35fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-information p:last-child { margin: 0.4rem 0 0; }

.case-toc {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.035);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.case-toc.is-scrolled { background: rgba(255, 255, 255, 0.8); }
.case-toc a { background: transparent; box-shadow: none; border-radius: 0; }
.case-toc a.is-active { border-bottom-color: rgba(17, 17, 17, 0.055); }
.case-toc a::after { right: auto; left: 0; width: 1.75rem; }

@media (max-width: 900px) {
  .project-information { grid-template-columns: 1fr; }
  .case-toc { overflow: visible; }
  .case-toc__links { background: rgba(255, 255, 255, 0.86); }
  .case-toc a::after { left: 1rem; }
}

/* Selected Works title sizing */
.home-index-page .portfolio-index__head > .eyebrow {
  font-size: 16px;
  font-weight: 400;
  color: #888;
}

.home-index-page .work-accordion .work-list__rows {
  border-top-color: #eaeaea;
}

.home-index-page .work-accordion__item {
  border-bottom-color: #eaeaea;
}

.home-index-page .work-accordion__trigger {
  padding-block: 24px;
  border-bottom: 0;
}

.home-index-page .work-accordion__trigger .index-row__main strong,
.home-index-page .work-accordion__trigger:hover .index-row__main strong,
.home-index-page .work-accordion__trigger:focus-visible .index-row__main strong,
.home-index-page .work-accordion__item.is-open .index-row__main strong {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #666;
  font-synthesis: none;
}

.home-index-page .work-accordion__trigger:hover .index-row__main,
.home-index-page .work-accordion__trigger:focus-visible .index-row__main {
  opacity: 1;
}

.home-index-page .work-accordion__trigger .index-row__number {
  font-size: 15px;
  font-weight: 400;
  color: #999;
}

.home-index-page .work-accordion__trigger .index-row__arrow {
  align-self: center;
  font-size: 15px;
  font-weight: 300;
  color: #aaa;
  opacity: 1;
}

@media (max-width: 767px) {
  .home-index-page .portfolio-index__head > .eyebrow {
    font-size: 15px;
  }

  .home-index-page .work-accordion__trigger {
    padding-block: 20px;
  }

  .home-index-page .work-accordion__trigger .index-row__main strong,
  .home-index-page .work-accordion__trigger:hover .index-row__main strong,
  .home-index-page .work-accordion__trigger:focus-visible .index-row__main strong,
  .home-index-page .work-accordion__item.is-open .index-row__main strong {
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.015em;
  }

  .home-index-page .work-accordion__trigger .index-row__number {
    font-size: 13px;
  }
}

/* About and resume editorial layouts */
.about-editorial,
.resume-editorial {
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 7rem);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(16rem, 5fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.about-story:first-child { padding-top: 0; border-top: 0; }
.about-story--approach { grid-template-columns: minmax(16rem, 5fr) minmax(0, 7fr); align-items: center; }
.about-story--exploring { grid-template-columns: minmax(0, 8fr) minmax(13rem, 4fr); }
.about-story__copy { max-width: 43rem; }

.about-story__copy h1,
.about-story__copy h2 {
  max-width: 16ch;
  margin: 0.85rem 0 clamp(1.75rem, 3vw, 2.75rem);
  font-size: var(--type-section);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.about-story__copy h1 { font-size: var(--type-page); }
.about-story__body { max-width: 41rem; color: var(--ink); }
.about-story__body p { margin: 0; line-height: 1.68; }
.about-story__body p + p { margin-top: 1.15rem; color: var(--muted); }
.about-story__image { margin: 0; justify-self: end; }
.about-story__image img { display: block; width: 100%; height: auto; }
.about-story__image--primary { width: min(100%, 22rem); }
.about-story__image--landscape { width: min(100%, 34rem); justify-self: start; }
.about-story__image--supporting { width: min(100%, 17rem); align-self: end; }

.resume-editorial__hero { padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.resume-editorial__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(20rem, 7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-top: 1rem;
}

.resume-editorial__hero h1 {
  margin: 0 0 0.7rem;
  font-size: var(--type-page);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.resume-editorial__discipline,
.resume-editorial__summary,
.resume-editorial__hero-grid .text-link { margin: 0; }
.resume-editorial__discipline { color: var(--muted); }
.resume-editorial__summary { max-width: 42rem; margin-bottom: 1rem; line-height: 1.6; }

.resume-editorial__section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.resume-editorial__section-head {
  display: grid;
  grid-template-columns: minmax(7rem, 3fr) minmax(0, 9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.resume-editorial__section-head h2 {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.resume-entries { border-top: 1px solid var(--line); }
.resume-entry {
  display: grid;
  grid-template-columns: minmax(7rem, 3fr) minmax(0, 9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.resume-entry h3,
.resume-text-groups h3 {
  margin: 0;
  font-size: var(--type-body);
  font-weight: 500;
  line-height: 1.4;
}

.resume-entry p { margin: 0.45rem 0 0; }
.resume-entry__role { color: var(--ink); }
.resume-entry__status { color: var(--muted); font-size: var(--type-small); }
.resume-entry ul { max-width: 45rem; margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.resume-entry li + li { margin-top: 0.45rem; }

.resume-text-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-left: calc(25% + 1rem);
}

.resume-text-groups > div { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.resume-text-groups p { max-width: 34rem; margin: 0.65rem 0 0; color: var(--muted); line-height: 1.65; }
.resume-download-placeholder { margin: 0 0 0 calc(25% + 1rem); color: var(--muted); }

@media (max-width: 900px) {
  .about-story,
  .about-story--approach,
  .about-story--exploring { gap: 2.5rem; }
  .about-story__image--primary { width: min(100%, 19rem); }
  .resume-editorial__hero-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 2.5rem; }
}

@media (max-width: 620px) {
  .about-editorial,
  .resume-editorial { padding-block: 2.75rem 4rem; }
  .about-story,
  .about-story--approach,
  .about-story--exploring { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
  .about-story--approach .about-story__image { order: 2; }
  .about-story__image,
  .about-story__image--primary,
  .about-story__image--landscape,
  .about-story__image--supporting { width: min(100%, 22rem); justify-self: start; }
  .about-story__image--supporting { width: min(78%, 17rem); }
  .resume-editorial__hero-grid,
  .resume-editorial__section-head,
  .resume-entry,
  .resume-text-groups { grid-template-columns: 1fr; }
  .resume-editorial__hero-grid { gap: 1.75rem; align-items: start; }
  .resume-editorial__section-head { gap: 0.6rem; }
  .resume-entry { gap: 0.75rem; }
  .resume-text-groups,
  .resume-download-placeholder { margin-left: 0; }
}

/* Responsive primary navigation */
@media (min-width: 768px) {
  .menu-toggle { display: none; }

  .site-header .site-nav,
  .site-header .site-nav.is-open {
    position: static;
    inset: auto;
    display: flex;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.1rem, 2.2vw, 2.5rem);
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 767px) {
  .site-header__inner { min-height: 4rem; }
  .brand,
  .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: block; }
  .menu-toggle span { transition: transform 200ms ease-out; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.3rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.3rem) rotate(-45deg); }

  .site-header .site-nav,
  .site-header .site-nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 1;
    min-height: 100dvh;
    padding: 7rem var(--gutter) 3rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.35rem;
    border: 0;
    background: #fff;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 1.35rem;
  }

  .site-header .site-nav { display: none; }
  .site-header .site-nav.is-open { display: flex; }
}

/* Transparent borderless navigation surfaces. Typography and layout remain unchanged. */
.site-header {
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.site-nav { border: 0; box-shadow: none; }
.site-nav a::after { display: none; }

.case-toc,
.case-toc.is-scrolled {
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.case-toc__toggle,
.case-toc__links,
.case-toc a,
.case-toc a.is-active {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.case-toc a::after {
  bottom: 0.45rem;
  left: 0;
  width: 1.75rem;
}

@media (max-width: 900px) {
  .site-nav,
  .site-nav.is-open {
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
  .case-toc,
  .case-toc.is-scrolled,
  .case-toc__links {
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
  .case-toc__toggle,
  .case-toc a { border: 0; }
  .case-toc a::after { left: 1rem; }
}

/* Memory research methods and interview data */
.method-list--research {
  overflow: visible;
  padding-inline: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.method-list--research .method-row {
  grid-template-columns: minmax(4.5rem, 0.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
  min-height: 0;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.method-list--research .method-row h3 {
  margin: 0 0 7px;
}

.method-list--research .method-row p {
  margin-top: 0;
}

.research-data {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.research-data__head {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 0.7fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 0.75rem;
  align-items: start;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.research-data__head .eyebrow { grid-row: 1 / span 2; }
.research-data__head h3 { margin: 0; max-width: 22ch; }
.research-data__head > p:last-child { max-width: 54ch; color: var(--muted); }

.research-viz {
  min-width: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.research-viz__head {
  display: grid;
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.research-viz__head h3 { margin: 0.45rem 0 0; }
.research-viz__head > p { max-width: 52ch; color: var(--muted); }

.research-viz__canvas {
  min-width: 0;
  background: #fff;
}

.participant-viz__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.research-viz svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.research-viz__guide,
.research-viz__curve {
  fill: none;
  stroke: #dedede;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.research-viz__curve {
  stroke: #9e9e9e;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.research-viz.is-visible .research-viz__curve {
  animation: research-line-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.research-viz__dot {
  fill: #303030;
  stroke: #fff;
  stroke-width: 1.5;
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  cursor: help;
}

.research-viz.is-visible .research-viz__dot {
  animation: research-dot-in 680ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.research-viz__mark:focus { outline: none; }
.research-viz__mark:focus .research-viz__dot,
.research-viz__mark:hover .research-viz__dot { fill: #000; stroke: #bdbdbd; stroke-width: 2.5; }

.research-viz__label {
  fill: #747474;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.research-viz__label--strong { fill: #242424; font-size: 14px; }
.research-viz__label--group { fill: #8a8a8a; font-size: 11px; letter-spacing: 0.11em; }

.participant-role-list {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line);
}

.participant-role-list__title {
  padding-block: 0.75rem;
  color: var(--muted);
  font-size: var(--type-small);
}

.participant-role-list__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-block: 0.42rem;
  border-top: 1px solid #f0f0f0;
  color: #666;
  cursor: help;
}

.participant-role-list__item span:first-child { color: #999; font-variant-numeric: tabular-nums; }
.participant-role-list__item:focus,
.participant-role-list__item:hover { color: #111; outline: none; }

.research-viz__tooltip {
  min-height: 1.5em;
  margin-top: 1rem;
  color: #666;
  font-size: var(--type-small);
  font-variant-numeric: tabular-nums;
}

.research-viz__hit {
  fill: none;
  stroke: transparent;
  stroke-width: 18;
  cursor: help;
}

@keyframes research-dot-in {
  to { opacity: 1; transform: scale(1); }
}

@keyframes research-line-in {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 720px) {
  .method-list--research .method-row {
    grid-template-columns: minmax(3.25rem, 0.15fr) minmax(0, 0.85fr);
    gap: 0.75rem;
    padding-block: 18px;
  }

  .research-data { gap: 2.75rem; margin-top: 3.5rem; }
  .research-data__head,
  .research-viz__head,
  .participant-viz__layout { grid-template-columns: 1fr; }
  .research-data__head .eyebrow { grid-row: auto; }
  .research-viz__head { gap: 0.75rem; align-items: start; }
  .participant-viz__layout { gap: 1.25rem; }
  .research-viz__canvas--patterns { overflow: hidden; }
  .research-viz__label { font-size: 11px; }
  .research-viz__label--strong { font-size: 12px; }
  .research-viz__label--group { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .research-viz__curve,
  .research-viz__dot {
    animation: none !important;
    transition: none !important;
  }
  .research-viz__curve { stroke-dashoffset: 0; }
  .research-viz__dot { opacity: 1; transform: none; }
}

/* Memory research question and insight synthesis */
.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;
}

.research-question__visual {
  min-width: 0;
  margin: 0;
  background: #fff;
}

.research-question__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.insights-synthesis {
  margin-top: clamp(3rem, 7vw, 6.5rem);
  background: #fff;
}

.insights-synthesis__head {
  display: grid;
  grid-template-columns: minmax(8rem, 0.22fr) minmax(14rem, 0.34fr) minmax(18rem, 0.44fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.insights-synthesis__head h3 { margin: 0; }
.insights-synthesis__head > p:last-child { max-width: 50ch; color: var(--muted); }

.insights-synthesis__labels,
.insights-synthesis__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
}

.insights-synthesis__labels {
  padding: 1.25rem 0 0.85rem;
  color: #969696;
  font-size: var(--type-small);
  letter-spacing: 0.02em;
}

.insights-synthesis__labels span:nth-child(2) { text-align: center; }

.insights-synthesis__row {
  position: relative;
  align-items: center;
  padding-block: clamp(1.75rem, 3.2vw, 2.75rem);
  border-top: 1px solid var(--line);
  transition: opacity 240ms ease;
}

.insights-synthesis__row:focus { outline: none; }
.insights-synthesis__row:focus-visible { outline: 1px solid #777; outline-offset: 5px; }
.insights-synthesis__rows:hover .insights-synthesis__row:not(:hover) { opacity: 0.34; }
.insights-synthesis__rows:focus-within .insights-synthesis__row:not(:focus) { opacity: 0.34; }

.insights-synthesis__insight h3,
.insights-synthesis__response h3 {
  margin: 0.4rem 0 0.55rem;
  font-weight: 500;
}

.insights-synthesis__insight > p:last-child,
.insights-synthesis__response > p:last-child {
  max-width: 42ch;
  color: var(--muted);
}

.insights-synthesis__evidence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0.85rem 0 0.8rem;
}

.insights-synthesis__evidence small {
  width: 100%;
  margin-top: 0.3rem;
  color: #999;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.insights-synthesis__dot {
  width: 6px;
  height: 6px;
  border: 1px solid #b7b7b7;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.45);
}

.insights-synthesis__dot.is-supported { border-color: #333; background: #333; }

.insights-synthesis.is-visible .insights-synthesis__dot {
  animation: synthesis-dot-in 650ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.insights-synthesis__connection {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.insights-synthesis__connection path {
  fill: none;
  stroke: #b9b9b9;
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 240ms ease;
}

.insights-synthesis__connection circle {
  fill: #fff;
  stroke: #9a9a9a;
  stroke-width: 1;
  opacity: 0;
  transition: fill 240ms ease, stroke 240ms ease;
}

.insights-synthesis.is-visible .insights-synthesis__connection path {
  animation: synthesis-line-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.insights-synthesis.is-visible .insights-synthesis__connection circle {
  animation: synthesis-node-in 500ms ease forwards 620ms;
}

.insights-synthesis__response {
  opacity: 0;
  transform: translateX(-8px);
}

.insights-synthesis.is-visible .insights-synthesis__response {
  animation: synthesis-response-in 650ms ease forwards 650ms;
}

.insights-synthesis__row:hover .insights-synthesis__connection path,
.insights-synthesis__row:focus .insights-synthesis__connection path { stroke: #222; }
.insights-synthesis__row:hover .insights-synthesis__connection circle,
.insights-synthesis__row:focus .insights-synthesis__connection circle { fill: #222; stroke: #222; }

.insights-synthesis__direction {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #3f3f3f;
  font-size: var(--type-small);
}

.insights-synthesis__direction i { display: block; height: 1px; background: #c8c8c8; }

@keyframes synthesis-dot-in { to { opacity: 1; transform: scale(1); } }
@keyframes synthesis-line-in { to { stroke-dashoffset: 0; } }
@keyframes synthesis-node-in { to { opacity: 1; } }
@keyframes synthesis-response-in { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .insights-synthesis__head { grid-template-columns: 1fr; gap: 0.75rem; }
  .insights-synthesis__labels { display: none; }
  .insights-synthesis__row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 2rem;
  }
  .insights-synthesis__connection { width: min(100%, 15rem); }
  .insights-synthesis__response { transform: translateY(-5px); }
  .insights-synthesis__direction {
    gap: 0.4rem;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-synthesis__row,
  .insights-synthesis__dot,
  .insights-synthesis__connection path,
  .insights-synthesis__connection circle,
  .insights-synthesis__response {
    animation: none !important;
    transition: none !important;
  }
  .insights-synthesis__dot,
  .insights-synthesis__connection circle,
  .insights-synthesis__response { opacity: 1; transform: none; }
  .insights-synthesis__connection path { stroke-dashoffset: 0; }
}

/* Reusable project detail typography, spacing and container system */
.project-detail-page {
  --detail-title: 26px;
  --detail-body: 17px;
  --detail-small: 13px;
  --detail-section-space: clamp(72px, 6.5vw, 96px);
  background: #fff;
  color: #171717;
  font-size: var(--detail-body);
  line-height: 1.5;
}

.project-detail-page main { background: #fff; }

.project-detail-page .shell {
  width: min(100%, 1440px);
  padding-inline: clamp(1rem, 3.2vw, 3rem);
}

.project-detail-page .eyebrow,
.project-detail-page .meta-label,
.project-detail-page figcaption {
  color: #888;
  font-size: var(--detail-small);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
}

.project-detail-page .case-section__head h2,
.project-detail-page .collection-heading h2,
.project-detail-page .design-exploration__intro h3,
.project-detail-page .exploration-chapter__copy h3,
.project-detail-page .tablet-views__intro h3 {
  max-width: 28ch;
  margin: 0 0 18px;
  color: #171717;
  font-size: var(--detail-title);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.project-detail-page .case-section__head,
.project-detail-page .collection-heading,
.project-detail-page .project-intro,
.project-detail-page .design-exploration__intro,
.project-detail-page .exploration-chapter__copy,
.project-detail-page .exploration-chapter__copy--compact {
  display: block;
  max-width: 760px;
}

.project-detail-page .case-section__head > .eyebrow,
.project-detail-page .collection-heading > .eyebrow,
.project-detail-page .project-intro > .eyebrow,
.project-detail-page .design-exploration__intro > .meta-label,
.project-detail-page .exploration-chapter__copy > .meta-label {
  margin-bottom: 18px;
}

.project-detail-page .case-section__head > div,
.project-detail-page .collection-heading > div,
.project-detail-page .project-intro__copy,
.project-detail-page .exploration-chapter__copy > p:last-child {
  max-width: 760px;
}

.project-detail-page .case-section__head p,
.project-detail-page .collection-heading .copy,
.project-detail-page .project-intro__copy,
.project-detail-page .exploration-chapter__copy > p:last-child,
.project-detail-page .project-information p:not(.meta-label) {
  color: #666;
  font-size: var(--detail-body);
  font-weight: 400;
  line-height: 1.5;
}

.project-detail-page .case-section,
.project-detail-page .section,
.project-detail-page .project-intro,
.project-detail-page .next-project {
  padding-block: var(--detail-section-space);
}

.project-detail-page .case-section__head,
.project-detail-page .collection-heading {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.project-detail-page .case-hero { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.project-detail-page .case-hero__top { display: block; max-width: 760px; }
.project-detail-page .case-hero__top > .eyebrow { margin-bottom: 18px; }
.project-detail-page .case-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.project-detail-page .case-hero__subtitle { max-width: 760px; color: #666; font-size: var(--detail-body); line-height: 1.5; }

.project-detail-page .research-grid {
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.project-detail-page .research-card {
  min-height: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.project-detail-page .interest-list,
.project-detail-page .dark-panel {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.project-detail-page .hero-stage,
.project-detail-page .media-stage,
.project-detail-page .media-pair,
.project-detail-page .media-triptych {
  border-color: transparent;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.project-detail-page .project-gallery figure,
.project-detail-page .exploration-media,
.project-detail-page .exploration-media--video {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.project-detail-page .project-gallery figcaption,
.project-detail-page .exploration-media-grid figcaption,
.project-detail-page .exploration-final figcaption,
.project-detail-page .motion-study-group figcaption {
  margin-top: 10px;
}

.project-detail-page .project-information {
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 32px;
}

.project-detail-page .design-exploration { gap: var(--detail-section-space); }
.project-detail-page .exploration-chapter { gap: 32px; }

/* Motion Studies: distinct directions and correct media grouping */
.motion-studies {
  display: grid;
  gap: clamp(4.5rem, 7vw, 6rem);
}

.motion-study-group {
  min-width: 0;
}

.motion-study-group__head {
  max-width: 760px;
  margin-bottom: 22px;
}

.motion-study-group__head .meta-label { margin-bottom: 16px; }
.motion-study-group__head h4 {
  margin: 0;
  color: #171717;
  font-size: var(--detail-title, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.motion-study-group figure { min-width: 0; margin: 0; }
.motion-study-group--discarded figure { width: min(100%, 56rem); }

.motion-study-group__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.motion-study-group__pair > figure {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
}

.motion-study-group--scheme .exploration-media {
  display: grid;
  height: clamp(400px, 36vw, 480px);
  place-items: center;
  overflow: hidden;
  background: #fff !important;
}

.motion-study-group--scheme .exploration-media img,
.motion-study-group--scheme .exploration-media video {
  width: 100%;
  height: clamp(400px, 36vw, 480px);
  object-fit: contain;
}

.motion-study-group--gemini figure {
  width: min(100%, 22rem);
  margin-inline: auto;
}

.motion-study-group--gemini .exploration-media {
  width: 100%;
  height: auto;
  background: #fff;
}

.motion-study-group--gemini video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 620px) {
  .motion-study-group__pair { grid-template-columns: 1fr; gap: 2rem; }
  .motion-study-group--scheme .exploration-media { display: block; height: auto; overflow: visible; }
  .motion-study-group--scheme .exploration-media img,
  .motion-study-group--scheme .exploration-media video {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .exploration-media-grid--early {
    grid-template-columns: 1fr;
  }

  .exploration-media-grid--early > figure:not(.exploration-media-grid__wide) .exploration-media {
    height: auto;
    min-height: 0;
  }

  .exploration-media-grid--early > figure:not(.exploration-media-grid__wide) img {
    height: auto;
  }

  .exploration-media-grid__wide {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .project-detail-page {
    --detail-title: 22px;
    --detail-body: 15px;
    --detail-small: 12px;
    --detail-section-space: clamp(48px, 14vw, 64px);
  }

  .project-detail-page .shell { padding-inline: 1rem; }
  .project-detail-page .case-hero { padding-block: 3rem; }
  .project-detail-page .case-hero h1 { font-size: clamp(2.125rem, 11vw, 3rem); }
  .project-detail-page .case-section__head,
  .project-detail-page .collection-heading { margin-bottom: 2rem; }
  .project-detail-page .research-grid { grid-template-columns: 1fr; }
  .project-detail-page .project-information { grid-template-columns: 1fr; padding-block: 24px; }

  .motion-studies { gap: 3.5rem; }
  .motion-study-group--gemini figure { width: 100%; }
}
