/* ---------- Tokens ---------- */
:root {
  --bg: #F4F1EC;          /* warm white */
  --surface: #EBE7E0;     /* warm paper */
  --ink: #1E1D1B;         /* charcoal */
  --ink-2: #3A3835;
  --muted: #8B877F;       /* muted gray */
  --line: #D8D3CA;

  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 10vw, 9rem);
  --header-h: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 100; }
.loading { padding: 30vh var(--gutter); text-align: center; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Preview bar ---------- */
.preview-bar {
  background: var(--ink);
  color: #CFCAC1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px var(--gutter);
  line-height: 1.4;
}
.preview-bar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #C9A27A; margin-right: 8px; vertical-align: 1px; }
.preview-bar .sep { opacity: .4; margin: 0 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-weight: 600; font-size: var(--text-sm); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: clamp(1.25rem, 3vw, 2.25rem); }
.nav a { font-size: var(--text-sm); color: var(--muted); transition: color .2s; padding: .5rem 0; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ink); }
@media (max-width: 420px) { .nav li:first-child { display: none; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }

/* ---------- Shared bits ---------- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; color: var(--muted); }
.tag-sample {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); padding: 1px 6px; border-radius: 2px; line-height: 1.6;
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: var(--text-sm); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.link-arrow { font-size: var(--text-sm); color: var(--muted); transition: color .2s; }
.link-arrow:hover { color: var(--ink); }

.media-frame { background: var(--surface); overflow: hidden; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.fade { opacity: 0; }
.fade.in { opacity: 1; }

/* ---------- Home: hero ---------- */
.hero { position: relative; }
.hero-media { height: clamp(380px, 70svh, 860px); }
@media (max-width: 639px) { .hero-media { height: 64svh; } }
.hero-media img { object-position: 50% 60%; }
.hero-caption { display: grid; gap: 1rem; padding-top: clamp(1.25rem, 3vw, 2rem); }
.hero-caption h1 { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.hero-caption .row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.hero-caption p.lede { color: var(--ink-2); max-width: 38ch; font-size: var(--text-base); }
.hero a.hero-link:hover img { transform: scale(1.015); }

.intro-line { padding-top: var(--section); padding-bottom: clamp(2rem, 5vw, 4rem); }
.intro-line p { font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; max-width: 22ch; }
.intro-line p span { color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* Home recent: editorial rhythm */
@media (min-width: 1024px) {
  .grid.recent { grid-template-columns: repeat(12, 1fr); }
  .grid.recent > .card:nth-child(1) { grid-column: 1 / span 7; }
  .grid.recent > .card:nth-child(2) { grid-column: 9 / span 4; margin-top: 18vh; }
  .grid.recent > .card:nth-child(3) { grid-column: 2 / span 5; }
  .grid.recent > .card:nth-child(4) { grid-column: 8 / span 5; margin-top: 8vh; }
  .grid.recent > .card:nth-child(5) { grid-column: 1 / span 4; }
  .grid.recent > .card:nth-child(6) { grid-column: 6 / span 7; }
}

.card { display: flex; flex-direction: column; gap: .9rem; }
.card .media-frame { aspect-ratio: 4 / 5; position: relative; }
.card.wide .media-frame { aspect-ratio: 3 / 2; }
.card:hover .media-frame img { transform: scale(1.025); }
.card .badge {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink); padding: 3px 7px; border-radius: 2px;
}
.card h3 { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.card .card-body { display: grid; gap: .35rem; }

/* Text post card */
.card.text .media-frame {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  transition: background .4s var(--ease);
}
.card.text:hover .media-frame { background: #E4DFD6; }
.card.text .excerpt { font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); }
.card.text .read { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card.text .badge { position: static; align-self: flex-start; margin-bottom: 1.25rem; }

/* ---------- Feed ---------- */
.page-head { padding-top: clamp(2.5rem, 7vw, 6rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; }
.page-head h1 { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.page-head .count { color: var(--muted); }
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .25rem; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-size: var(--text-sm); padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); transition: all .2s var(--ease); min-height: 36px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.feed-grid { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.empty { padding: 4rem 0; color: var(--muted); }

/* ---------- Post ---------- */
.post-head { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1.25rem; max-width: 1100px; }
.post-head h1 { font-size: var(--text-2xl); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.back { font-size: var(--text-sm); color: var(--muted); display: inline-flex; gap: .4rem; width: fit-content; }
.back:hover { color: var(--ink); }

.post-photo { display: flex; justify-content: center; }
.post-photo figure { margin: 0; width: 100%; }
.post-photo img { margin: 0 auto; max-height: calc(100svh - var(--header-h) - 2rem); width: auto; cursor: zoom-in; background: var(--surface); }
.post-photo.landscape img { width: 100%; max-height: none; }
@media (max-width: 639px) {
  .post-photo { margin: 0 calc(var(--gutter) * -1); }
  .post-photo img { width: 100%; max-height: none; }
}

.caption-row { display: grid; gap: .6rem; padding-top: 1.25rem; max-width: 60ch; }
.caption { color: var(--ink-2); font-size: var(--text-base); }

.gallery { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .gallery.two { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; display: grid; gap: .6rem; }
.gallery button { display: block; width: 100%; cursor: zoom-in; }
.gallery img { width: 100%; background: var(--surface); }
@media (max-width: 639px) { .gallery { margin: 0 calc(var(--gutter) * -1); } .gallery figcaption { padding: 0 var(--gutter); } }

.post-video { margin: 0; }
.post-video video { display: block; width: 100%; max-width: calc((100svh - var(--header-h) - 6rem) * var(--r, 1.7778)); margin: 0 auto; aspect-ratio: var(--ar, 16 / 9); background: var(--ink); }
@media (max-width: 639px) { .post-video { margin: 0 calc(var(--gutter) * -1); } .post-video video { max-width: 100%; max-height: none; } }

.prose { max-width: 62ch; display: grid; gap: 1.4em; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.7; color: var(--ink-2); padding-top: .5rem; }
.prose p:first-child { font-size: var(--text-lg); color: var(--ink); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }

.post-nav { margin-top: var(--section); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.post-nav a { padding: 1.5rem 0; display: grid; gap: .35rem; min-width: 0; }
.post-nav .older { text-align: right; border-left: 1px solid var(--line); padding-left: 1rem; grid-column: 2; }
.post-nav .newer { padding-right: 1rem; grid-column: 1; }
.post-nav .t { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-nav a:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-nav .spacer { border: 0; }

/* ---------- About ---------- */
.about { padding-top: clamp(2.5rem, 7vw, 6rem); display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; align-items: start; } }
.about .media-frame { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .about .media-frame { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1; } }
.about-text { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .about-text { position: sticky; top: calc(var(--header-h) + 2rem); padding-top: 1rem; } }
.about h1 { font-size: var(--text-sm); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.about .intro { font-size: var(--text-xl); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.about .body { display: grid; gap: 1em; color: var(--ink-2); max-width: 52ch; }
.links { border-top: 1px solid var(--line); margin-top: .5rem; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); min-height: 48px; }
.links a .l { font-weight: 500; }
.links a .h { color: var(--muted); font-size: var(--text-sm); display: flex; gap: .75rem; align-items: center; }
.links a:hover .l { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.links a .arrow { transition: transform .25s var(--ease); }
.links a:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: #141311; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; align-items: center; justify-content: center; height: 100svh; padding: 56px 0; }
.lb-figure img, .lb-figure video { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb-figure video { background: #000; width: auto; height: auto; }
.lb-figure [hidden] { display: none !important; }
.lightbox button { color: #E9E5DE; font-size: 1.25rem; height: 100%; }
.lb-close { position: absolute; top: 0; right: 0; height: auto !important; padding: 1rem 1.25rem; font-size: var(--text-sm) !important; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #A9A49B; }
@media (max-width: 639px) { .lightbox { grid-template-columns: 0 1fr 0; } .lb-prev, .lb-next { display: none; } .lb-figure { padding: 48px 0; } }

/* ---------- Motion ---------- */
.view { animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.preview-bar .short { display: none; }
@media (max-width: 520px) { .preview-bar .long { display: none; } .preview-bar .short { display: inline; } }

@media (max-width: 639px) {
  .card.text .media-frame { aspect-ratio: auto; min-height: 15rem; }
  .filters { gap: .375rem; }
  .chip { padding: .45rem .8rem; }
}
main:focus, main:focus-visible { outline: none; }
.lb-figure { grid-column: 2; grid-row: 1; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }

/* Portrait featured image */
.hero.portrait .hero-media img { object-position: 50% 35%; }
@media (max-width: 899px) { .hero.portrait .hero-media { height: min(78svh, 125vw); } }
@media (min-width: 900px) {
  .hero.portrait {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem);
    max-width: 1440px; margin: 0 auto; padding: clamp(1rem, 2vw, 1.5rem) var(--gutter) 0; align-items: end;
  }
  .hero.portrait .hero-media { height: calc(100svh - var(--header-h) - 34px - 3rem); min-height: 520px; }
  .hero.portrait .hero-caption { padding: 0 0 .5rem; gap: 1.25rem; }
  .hero.portrait .hero-caption .row { flex-direction: column; align-items: start; }
}
@media (min-width: 1024px) { .grid.recent .card.text .media-frame { aspect-ratio: auto; min-height: 22rem; } }
.post-photo button { display: block; width: 100%; cursor: zoom-in; }

/* ---------- Live status ---------- */
:root { --live: #C2412D; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.is-live .live-dot, .live-pill .live-dot, .live-badge .live-dot { background: var(--live); box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 50%, transparent); animation: livePulse 2s infinite; }
.is-unknown .live-dot { background: transparent; border: 1px solid var(--muted); }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 45%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none !important; } }

.live-badge { display: inline-flex; align-items: center; gap: .45rem; margin-right: auto; margin-left: 1rem; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.live-badge[hidden] { display: none; }
.live-badge .p { color: var(--muted); }
.live-badge .p:not(:empty)::before { content: "·"; margin: 0 .35rem 0 .05rem; }
@media (max-width: 420px) { .live-badge .p { display: none; } .live-badge { margin-left: .6rem; } }

.live-section { margin-top: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.25rem; }
.live-card { display: grid; gap: .75rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.live-card:hover { border-color: var(--ink); }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.live-title { font-size: var(--text-xl); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; max-width: 28ch; }
.live-head { text-transform: uppercase; letter-spacing: .08em; }
.live-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; }
.live-row li + li { border-left: 1px solid var(--line); }
.live-row a { display: flex; align-items: center; gap: .5rem; padding: .9rem .9rem .9rem 0; color: var(--ink); }
.live-row li + li a { padding-left: .9rem; }
.live-row .st { margin-left: auto; color: var(--muted); }
.live-row .is-live .st { color: var(--live); }
@media (max-width: 640px) {
  .live-row { grid-template-columns: 1fr 1fr; }
  .live-row li:nth-child(3) { border-left: 0; }
  .live-row li:nth-child(3) a { padding-left: 0; }
  .live-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.about-status { display: inline-flex; margin-right: .55rem; vertical-align: middle; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Feed: years + categories ---------- */
.filters + .filters { margin-top: .6rem; }
.chip .n { margin-left: .45rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.chip:disabled { opacity: .35; cursor: default; }
.chip:disabled:hover { border-color: var(--line); }
@media (max-width: 639px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.year-group + .year-group { margin-top: clamp(3rem, 7vw, 5.5rem); }
.year-head { border-top: 1px solid var(--line); padding-top: 1rem; }
.year-head h2 { font-size: var(--text-xl); letter-spacing: -.02em; }
.post-head .meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Mixed galleries ---------- */
.gallery .g-video video { display: block; width: 100%; max-width: calc((100svh - var(--header-h) - 6rem) * 0.75); margin: 0 auto; aspect-ratio: var(--ar, 3 / 4); background: var(--ink); }
@media (max-width: 639px) { .gallery .g-video video { max-width: 100%; } }

/* ---------- Then / Now + timeline ---------- */
.tn { max-width: 52rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.5rem, 2vw, 1.25rem); }
.tn-fig { margin: 0; }
.tn-fig .media-frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--line); }
.tn-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-fig figcaption { display: flex; justify-content: space-between; gap: .5rem; padding-top: .6rem; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.tn-link { display: block; color: inherit; text-decoration: none; }
.tn-link:hover img { opacity: .92; }
.tn-section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.post-head + .tn { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 56rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-year { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: .25rem 0; }
.tl-head h2 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 500; letter-spacing: -.02em; margin: 0; line-height: 1; }
.tl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem, 1.5vw, 1rem); }
@media (min-width: 900px) { .tl-grid { grid-template-columns: repeat(3, 1fr); } }
.tl-grid figure { margin: 0; }
.tl-grid figure button { display: block; width: 100%; padding: 0; border: 0; background: var(--line); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.tl-grid figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-grid .g-video video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ink); display: block; }
.tl-grid figcaption { display: flex; justify-content: space-between; gap: .5rem; padding-top: .45rem; font-size: .7rem; }
.post-head + .caption-row { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- Mobile comfort pass ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
@media (max-width: 899px) {
  .nav a, .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
  .live-badge { min-height: 36px; }
  .back, .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .meta a { display: inline-flex; align-items: center; min-height: 36px; }
  .chip { min-height: 40px; }
  .filters { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  .filters .chip { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .card .badge, .tag-sample { font-size: 11px; }
  .preview-bar { font-size: 10.5px; }
  .lb-close { min-height: 48px; padding-top: max(1rem, env(safe-area-inset-top)); }
  .lb-count { bottom: max(1rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .wordmark { letter-spacing: .08em; }
  .live-badge { margin-left: .5rem; padding: .3rem .5rem; }
  .nav { gap: 1rem; }
}
.live-card, .live-row, .live-row li, .live-row a { min-width: 0; }
@media (max-width: 380px) {
  .live-row a { flex-wrap: wrap; gap: .2rem .5rem; padding-right: .5rem; }
  .live-row li + li a { padding-left: .7rem; }
  .live-row .st { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 359px) {
  .header-inner { gap: .5rem; }
  .wordmark { font-size: 13px; letter-spacing: .06em; }
  .live-badge { margin-left: .25rem; }
  .nav { gap: .85rem; }
}

/* ---------- Social row (every page) ---------- */
.social-bar { border-top: 1px solid var(--line); }
.social-row { list-style: none; margin: 0 auto; height: 40px; display: flex; align-items: center; gap: .25rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; overflow-x: auto; scrollbar-width: none; }
.social-row::-webkit-scrollbar { display: none; }
.social-row li { flex: none; }
.soc { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .7rem; color: var(--muted); border-radius: 999px; white-space: nowrap; transition: color .2s; }
.social-row li:first-child .soc { padding-left: 0; }
.soc:hover, .soc:focus-visible { color: var(--ink); }
.soc svg { flex: none; }
.soc.is-live { color: var(--ink); }
.soc.is-live svg { color: var(--live); }
.soc-live { color: var(--live); }
.soc .live-dot { width: 6px; height: 6px; }
@media (max-width: 640px) {
  .soc .soc-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .soc.is-live .soc-l { position: static; width: auto; height: auto; clip: auto; }
  .soc { padding: 0 .6rem; min-width: 40px; justify-content: center; }
  .social-row { justify-content: space-between; gap: 0; }
}
.arc-years { margin-top: 1.5rem; }
.arc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.arc-grid figure img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }
.arc-grid figure button { position: relative; display: block; width: 100%; }
.arc-play { position: absolute; left: .4rem; bottom: .4rem; padding: .2rem .45rem; font-size: 11px; letter-spacing: .04em; color: #F4F1EC; background: rgba(30,29,27,.72); border-radius: 2px; pointer-events: none; }
@media (min-width: 900px) { .arc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; } }
@media (max-width: 380px) {
  .soc { min-width: 34px; padding: 0 .4rem; }
  .soc.is-live .soc-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Exclusive ---------- */
.copy-link { color: inherit; text-decoration: none; padding: .5rem .25rem; margin: -.5rem -.25rem; }
.copy-link:hover, .copy-link:focus-visible { color: var(--ink); }
.tag-18 { border: 1px solid var(--ink); padding: .1rem .4rem; color: var(--ink); }
.vault .vault-note { color: var(--ink-2); max-width: 36ch; margin: 0; }
.vault-form { display: grid; gap: .6rem; max-width: 28rem; }
.vault-form label { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; }
.vault-row { display: flex; gap: .5rem; }
.vault-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 .9rem; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 0; -webkit-appearance: none; appearance: none; }
.vault-row input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.vault-btn { min-height: 48px; padding: 0 1.25rem; background: var(--ink); color: var(--bg); font-size: var(--text-sm); letter-spacing: .02em; }
.vault-btn:disabled { opacity: .5; cursor: default; }
.vault-msg { min-height: 1.4em; margin: 0; font-size: var(--text-xs); color: var(--ink-2); }
.vault-lock { margin-left: auto; border: 1px solid var(--line); padding: .35rem .8rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; }
.vault-lock:hover { border-color: var(--ink); }
.vault-empty { padding: 2rem 0 0; }
.vault-missing { opacity: .4; }
.vault .gallery img:not([src]) { aspect-ratio: var(--ar, 3 / 4); }

/* Make saving media harder: no drag, no iOS long-press menu, no selection */
img, video { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.media-frame, figure, .lightbox, .tl-grid, .arc-grid { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
