/* Cécile Pirzio-Biroli. Plain CSS, no build step.
   Three colours: paper white (ground), ink (text and the dark rooms), and the hummingbird's orange
   from the home painting, kept for the opening line, the contact button and a few small touches. */

:root {
  --paper: #ffffff;
  --ink: #161616;
  --accent: #f17e50;

  --bg: var(--paper);
  --fg: var(--ink);
  --soft: #4a4a4a;            /* 8.9:1 on white */
  --line: rgba(22, 22, 22, .14);
  --tile: #f2f2f2;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header: 88px;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
}

/* The dark rooms: Silhouettes page, the Silhouettes chapter and the closing contact */
.dark {
  --bg: var(--ink);
  --fg: #f4f4f2;
  --soft: #b8b8b4;            /* 9.3:1 on ink */
  --line: rgba(244, 244, 242, .16);
  --tile: #222222;
  background: var(--bg);
  color: var(--fg);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lock, html.lock body { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { 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; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px;
}
.skip:focus { top: 16px; }

.label {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--soft);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 9.4vw, 150px);
  line-height: .9;
  letter-spacing: -.025em;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s ease;
}
.more svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.more:hover { border-bottom-color: var(--fg); }
.more:hover svg { transform: translateX(4px); }

/* Names break between first name and surname, never at the hyphen */
.nb { white-space: nowrap; }

/* Reveals (only when JS runs, so the page never stays blank) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s; }
.rv[data-d="2"] { transition-delay: .2s; }
.rv[data-d="3"] { transition-delay: .3s; }
.rv[data-d="4"] { transition-delay: .4s; }

/* Film grain, used only on the dark rooms and the curtain, never over an artwork */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: var(--fg);
  transition: background-color .45s ease, box-shadow .45s ease;
}
.site-header.solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.bar { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.mark { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1; }
.mk-n { font-family: var(--serif); font-size: 27px; letter-spacing: .005em; white-space: nowrap; }
.mk-r { position: relative; height: 1px; overflow: hidden; }
.mk-r::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease);
}
.mark:hover .mk-r::after { transform: scaleX(1); }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2.3vw, 38px); }
.nav a, .nav button { position: relative; font-size: 14.5px; letter-spacing: .01em; color: var(--soft); transition: color .25s ease; white-space: nowrap; }
.nav a:hover, .nav button:hover, .nav [aria-current="page"], .has-sub.current > .sub-toggle { color: var(--fg); }
.nav > ul > li > [aria-current="page"]::after, .has-sub.current > .sub-toggle::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}

.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 6px; }
.sub-toggle svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 190px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 22px 50px -24px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 20px; font-family: var(--serif); font-size: 20px; color: var(--fg); }
.sub a:hover { color: var(--accent); }
@media (hover: hover) and (min-width: 901px) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
}

.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.site-header.open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.site-header.open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav-foot { display: none; }

@media (max-width: 900px) {
  :root { --header: 70px; }
  .mk-n { font-size: 23px; }
  .burger { display: block; }
  .site-header.open { background: var(--bg); }
  .nav {
    position: fixed; inset: var(--header) 0 0 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 24px var(--gutter) 36px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .site-header.open .nav { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav > ul > li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .site-header.open .nav > ul > li { opacity: 1; transform: none; }
  .site-header.open .nav > ul > li:nth-child(2) { transition-delay: .05s; }
  .site-header.open .nav > ul > li:nth-child(3) { transition-delay: .1s; }
  .site-header.open .nav > ul > li:nth-child(4) { transition-delay: .15s; }
  .site-header.open .nav > ul > li:nth-child(5) { transition-delay: .2s; }
  .nav a, .nav button { font-family: var(--serif); font-size: 34px; line-height: 1.3; color: var(--fg); }
  .nav > ul > li > [aria-current="page"]::after, .has-sub.current > .sub-toggle::after { left: auto; right: -14px; bottom: auto; top: 50%; margin: -2px 0 0; }
  .sub-toggle { pointer-events: none; }
  .sub-toggle svg { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 20px; min-width: 0; background: none; }
  .sub::before { display: none; }
  .sub a { padding: 2px 0; font-size: 24px; color: var(--soft); }
  .nav-foot { display: block; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.9; color: var(--soft); }
  .nav-foot a { font-family: var(--sans); font-size: 15px; color: var(--fg); }
}

/* Custom cursor (desktop only). Position on `translate` from JS, size on `scale`, never one transform for both. */
#cur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js #cur {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 250;
    width: 84px; height: 84px; margin: -42px 0 0 -42px;
    border-radius: 50%; pointer-events: none;
    background: var(--ink); color: #fff;
    opacity: 0; scale: .13;
    transition: opacity .3s ease, scale .45s var(--ease);
  }
  .js #cur.on { opacity: 1; }
  .js #cur.big { scale: 1; }
  .js #cur.link { scale: .3; }
  #cur span { font-family: var(--serif); font-style: italic; font-size: 19px; opacity: 0; transition: opacity .25s ease; }
  #cur.big span { opacity: 1; }
  #cur.inv { background: #fff; color: var(--ink); }
}

/* Opening curtain (home, once per visit) */
#intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  cursor: pointer;
  transition: transform 1.15s var(--ease), opacity .75s var(--ease) .3s, visibility 1.15s var(--ease);
}
#intro.done { transform: translateY(-100%); opacity: 0; visibility: hidden; }
.seen #intro, .rm #intro, html:not(.js) #intro { display: none; }
#intro .cm { text-align: center; padding: 0 24px; transition: transform 1s var(--ease), opacity .5s var(--ease); }
#intro.done .cm { transform: translateY(-42px); opacity: 0; }
.intro-name { margin: 0; font-family: var(--serif); font-size: clamp(40px, 7vw, 92px); line-height: 1; letter-spacing: -.01em; }
.intro-name b { display: inline-block; font-weight: 400; opacity: 0; transform: translateY(.46em) scale(.94); animation: lift 1.05s var(--ease) forwards; }
@keyframes lift { to { opacity: 1; transform: none; } }
.intro-line { display: block; width: min(520px, 78vw); height: auto; margin: 22px auto 0; overflow: visible; }
.intro-line path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.25s cubic-bezier(.6, .1, .3, 1) .35s forwards; }
.intro-line circle { fill: var(--accent); opacity: 0; transform-origin: center; transform-box: fill-box; animation: dot .5s var(--ease) 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }

/* Home: hero ---------------------------------------------------------- */

.hero { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--paper); }
.hero-in, .hero-px, .hero-wipe { position: absolute; inset: 0; }
.hero-in { transform-origin: 50% 40%; will-change: transform, opacity; }
.hero-px { inset: -2%; will-change: translate; }
.hero-wipe img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 64%; }
.js .hero-wipe { clip-path: inset(0 100% 0 0); transform: translateX(-4%); }
.js .ready .hero-wipe, .js.rm .hero-wipe {
  clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path 1.7s cubic-bezier(.65, .05, .2, 1), transform 2.2s var(--ease);
}
.ready .hero-wipe img { animation: drift 24s ease-in-out 2.2s infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.045); } }

.js .home .bar { opacity: 0; transform: translateY(-14px); }
.js .home.ready .bar, .js.rm .home .bar { opacity: 1; transform: none; transition: opacity .9s var(--ease) 1.1s, transform 1s var(--ease) 1.1s; }

.cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 64px; margin-left: -.5px; background: rgba(22, 22, 22, .18); overflow: hidden; }
.cue span { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s cubic-bezier(.6, .1, .3, 1) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.js .cue { opacity: 0; transition: opacity 1s ease 2s; }
.js .ready .cue, .js.rm .cue { opacity: 1; }

@media (max-width: 900px) {
  .hero-wipe img { object-position: 14% 60%; }
}

/* Everything after the hero slides over it */
.after { position: relative; z-index: 1; background: var(--bg); }

/* Home: the artist ------------------------------------------------------ */

.statement { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 11vw, 160px); }
.big-quote {
  margin: 0 0 clamp(64px, 9vw, 130px);
  max-width: 15.5em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 82px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.js .big-quote .w { display: inline-block; opacity: .12; transform: translateY(.18em); transition: opacity .7s ease, transform .9s var(--ease); }
.js .big-quote .w.in, .rm .big-quote .w { opacity: 1; transform: none; }

.artist-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: end; }
.portrait { margin: 0; overflow: hidden; }
.portrait .pi { display: block; will-change: translate; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; scale: 1.12; }
.artist-intro p:not(.label) { max-width: 34em; margin: 0 0 1.2em; font-size: 18px; color: var(--soft); }
.artist-intro p.first { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 31px); line-height: 1.35; color: var(--fg); }
.artist-intro .more { margin-top: 12px; }

/* Home: the three series ----------------------------------------------- */

.chapter { padding-top: clamp(70px, 9vw, 140px); padding-bottom: clamp(70px, 9vw, 140px); overflow: hidden; }
.ch-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.chapter.flip .ch-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter.flip .ch-text { order: 2; }
.ch-num { display: block; margin-bottom: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--soft); }
.ch-title { margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 8.6vw, 140px); line-height: .9; letter-spacing: -.03em; }
.ch-count { margin: 0 0 34px; font-size: 16px; color: var(--soft); }

.collage { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2.2vw, 32px); align-items: start; }
.collage .col-b { display: grid; gap: clamp(16px, 2.2vw, 32px); margin-top: clamp(40px, 7vw, 110px); }
.cl { display: block; perspective: 1200px; }
.cl-in { display: block; will-change: translate, transform; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.cl-in img { width: 100%; background: var(--tile); }
.cl:hover .cl-in { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.dark .cl:hover .cl-in { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }

/* Home: the studio band ----------------------------------------------- */

.band { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.band-img { position: absolute; inset: -12% 0; will-change: translate; }
.band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .55), rgba(10, 10, 10, 0) 55%); pointer-events: none; }
.band .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(28px, 6vw, 80px); }
.band-card { max-width: 560px; padding: clamp(28px, 3.4vw, 48px); background: var(--paper); color: var(--ink); }
.band-card blockquote { margin: 0 0 26px; font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.38; }
.band-card .label { color: #4a4a4a; }
.band-card .more { border-bottom-color: rgba(22, 22, 22, .2); }

/* Inner pages -------------------------------------------------------- */

.page-top { padding-top: calc(var(--header) + clamp(40px, 7vw, 110px)); }
.page-hero { padding-bottom: clamp(36px, 5vw, 70px); }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(26px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.page-meta .count { font-size: 15px; color: var(--soft); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; color: var(--soft); transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.tabs a:hover { color: var(--fg); border-color: var(--fg); }
.tabs a[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.intro-quote { max-width: 22em; margin: clamp(26px, 3.4vw, 46px) 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(25px, 2.6vw, 38px); line-height: 1.3; color: var(--soft); }

/* Mosaic */
.gallery { columns: 4; column-gap: clamp(14px, 1.8vw, 28px); padding-bottom: clamp(60px, 8vw, 120px); }
@media (max-width: 1100px) { .gallery { columns: 3; } }
@media (max-width: 640px) { .gallery { columns: 2; } }
.tile { display: block; break-inside: avoid; margin-bottom: clamp(14px, 1.8vw, 28px); background: var(--tile); overflow: hidden; cursor: zoom-in; }
.tile img { width: 100%; transition: transform .9s var(--ease), opacity .4s ease; }
.tile:hover img { transform: scale(1.035); }
@media (hover: hover) and (pointer: fine) { .js .tile, .js .cl { cursor: none; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 34px; padding-bottom: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.pager a { display: block; }
.pager small { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.pager span { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; transition: color .3s ease; }
.pager a:hover span { color: var(--accent); }
.pager .next { text-align: right; }

/* Artist page */
.ap-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(80px, 10vw, 150px); }
.ap-photo { position: sticky; top: calc(var(--header) + 24px); margin: 0; }
.ap-photo img { width: 100%; max-height: calc(100vh - var(--header) - 60px); object-fit: cover; object-position: 50% 30%; }
.ap-text .display { font-size: clamp(54px, 7.4vw, 118px); margin-bottom: clamp(30px, 4vw, 56px); }
.ap-text p { max-width: 34em; margin: 0 0 1.3em; font-size: 18px; color: var(--soft); }
.ap-text p.first { font-family: var(--serif); font-size: clamp(25px, 2.3vw, 32px); line-height: 1.35; color: var(--fg); }
.pull { margin: clamp(40px, 5vw, 70px) 0; padding-left: clamp(20px, 2.4vw, 34px); border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -.01em; }
.ap-second { margin: clamp(50px, 6vw, 90px) 0 36px; }
.ap-second a { display: block; overflow: hidden; }

@media (max-width: 900px) {
  .artist-intro, .ch-grid, .chapter.flip .ch-grid, .ap-grid { grid-template-columns: 1fr; }
  .chapter.flip .ch-text { order: 0; }
  .ap-photo { position: static; }
  .ap-photo img { max-height: 70vh; }
  .collage .col-b { margin-top: 48px; }
}

/* Closing contact, one screen at the end of every page */
.closing { position: relative; z-index: 1; padding-top: clamp(90px, 12vw, 170px); scroll-margin-top: 0; }
.closing-title { margin: 0 0 clamp(40px, 6vw, 80px); font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 11vw, 180px); line-height: .9; letter-spacing: -.035em; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(30px, 5vw, 80px); max-width: 1100px; margin: 0 0 clamp(40px, 5vw, 64px); }
.rows dt { margin-bottom: 8px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.rows dd { margin: 0; font-family: var(--serif); font-size: clamp(25px, 2.7vw, 40px); line-height: 1.2; overflow-wrap: anywhere; }
.rows dd a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.rows dd a:hover { background-size: 100% 1px; }
.btn-accent {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font-size: 16px; font-weight: 500;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-accent svg { width: 18px; height: 18px; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgba(241, 126, 80, .7); }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: clamp(80px, 11vw, 150px); padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.foot-bar p { margin: 0; }
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bar a:hover { color: var(--fg); }
@media (max-width: 700px) { .rows { grid-template-columns: 1fr; } }

/* Lightbox ------------------------------------------------------------ */

.lb { position: fixed; inset: 0; z-index: 220; background: rgba(14, 14, 14, .97); color: #fff; opacity: 0; transition: opacity .4s var(--ease); }
.lb[hidden] { display: none; }
.lb.show { opacity: 1; }
.lb-stage { position: absolute; inset: 70px 96px 76px; display: flex; align-items: center; justify-content: center; margin: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transition: opacity .35s ease; -webkit-user-select: none; user-select: none; }
.lb-stage img.fade { opacity: 0; }
.lb-bar { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: #c9c9c5; }
.lb-cap { font-family: var(--serif); font-style: italic; font-size: 19px; color: #fff; }
.lb-count b { font-weight: 500; color: var(--accent); }
.lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .07); transition: background-color .25s ease; }
.lb button:hover { background: rgba(255, 255, 255, .18); }
.lb button svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 16px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
@media (max-width: 700px) {
  .lb-stage { inset: 66px 8px 120px; }
  .lb-prev, .lb-next { top: auto; bottom: 62px; margin: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-bar { bottom: 18px; }
}

/* Reduced motion: final states, no movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
