/* CRISTI & LAU YOUNG TEAM — stylesheet */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f1eee8;
  --paper-2: #e8e4dc;
  --ink: #1b1b19;
  --ink-2: #3a3935;
  --muted: #66625b;
  --line: rgba(27, 27, 25, 0.16);
  --line-strong: rgba(27, 27, 25, 0.5);
  --accent: #c2491d;

  --gutter: clamp(16px, 3.2vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --header-h: 72px;
  --section: clamp(96px, 12vw, 200px);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---------- Type ---------- */

.idx {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 500;
}

.label {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.label .idx { margin-right: 0.6em; }

.display {
  font-size: clamp(3.3rem, 10.4vw, 11.5rem);
  line-height: 0.93;
  letter-spacing: -0.048em;
  font-weight: 620;
  font-stretch: 86%;
  margin-left: -0.05em;
}
.display-2 {
  font-size: clamp(3rem, 8vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: -0.046em;
  font-weight: 620;
  font-stretch: 86%;
  margin-left: -0.05em;
}
.accent { color: var(--accent); }

.h2 {
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.034em;
  font-weight: 560;
  font-stretch: 92%;
  text-wrap: balance;
}

.statement {
  font-size: clamp(1.6rem, 2.9vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 450;
  text-wrap: balance;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-line { background: transparent; min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: center;
  font-size: 15px; font-weight: 500;
  padding: 10px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  transition: color .3s var(--ease);
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; flex-direction: column;
  font-size: 13.5px;
  line-height: 1.02;
  font-weight: 750;
  font-stretch: 80%;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.brand span:last-child { color: var(--muted); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  font-size: 14.5px; font-weight: 450;
  padding: 8px 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { background-size: 100% 1px; }
.header-cta { margin-left: 8px; }

.menu-toggle { display: none; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; font-size: 14.5px; font-weight: 500; }
.menu-bars { width: 22px; height: 8px; position: relative; }
.menu-bars::before, .menu-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-bars::before { top: 0; }
.menu-bars::after { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { top: 3.25px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(20px, 2.4vw, 36px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gap);
  min-height: calc(100svh - var(--header-h) - 92px);
}
.hero-meta {
  grid-column: 1 / 5; grid-row: 1;
  display: flex; gap: 1.2em;
  font-size: 13px; font-weight: 500;
}
.hero-inset {
  grid-column: 2; grid-row: 1;
  align-self: start;
  width: clamp(110px, 10vw, 150px);
  margin-top: .6em;
}
.hero-inset img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hero-inset figcaption, .hero-media figcaption, figure figcaption {
  font-size: 12.5px; line-height: 1.35; color: var(--muted);
  margin-top: 10px;
  display: flex; gap: .8em;
}
figcaption .idx { color: var(--ink); flex: none; }

.hero-copy {
  grid-column: 1 / 8; grid-row: 3;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap);
  padding-bottom: clamp(24px, 3vw, 44px);
  padding-top: 48px;
}
.hero-sub {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px; align-items: end;
  grid-column: 1 / -1;
  margin-top: clamp(28px, 3.4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  max-width: 760px;
}
.hero-sub p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; max-width: 30ch; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-media {
  grid-column: 8 / 13; grid-row: 1 / 4;
  display: flex; flex-direction: column;
  padding-bottom: clamp(24px, 3vw, 44px);
}
.hero-frame {
  position: relative; flex: 1;
  min-height: 420px;
  background: var(--paper-2);
  overflow: hidden;
}
.hero-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-toggle {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 12.5px; font-weight: 500;
  background: var(--paper); color: var(--ink);
  padding: 7px 11px; min-height: 32px;
}
.hero-toggle:hover { background: var(--ink); color: var(--paper); }

.index-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.index-strip a {
  display: flex; gap: 1em; align-items: baseline;
  padding: 20px 0;
  font-size: 14.5px; font-weight: 500;
  transition: color .3s var(--ease);
}
.index-strip li + li a { padding-left: var(--gap); border-left: 1px solid var(--line); }
.index-strip a:hover { color: var(--accent); }

/* ---------- Sections ---------- */

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

/* About */
.about .label { grid-column: 1 / 3; padding-top: .9em; }
.about-text { grid-column: 3 / 8; }
.about-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  margin-top: clamp(40px, 5vw, 80px);
  color: var(--ink-2);
  font-size: 16px;
}
.facts { margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line-strong); }
.facts div {
  display: grid; grid-template-columns: 9.5em 1fr; gap: var(--gap);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; }
.pending { color: var(--muted); font-style: italic; font-weight: 400 !important; }
.about-media { grid-column: 9 / 13; margin-top: clamp(120px, 14vw, 240px); }

/* Zoomable media */
.zoom {
  display: block; width: 100%;
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
}
.zoom img {
  width: 100%;
  transition: transform 1.1s var(--ease), opacity .5s var(--ease);
}
.zoom:hover img { transform: scale(1.025); }
figure:has(.zoom:hover) figcaption .idx { color: var(--accent); }

/* Activity */
.activity .label { grid-column: 1 / 3; padding-top: 1em; }
.activity-title { grid-column: 3 / 11; }
.wide-figure { margin-top: clamp(56px, 7vw, 112px); }
.wide-figure .zoom img { aspect-ratio: 21 / 10; object-fit: cover; }

.label-sub { grid-column: 1 / 3; margin-top: clamp(64px, 8vw, 128px); padding-top: 22px; color: var(--muted); }
.work-list { grid-column: 3 / 13; margin-top: clamp(64px, 8vw, 128px); border-top: 1px solid var(--line-strong); }
.work-row {
  display: grid;
  grid-template-columns: 3.5em minmax(0, 3.2fr) minmax(0, 4fr) 92px;
  column-gap: var(--gap);
  align-items: start;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}
.work-row .idx { padding-top: .35em; }
.work-row h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 540; font-stretch: 94%;
}
.work-row p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.work-row img {
  width: 92px; aspect-ratio: 3 / 4; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: .85;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.work-row:hover img { filter: none; opacity: 1; }

/* Projects */
.projects-head { align-items: end; }
.projects-head .label { grid-column: 1 / 3; align-self: start; padding-top: 1em; }
.projects-head .display-2 { grid-column: 3 / 9; }
.projects-note { grid-column: 9 / 13; color: var(--ink-2); font-size: 15.5px; max-width: 36ch; padding-bottom: .4em; }

.chapter { margin-top: clamp(96px, 11vw, 176px); }
.chapter-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: clamp(32px, 4vw, 64px);
  position: relative;
}
.chapter-head::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px; background: var(--line-strong);
}
.chapter-head .idx { grid-column: 1 / 3; font-size: 14px; color: var(--ink); }
.chapter-head h3 {
  grid-column: 3 / 10;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.05; letter-spacing: -0.028em; font-weight: 560; font-stretch: 92%;
}
.chapter-head .count { grid-column: 10 / 13; justify-self: end; font-size: 13px; color: var(--muted); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(48px, 6vw, 104px);
  align-items: start;
}
.mosaic img { object-fit: cover; width: 100%; }
.r-34 img, .mosaic .a34 img { aspect-ratio: 3 / 4; }

/* Mosaic A */
.mosaic-a .m1 { grid-column: 1 / 6; }
.mosaic-a .m1 img { aspect-ratio: 4 / 5.2; }
.mosaic-a .m2 { grid-column: 7 / 10; margin-top: clamp(64px, 11vw, 200px); }
.mosaic-a .m2 img, .mosaic-a .m3 img { aspect-ratio: 9 / 16; }
.mosaic-a .m3 { grid-column: 10 / 13; }
.mosaic-a .m4 { grid-column: 2 / 8; }
.mosaic-a .m4 img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
.mosaic-a .m5 { grid-column: 9 / 12; margin-top: clamp(48px, 9vw, 160px); }
.mosaic-a .m5 img { aspect-ratio: 3 / 4; object-position: 50% 40%; }

/* Mosaic B */
.mosaic-b { margin-top: clamp(64px, 8vw, 128px); }
.mosaic-b .m1 { grid-column: 1 / 7; }
.mosaic-b .m1 img { aspect-ratio: 4 / 5; }
.mosaic-b .m2 { grid-column: 8 / 11; margin-top: clamp(80px, 12vw, 220px); }
.mosaic-b .m2 img { aspect-ratio: 9 / 16; }
.mosaic-b .m3 { grid-column: 11 / 13; }
.mosaic-b .m3 img { aspect-ratio: 3 / 4; }
.mosaic-b .m4 { grid-column: 2 / 5; }
.mosaic-b .m4 img { aspect-ratio: 9 / 16; }
.mosaic-b .m5 { grid-column: 6 / 9; margin-top: clamp(40px, 8vw, 140px); }
.mosaic-b .m5 img { aspect-ratio: 3 / 4; }
.mosaic-b .m6 { grid-column: 10 / 13; margin-top: clamp(80px, 14vw, 260px); }
.mosaic-b .m6 img { aspect-ratio: 9 / 16; }
.mosaic-b .m7 { grid-column: 4 / 9; }
.mosaic-b .m7 img { aspect-ratio: 5 / 4; object-position: 50% 45%; }

/* Feature C */
.feature-c {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
}
.fc-main { grid-column: 1 / 8; }
.fc-main img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.fc-side {
  grid-column: 9 / 13;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
}
.fc-text { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 450; max-width: 22ch; }
.fc-side .vtile { width: 78%; align-self: flex-end; }

/* Mosaic C */
.mosaic-c { margin-top: clamp(80px, 10vw, 160px); }
.mosaic-c .m1 { grid-column: 1 / 5; }
.mosaic-c .m2 { grid-column: 6 / 9; margin-top: clamp(64px, 10vw, 180px); }
.mosaic-c .m3 { grid-column: 10 / 13; }
.mosaic-c .m4 { grid-column: 1 / 4; }
.mosaic-c .m5 { grid-column: 5 / 10; margin-top: clamp(32px, 5vw, 80px); }
.mosaic-c .m6 { grid-column: 10 / 13; margin-top: clamp(96px, 14vw, 240px); }
.mosaic-c .m1 img, .mosaic-c .m3 img, .mosaic-c .m6 img { aspect-ratio: 3 / 4; }
.mosaic-c .m2 img, .mosaic-c .m4 img { aspect-ratio: 9 / 16; }
.mosaic-c .m5 img { aspect-ratio: 5 / 4; }

/* Video tiles */
.video-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px;
}
.video-row-3 { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(80px, 10vw, 160px); align-items: end; }
.video-row-3 .vtile:nth-child(1) { grid-column: 1 / 5; }
.video-row-3 .vtile:nth-child(2) { grid-column: 6 / 9; }
.video-note { grid-column: 10 / 13; font-size: 13px; color: var(--muted); max-width: 30ch; padding-bottom: 2.2em; }

.vframe {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  overflow: hidden;
}
.vframe video { width: 100%; height: 100%; object-fit: cover; }
.vframe.is-playing video { object-fit: contain; }
.vplay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start; gap: 10px;
  padding: 16px;
  font-size: 13.5px; font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0) 38%);
  transition: background-color .4s var(--ease);
}
.vplay .dur { opacity: .7; font-weight: 400; }
.vplay-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper);
  position: relative; flex: none;
  transition: background-color .3s var(--ease);
}
.vplay-dot::after {
  content: ""; position: absolute; left: 13px; top: 11px;
  border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.vplay:hover { background-color: rgba(0,0,0,.12); }
.vplay:hover .vplay-dot { background: var(--accent); }
.vplay:hover .vplay-dot::after { border-left-color: #fff; }
.vframe.is-playing .vplay { display: none; }

/* Dark chapter */
.chapter-dark {
  background: var(--ink); color: var(--paper);
  padding: clamp(72px, 8vw, 128px) 0 clamp(96px, 10vw, 160px);
}
.chapter-dark .chapter-head::after { background: rgba(241,238,232,.35); }
.chapter-dark .chapter-head .idx, .chapter-dark figcaption .idx { color: var(--paper); }
.chapter-dark .idx, .chapter-dark figcaption, .chapter-dark .count { color: #a9a49b; }
.chapter-dark .zoom { background: #2a2a27; }
.models { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.models figure:nth-child(1) { grid-column: 3 / 6; }
.models figure:nth-child(2) { grid-column: 6 / 9; margin-top: clamp(40px, 6vw, 96px); }
.models figure:nth-child(3) { grid-column: 9 / 12; margin-top: clamp(80px, 12vw, 192px); }
.models img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 45%; }

/* Contact */
.contact { padding-bottom: var(--section); }
.contact .label { grid-column: 1 / 3; padding-top: 1em; }
.contact-intro { grid-column: 3 / 8; }
.contact-intro .h2 { max-width: 14ch; }
.contact-facts { margin-top: clamp(48px, 6vw, 88px); }
.form { grid-column: 9 / 13; padding-top: .6em; }
.demo-note {
  font-size: 13.5px; line-height: 1.45;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  margin-bottom: 36px;
}
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 8px 0 10px;
  transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field [aria-invalid="true"] { border-bottom-color: var(--accent); }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 8px; }
.form-status { font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.form-status:empty { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 7vw, 112px); }
.footer-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px;
  padding-bottom: clamp(56px, 7vw, 112px);
}
.footer-mark {
  grid-column: 1 / 7;
  font-size: clamp(2.6rem, 5.6vw, 6rem);
  line-height: .9; letter-spacing: -0.04em;
  font-weight: 640; font-stretch: 84%;
  text-transform: uppercase;
}
.footer-col { grid-column: span 2; font-size: 14.5px; line-height: 1.6; color: #d6d1c7; }
.footer-col-first { grid-column: 7 / 9; }
.footer-col .label { color: #a9a49b; margin-bottom: 14px; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-col .pending { color: #a9a49b; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(241,238,232,.2);
  padding-top: 10px; padding-bottom: 14px;
  font-size: 13px; color: #a9a49b;
}
.footer-base .link-arrow { font-size: 13px; color: #d6d1c7; }
.footer-base .link-arrow:hover { color: var(--paper); }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #121211; color: var(--paper);
}
.lightbox::backdrop { background: #121211; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lb-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(241,238,232,.14);
}
.lb-count { color: #a9a49b; }
.lb-close { display: inline-flex; gap: .5em; align-items: center; min-height: 40px; font-weight: 500; }
.lb-close span { font-size: 20px; line-height: 1; }
.lb-figure {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 80px; min-height: 0;
}
.lb-figure img { max-height: calc(100dvh - 160px); width: auto; max-width: 100%; object-fit: contain; }
.lb-figure figcaption { color: #a9a49b; margin-top: 14px; font-size: 13.5px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 22px;
  color: var(--paper);
  transition: color .3s var(--ease);
}
.lb-nav:hover { color: var(--accent); }
.lb-prev { left: calc(var(--gutter) - 16px); }
.lb-next { right: calc(var(--gutter) - 16px); }

/* hero copy placement */
.hero-copy .display { grid-column: 1; grid-row: 1; }
.hero-copy .hero-sub { grid-row: 2; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav ul { gap: 22px; }
  .header-cta { display: none; }
  .about-text { grid-column: 3 / 9; }
  .about-body { grid-template-columns: 1fr; }
  .about-media { grid-column: 9 / 13; }
  .work-list { grid-column: 1 / 13; }
  .label-sub { grid-column: 1 / 13; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }

  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper);
    padding: 32px var(--gutter);
    visibility: hidden; opacity: 0;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a {
    display: block; padding: 16px 0;
    font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 540; letter-spacing: -0.025em; font-stretch: 92%;
    background: none;
  }
  .nav a[aria-current="true"] { color: var(--accent); }
  body.menu-open { overflow: hidden; }

  /* Hero stack */
  .hero-grid { display: flex; flex-direction: column; min-height: 0; }
  .hero-inset { display: none; }
  .hero-meta { order: 1; }
  .hero-copy { order: 2; padding-top: 28px; padding-bottom: 32px; display: block; }
  .hero-media { order: 3; padding-bottom: 32px; }
  .hero-frame { flex: none; aspect-ratio: 4 / 5; min-height: 0; }
  .display { font-size: clamp(3rem, 15.5vw, 6.4rem); }
  .hero-sub { grid-template-columns: 1fr; }
  .index-strip { grid-template-columns: 1fr 1fr; }
  .index-strip li:nth-child(3) a { padding-left: 0; border-left: 0; }
  .index-strip li:nth-child(n+3) a { border-top: 1px solid var(--line); }

  .grid > *, .about .label, .about-text, .about-media, .activity .label, .activity-title,
  .label-sub, .work-list, .projects-head > *, .contact .label, .contact-intro, .form { grid-column: 1 / -1; }
  .about .label, .activity .label, .projects-head .label, .contact .label { margin-bottom: 24px; padding-top: 0; }
  .projects-head .label, .projects-head .display-2, .projects-head .projects-note { grid-column: 1 / -1; }
  .about-media { margin-top: 56px; max-width: 520px; }
  .projects-note { margin-top: 28px; }
  .form { margin-top: 56px; }
  .label-sub { margin-top: 56px; padding-top: 0; }
  .work-list { margin-top: 18px; }
  .work-row { grid-template-columns: 2.6em minmax(0, 1fr) 76px; row-gap: 10px; }
  .work-row h3 { grid-column: 2; }
  .work-row p { grid-column: 2; grid-row: 2; }
  .work-row img { grid-column: 3; grid-row: 1 / 3; width: 76px; filter: none; opacity: 1; }

  .chapter-head h3 { grid-column: 3 / 13; }
  .chapter-head .count { grid-column: 3 / 13; justify-self: start; margin-top: 6px; }

  .wide-figure .zoom img { aspect-ratio: 4 / 3; }

  /* Mosaics become a two-column editorial flow */
  .mosaic { row-gap: 40px; }
  .mosaic > figure { grid-column: span 6 !important; grid-row: auto !important; margin-top: 0 !important; }
  .mosaic > figure:nth-child(3n+1) { grid-column: 1 / -1 !important; }
  .mosaic > figure:nth-child(3n+3) { margin-top: 64px !important; }
  .mosaic > figure img { aspect-ratio: 3 / 4 !important; }
  .mosaic > figure:nth-child(3n+1) img { aspect-ratio: 4 / 5 !important; }

  .video-row { grid-template-columns: 1fr 1fr; }
  .video-row-3 .vtile:nth-child(1), .video-row-3 .vtile:nth-child(2) { grid-column: span 6; }
  .video-note { grid-column: 1 / -1; padding-bottom: 0; }

  .fc-main, .fc-side { grid-column: 1 / -1; }
  .fc-side { margin-top: 40px; }
  .fc-side .vtile { width: 72%; }

  .models figure:nth-child(n) { grid-column: span 4; margin-top: 0; }
  .models figure:nth-child(2) { margin-top: 32px; }
  .models figure:nth-child(3) { margin-top: 64px; }

  .footer-mark { grid-column: 1 / -1; }
  .footer-col, .footer-col-first { grid-column: span 6; }
  .footer-col:last-child { grid-column: 1 / -1; }

  .lb-figure { padding: 16px var(--gutter) 72px; }
  .lb-nav { top: auto; bottom: 12px; transform: none; }
}

@media (max-width: 560px) {
  .video-row { grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .vplay { padding: 10px; font-size: 12.5px; gap: 8px; }
  .vplay-dot { width: 28px; height: 28px; }
  .vplay-dot::after { left: 11px; top: 9px; border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
  .vplay .dur { display: none; }
  .models figure:nth-child(n) { grid-column: span 6; }
  .models figure:nth-child(3) { grid-column: 4 / 10; margin-top: 32px; }
  .actions { gap: 20px; }
  .hero-sub p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .zoom:hover img { transform: none; }
}
