/* ==========================================================================
   Alessio Righi — The collection
   Design tokens, base, components. Mobile first.
   ========================================================================== */

@font-face { font-family: "Creato Display"; src: url("/assets/fonts/CreatoDisplay-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("/assets/fonts/CreatoDisplay-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("/assets/fonts/CreatoDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Creato Display"; src: url("/assets/fonts/CreatoDisplay-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-200.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-200-italic.woff2") format("woff2"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Taviraj"; src: url("/assets/fonts/Taviraj-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #121211;
  --bg-2: #1b1b19;
  --ink: #e5dfd5;
  --ink-2: rgba(229, 223, 213, 0.68);
  --ink-3: rgba(229, 223, 213, 0.42);
  --line: rgba(229, 223, 213, 0.16);
  --label-bg: #e5dfd5;
  --label-ink: #121211;
  --sans: "Creato Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Taviraj", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --read: 720px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-h: 72px;
  --fs-xs: 0.75rem;
  --fs-s: 0.875rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  --fs-xl: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);
  --fs-xxl: clamp(2.6rem, 1.4rem + 6vw, 7rem);
  --fs-hero: clamp(4.2rem, 1rem + 13vw, 12.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: var(--fs-m); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font-family: var(--sans); font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.serif { font-family: var(--serif); font-weight: 200; font-style: italic; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Header & menu ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  pointer-events: none; mix-blend-mode: difference; color: #e5dfd5;
}
.is-menu-open .header { mix-blend-mode: normal; }
.header > * { pointer-events: auto; }
.logo { text-decoration: none; font-size: 1rem; letter-spacing: 0.02em; line-height: 1; }
.logo b { font-weight: 400; }
.logo i { font-family: var(--serif); font-weight: 200; font-style: italic; color: var(--ink-2); margin-left: 0.2em; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 0; }
.menu-btn__icon { position: relative; width: 24px; height: 8px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 7px; }
.is-menu-open .menu-btn__icon::before { top: 4px; transform: rotate(45deg); }
.is-menu-open .menu-btn__icon::after { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: grid; place-items: center; padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.is-menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.is-menu-open { overflow: hidden; }
.menu__list { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu__item { overflow: hidden; }
.menu__link { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; padding: 6px 0; transition: opacity 0.3s var(--ease); }
.menu__link span:first-child { font-size: clamp(2.8rem, 1rem + 7vw, 6rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.menu__link span:last-child { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: var(--fs-l); color: var(--ink-2); }
.menu__list:hover .menu__link { opacity: 0.3; }
.menu__list .menu__link:hover, .menu__list .menu__link:focus-visible { opacity: 1; }
.menu__link[aria-current="page"] span:first-child { font-family: var(--serif); font-style: italic; font-weight: 200; }
.menu__foot { position: absolute; bottom: 32px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-s); color: var(--ink-2); }
.menu__foot a { text-decoration: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 200vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero__stage { position: absolute; inset: -8%; will-change: transform, filter, opacity; }
.hero__tile { position: absolute; width: var(--wm, 30vw); margin: 0; will-change: transform; }
@media (min-width: 900px) { .hero__tile { width: var(--w, 15vw); } }
.hero__tile img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.hero__title { position: relative; z-index: 2; text-align: center; pointer-events: none; }
.hero__name { font-size: var(--fs-hero); line-height: 0.88; letter-spacing: -0.01em; text-transform: uppercase; }
.hero__name span { display: block; overflow: hidden; }
.hero__name span > span { display: block; }
.hero__name .serif { font-weight: 200; }
.hero__role { margin-top: clamp(20px, 3vw, 40px); font-size: var(--fs-l); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500; }
.hero__role .serif { text-transform: uppercase; }
.hero__cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hero__cue i { position: relative; width: 1px; height: 32px; background: var(--line); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--ink); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Statement ---------- */
.statement { padding: clamp(96px, 14vw, 200px) 0 clamp(64px, 9vw, 120px); }
.statement__text { font-family: var(--serif); font-weight: 200; font-size: var(--fs-xl); line-height: 1.22; max-width: 22em; margin-top: 24px; }
.statement__text em { font-style: italic; }
.statement__note { margin-top: 32px; max-width: 36em; color: var(--ink-2); }

/* ---------- Museum label ---------- */
.label { background: var(--label-bg); color: var(--label-ink); padding: 20px 22px 22px; display: grid; gap: 6px; max-width: 360px; }
.label__room { font-weight: 500; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.label__artist { font-weight: 500; font-size: var(--fs-s); }
.label__title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; }
.label__meta { font-size: var(--fs-xs); line-height: 1.5; opacity: 0.72; }
.label__meta strong { font-weight: 500; opacity: 1; }

/* ---------- Frame (painting) ---------- */
.frame { position: relative; overflow: hidden; background: var(--bg-2); transition: transform 0.7s var(--ease); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
a:hover .frame, a:focus-visible .frame { transform: scale(0.95); }
a:hover .frame img, a:focus-visible .frame img { transform: scale(1.1); }

/* ---------- Rooms (home) ---------- */
.rooms { padding-bottom: clamp(48px, 8vw, 120px); }
.room { padding: clamp(56px, 9vw, 140px) 0; }
.room__link { display: grid; gap: 28px; text-decoration: none; }
.room__media .frame { aspect-ratio: 4 / 5; }
.room__body { display: grid; gap: 22px; align-content: start; }
.room__why { color: var(--ink-2); max-width: 30em; }
.room__more { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.room__more::after { content: "→"; transition: transform 0.4s var(--ease); }
.room__link:hover .room__more::after { transform: translateX(6px); }

@media (min-width: 900px) {
  .room__link { grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: end; }
  .room__media { grid-column: 1 / span 7; }
  .room__media .frame { aspect-ratio: auto; height: min(78vh, 720px); }
  .room__body { grid-column: 8 / span 5; padding-bottom: 8%; }
  .room:nth-child(even) .room__media { grid-column: 6 / span 7; order: 2; }
  .room:nth-child(even) .room__body { grid-column: 1 / span 5; order: 1; }
}

.room-indicator { position: fixed; left: var(--gutter); bottom: 24px; z-index: 50; display: flex; gap: 12px; align-items: baseline; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); pointer-events: none; }
.room-indicator.is-visible { opacity: 1; transform: none; }
@media (max-width: 899px) { .room-indicator { display: none; } }
.room-indicator b { font-weight: 500; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 200px) 0; text-align: center; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: #3d579a; opacity: 0; transition: opacity 0.7s var(--ease); }
.cta.is-hot .cta__bg { opacity: 1; }
.cta__title { font-size: var(--fs-xxl); line-height: 1.02; text-transform: uppercase; max-width: 11em; margin: 0 auto; }
.cta__title .serif { text-transform: uppercase; }
.cta__line { width: 54px; height: 1px; background: var(--line); margin: 36px auto; position: relative; overflow: hidden; }
.cta__line::after { content: ""; position: absolute; left: 21px; width: 12px; top: 0; bottom: 0; background: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); text-decoration: none; font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bg); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: var(--fs-s); color: var(--ink-2); }
.footer__grid { display: grid; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr auto 1fr; align-items: center; } .footer__grid > :last-child { justify-self: end; } }

/* ---------- Page heads ---------- */
.page-head { padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(48px, 6vw, 80px); }
.page-head__title { font-size: var(--fs-xxl); line-height: 1; text-transform: uppercase; margin-top: 20px; }
.page-head__title .serif { text-transform: none; }
.page-head__lead { margin-top: 28px; max-width: 34em; font-size: var(--fs-l); line-height: 1.45; color: var(--ink-2); }

/* ---------- Catalogue (works) ---------- */
.catalogue__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.toggle button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.catalogue__grid { list-style: none; margin: 0; padding: 48px 0 clamp(64px, 10vw, 140px); display: grid; gap: 56px 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .catalogue__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalogue__grid { grid-template-columns: repeat(4, 1fr); } }
.card__link { display: grid; gap: 16px; text-decoration: none; }
.card .frame { aspect-ratio: 2 / 3; }
.card .label { max-width: none; }

/* ---------- Project (the work) ---------- */
.work-head { padding: calc(var(--header-h) + 48px) 0 clamp(48px, 8vw, 120px); }
.work-head__grid { display: grid; gap: 32px; }
.work-head .frame { aspect-ratio: 4 / 5; }
.work-head .label { max-width: none; }
.work-head__title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.05; }
.work-head__side { display: grid; gap: 28px; align-content: end; }
.work-head__why h2 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.work-head__incipit { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: var(--fs-l); line-height: 1.45; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: var(--fs-s); margin: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
@media (min-width: 900px) {
  .work-head__grid { grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: end; }
  .work-head .frame { aspect-ratio: auto; height: min(80vh, 760px); }
}

.guide-mark { display: flex; align-items: center; gap: 16px; padding-bottom: clamp(32px, 5vw, 64px); }
.guide-mark .rule { flex: 1; }

/* Case study blocks */
.story { padding-bottom: clamp(64px, 10vw, 140px); }
.story > * + * { margin-top: clamp(40px, 6vw, 80px); }
.prose { max-width: var(--read); margin-left: auto; margin-right: auto; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 300; font-size: var(--fs-xl); line-height: 1.15; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-weight: 500; font-size: var(--fs-l); line-height: 1.3; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-weight: 500; font-size: var(--fs-m); color: var(--ink); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--ink); font-family: var(--serif); font-style: italic; font-weight: 200; font-size: var(--fs-l); line-height: 1.45; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose a { color: var(--ink); }

.figure { margin: 0 auto; max-width: 1100px; }
.figure--narrow { max-width: var(--read); }
.figure button { display: block; width: 100%; cursor: zoom-in; }
.figure img { width: 100%; }

.gallery { max-width: 1100px; margin: 0 auto; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { scroll-snap-align: start; margin: 0; }
.gallery__slide button { display: block; width: 100%; cursor: zoom-in; }
.gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: var(--fs-s); color: var(--ink-2); }
.gallery__nav { display: flex; gap: 8px; }
.gallery__nav button { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: box-shadow 0.3s var(--ease); }
.gallery__nav button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.gallery__nav button:disabled { opacity: 0.3; cursor: default; }

.features { max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg-2); padding: 28px; display: grid; gap: 18px; align-content: start; color: var(--ink-2); }
.feature img { width: 96px; height: 96px; object-fit: contain; }

.clients { max-width: 1100px; margin: 0 auto; }
.clients__grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 768px) { .clients__grid { grid-template-columns: repeat(4, 1fr); } }
.client { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px; display: grid; gap: 18px; min-height: 160px; align-content: space-between; }
.client span { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.client img { max-height: 56px; width: auto; max-width: 70%; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: 0.85; }

.split { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.split .prose { margin: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; gap: var(--gutter); } }

.sticky { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; }
.sticky__text { align-self: start; }
.sticky__images { display: grid; gap: 20px; }
@media (min-width: 900px) { .sticky { grid-template-columns: 4fr 7fr; gap: var(--gutter); } .sticky__text { position: sticky; top: calc(var(--header-h) + 24px); } }

.persona { max-width: var(--read); margin: 0 auto; display: flex; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.persona img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.persona__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-l); }

/* Previous / next room */
.rooms-nav { border-top: 1px solid var(--line); display: grid; }
.rooms-nav a { display: grid; gap: 6px; padding: 32px 0; text-decoration: none; }
.rooms-nav a + a { border-top: 1px solid var(--line); }
.rooms-nav .t { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--fs-xl); line-height: 1.1; transition: opacity 0.3s var(--ease); }
.rooms-nav a:hover .t { opacity: 0.6; }
@media (min-width: 900px) { .rooms-nav { grid-template-columns: 1fr 1fr; } .rooms-nav a + a { border-top: 0; border-left: 1px solid var(--line); padding-left: var(--gutter); text-align: right; } }

/* ---------- About ---------- */
.curator { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: var(--fs-xl); line-height: 1.25; max-width: 22em; }
.index-strip { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.index-strip li { scroll-snap-align: start; }
.index-strip a { display: grid; gap: 10px; text-decoration: none; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.index-strip .frame { aspect-ratio: 2 / 3; }
.section { padding: clamp(56px, 8vw, 120px) 0; }
.cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols { grid-template-columns: 4fr 8fr; gap: var(--gutter); } }
.bio p + p { margin-top: 1.1em; }
.bio { color: var(--ink-2); font-size: var(--fs-l); line-height: 1.5; max-width: 34em; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
@media (min-width: 900px) { .list--two li { grid-template-columns: 5fr 7fr; gap: var(--gutter); } }
.list h3 { font-weight: 500; font-size: var(--fs-m); line-height: 1.4; }
.list p { color: var(--ink-2); font-size: var(--fs-s); }
.chrono a { display: grid; gap: 4px; text-decoration: none; }
.chrono .y { font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--ink-3); }
.chrono .r { font-size: var(--fs-l); font-weight: 500; }
.chrono .o { font-family: var(--serif); font-style: italic; font-weight: 200; color: var(--ink-2); }
.chrono a:hover .r { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- Contact ---------- */
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact__mail { font-family: var(--serif); font-style: italic; font-weight: 200; font-size: var(--fs-xl); text-decoration: none; word-break: break-word; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: var(--fs-s); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 300; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(18, 18, 17, 0.96); color: var(--ink); }
.lightbox::backdrop { background: rgba(18, 18, 17, 0.9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: var(--gutter); min-height: 44px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; }
}
