@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,ital,wght@6..96,400;6..96,500;6..96,600;6..96,700;6..96,800;6..96,900;6..96,400;6..96,600&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --cobalt: #6d1028;
  --acid: #ffffff;
  --coral: #941f3b;
  --muted: #686064;
  --line: rgba(10, 10, 10, .24);
  --gutter: clamp(1rem, 2.45vw, 2.75rem);
  --rail: 3.6rem;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
body.has-rail { padding-left: var(--rail); }
body.is-color-shift {
  --cobalt: #941f3b;
  --coral: #6d1028;
  --acid: #ffffff;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, blockquote { margin: 0; }
::selection { color: var(--ink); background: var(--acid); }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 300;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.frame { padding-inline: var(--gutter); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.serif { font-family: var(--serif); }
.italic { font-style: italic; font-weight: 500; text-transform: none; }
.eyebrow,
.micro-label,
.meta {
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lead {
  font-size: clamp(1.3rem, 2.1vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.red { color: var(--coral); }
.muted { color: var(--muted); }

.site-header {
  position: fixed;
  inset: 0 0 auto var(--rail);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: rgba(244, 240, 232, .78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(244, 240, 232, .95);
  border-color: var(--ink);
}
.brand {
  width: max-content;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.5rem); }
.site-nav a,
.site-nav button,
.nav-toggle {
  position: relative;
  border: 0;
  padding: .45rem 0;
  background: transparent;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 .1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
.color-toggle {
  padding: .45rem .75rem !important;
  border: 1px solid currentColor !important;
  border-radius: 100%;
}
.nav-toggle { display: none; }

.archive-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 110;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  border-right: 1px solid var(--ink);
}
.rail-mark {
  display: grid;
  width: 100%;
  min-height: 64px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 800;
}
.rail-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .8rem;
  width: 100%;
}
.rail-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  padding: .2rem 0;
  color: #aaa;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color .2s ease;
}
.rail-nav a span { color: var(--acid); }
.rail-nav a.is-active,
.rail-nav a:hover { color: white; }
.rail-nav a.is-active::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: 50%;
  width: 4px;
  height: 4px;
  background: var(--coral);
  border-radius: 50%;
}
.rail-place {
  padding: 1rem 0;
  color: #aaa;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
}

.action-button,
.mini-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: .72rem 1rem;
  background: transparent;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.action-button:hover,
.mini-button:hover { transform: translateY(-3px); }
.action-button--ink { color: var(--paper); background: var(--ink); }
.action-button--acid { background: var(--acid); }
.action-button--paper { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }

/* Cover */
.cover {
  position: relative;
  min-height: 100svh;
  padding-top: 64px;
  overflow: hidden;
  background: var(--paper);
}
.cover::before {
  content: "";
  position: absolute;
  top: 64px;
  right: 0;
  width: 21vw;
  height: 21vw;
  background: var(--cobalt);
  border-radius: 50%;
  transform: translate(34%, -42%);
  mix-blend-mode: multiply;
}
.cover-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
}
.cover-topline span:last-child { position: relative; z-index: 1; color: var(--paper); }
.cover-grid {
  position: relative;
  min-height: calc(100svh - 142px);
  padding-top: clamp(1.5rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.cover-title {
  grid-column: 1 / 13;
  position: relative;
  z-index: 5;
}
.cover-kicker {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cover-title h1 {
  margin: 0;
  font-size: clamp(5rem, 13.8vw, 13.8rem);
  line-height: .68;
  letter-spacing: -.075em;
  font-weight: 800;
}
.cover-title h1 span { display: block; }
.cover-title .serif { font-weight: 700; }
.sans-outline {
  margin-left: 11.5%;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  font-family: var(--sans);
  font-weight: 600;
}
.cover-portrait {
  grid-column: 5 / 10;
  position: relative;
  z-index: 4;
  margin-top: -1.5vw;
}
.portrait-window {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--cobalt);
}
.portrait-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: scale(1.035);
  transition: opacity .6s var(--ease), clip-path .8s var(--ease), transform 1s var(--ease);
}
.portrait-window img.is-active {
  z-index: 1;
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
}
.portrait-gallery:hover .portrait-window img.is-active { transform: scale(1.018); }
.portrait-count {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 3;
  padding: .35rem .55rem;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
}
.portrait-count b { color: #d8a2b0; font-weight: 500; }
.portrait-next {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 3;
  min-width: 5.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--paper);
  border-radius: 100%;
  padding: .55rem .8rem;
  color: var(--paper);
  background: rgba(10,10,10,.74);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.portrait-next:hover {
  color: var(--paper);
  background: var(--cobalt);
  transform: rotate(-4deg);
}
.portrait-switch { display: inline-flex; gap: .35rem; align-items: center; }
.portrait-switch button {
  min-width: 2rem;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: .15rem .25rem;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.portrait-switch button.is-active {
  color: var(--cobalt);
  border-color: currentColor;
}
.cover-portrait figcaption,
.archive-board figcaption,
.material-spread figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .65rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cover-number {
  grid-column: 10 / 13;
  justify-self: end;
  margin-top: 7vw;
  color: var(--cobalt);
  font-family: var(--serif);
  font-size: clamp(8rem, 16vw, 17rem);
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.08em;
}
.cover-intro {
  grid-column: 1 / 5;
  grid-row: 3;
  align-self: end;
  padding-top: 2rem;
}
.cover-intro p { max-width: 31rem; }
.cover-intro p + p { margin-top: 1rem; }
.cover-contact {
  grid-column: 10 / 13;
  grid-row: 3;
  align-self: end;
  display: grid;
  gap: .35rem;
  padding: 1rem;
  color: var(--paper);
  background: var(--ink);
}
.cover-contact .micro-label { margin-bottom: .5rem; color: var(--acid); }
.cover-contact a {
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px solid #777;
  font-size: .76rem;
  overflow-wrap: anywhere;
}
.ticker {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-block: 1px solid var(--ink);
  white-space: nowrap;
}
.ticker div {
  width: max-content;
  padding: .65rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: .04em;
  animation: ticker 26s linear infinite;
}
.ticker i { padding: 0 .8rem; color: var(--acid); font-family: var(--sans); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Profile */
.profile-spread {
  position: relative;
  min-height: 100svh;
  padding-block: clamp(6rem, 11vw, 11rem);
  overflow: hidden;
  color: var(--paper);
  background: var(--cobalt);
}
.profile-spread::after {
  content: "PROFILE / PROFILE / PROFILE";
  position: absolute;
  right: -1rem;
  bottom: 0;
  color: rgba(255,255,255,.13);
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4.7vw, 5rem);
  letter-spacing: .03em;
  writing-mode: vertical-rl;
}
.profile-index {
  position: absolute;
  top: 2rem;
  right: 3vw;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(8rem, 22vw, 23rem);
  font-weight: 800;
  line-height: .7;
  opacity: .85;
}
.profile-grid { position: relative; z-index: 2; }
.profile-heading { grid-column: 1 / 7; }
.profile-heading h2,
.section-banner h2,
.archive-heading h2,
.material-heading h2,
.method-intro h2,
.technical-head h2,
.contact-heading h2,
.motion-copy h2 {
  margin: 1rem 0 0;
  font-size: clamp(4rem, 8.4vw, 9rem);
  font-weight: 600;
  line-height: .79;
  letter-spacing: -.065em;
}
.profile-heading .serif { color: var(--acid); font-size: 1.12em; }
.profile-copy { grid-column: 8 / 13; margin-top: 18vw; }
.profile-copy p { max-width: 38rem; }
.profile-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.profile-chips span {
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 100%;
  padding: .45rem .8rem;
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
}
.profile-quote {
  grid-column: 3 / 10;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-left: 1.5rem;
  border-left: 8px solid var(--acid);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-style: italic;
  line-height: 1;
}

/* Project index */
.selected-work { padding-block: clamp(6rem, 10vw, 10rem); background: var(--paper); }
.section-banner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}
.section-banner .eyebrow { grid-column: 1 / 4; align-self: start; }
.section-banner h2 { grid-column: 3 / 11; }
.section-banner h2 .serif { color: var(--coral); }
.view-switch {
  grid-column: 11 / 13;
  display: flex;
  align-self: end;
  border: 1px solid var(--ink);
}
.view-switch button {
  flex: 1;
  border: 0;
  padding: .7rem;
  background: transparent;
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  cursor: pointer;
}
.view-switch button + button { border-left: 1px solid var(--ink); }
.view-switch button.is-active { color: var(--paper); background: var(--ink); }
.project-list { display: grid; gap: clamp(2rem, 6vw, 6rem); }
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  margin-inline: var(--gutter);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}
.project-card:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.project-card:nth-child(even) .project-visual { grid-column: 2; }
.project-card:nth-child(even) .project-caption { grid-column: 1; grid-row: 1; }
.project-card--cobalt { color: var(--paper); background: var(--cobalt); }
.project-card--coral { color: var(--paper); background: var(--coral); }
.project-card--acid { color: var(--ink); background: var(--acid); }
.project-visual {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: var(--ink);
  border-right: 1px solid var(--ink);
}
.project-card:nth-child(even) .project-visual { border-right: 0; border-left: 1px solid var(--ink); }
.project-visual figure,
.project-visual img { width: 100%; height: 100%; }
.project-visual img {
  object-fit: contain;
  transition: transform .7s var(--ease), filter .4s ease;
}
.project-visual:hover img { transform: scale(.975); filter: saturate(1.12); }
.project-index {
  position: absolute;
  top: -.04em;
  left: .04em;
  z-index: 2;
  color: var(--paper);
  -webkit-text-stroke: 1px var(--ink);
  font-family: var(--serif);
  font-size: clamp(7rem, 15vw, 16rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.09em;
  mix-blend-mode: normal;
}
.project-caption {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(1.4rem, 3vw, 3.25rem);
}
.project-caption h3 {
  margin: .65rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-style: italic;
  font-weight: 600;
  line-height: .85;
  letter-spacing: -.06em;
}
.project-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.project-actions .mini-button { border-color: currentColor; }
.project-list.is-index { gap: 0; border-top: 1px solid var(--ink); }
.project-list.is-index .project-card {
  display: grid;
  grid-template-columns: 1fr;
  margin-inline: var(--gutter);
  box-shadow: none;
  border-width: 0 0 1px;
  background: transparent;
  color: var(--ink);
}
.project-list.is-index .project-visual {
  min-height: 0;
  border: 0;
  background: transparent;
}
.project-list.is-index .project-visual figure { display: none; }
.project-list.is-index .project-index {
  position: static;
  display: block;
  padding: .55rem 0;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 1rem;
  mix-blend-mode: normal;
}
.project-list.is-index .project-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-row: 2;
  padding: 1rem 0 1.35rem;
}
.project-list.is-index .project-caption h3 { margin: .25rem 0; font-size: clamp(2rem, 5vw, 4.5rem); }

/* Motion */
.motion-feature {
  position: relative;
  padding-block: clamp(7rem, 12vw, 12rem);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.motion-word {
  position: absolute;
  top: -.15em;
  left: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.16);
  font-size: 28vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.08em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.motion-grid { position: relative; z-index: 2; align-items: center; }
.motion-copy { grid-column: 1 / 6; }
.motion-copy h2 { font-size: clamp(3.8rem, 7.6vw, 8rem); }
.motion-copy h2 .serif { color: var(--acid); }
.motion-copy > p:last-child { max-width: 30rem; color: #c5c5c5; }
.motion-screen { grid-column: 7 / 13; width: min(100%, 576px); justify-self: center; border: 1px solid #555; background: #111; }
.motion-screen video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.motion-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border-top: 1px solid #555;
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
}
.motion-label button { border: 0; border-bottom: 1px solid currentColor; padding: .25rem 0; color: var(--acid); background: transparent; font: inherit; text-transform: uppercase; cursor: pointer; }

/* Visual archive */
.visual-archive {
  position: relative;
  padding-block: clamp(7rem, 12vw, 12rem);
  overflow: hidden;
  background: var(--paper);
}
.visual-archive::before {
  content: "ARCHIVE";
  position: absolute;
  top: 2rem;
  left: -1vw;
  color: rgba(109,16,40,.09);
  font-family: var(--serif);
  font-size: 22vw;
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.08em;
}
.archive-heading { position: relative; z-index: 2; align-items: end; }
.archive-heading .eyebrow { grid-column: 1 / 4; align-self: start; }
.archive-heading h2 { grid-column: 3 / 10; }
.archive-heading h2 .serif { color: var(--cobalt); }
.archive-heading .lead { grid-column: 9 / 13; margin: 0 0 1rem; }
.archive-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(4rem, 8vw, 8rem);
}
.archive-board { position: relative; }
.archive-board--one { grid-column: 1 / 8; }
.archive-board--two { grid-column: 7 / 13; margin-top: 17vw; }
.archive-board button,
.material-spread figure button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: white;
  cursor: zoom-in;
}
.archive-board img { aspect-ratio: 16 / 11; object-fit: contain; border: 1px solid var(--ink); }
.archive-board--one { transform: rotate(-1.25deg); }
.archive-board--two { transform: rotate(1.6deg); }
.archive-board figcaption span { color: var(--cobalt); }

/* Material */
.material-spread {
  padding-block: clamp(7rem, 12vw, 12rem);
  color: var(--paper);
  background: var(--coral);
}
.material-grid { align-items: start; }
.material-heading { grid-column: 1 / 6; position: sticky; top: 7.5rem; }
.material-heading h2 { font-size: clamp(4.4rem, 9.6vw, 10rem); }
.material-heading h2 .serif { color: var(--paper); }
.material-heading .lead { max-width: 30rem; }
.material-main { grid-column: 7 / 13; }
.material-detail { grid-column: 6 / 10; margin-top: 8vw; }
.material-spread img {
  height: auto;
  border: 1px solid var(--ink);
}
.material-spread figcaption { border-top: 1px solid var(--paper); }
.material-note {
  margin: clamp(4rem, 9vw, 9rem) 0 0;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Method */
.method-spread { padding-block: clamp(7rem, 12vw, 12rem); background: var(--acid); }
.method-intro { grid-column: 1 / 6; }
.method-intro h2 { font-size: clamp(3.9rem, 8vw, 8.5rem); }
.method-intro h2 .serif { color: var(--cobalt); }
.method-list {
  grid-column: 7 / 13;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.method-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ink);
}
.method-list b { color: var(--cobalt); font-family: var(--mono); font-size: .8rem; font-weight: 500; }
.method-list span { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.8rem); font-style: italic; line-height: 1; letter-spacing: -.04em; }
.method-list em { font-family: var(--mono); font-size: .66rem; font-style: normal; text-transform: uppercase; }

/* Interactive technical archive */
.technical-archive {
  padding-block: clamp(7rem, 12vw, 12rem);
  color: var(--paper);
  background: var(--cobalt);
}
.technical-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
}
.technical-head .eyebrow { grid-column: 1 / 4; align-self: start; }
.technical-head h2 { grid-column: 3 / 10; font-size: clamp(4rem, 8.7vw, 9.2rem); }
.technical-head h2 .serif { color: var(--acid); }
.technical-head > p:last-child { grid-column: 10 / 13; }
.technical-console {
  display: grid;
  grid-template-columns: minmax(13rem, 3fr) minmax(0, 9fr);
  gap: var(--gutter);
  margin-top: clamp(4rem, 8vw, 8rem);
}
.technical-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.8);
}
.technical-tabs button {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .75rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.8);
  padding: 1.1rem 0;
  color: var(--paper);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.technical-tabs button span { color: var(--acid); font-family: var(--mono); font-size: .72rem; }
.technical-tabs button.is-active {
  padding-left: .75rem;
  color: var(--ink);
  background: var(--acid);
}
.technical-tabs button.is-active span { color: var(--cobalt); }
.technical-stage { min-width: 0; }
.technical-panel {
  margin: 0;
  color: var(--ink);
  background: white;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--acid);
}
.technical-panel[hidden] { display: none; }
.technical-panel > button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: white;
  cursor: zoom-in;
}
.technical-panel img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: white;
}
.technical-panel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.technical-panel figcaption span { color: #555; }

/* Contact */
.contact {
  position: relative;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(7rem, 12vw, 12rem) 1.5rem;
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
}
.contact-issue {
  position: absolute;
  right: -.05em;
  bottom: .3em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10,10,10,.2);
  font-family: var(--serif);
  font-size: 23vw;
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.08em;
  max-width: 100%;
  overflow: hidden;
}
.contact-grid { position: relative; z-index: 2; }
.contact-heading { grid-column: 1 / 8; }
.contact-heading h2 .serif { color: var(--cobalt); }
.contact-details { grid-column: 8 / 13; margin-top: 12vw; border-top: 2px solid var(--ink); }
.contact-details a {
  display: grid;
  gap: .4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink);
}
.contact-details span { font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }
.contact-details strong { font-size: clamp(.95rem, 1.5vw, 1.3rem); font-weight: 500; overflow-wrap: anywhere; }
.contact-details a:hover strong { color: var(--cobalt); }
.footer-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Case study shared system */
.case-rail .rail-case {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #bdbdbd;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.case-rail .rail-case span { color: var(--acid); }
.case-rail .rail-case strong { font-weight: 400; }
.rail-back { margin-bottom: 1rem; color: var(--paper); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.case-hero {
  min-height: 100svh;
  padding: 8rem var(--gutter) 3rem;
  overflow: hidden;
  background: var(--paper);
}
.case-hero .grid { align-items: start; }
.case-number {
  grid-column: 1 / 3;
  color: var(--cobalt);
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.09em;
}
.case-title-wrap { grid-column: 3 / 10; position: relative; z-index: 2; }
.case-title {
  margin: .7rem 0 0;
  font-size: clamp(5rem, 11vw, 11.5rem);
  font-weight: 600;
  line-height: .72;
  letter-spacing: -.075em;
}
.case-title .script {
  display: block;
  margin-left: .55em;
  color: var(--coral);
  font-family: var(--serif);
  font-size: .6em;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}
.case-intro { grid-column: 10 / 13; align-self: end; margin-top: 11vw; }
.case-intro p { margin-top: 0; }
.case-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.case-hero-image {
  grid-column: 3 / 13;
  height: min(65vh, 720px);
  margin-top: -1.5rem;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.case-hero-image img { width: 100%; height: 100%; object-fit: contain; }
.case-hero-image--portrait { width: min(100%, 640px); height: auto; justify-self: center; background: transparent; }
.case-hero-image--portrait img { height: auto; }
.case-metadata {
  padding: 1.1rem var(--gutter);
  color: var(--paper);
  background: var(--ink);
}
.case-metadata dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin: 0; }
.case-metadata dt { color: var(--acid); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.case-metadata dd { margin: .3rem 0 0; font-size: .9rem; }
.case-block { padding-block: clamp(6rem, 11vw, 11rem); }
.case-block h2 {
  grid-column: 1 / 7;
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 8.5rem);
  font-weight: 600;
  line-height: .79;
  letter-spacing: -.065em;
}
.case-block .case-copy { grid-column: 8 / 13; margin-top: 10vw; }
.case-copy p { margin-top: 0; }
.case-copy .lead { margin-bottom: 2rem; }
.case-moodboards { padding-block: clamp(6rem, 10vw, 10rem); color: var(--paper); background: var(--cobalt); }
.case-moodboards > .grid { padding-inline: var(--gutter); }
.case-mood-title { grid-column: 1 / 8; }
.case-mood-title h2 { margin: .75rem 0 0; font-size: clamp(4rem, 9vw, 9rem); line-height: .78; letter-spacing: -.07em; }
.case-mood-lead { grid-column: 9 / 13; align-self: end; }
.full-image { width: 100%; max-height: 96vh; object-fit: contain; background: var(--ink); }
.split-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  padding: var(--gutter);
  background: var(--acid);
}
.split-media img { width: 100%; height: 76vh; object-fit: contain; background: var(--ink); border: 1px solid var(--ink); }
.editorial-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(43rem, 62vw);
  gap: var(--gutter);
  padding: 0 var(--gutter) var(--gutter);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--cobalt) var(--paper);
}
.editorial-strip figure { scroll-snap-align: start; }
.editorial-strip img { width: 100%; height: 76vh; object-fit: contain; background: var(--ink); border: 1px solid var(--ink); }
.editorial-strip figcaption { padding-top: .6rem; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.case-video { padding-block: clamp(6rem, 10vw, 10rem); color: var(--paper); background: var(--ink); }
.case-video-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); padding-inline: var(--gutter); align-items: end; }
.case-video-copy h2 { margin: .8rem 0 1.5rem; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .8; letter-spacing: -.06em; }
.case-video-copy .script { color: var(--acid); font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; }
.case-video video { width: 100%; max-height: 80vh; object-fit: contain; background: black; border: 1px solid #555; }
.case-video--louva .case-video-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 576px); align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.case-video--louva video { display: block; height: auto; max-height: none; aspect-ratio: 9 / 16; }
.technical-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  padding-inline: var(--gutter);
}
.technical-grid figure { margin: 0; background: white; border: 1px solid var(--ink); }
.technical-grid figure:nth-child(1) { grid-column: 1 / 7; transform: rotate(-.5deg); }
.technical-grid figure:nth-child(2) { grid-column: 7 / 13; transform: rotate(.6deg); }
.technical-grid .zoom-button { display: block; width: 100%; border: 0; padding: 0; background: white; cursor: zoom-in; }
.technical-grid img { width: 100%; max-height: 70vh; aspect-ratio: 4 / 3; object-fit: contain; }
.technical-grid figcaption { padding: .7rem; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.case-technical-console {
  margin-top: var(--gutter);
  padding-block: clamp(3rem, 7vw, 6rem);
  color: var(--paper);
  background: var(--cobalt);
}
.material-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
  padding: var(--gutter);
  background: var(--coral);
}
.material-layout .material-main { grid-column: 1 / 9; }
.material-layout .material-detail { grid-column: 9 / 13; margin-top: 17vw; }
.material-layout .zoom-button { border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.material-layout img { width: 100%; max-height: 82vh; object-fit: contain; background: var(--ink); border: 1px solid var(--ink); }
.timeline { grid-column: 4 / 13; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 4rem 2fr 4fr; gap: var(--gutter); padding: 1.2rem 0; border-bottom: 1px solid var(--ink); }
.timeline b { color: var(--cobalt); font-family: var(--mono); }
.timeline strong { font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.next-case {
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(5rem, 10vw, 10rem) var(--gutter);
  color: var(--ink);
  background: var(--acid);
  border-top: 1px solid var(--ink);
}
.next-case span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.next-case strong { display: block; margin-top: .5rem; font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 8.5rem); font-style: italic; font-weight: 600; line-height: .85; letter-spacing: -.06em; }

/* Dialogs and motion */
.image-dialog,
.video-dialog { max-width: none; border: 0; padding: 0; color: white; background: transparent; }
.image-dialog { width: min(96vw, 1600px); max-height: 94vh; overflow: visible; }
.image-dialog::backdrop,
.video-dialog::backdrop { background: rgba(5,5,5,.94); backdrop-filter: blur(8px); }
.image-dialog img { width: 100%; max-height: 88vh; object-fit: contain; background: white; }
.dialog-close {
  position: absolute;
  top: -2.7rem;
  right: 0;
  border: 1px solid white;
  padding: .45rem .8rem;
  color: white;
  background: black;
  font-family: var(--mono);
  font-size: .66rem;
  text-transform: uppercase;
  cursor: pointer;
}
.video-dialog { width: min(94vw, 1500px); }
.video-dialog-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
}
.video-dialog-close { border: 0; border-bottom: 1px solid currentColor; padding: .25rem 0; background: transparent; font: inherit; text-transform: uppercase; cursor: pointer; }
.video-dialog video { display: block; width: 100%; max-height: 82vh; background: #000; }

[data-reveal] {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.pointer-signal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 220;
  width: 12px;
  height: 12px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .2s ease, height .2s ease, opacity .2s ease;
  mix-blend-mode: normal;
}
.pointer-signal.is-active { width: 36px; height: 36px; background: rgba(109,16,40,.2); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

@media (max-width: 980px) {
  body.has-rail { padding-left: 0; }
  .archive-rail { display: none; }
  .site-header { left: 0; min-height: 60px; }
  .brand { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 60px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding: 2rem var(--gutter);
    color: var(--paper);
    background: var(--ink);
    border-bottom: 1px solid var(--paper);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a,
  .site-nav button { color: var(--paper); font-size: .82rem; }
  .color-toggle { border-color: var(--paper) !important; }
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cover { padding-top: 60px; }
  .cover-title { grid-column: 1 / 9; }
  .cover-title h1 { font-size: clamp(5rem, 17vw, 10rem); }
  .cover-portrait { grid-column: 3 / 7; }
  .cover-number { grid-column: 7 / 9; }
  .cover-intro { grid-column: 1 / 5; }
  .cover-contact { grid-column: 6 / 9; }
  .profile-heading { grid-column: 1 / 6; }
  .profile-copy { grid-column: 5 / 9; }
  .profile-quote { grid-column: 2 / 8; }
  .section-banner { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .section-banner .eyebrow { grid-column: 1 / 3; }
  .section-banner h2 { grid-column: 2 / 8; }
  .view-switch { grid-column: 6 / 9; margin-top: 2rem; }
  .project-card,
  .project-card:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr); }
  .project-card:nth-child(even) .project-visual { grid-column: 1; border-left: 0; border-right: 1px solid var(--ink); }
  .project-card:nth-child(even) .project-caption { grid-column: 2; }
  .project-visual { min-height: 62vh; }
  .motion-copy { grid-column: 1 / 5; }
  .motion-screen { grid-column: 5 / 9; }
  .case-video--louva .case-video-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .archive-heading .eyebrow { grid-column: 1 / 3; }
  .archive-heading h2 { grid-column: 2 / 7; }
  .archive-heading .lead { grid-column: 6 / 9; }
  .material-heading { grid-column: 1 / 5; }
  .material-main { grid-column: 5 / 9; }
  .material-detail { grid-column: 4 / 7; }
  .method-intro { grid-column: 1 / 5; }
  .method-list { grid-column: 5 / 9; }
  .technical-head { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .technical-head .eyebrow { grid-column: 1 / 3; }
  .technical-head h2 { grid-column: 2 / 7; }
  .technical-head > p:last-child { grid-column: 6 / 9; }
  .contact-heading { grid-column: 1 / 6; }
  .contact-details { grid-column: 5 / 9; }
  .case-number { grid-column: 1 / 3; }
  .case-title-wrap { grid-column: 2 / 8; }
  .case-intro { grid-column: 6 / 9; }
  .case-hero-image { grid-column: 2 / 9; }
  .case-block h2 { grid-column: 1 / 5; }
  .case-block .case-copy { grid-column: 5 / 9; }
  .case-mood-title { grid-column: 1 / 6; }
  .case-mood-lead { grid-column: 6 / 9; }
  .technical-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .technical-grid figure:nth-child(1) { grid-column: 1 / 5; }
  .technical-grid figure:nth-child(2) { grid-column: 5 / 9; }
  .material-layout { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .material-layout .material-main { grid-column: 1 / 6; }
  .material-layout .material-detail { grid-column: 6 / 9; }
  .timeline { grid-column: 2 / 9; }
}

@media (max-width: 680px) {
  :root { --gutter: 1rem; }
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cover-topline span:nth-child(2) { display: none; }
  .cover-grid { padding-top: 2rem; min-height: auto; }
  .cover-title { grid-column: 1 / 5; }
  .cover-title h1 { font-size: clamp(4.25rem, 22.5vw, 7rem); line-height: .7; }
  .sans-outline { margin-left: 0; -webkit-text-stroke-width: 1.5px; }
  .cover-portrait { grid-column: 1 / 5; margin-top: 1rem; }
  .portrait-window { height: auto; }
  .cover-number { position: absolute; top: 17rem; right: 1rem; font-size: 8rem; }
  .cover-intro,
  .cover-contact { grid-column: 1 / 5; grid-row: auto; margin-top: 2.5rem; }
  .cover-contact { margin-top: 1rem; }
  .button-row,
  .button-row > * { width: 100%; }
  .profile-spread { min-height: auto; }
  .profile-index { font-size: 10rem; opacity: .45; }
  .profile-heading,
  .profile-copy,
  .profile-quote { grid-column: 1 / 5; }
  .profile-heading h2,
  .section-banner h2,
  .archive-heading h2,
  .material-heading h2,
  .method-intro h2,
  .technical-head h2,
  .contact-heading h2,
  .motion-copy h2 { font-size: clamp(3.3rem, 16vw, 6.2rem); }
  .archive-heading h2,
  .technical-head h2 { font-size: clamp(2.9rem, 13.4vw, 4rem); }
  .profile-copy { margin-top: 4rem; }
  .profile-quote { margin-top: 4rem; }
  .section-banner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-banner .eyebrow,
  .section-banner h2,
  .view-switch { grid-column: 1 / 5; }
  .section-banner h2 { margin-top: 1.2rem; }
  .view-switch { width: 100%; }
  .project-card,
  .project-card:nth-child(even) { display: grid; grid-template-columns: 1fr; margin-inline: 1rem; box-shadow: 5px 5px 0 var(--ink); }
  .project-card:nth-child(even) .project-visual,
  .project-card:nth-child(even) .project-caption { grid-column: 1; grid-row: auto; }
  .project-visual,
  .project-card:nth-child(even) .project-visual { min-height: 58vh; border: 0; border-bottom: 1px solid var(--ink); }
  .project-caption { gap: 1.5rem; }
  .project-actions,
  .project-actions > * { width: 100%; }
  .project-list.is-index .project-card { margin-inline: 1rem; }
  .project-list.is-index .project-caption { grid-template-columns: 1fr; }
  .motion-copy,
  .motion-screen { grid-column: 1 / 5; }
  .motion-screen { margin-top: 3rem; }
  .archive-heading .eyebrow,
  .archive-heading h2,
  .archive-heading .lead { grid-column: 1 / 5; }
  .archive-heading .lead { margin-top: 2rem; }
  .archive-collage { grid-template-columns: repeat(4, 1fr); }
  .archive-board--one,
  .archive-board--two { grid-column: 1 / 5; margin-top: 0; }
  .archive-board--two { margin-top: 2rem; }
  .material-heading,
  .material-main,
  .material-detail { grid-column: 1 / 5; }
  .material-heading { position: static; }
  .material-main { margin-top: 3rem; }
  .material-detail { margin-top: 2rem; margin-left: 18%; }
  .method-intro,
  .method-list { grid-column: 1 / 5; }
  .method-list { margin-top: 3rem; }
  .method-list li { grid-template-columns: 2.5rem 1fr; }
  .method-list em { grid-column: 2; }
  .technical-head { display: grid; grid-template-columns: repeat(4, 1fr); }
  .technical-head .eyebrow,
  .technical-head h2,
  .technical-head > p:last-child { grid-column: 1 / 5; }
  .technical-head > p:last-child { margin-top: 2rem; }
  .technical-console { grid-template-columns: 1fr; }
  .technical-tabs { display: grid; grid-template-columns: 1fr; }
  .technical-tabs button { grid-template-columns: 2.2rem 1fr; }
  .technical-panel { box-shadow: 6px 6px 0 var(--acid); }
  .technical-panel figcaption { flex-direction: column; }
  .contact-heading,
  .contact-details { grid-column: 1 / 5; }
  .contact-details { margin-top: 4rem; }
  .footer-row { flex-direction: column; }

  .case-hero { padding-top: 7rem; }
  .case-number { grid-column: 1 / 2; font-size: 6rem; }
  .case-title-wrap { grid-column: 1 / 5; }
  .case-title { font-size: clamp(4rem, 18vw, 6.5rem); margin-top: 1.4rem; }
  .case-title .script { margin-left: .2em; font-size: .58em; }
  .case-intro { grid-column: 1 / 5; margin-top: 2.5rem; }
  .case-actions,
  .case-actions > * { width: 100%; }
  .case-hero-image { grid-column: 1 / 5; height: 62svh; margin-top: 2rem; }
  .case-hero-image--portrait { height: auto; }
  .case-metadata dl { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .case-block h2,
  .case-block .case-copy { grid-column: 1 / 5; }
  .case-block h2 { font-size: clamp(3.3rem, 15vw, 6rem); }
  .case-block .case-copy { margin-top: 3rem; }
  .case-mood-title,
  .case-mood-lead { grid-column: 1 / 5; }
  .case-mood-lead { margin-top: 2rem; }
  .editorial-strip { grid-auto-columns: 88vw; }
  .editorial-strip img { height: 64vh; }
  .case-video-grid { grid-template-columns: 1fr; }
  .case-video--louva .case-video-grid { grid-template-columns: minmax(0, 1fr); }
  .technical-grid { display: block; }
  .technical-grid figure { margin-bottom: 1rem; transform: none !important; }
  .material-layout { display: block; }
  .material-layout .material-detail { margin: 1rem 0 0 22%; }
  .split-media { grid-template-columns: 1fr; }
  .split-media img { height: 62vh; }
  .timeline { grid-column: 1 / 5; }
  .timeline li { grid-template-columns: 2.5rem 1fr; gap: .75rem; }
  .timeline li span:last-child { grid-column: 2; }
  .next-case strong { font-size: 3.5rem; }
  .pointer-signal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* A working wall: reference, texture, and the finished body. */
.mural-toolbar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: clamp(3rem, 6vw, 6rem); }
.mural-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.mural-filters button { min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--cobalt); color: var(--cobalt); background: white; font-size: .875rem; cursor: pointer; transition: background .2s, color .2s; }
.mural-filters button.is-active, .mural-filters button:hover { color: white; background: var(--cobalt); }
.mural-count { flex-shrink: 0; margin: 0; font-family: var(--mono); font-size: .875rem; }
.image-mural { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(3rem, 5.2vw, 5.5rem); grid-auto-flow: dense; gap: clamp(.85rem, 1.7vw, 1.75rem); margin-top: 3rem; padding-top: 1rem; padding-bottom: 2rem; }
.mural-piece { --rotation: -1.2deg; grid-column: span 2; grid-row: span 8; position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: .6rem; background: white; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(30,8,15,.1); transform: rotate(var(--rotation)); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mural-piece:nth-child(3n) { --rotation: 1.5deg; }
.mural-piece:nth-child(4n) { --rotation: .7deg; }
.mural-piece:nth-child(5n) { --rotation: -2deg; }
.mural-piece:hover, .mural-piece:focus-within { z-index: 5; transform: rotate(0deg) translateY(-5px); box-shadow: 0 18px 32px rgba(30,8,15,.16); }
.mural-piece[hidden] { display: none !important; }
.mural-piece--board { grid-column: span 4; grid-row: span 6; }
.mural-piece--crop-form, .mural-piece--crop-codes { grid-row: span 5; }
.mural-piece button { position: relative; display: block; flex: 1; width: 100%; min-height: 0; padding: 0; border: 0; background: white; overflow: hidden; cursor: zoom-in; }
.mural-window { display: block; width: 100%; height: 100%; overflow: hidden; position: relative; }
.mural-window img { width: 100%; height: 100%; object-fit: cover; }
.mural-piece--board img { object-fit: contain; }
.mural-piece--crop-form img { position: absolute; width: 220%; height: auto; max-width: none; left: -65%; top: -85%; }
.mural-piece--crop-codes img { position: absolute; width: 437%; height: auto; max-width: none; left: 0; top: 0; }
.mural-open { position: absolute; right: .5rem; bottom: .5rem; padding: .5rem .65rem; color: white; background: var(--cobalt); font-size: .875rem; opacity: 0; transform: translateY(.3rem); transition: opacity .2s, transform .2s; }
.mural-piece:hover .mural-open, .mural-piece:focus-within .mural-open { opacity: 1; transform: none; }
.mural-piece figcaption { flex-shrink: 0; padding: .8rem .2rem .25rem; color: var(--ink); font-family: var(--mono); font-size: .875rem; line-height: 1.4; }
.image-mural--case { margin-top: 4rem; padding-inline: var(--gutter); }
.image-mural.is-filtered { grid-auto-rows: auto; align-items: start; }
.image-mural.is-filtered .mural-piece { grid-row: auto; }
.image-mural.is-filtered .mural-piece--board { grid-column: span 3; }
.image-mural.is-filtered .mural-piece button { flex: none; }
.image-mural.is-filtered .mural-piece--photo .mural-window { aspect-ratio: 3 / 4; }
.image-mural.is-filtered .mural-piece--board .mural-window { aspect-ratio: 1973 / 1280; }
.image-mural.is-filtered .mural-piece--crop-form .mural-window, .image-mural.is-filtered .mural-piece--crop-codes .mural-window { aspect-ratio: 3 / 4; }
.photo-zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.case-hero-image > .photo-zoom { height: 100%; }
.case-hero-image--portrait > .photo-zoom { height: auto; }
.split-media > .photo-zoom { min-width: 0; }
.editorial-strip .photo-zoom { overflow: hidden; }
.photo-zoom img { transition: filter .25s; }
.photo-zoom:hover img { filter: brightness(1.04); }

/* Browse the complete image; zoom only when requested. */
.image-dialog { width: min(96vw, 1440px); max-height: 96svh; overflow: auto; padding: .9rem; background: #141012; color: white; }
.image-dialog[open] { display: flex; flex-direction: column; gap: .75rem; }
.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.gallery-bar p { margin: 0; font-family: var(--mono); font-size: .875rem; }
.gallery-bar > div { display: flex; gap: .5rem; }
.image-dialog button { min-height: 44px; border: 1px solid #766b70; padding: .55rem .8rem; color: white; background: transparent; font-size: .875rem; cursor: pointer; }
.image-dialog .dialog-close { position: static; font-family: var(--sans); }
.image-dialog button:hover { background: var(--cobalt); }
.gallery-viewport { height: 64svh; min-height: 0; flex-shrink: 0; display: grid; place-items: center; overflow: auto; touch-action: pan-y pinch-zoom; }
.image-dialog .gallery-viewport img { width: auto; max-width: 100%; height: auto; max-height: 64svh; object-fit: contain; background: transparent; }
.image-dialog.is-zoomed .gallery-viewport { display: block; touch-action: auto; }
.image-dialog.is-zoomed .gallery-viewport img { max-width: none; max-height: none; width: auto; height: 140svh; margin-inline: auto; }
.gallery-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.gallery-footer p { margin: 0; font-size: .875rem; text-align: center; line-height: 1.4; }
.image-dialog button:disabled { opacity: .3; cursor: default; }
.gallery-thumbnails { display: flex; justify-content: flex-start; gap: .55rem; overflow-x: auto; padding-block: .15rem .4rem; }
.image-dialog .gallery-thumbnails button { flex: 0 0 56px; height: 60px; padding: 2px; opacity: .55; }
.image-dialog .gallery-thumbnails button.is-active { opacity: 1; border: 2px solid white; }
.gallery-thumbnails img { width: 100%; height: 100%; object-fit: cover; background: transparent; }
@media (hover: none) { .mural-open { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .image-mural { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 7vw; }
  .mural-piece--board { grid-column: span 4; }
  .image-mural.is-filtered .mural-piece--board { grid-column: span 4; }
  .mural-toolbar { align-items: flex-start; }
}
@media (max-width: 680px) {
  .mural-toolbar { flex-direction: column; gap: .8rem; }
  .mural-filters { gap: .4rem; }
  .mural-filters button { padding: .55rem .7rem; }
  .image-mural { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 1.3rem .7rem; margin-top: 2rem; }
  .mural-piece { grid-column: span 1; grid-row: auto; padding: .35rem; }
  .mural-piece--board, .image-mural.is-filtered .mural-piece--board { grid-column: span 2; }
  .mural-piece button { flex: none; }
  .mural-piece--photo .mural-window, .mural-piece--crop-codes .mural-window, .mural-piece--crop-form .mural-window { aspect-ratio: 3 / 4; }
  .mural-piece--board .mural-window { aspect-ratio: 1973 / 1280; }
  .mural-piece figcaption { padding-top: .6rem; font-size: .875rem; }
  .mural-open { right: .2rem; bottom: .2rem; padding: .3rem; font-size: .75rem; }
  .image-dialog { padding: .65rem; }
  .gallery-viewport, .image-dialog .gallery-viewport img { max-height: 56svh; }
  .gallery-viewport { height: 56svh; }
  .gallery-footer { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .gallery-footer p { grid-column: 1 / 3; grid-row: 1; }
  .gallery-bar { align-items: center; }
  .gallery-bar > div { gap: .3rem; }
  .image-dialog button { padding-inline: .6rem; }
}

/* Selected technical sheets, with compact visual navigation. */
.technical-tabs { max-height: 72svh; overflow-y: auto; align-self: start; scrollbar-width: thin; scrollbar-color: white transparent; }
.technical-tabs button { grid-template-columns: 1.5rem 3.5rem minmax(0, 1fr); gap: .5rem; padding: .8rem .4rem; }
.technical-tabs button.is-active { padding-left: .4rem; }
.technical-tabs button img { width: 3.5rem; height: 2.75rem; object-fit: contain; background: white; border: 1px solid rgba(255,255,255,.4); }
.technical-tabs button .technical-tab-copy { color: inherit; font-family: var(--sans); font-size: .875rem; line-height: 1.4; }
.technical-tabs button .technical-tab-number { font-size: .875rem; }
.technical-panel figcaption { flex-wrap: wrap; font-size: .875rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
@media (max-width: 680px) {
  .technical-tabs { display: flex; flex-direction: row; gap: .4rem; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: .5rem; scroll-snap-type: x proximity; }
  .technical-tabs button { flex: 0 0 15rem; grid-template-columns: 1.5rem 3.5rem minmax(0, 1fr); border: 1px solid rgba(255,255,255,.5); scroll-snap-align: start; }
}

/* Project stories: clear explanations beside a denser photographic archive. */
.case-story .case-block { padding-block: clamp(3.5rem, 6.5vw, 7rem); }
.case-story .case-block .case-copy { margin-top: 2rem; }
.case-story .case-copy .lead { margin-bottom: 1.25rem; }
.case-story .case-copy p { max-width: 52ch; }
.case-story .case-moodboards { padding-block: clamp(3.5rem, 6vw, 6rem); }
.case-story .case-video { padding-block: clamp(3rem, 6vw, 6rem); }
.case-story .case-video-copy h2 { font-size: clamp(3rem, 5.5vw, 6rem); line-height: .95; overflow-wrap: anywhere; }
.story-gallery { padding-block: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.story-gallery-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.story-gallery-head h2 { margin: .7rem 0 0; font-size: clamp(2.3rem, 4.8vw, 5rem); line-height: .95; letter-spacing: -.045em; }
.story-gallery-head p:last-child { max-width: 48ch; margin-block: 0; }
.story-photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.story-photo { grid-column: span 2; min-width: 0; }
.story-photo:first-child:nth-last-child(4), .story-photo:first-child:nth-last-child(4) ~ .story-photo { grid-column: span 3; }
.story-photo:first-child:nth-last-child(7), .story-photo:nth-child(2):nth-last-child(6), .story-photo:nth-child(6):nth-last-child(2), .story-photo:last-child:nth-child(7) { grid-column: span 3; }
.story-photo .photo-zoom { overflow: hidden; background: #f5f2f2; border: 1px solid var(--line); }
.story-photo img { width: 100%; height: clamp(19rem, 38vw, 37rem); object-fit: contain; }
.story-photo figcaption { margin-top: .8rem; font-size: .95rem; line-height: 1.45; max-width: 48ch; }
.story-gallery--stills { background: #f5f2f2; }
.story-photo--still .photo-zoom { border: 0; background: transparent; }
.story-photo--still img { width: min(100%, 288px); height: auto; margin-inline: auto; }
.story-photo--still figcaption { max-width: 32ch; margin-inline: auto; }
.story-gallery-action { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.mural-piece--video[data-mural-category="louva"] { grid-row: span 5; }
.mural-piece--video .mural-window img { object-fit: contain; }
@media (max-width: 900px) {
  .story-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-photo, .story-photo:first-child:nth-last-child(4), .story-photo:first-child:nth-last-child(4) ~ .story-photo, .story-photo:first-child:nth-last-child(7), .story-photo:nth-child(2):nth-last-child(6), .story-photo:nth-child(6):nth-last-child(2), .story-photo:last-child:nth-child(7) { grid-column: auto; }
  .story-photo:first-child:nth-last-child(7) { grid-column: 1 / -1; }
  .story-photo img { height: clamp(19rem, 55vw, 35rem); }
  .story-photo--still img { height: auto; }
}
@media (max-width: 600px) {
  .story-gallery-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .story-photo-grid { column-gap: .8rem; row-gap: 1.5rem; }
  .story-photo img { height: auto; aspect-ratio: 3 / 4; }
  .story-photo:first-child:nth-last-child(7) img { aspect-ratio: 4 / 3; }
  .story-photo--still img { aspect-ratio: auto; }
  .story-photo figcaption { font-size: .875rem; }
  .case-story .case-block .case-copy { margin-top: 1.8rem; }
  .case-story .case-video-copy h2 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .mural-piece--video[data-mural-category="louva"] { grid-row: auto; }
}
