/* Carl's Real World Photos. Phone-first. Pages are generated by build_site.py.
   Warm paper, Italiana for titles, Cormorant italic for the stories, small tracked capitals for labels.
   Photographs are never written on, except the cover. */

@font-face {
  font-family: "Italiana";
  src: url("/fonts/italiana-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f4ea;
  --paper-deep: #efe9da;
  --ink: #151411;
  --soft: #5a564f;
  --faint: #8d877b;
  --rule: #dbd5c5;
  --pad: 16px;
  --gut: 8px;
  --col: 14px;
  --sp: 78px;
  --nav-h: 54px;
  --display: "Italiana", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 900px) {
  :root { --pad: clamp(28px, 4vw, 72px); --gut: 16px; --col: 28px; --sp: clamp(112px, 11vw, 184px); --nav-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: hidden; }
body { margin: 0; padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); background: var(--paper); color: var(--ink);
  font: 400 1rem/1.5 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.locked { overflow: hidden; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; border-radius: 0; }
img, video { display: block; max-width: 100%; }
::selection { background: #ddd5bf; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wide-only { display: none; }
@media (min-width: 760px) { .wide-only { display: inline; } }

/* Three voices, one job each. */
.brand, .hero-title, .opener-title .place, .cap-title, h2, .menu-list .n, .place-card .name, .sig, .lb-title {
  font-family: var(--display); font-weight: 400; font-style: normal;
}
.intro-lede, .cap-story, .opener-deck, .meet-lede, .tag, .lb-body {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}
.kicker, .cap-loc, .nav button, .nav-side a, .textbtn, .btn, .panel-label, .kind, .opener-meta, .meet-note, .sp-note a,
.place-card .count, .menu-list .c, .menu-more a, .menu-close, .foot-links a, .copy, .lb-count, .lb-acts button, .lb-loc {
  font-family: var(--sans); font-weight: 500; font-style: normal; font-size: 0.64rem; line-height: 1.5;
  letter-spacing: 0.24em; text-transform: uppercase;
}

.textbtn, .sp-note a, .foot-links a, .menu-more a, .menu-close, .lb-acts button {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--faint);
}
.textbtn:hover, .sp-note a:hover, .foot-links a:hover, .menu-more a:hover, .menu-close:hover, .lb-acts button:hover { text-decoration-color: var(--ink); }
.btn { display: inline-block; border: 1px solid var(--ink); padding: 17px 30px; letter-spacing: 0.28em; transition: background-color 0.25s, color 0.25s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.kicker { color: var(--soft); letter-spacing: 0.34em; }

/* ── Nav ───────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: rgba(247, 244, 234, 0.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.nav-side { display: flex; align-items: center; gap: 30px; }
.nav-right { justify-content: flex-end; }
.nav button, .nav-side a { text-decoration: none; padding: 14px 0; }
.nav button:hover, .nav-side a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.brand { font-size: 1.12rem; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; line-height: 1; white-space: nowrap;
  padding: 12px 0 12px 0.26em; }
.nav-side .ig { padding: 11px 8px; margin: 0 -8px; }
.ig svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; display: block; }
.ig svg .dot { fill: currentColor; stroke: none; }
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); z-index: 60; }
@media (min-width: 900px) { .brand { font-size: 1.42rem; letter-spacing: 0.32em; padding-left: 0.32em; } .nav button, .nav-side a { font-size: 0.68rem; } }

/* ── Cover (home) ──────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--paper);
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h) - env(safe-area-inset-top)); min-height: 460px; max-height: 1000px; }
.panels { position: absolute; inset: 0; display: flex; gap: var(--gut); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: block; color: #fff; text-decoration: none; background: var(--paper-deep); }
.panel + .panel { display: none; }
.panel picture { position: absolute; inset: 0; transition: opacity 1.8s ease; }
.panel picture.in { opacity: 0; }
.panel picture.in.show { opacity: 1; }
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 30% 0 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 13, 9, 0) 0%, rgba(16, 13, 9, 0.32) 46%, rgba(16, 13, 9, 0.68) 100%); }
.panel-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; text-align: center; color: #fff; letter-spacing: 0.32em; padding-left: 0.32em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.hero-title { position: absolute; z-index: 2; left: 0; right: 0; bottom: 58px; pointer-events: none; color: #fff; text-align: center;
  font-size: 20vw; font-size: min(20.5vw, 11.4svh); line-height: 0.98; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28), 0 4px 36px rgba(0, 0, 0, 0.42); }
.hero-title span { display: block; }
@media (min-width: 1000px) {
  .hero { margin: var(--gut) var(--pad) 0; height: calc(100vh - var(--nav-h) - 32px); height: calc(100svh - var(--nav-h) - var(--gut) * 2); }
  .panel + .panel { display: block; }
  .hero-title { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gut); bottom: 64px; font-size: min(9vw, 19svh); }
  .panel-label { bottom: 26px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 0; }
  .hero-title { display: block; bottom: 44px; font-size: 22svh; }
  .hero-title span { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .panel img { animation: slow-push 18s ease-out both; }
  @keyframes slow-push { from { transform: scale(1.001); } to { transform: scale(1.08); } }
}

/* ── Intro (home) and opener (place pages) ─────────── */
.intro, .opener { padding: clamp(46px, 9vw, 100px) var(--pad) 0; max-width: 1180px; margin: 0 auto; text-align: center; }
.intro .kicker { margin-bottom: 18px; }
.intro-lede { font-size: clamp(1.52rem, 6.1vw, 2.35rem); line-height: 1.3; max-width: 23em; margin: 0 auto; text-wrap: balance; }
.intro-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; margin-top: 26px; }
.textbtn { padding: 10px 0; }
.opener-title { display: flex; flex-direction: column-reverse; align-items: center; }
.opener-title .place { font-size: 15vw; font-size: min(23vw, calc((100vw - 2 * var(--pad)) / (var(--chars) * 0.6))); line-height: 0.98; text-wrap: balance; }
.kind { color: var(--soft); letter-spacing: 0.34em; margin-bottom: 18px; }
.opener-deck { font-size: clamp(1.32rem, 5vw, 1.72rem); line-height: 1.4; max-width: 29em; margin: 22px auto 0; text-wrap: pretty; }
.opener-meta { color: var(--soft); margin-top: 24px; }
.opener .intro-acts { margin-top: 10px; }
@media (min-width: 900px) {
  .opener-title .place { font-size: min(13.5vw, calc((100vw - 2 * var(--pad)) / (var(--len) * 0.6))); }
}

/* ── Feed ──────────────────────────────────────────── */
.feed { padding: 0 var(--pad); max-width: 1672px; margin: 0 auto; }
.sp { margin: var(--sp) 0; position: relative; }
.feed > .sp:first-child { margin-top: calc(var(--sp) * 0.72); }
.js .sp.is-more { display: none; }

.ph { min-width: 0; }
.ph-open { display: block; width: 100%; aspect-ratio: var(--ar); overflow: hidden; background: var(--c, var(--paper-deep)); position: relative; cursor: zoom-in; }
.ph-open img, .ph-open video { width: 100%; height: 100%; object-fit: cover; }
figcaption { padding-top: 12px; }
.cap-loc { display: block; color: var(--soft); font-size: 0.6rem; letter-spacing: 0.26em; }
.cap-title { display: block; font-size: 1.24rem; line-height: 1.18; margin-top: 4px; text-wrap: balance; }
.cap-story { color: var(--soft); font-size: clamp(1.2rem, 1.42vw, 1.38rem); line-height: 1.5; margin-top: 13px; max-width: 29em; text-wrap: pretty; }
.cap-full { padding-top: 22px; }
.cap-full .cap-loc, .cap-band .cap-loc, .cap-mid .cap-loc { font-size: 0.64rem; letter-spacing: 0.3em; color: var(--tone, var(--soft)); }
.cap-full .cap-title { font-size: clamp(2.1rem, 9vw, 3.6rem); line-height: 1.04; margin-top: 9px; }
.cap-mid { padding-top: 16px; }
.cap-mid .cap-title { font-size: clamp(1.56rem, 6.4vw, 1.95rem); line-height: 1.1; margin-top: 7px; }
.cap-mid .cap-story { font-size: 1.14rem; line-height: 1.46; margin-top: 9px; }
@media (min-width: 900px) { .cap-loc { font-size: 0.64rem; } .cap-title { font-size: 1.4rem; margin-top: 6px; } figcaption { padding-top: 14px; } .cap-mid { padding-top: 20px; } }

/* Rows: every line is justified, so photographs in a line share one height. */
.sp-row .line { display: flex; gap: var(--gut); align-items: flex-start; }
.sp-row .line + .line { margin-top: 30px; }
.sp-row.leads .line + .line { margin-top: 44px; }
.sp-row.strip .line + .line { margin-top: var(--gut); }
.sp-row .ph { flex: calc(var(--ar) * 100) 1 0%; }
.sp-note { margin-top: 16px; }
@media (max-width: 899px) {
  /* A photograph with a line to itself stays large, and steps from side to side down the page. */
  .sp-row .line.solo .ph { flex: 0 0 82%; }
  .sp-row .line.solo.tall .ph { flex-basis: 70%; }
  .sp-row .line.solo.sq .ph { flex-basis: 88%; }
  .sp-row .line.solo.wide .ph { flex-basis: 100%; }
  .sp-row .line.solo.alt { justify-content: flex-end; }
}
@media (min-width: 900px) {
  .sp-row { display: flex; flex-wrap: wrap; gap: var(--gut); align-items: flex-start; }
  .sp-row .line { display: contents; }
  .sp-row .sp-note { flex: 0 0 100%; margin-top: 6px; }
  .sp-row.inset-r { margin-left: 16.666%; }
  .sp-row.inset-l { margin-right: 16.666%; }
}

/* Stagger: a lead photograph with its story, then a companion stepped to one side. */
.sp-stagger .a .ph-open, .sp-feature .ph-open { margin-inline: calc(-1 * var(--pad));
  width: calc(100% + 2 * var(--pad)); width: min(calc(100% + 2 * var(--pad)), calc(86svh * var(--ar))); }
.sp-stagger .b { width: 80%; margin: 38px 0 0 auto; }
.sp-stagger .b.tall { width: 76%; }
.sp-stagger .b.sq { width: 86%; }
.sp-stagger .b.wide { width: 100%; }
.sp-stagger.flip .b { margin-left: 0; margin-right: auto; }

@media (min-width: 900px) {
  .sp-stagger, .sp-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); }
  .sp-stagger { grid-template-rows: auto 1fr; }
  .sp-stagger .a { display: contents; }
  .sp-stagger .a .ph-open { grid-column: 1 / span 5; grid-row: 1 / span 2; margin: 0; width: 100%; align-self: start; }
  .sp-stagger .a figcaption { grid-column: 7 / span 5; grid-row: 1; padding-top: 0; }
  .sp-stagger .b { grid-row: 2; align-self: end; width: auto; margin: 56px 0 0; grid-column: 7 / span 4; }
  .sp-stagger .b.tall { width: 86%; }
  .sp-stagger .b.sq { grid-column: 7 / span 5; }
  .sp-stagger .b.wide { grid-column: 7 / span 6; }
  .sp-stagger.flip .a .ph-open { grid-column: 8 / span 5; }
  .sp-stagger.flip .a figcaption { grid-column: 2 / span 5; }
  .sp-stagger.flip .b { grid-column: 3 / span 4; margin: 56px 0 0; }
  .sp-stagger.flip .b.tall { justify-self: end; }
  .sp-stagger.flip .b.sq { grid-column: 2 / span 5; }
  .sp-stagger.flip .b.wide { grid-column: 1 / span 6; }

  .sp-feature { align-items: end; }
  .sp-feature .ph-open { grid-column: 1 / span 8; grid-row: 1; margin: 0; width: 100%; }
  .sp-feature figcaption { grid-column: 9 / span 4; grid-row: 1; padding: 0 0 4px; }
  .sp-feature.flip .ph-open { grid-column: 5 / span 8; }
  .sp-feature.flip figcaption { grid-column: 1 / span 4; }
  .sp-feature.sq .ph-open { grid-column: 2 / span 6; }
  .sp-feature.sq figcaption { grid-column: 9 / span 4; }
  .sp-feature.sq.flip .ph-open { grid-column: 6 / span 6; }
  .sp-feature.sq.flip figcaption { grid-column: 2 / span 3; }
  .sp-feature.port .ph-open, .sp-feature.tall .ph-open { grid-column: 3 / span 4; }
  .sp-feature.port figcaption, .sp-feature.tall figcaption { grid-column: 8 / span 4; }
  .sp-feature.port.flip .ph-open, .sp-feature.tall.flip .ph-open { grid-column: 7 / span 4; }
  .sp-feature.port.flip figcaption, .sp-feature.tall.flip figcaption { grid-column: 2 / span 4; }
}
@media (min-width: 1200px) {
  .sp-stagger .a.tall .ph-open { grid-column: 2 / span 4; }
  .sp-stagger.flip .a.tall .ph-open { grid-column: 8 / span 4; }
}

/* Band: one landscape, edge to edge, moving a little slower than the page. */
.sp-band { margin-inline: calc(-1 * var(--pad)); }
.sp-band .ph-open { aspect-ratio: auto; height: 66vw; max-height: 82vh; max-height: 82svh; }
.sp-band .ph-open img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; }
.cap-band { text-align: center; padding: 22px var(--pad) 0; }
.cap-band .cap-title { font-size: clamp(1.9rem, 7.6vw, 3.2rem); line-height: 1.06; margin-top: 8px; }
.cap-band .cap-story { margin: 12px auto 0; max-width: 31em; }
@media (min-width: 900px) { .sp-band .ph-open { height: min(46vw, 80svh); } .cap-band { padding-top: 26px; } }
@media (max-width: 760px) and (orientation: portrait) {
  .sp-band .ph-open::before { content: "Rotate phone for full view"; position: absolute; z-index: 2; top: 12px; right: 12px; color: #fff;
    background: rgba(18, 16, 12, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font: 500 0.54rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; padding: 9px 12px 8px; border-radius: 999px; pointer-events: none; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .sp-band .ph-open { height: 100svh; max-height: none; }
}

/* Tablets and phones on their side: the same single column, held to a comfortable width.
   Bands still run edge to edge. */
@media (min-width: 600px) and (max-width: 899px) {
  .feed { max-width: 672px; }
  .feed .sp-band { margin-inline: calc(50% - 50vw); }
}

/* Meet Carl */
.sp-meet { display: grid; gap: 30px; justify-items: center; text-align: center; }
.meet-photo { width: 58%; max-width: 420px; }
.meet-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
h2 { font-size: clamp(2.9rem, 12.5vw, 5.6rem); line-height: 1; }
.meet-text .kicker { margin-bottom: 14px; }
.meet-lede { font-size: clamp(1.3rem, 5vw, 1.66rem); line-height: 1.45; max-width: 25em; margin: 20px auto 0; text-wrap: pretty; }
.meet-note { color: var(--soft); margin: 22px auto 0; max-width: 34em; line-height: 1.9; }
@media (min-width: 900px) {
  .sp-meet { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); align-items: center; justify-items: stretch; text-align: left; }
  .meet-photo { grid-column: 2 / span 4; width: auto; max-width: none; }
  .meet-text { grid-column: 7 / span 5; }
  .meet-lede, .meet-note { margin-left: 0; }
}

.more-wrap { text-align: center; padding: 0 var(--pad); margin: calc(var(--sp) * -0.25) auto var(--sp); }

/* ── Places ────────────────────────────────────────── */
.places { padding: 0 var(--pad) var(--sp); max-width: 1672px; margin: 0 auto; }
.places h2 { text-align: center; }
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gut); margin-top: clamp(28px, 5vw, 56px); }
@media (min-width: 700px) { .place-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .place-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 40px var(--gut); } }
.place-card { display: block; text-decoration: none; }
.place-card .img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.place-card img { width: 100%; height: 100%; object-fit: cover; }
.place-card .name { display: block; font-size: 1.32rem; line-height: 1.15; margin-top: 12px; }
.place-card .count { display: block; color: var(--soft); font-size: 0.58rem; margin-top: 5px; }
.place-card:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ── Footer ────────────────────────────────────────── */
.foot { background: var(--paper-deep); border-top: 1px solid var(--rule); text-align: center;
  padding: clamp(52px, 9vw, 96px) var(--pad) calc(46px + env(safe-area-inset-bottom)); }
.sig { font-size: clamp(1.7rem, 6vw, 2.3rem); letter-spacing: 0.2em; text-transform: uppercase; padding-left: 0.2em; line-height: 1.1; }
.tag { color: var(--soft); font-size: 1.2rem; margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 30px; margin-top: 26px; }
.foot-links a { padding: 9px 0; }
.copy { color: var(--soft); font-size: 0.58rem; margin-top: 30px; }

/* ── Places menu ───────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 6px) var(--pad) calc(40px + env(safe-area-inset-bottom)); }
.menu[hidden] { display: none; }
.menu-close { position: fixed; z-index: 2; right: var(--pad); top: env(safe-area-inset-top); height: var(--nav-h); }
.menu-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.menu-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-decoration: none;
  padding: 9px 0 8px; border-bottom: 1px solid var(--rule); }
.menu-list .n { font-size: clamp(1.9rem, 8.2vw, 3.5rem); line-height: 1.1; }
.menu-list .c { color: var(--soft); font-size: 0.58rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-list a[aria-current] .n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.menu-more { display: flex; flex-wrap: wrap; gap: 2px 28px; margin-top: 28px; }
.menu-more a { padding: 9px 0; }
.menu-preview { display: none; }
@media (hover: hover) and (min-width: 1000px) {
  .menu { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); column-gap: 7vw; align-items: start; }
  .menu[hidden] { display: none; }
  .menu-list a { transition: color 0.2s; }
  .menu-list:hover a { color: var(--faint); }
  .menu-list:hover a:hover { color: var(--ink); }
  .menu-preview { display: block; position: sticky; top: 0; height: calc(100svh - var(--nav-h) - 52px); }
  .menu-preview img { width: 100%; height: 100%; object-fit: cover; }
}

/* ── Photograph viewer ─────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb[hidden] { display: none; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; height: calc(52px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--pad) 0; }
.lb-count { color: var(--soft); font-variant-numeric: tabular-nums; }
.lb-acts { display: flex; gap: 26px; }
.lb-acts button { padding: 13px 0; }
.lb-stage { position: relative; min-height: 0; touch-action: pan-y; }
.lb-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lb-media picture { display: contents; }
.lb-media img, .lb-media video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: none;
  align-items: center; justify-content: center; background: rgba(247, 244, 234, 0.82); border: 1px solid var(--rule); border-radius: 50%; }
.lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lb-nav:hover { background: var(--paper); border-color: var(--ink); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (hover: hover) and (min-width: 760px) { .lb-nav { display: flex; } }
.lb-meta { text-align: center; padding: 16px var(--pad) calc(22px + env(safe-area-inset-bottom)); width: 100%; max-width: 46em; margin: 0 auto; min-height: 7.2em; }
.lb-loc { color: var(--soft); font-size: 0.58rem; letter-spacing: 0.28em; }
.lb-title { font-size: 1.55rem; line-height: 1.12; margin-top: 5px; }
.lb-body { color: var(--soft); font-size: 1.12rem; line-height: 1.42; margin-top: 7px; }
.lb-rotate { display: none; position: absolute; z-index: 2; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; color: #fff;
  background: rgba(18, 16, 12, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 0.54rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; padding: 9px 12px 8px; border-radius: 999px; pointer-events: none; }
@media (max-width: 760px) and (orientation: portrait) { .lb.is-wide .lb-rotate { display: block; } }
@media (orientation: landscape) and (max-height: 520px) {
  .lb { grid-template-rows: minmax(0, 1fr); }
  .lb-bar { position: absolute; z-index: 3; inset: 0 0 auto 0; background: linear-gradient(rgba(247, 244, 234, 0.9), rgba(247, 244, 234, 0)); }
  .lb-meta { display: none; }
}

/* ── Scroll-linked movement (only where the browser does it natively) ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .panels { animation: hero-sink linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes hero-sink { to { transform: translateY(12%); } }
    .sp-band .ph-open img { animation: band-drift linear both; animation-timeline: view(); }
    @keyframes band-drift { from { transform: translateY(-7.4%); } to { transform: translateY(7.4%); } }
    .sp-stagger .b { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 44%; }
    @keyframes settle { from { transform: translateY(56px); } to { transform: none; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
