@font-face { font-family: 'Bodoni Moda'; src: url(../assets/fonts/bodoni-moda.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(../assets/fonts/bodoni-moda-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../assets/fonts/manrope.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../assets/fonts/manrope-medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../assets/fonts/manrope-semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #000;
  --paper: #f3f0e9;
  --bone: rgba(243, 240, 233, 0.94);
  --mute: rgba(243, 240, 233, 0.56);
  --hair: rgba(243, 240, 233, 0.2);
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --edge: clamp(20px, 4vw, 56px);
  --top: 68px;
  --silk: cubic-bezier(0.22, 1, 0.36, 1);
  --slow: 1.4s;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--bone); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.still { scroll-behavior: auto; }
body { margin: 0; font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
::selection { background: var(--paper); color: var(--ink); }

/* a whisper of film grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 80; background: var(--paper); color: var(--ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow, .bar, .credit, figcaption, .begin, .cta, .press-name, .menu-more, .sign, .lupa-top, .lupa-bottom, .lupa-hint, .viewer-caption, .explore {
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow { color: var(--mute); }

.cta {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; text-decoration: none;
  border: 1px solid var(--bone); border-radius: 999px; transition: background 0.5s var(--silk), color 0.5s var(--silk);
}
.cta:hover { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------------------------ bar */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top); padding: 0 var(--edge);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--bone); transition: transform 0.6s var(--silk), color 0.4s;
}
.bar::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 -28px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.88) 55%, transparent); transition: opacity 0.4s;
}
.bar::after {
  content: ''; position: absolute; z-index: -1; inset: 0 0 -28px; pointer-events: none; opacity: 0;
  background: linear-gradient(rgba(243, 240, 233, 0.95) 55%, rgba(243, 240, 233, 0)); transition: opacity 0.4s;
}
.bar.paper { color: var(--ink); }
.bar.paper::before { opacity: 0; }
.bar.paper::after { opacity: 1; }
.bar.paper .mark img { filter: invert(1); }
.bar.away { transform: translateY(-100%); }
.bar.away:focus-within { transform: none; transition: none; }
.still .bar, .still .bar::before, .still .bar::after { transition: none; }
.mark { justify-self: start; display: block; padding: 8px 0; }
.mark img { height: 15px; width: auto; }
.bar nav { justify-self: end; display: flex; gap: 32px; }
.bar nav a, .bar nav button { text-decoration: none; padding: 12px 0; text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; font-weight: 500; }
.now { display: flex; align-items: baseline; gap: 14px; opacity: 0; transition: opacity 0.6s; }
.now.on { opacity: 1; }
.now i { font: italic 400 17px/1 var(--serif); letter-spacing: 0; text-transform: none; }

/* ------------------------------------------------------------- overture */

.overture {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(14px, 2.2vh, 24px);
  padding: calc(var(--top) + 4px) var(--edge) clamp(16px, 2.6vh, 28px);
}
.windows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); min-height: 0; }
.window { position: relative; overflow: hidden; background: #0b0b0b; }
.window img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  opacity: 0; will-change: opacity, transform;
}
.window img.show { opacity: 1; }

.overture-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.overture-foot h1 { font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.begin { justify-self: end; display: inline-flex; gap: 12px; align-items: center; text-decoration: none; padding: 10px 2px; border-bottom: 1px solid currentColor; }
.begin span { display: inline-block; animation: nudge 2.4s var(--silk) infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

.moving .window { clip-path: inset(100% 0 0 0); animation: rise 1.9s var(--silk) forwards; }
.moving .window:nth-child(1) { animation-delay: 0.1s; }
.moving .window:nth-child(2) { animation-delay: 0.3s; }
.moving .window:nth-child(3) { animation-delay: 0.5s; }
@keyframes rise { to { clip-path: inset(0 0 0 0); } }
.moving .overture-foot { opacity: 0; animation: lift 1.4s var(--silk) 1.2s forwards; }
@keyframes lift { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ manifesto */

.manifesto { padding: clamp(64px, 10vh, 120px) var(--edge) clamp(56px, 8vh, 96px); display: grid; gap: clamp(36px, 6vh, 64px); }
.manifesto-head { display: grid; gap: 16px; justify-items: center; text-align: center; }
.manifesto-line { font: 400 clamp(19px, 1.6vw, 24px)/1.45 var(--serif); max-width: 30em; color: var(--bone); }
.words { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); }
.words li:nth-child(even) { margin-top: 8vh; }
.word-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.word-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--silk); }
.words figure:hover img { transform: scale(1.06); }
.words figcaption { margin-top: 14px; font: italic 400 20px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bone); }
.voice { font: italic 400 19px/1.4 var(--serif); color: var(--mute); text-align: center; }
.moving .words li { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--silk), transform 1.6s var(--silk); }
.moving .words.in li { opacity: 1; transform: none; }
.moving .words .word-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--silk); }
.moving .words.in .word-photo { clip-path: inset(0); }
.moving .words.in li:nth-child(2), .moving .words.in li:nth-child(2) .word-photo { transition-delay: 0.12s; }
.moving .words.in li:nth-child(3), .moving .words.in li:nth-child(3) .word-photo { transition-delay: 0.24s; }
.moving .words.in li:nth-child(4), .moving .words.in li:nth-child(4) .word-photo { transition-delay: 0.36s; }

/* -------------------------------------------------------------- chapters */

.chapter { position: relative; }
.scene { height: auto; }
.frame {
  position: relative; min-height: 100svh; padding: calc(var(--top) + 8px) var(--edge) var(--edge);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: clamp(20px, 3vw, 56px);
}
.moving .scene { height: 135svh; }
.moving .frame { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.title { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; position: relative; z-index: 2; display: grid; gap: 10px; align-content: end; max-width: 19em; padding-bottom: 4px; }
.flip .title { grid-column: 3; justify-self: start; text-align: left; }
.cn { font: italic 400 15px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bone); margin-right: 6px; }
.dress { font: italic 400 clamp(34px, 3vw, 48px)/1 var(--serif); letter-spacing: -0.01em; margin: 2px 0 2px; }
.sub { font: 400 17px/1.45 var(--serif); color: var(--bone); }
.credit { color: rgba(243, 240, 233, 0.78); font-size: 12px; line-height: 1.6; }
.credit a { text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 2px; }
.credit a:hover { border-color: currentColor; color: var(--bone); }
.moving .title > * { opacity: var(--t, 1); transform: translateY(calc((1 - var(--t, 1)) * 30px)); }

.look {
  grid-column: 2; grid-row: 1; position: relative; z-index: 1; height: calc(100svh - var(--top) - 8px - var(--edge)); aspect-ratio: var(--ar, 0.8);
  overflow: hidden;
}
.look img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.moving .look {
  clip-path: inset(0 calc(50% * (1 - var(--o, 1))) 0 calc(50% * (1 - var(--o, 1))));
}
.moving .look img { transform: scale(calc(1.18 - 0.18 * var(--o, 1))); }
.thread {
  position: absolute; z-index: 2; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--bone);
  transform-origin: top; transform: scaleY(var(--th, 0)); opacity: max(0, 1 - 3 * var(--o, 0)); pointer-events: none;
}
.still .thread { display: none; }
.explore {
  position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 14px 22px; border-radius: 999px; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.92); white-space: nowrap; opacity: var(--o, 1); transition: background 0.4s;
}
.explore:hover { background: rgba(0, 0, 0, 0.8); }

/* the close-ups: generous, unhurried */
.details {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 5vh;
  padding: 4vh var(--edge) 7vh; align-items: start;
}
.detail { grid-column: 2 / span 6; }
.detail.tall { grid-column: 8 / span 4; margin-top: 8vh; }
.detail:only-child { grid-column: 4 / span 6; }
.detail:only-child .crop { max-width: 78vh; margin: 0 auto; }
.detail:only-child figcaption { max-width: 78vh; margin-inline: auto; }
.crop { overflow: hidden; cursor: zoom-in; }
.crop img { width: 100%; height: auto; transform: translateY(var(--py, 0px)) scale(1.1); }
.still .crop img { transform: none; }
.detail figcaption { display: flex; align-items: baseline; gap: 18px; margin-top: 18px; color: var(--mute); }
.detail figcaption b { font: italic 400 21px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bone); }
.dn { font: 400 13px/1 var(--serif); letter-spacing: 0.06em; }
.closer { margin-left: auto; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.closer:hover { border-color: var(--bone); color: var(--bone); }
.moving .detail .crop { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--silk); }
.moving .detail.in .crop { clip-path: inset(0 0 0 0); }
.moving .detail:nth-child(2) .crop { clip-path: inset(0 0 0 100%); }
.moving .detail.in:nth-child(2) .crop { clip-path: inset(0 0 0 0); }
.moving .detail figcaption { opacity: 0; transition: opacity 1.2s var(--silk) 0.6s; }
.moving .detail.in figcaption { opacity: 1; }

.contact h2 { font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); }

/* -------------------------------------------------------------- archive */

.archive { background: var(--paper); color: var(--ink); padding: 10vh var(--edge) 8vh; overflow: hidden; }
.head { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: 7vh; }
.head h2 { font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); }
.head p:not(.eyebrow) { max-width: 30em; color: rgba(0, 0, 0, 0.6); font-size: 17px; }
.archive .eyebrow { color: rgba(0, 0, 0, 0.5); }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); align-items: start; }
.col { display: grid; gap: clamp(12px, 2vw, 32px); will-change: transform; transform: translateY(var(--dy, 0px)); }
.col:nth-child(2) { margin-top: 12vh; }
.tile { display: block; width: 100%; position: relative; overflow: hidden; cursor: zoom-in; text-align: left; }
.tile img { width: 100%; height: auto; transition: transform 1.6s var(--silk), filter 1.2s var(--silk); }
.tile span {
  position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--silk), transform 0.6s var(--silk); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover span, .tile:focus-visible span { opacity: 1; transform: none; }
li.more { display: none; }
.wall.all li.more { display: block; }
.wall-more { text-align: center; margin-top: 6vh; }
.wall.all + .wall-more { display: none; }
.more-open { padding: 16px 28px; border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 999px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; transition: background 0.5s var(--silk), color 0.5s var(--silk); }
.more-open span { color: rgba(0, 0, 0, 0.5); }
.more-open:hover { background: var(--ink); color: var(--paper); }
.more-open:hover span { color: inherit; }

/* ---------------------------------------------------------------- press */

.press { background: var(--paper); color: var(--ink); padding: 6vh 0 10vh; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.press .head { padding: 0 var(--edge); margin-bottom: 5vh; }
.marquee { overflow: hidden; border-block: 1px solid rgba(0, 0, 0, 0.12); padding: 36px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; animation: slide 48s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; padding: 0 clamp(28px, 4vw, 64px); font-size: clamp(20px, 2vw, 30px); white-space: nowrap; }
.marquee-track img { height: 1.05em; width: auto; }
.m-serif { font-family: var(--serif); }
.m-sans { font-family: var(--sans); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.7em !important; }
@keyframes slide { to { transform: translateX(-50%); } }
.still .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
.press-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding: 6vh var(--edge) 0; }
.press-list li { display: grid; gap: 14px; align-content: start; border-top: 1px solid rgba(0, 0, 0, 0.2); padding-top: 22px; }
.press-name { color: rgba(0, 0, 0, 0.55); }
.press-list h3 { font: italic 400 24px/1.15 var(--serif); }
.press-list p:not(.press-name) { color: rgba(0, 0, 0, 0.7); }
.press-list a { justify-self: start; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, 0.3); padding-bottom: 3px; }

/* -------------------------------------------------------------- contact */

.contact { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.contact-photo { position: absolute; inset: 0; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 8%; opacity: 0.85; transform: scale(var(--cs, 1.12)); }
.contact-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000 28%, rgba(0, 0, 0, 0.55) 52%, transparent 78%); }
.contact-in { position: relative; display: grid; gap: 24px; padding: 14vh var(--edge); max-width: 38em; }
.contact-text { color: rgba(243, 240, 233, 0.86); font-size: 17px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.contact-links { gap: 14px; }
.contact-links .cta:not(.ghost) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-links .cta:not(.ghost):hover { background: transparent; color: var(--bone); }
.cta.ghost { background: transparent; color: var(--bone); border-color: rgba(243, 240, 233, 0.55); }
.cta.ghost:hover { background: var(--paper); color: var(--ink); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 28px; color: rgba(243, 240, 233, 0.86); }
.contact-direct a { text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 3px; }
.sign { display: flex; gap: 28px; flex-wrap: wrap; color: var(--mute); margin-top: 8vh; }

/* ----------------------------------------------------------------- menu */

dialog { padding: 0; border: 0; max-width: none; max-height: none; color: var(--bone); }
dialog::backdrop { background: rgba(0, 0, 0, 0.92); }
.close { padding: 12px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

.menu { width: 100vw; height: 100dvh; background: var(--ink); }
.menu[open] { animation: veil 0.7s var(--silk); }
@keyframes veil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.menu-in { position: relative; height: 100%; padding: 22px var(--edge) var(--edge); display: grid; grid-template-rows: auto 1fr auto; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-list { align-self: center; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); width: 100%; }
.menu-list a { display: grid; gap: 14px; text-decoration: none; }
.menu-photo { display: block; aspect-ratio: 3 / 4.4; overflow: hidden; background: #111; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.6s var(--silk), opacity 0.6s; }
.menu-list a:hover img, .menu-list a:focus-visible img { transform: scale(1.04); }
.menu-name { font: italic 400 22px/1 var(--serif); }
.menu-name i { font-size: 15px; color: var(--mute); margin-right: 8px; }
.menu-more { display: flex; flex-wrap: wrap; gap: 28px; }
.menu-more a { text-decoration: none; }

/* --------------------------------------------------- the close-up (lupa) */

.lupa { width: 100vw; height: 100dvh; background: #050505; overflow: hidden; }
.lupa canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.lupa canvas:active { cursor: grabbing; }
.lupa-top, .lupa-bottom { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--edge); pointer-events: none; }
.lupa-top { top: 0; background: linear-gradient(rgba(0, 0, 0, 0.6), transparent); }
.lupa-bottom { bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.lupa-top > *, .lupa-bottom > * { pointer-events: auto; }
.lupa-credit { margin-top: 4px; font-size: 12px; text-transform: none; opacity: 0.75; }
.lupa-title { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 22px; }
.lupa-regions { display: flex; flex-wrap: wrap; gap: 10px; }
.lupa-regions button, .lupa-zoom button { padding: 11px 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: rgba(0, 0, 0, 0.4); }
.lupa-regions button[aria-pressed='true'] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lupa-zoom { display: flex; gap: 10px; }
.lupa-zoom button { width: 48px; height: 48px; padding: 0; font-size: 20px; letter-spacing: 0; }
.lupa-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 20px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); pointer-events: none; opacity: 0; transition: opacity 0.8s; white-space: nowrap; }
.lupa-hint.on { opacity: 1; }

/* the hover loupe (fine pointers only) */
.loupe {
  position: fixed; z-index: 30; left: 0; top: 0; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; overflow: hidden;
  pointer-events: none; opacity: 0; transform: scale(0.6); transition: opacity 0.35s var(--silk), transform 0.5s var(--silk);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 16px 40px rgba(0, 0, 0, 0.45); background: #111;
}
.loupe.on { opacity: 1; transform: scale(1); }
.loupe canvas { width: 100%; height: 100%; }

/* the archive viewer */
.viewer { width: 100vw; height: 100dvh; background: rgba(0, 0, 0, 0.96); display: none; place-items: center; }
.viewer[open] { display: grid; }
.viewer img { max-width: calc(100vw - 2 * var(--edge) - 120px); max-height: calc(100dvh - 140px); width: auto; height: auto; }
.viewer-caption { text-transform: none; position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--mute); }
.viewer .close { position: absolute; top: 14px; right: var(--edge); }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 18px; }
.viewer-prev { left: var(--edge); }
.viewer-next { right: var(--edge); }

/* each dress has its own entrance; all follow the scroll, all on the same soft curve */

/* Maíz falls from the top like fabric unrolling, after a line is drawn across */
.moving [data-enter='fall'] .look { clip-path: inset(0 0 calc(100% * (1 - var(--o, 1))) 0); }
.moving [data-enter='fall'] .look img { transform: translateY(calc((1 - var(--o, 1)) * -5%)) scale(calc(1.1 - 0.1 * var(--o, 1))); }
[data-enter='fall'] .thread { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: center; transform: scaleX(var(--th, 0)); }
/* Ticualtzin rises from the water line */
.moving [data-enter='rise'] .look { clip-path: inset(calc(100% * (1 - var(--o, 1))) 0 0 0); }
.moving [data-enter='rise'] .look img { transform: translateY(calc((1 - var(--o, 1)) * 7%)) scale(calc(1.06 - 0.06 * var(--o, 1))); }
[data-enter='rise'] .thread { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 1px; transform-origin: center; transform: scaleX(var(--th, 0)); }
/* San Miguel opens from the hearts on the bodice */
.moving [data-enter='iris'] .look { clip-path: circle(calc(84% * var(--o, 1)) at 50% 30%); }
.moving [data-enter='iris'] .look img { transform: scale(calc(1.14 - 0.14 * var(--o, 1))); transform-origin: 50% 30%; }
[data-enter='iris'] .thread {
  left: 50%; top: 30%; bottom: auto; width: 26px; height: 26px; margin: -13px 0 0 -13px; background: none;
  border: 1px solid var(--bone); border-radius: 50%; transform: scale(var(--th, 0));
}


/* --------------------------------------------------------------- mobile */

@media (max-width: 820px) {
  :root { --top: 56px; }
  .now { display: none; }
  .mark { letter-spacing: 0.16em; font-size: 13px; }
  .bar nav a, .bar nav button { letter-spacing: 0.12em; font-size: 11px; }
  .bar { grid-template-columns: 1fr auto; }
  .bar nav { gap: 18px; }
  .mark img { height: 12px; }
  .words figcaption { font-size: 17px; }
  .overture-foot h1 { font-size: 11px; letter-spacing: 0.14em; }
  .begin { white-space: nowrap; }
  .windows { grid-template-columns: 1fr; }
  .window:nth-child(n + 2) { display: none; }
  .overture { min-height: 0; padding-top: calc(var(--top) + 2px); }
  .words { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .words li:nth-child(even) { margin-top: 5vh; }

  .moving .scene { height: 110svh; }
  .frame, .flip .frame { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; padding: 0; align-items: stretch; gap: 0; }
  .look, .flip .look { position: relative; grid-row: 1; grid-column: 1; height: auto; min-height: 0; width: 100%; aspect-ratio: auto; }
  .look img { object-position: 50% 22%; }
  .moving .look { clip-path: inset(0 calc(50% * (1 - var(--o, 1))) 0 calc(50% * (1 - var(--o, 1)))); }
  .flip .title { order: 0; }
  .title, .flip .title { grid-row: 2; padding: 16px var(--edge) 22px; gap: 6px; max-width: none; }
  .title .eyebrow { display: none; }
  .dress { font-size: clamp(32px, 9vw, 42px); }
  .sub { font-size: 16px; }
  .explore { left: auto; right: 12px; bottom: 12px; transform: none; padding: 12px 16px; }
  .title, .flip .title { grid-column: 1; justify-self: start; text-align: left; }
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-in { overflow-y: auto; }
  .still .frame { min-height: 0; display: block; }
  .still .look { position: relative; aspect-ratio: var(--ar, 0.8); }
  .still .title { padding: 24px var(--edge) 0; }

  /* close-ups side by side under the dress, a glance rather than a gallery; a tap opens them in full */
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 0; padding: 20px var(--edge) 44px; }
  .detail, .detail.tall, .flip .detail, .flip .detail.tall { grid-column: auto; grid-row: auto; margin-top: 0; }
  .detail:only-child { grid-column: 1 / -1; }
  .detail .crop { aspect-ratio: 4 / 5; }
  .detail:only-child .crop { aspect-ratio: 16 / 11; }
  .crop img { height: 100%; object-fit: cover; }
  .detail figcaption { margin-top: 10px; gap: 10px; }
  .detail figcaption b { font-size: 17px; }
  .closer { display: none; }

  .wall { display: block; columns: 2; column-gap: 12px; }
  .col { display: contents; }
  .col li { break-inside: avoid; margin-bottom: 12px; }
  .tile span { opacity: 1; transform: none; left: 10px; bottom: 8px; font-size: 10px; }
  .press-list { grid-template-columns: 1fr; gap: 36px; }
  .contact-photo::after { background: linear-gradient(rgba(0, 0, 0, 0.55), #000 78%); }
  .contact-photo img { object-position: 50% 10%; }
  /* paper sections: less air on a phone */
  .manifesto { padding: 56px var(--edge) 48px; gap: 32px; }
  .archive { padding: 56px var(--edge) 48px; }
  .head { margin-bottom: 28px; }
  .wall-more { margin-top: 28px; }
  .press { padding: 40px 0 56px; }
  .press .head { margin-bottom: 24px; }
  .marquee { padding: 24px 0; }
  .press-list { padding-top: 36px; }
  .viewer img { max-width: 100vw; }
  .viewer-prev, .viewer-next { top: auto; bottom: 64px; transform: none; }
  .menu-photo { aspect-ratio: 4 / 5; }
}

.icon { width: 1em; height: 1em; vertical-align: -0.12em; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 420px) {
  .bar nav { gap: 12px; }
  .mark img { height: 10px; }
}
@media (max-width: 820px) and (max-height: 650px) {
  .look img { object-fit: contain; }
}
.still .begin span { animation: none; }
