/*
Theme Name: Bare Muse
Description: Private visual archive — bespoke editorial theme (pairs with the Bare Muse plugin).
Version: 1.0.0
Requires PHP: 7.4
*/

/* ————————————————————————————————————————————————————————————————
   BARE MUSE — private viewing room
   Editorial luxury: warm ivory, Cormorant Garamond, film grain,
   heavy whitespace, slow mass-and-spring motion.
   ———————————————————————————————————————————————————————————————— */

/* ————— Fonts ————— */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('assets/fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('assets/fonts/jost-v20-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/jost-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/jost-v20-latin-500.woff2') format('woff2'); }

/* ————— Tokens ————— */
:root {
  /* Clean warm-ivory editorial base with mauve (from the logo) + oxblood
     accents and soft shading for depth. */
  --paper:      #F6F1E8;   /* warm ivory page base         */
  --paper-deep: #EDE4D4;   /* slightly deeper band         */
  --ink:        #241E1A;   /* dark warm ink                */
  --ink-soft:   #6E6459;   /* muted ink                    */
  --mauve:      #9A5A6B;   /* rosy mauve accent            */
  --mauve-deep: #8C6B75;   /* original logo mauve          */
  --wine:       #7E3B46;   /* deep oxblood accent          */
  --rust:       #9A5A6B;   /* legacy alias → mauve         */
  --line:       rgba(36, 30, 26, 0.14);
  --night:      #0F0D0B;   /* lightbox backdrop (stays dark) */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', 'Avenir Next', sans-serif;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --gap:   clamp(14px, 2.6vw, 40px);
  --gutter: clamp(20px, 5vw, 88px);
}

/* ————— Base ————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.185rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: #E4D3C0; color: var(--ink); }
:focus-visible { outline: 1px solid var(--wine); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid var(--wine);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ————— Film grain ————— */
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

/* ————— Micro type ————— */
.eyebrow, .micro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow { margin-bottom: clamp(1.4rem, 3vh, 2.6rem); }

/* ============================================================
   GATE
   ============================================================ */
.gate { min-height: 100dvh; }
.gate__wrap {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: var(--gutter);
  text-align: center;
  position: relative;
}
/* warm glow rising behind the gate lockup */
.gate__wrap::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 44% at 50% 42%, rgba(154, 90, 107, 0.08), transparent 70%),
    radial-gradient(90% 74% at 50% 122%, rgba(140, 107, 117, 0.10), transparent 72%);
}
.gate__inner { max-width: 36rem; }

/* ————— Brand logo (inline SVG) ————— */
.bm-logo { display: block; width: 100%; height: auto; overflow: visible; }
.bm-logo__bare path {
  fill: var(--logo-bare, var(--mauve));
  transition: fill 0.6s var(--ease);
}
.bm-logo__muse path {
  fill: var(--logo-muse, var(--ink));
  transition: fill 0.6s var(--ease);
}

/* ————— Brand lockup (gate + lander) ————— */
.lockup { text-align: center; }
.lockup .eyebrow, .gate__inner .eyebrow { margin-bottom: clamp(1.4rem, 3.2vh, 2.2rem); }
.lockup__mark {
  width: min(540px, 82vw);
  margin: 0 auto clamp(1.3rem, 3vh, 2rem);
}
.lockup__mark .bm-logo {
  filter: drop-shadow(0 10px 30px rgba(140, 107, 117, 0.18));
}
.lockup__tag {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
  letter-spacing: 0.42em; text-transform: uppercase;
  text-indent: 0.42em;
  color: var(--ink);
  margin-bottom: clamp(1.4rem, 3.4vh, 2.2rem);
}

/* ————— Dictionary lexeme ("blackish"-style) ————— */
.lexeme {
  display: flex; align-items: baseline; justify-content: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.lexeme__ipa {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.lexeme__pos {
  font-family: var(--sans); font-weight: 400;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mauve);
  transform: translateY(-0.14em);
}
.lockup__def {
  font-style: italic; font-size: 1.14rem; color: var(--ink-soft);
  max-width: 30rem; margin: 0 auto;
}
.gate .lockup__def { margin-bottom: clamp(2.4rem, 6vh, 3.6rem); }
.lockup__rule {
  display: block; width: 72px; height: 1px;
  background: var(--ink); opacity: 0.55;
  margin: 0 auto clamp(1.4rem, 3.4vh, 2.2rem);
}
.lockup__values {
  font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.08em;
  color: var(--rust);
}
.lockup__line {
  font-style: italic; font-size: 1.14rem; color: var(--ink-soft);
  max-width: 30rem;
  margin: clamp(2rem, 5vh, 3.2rem) auto 0;
}
.lockup__mark--gate { width: min(430px, 80vw); }
.gate .lockup__values { margin-bottom: clamp(2.6rem, 6vh, 4rem); }
.gate__form { display: flex; flex-direction: column; align-items: center; gap: 1.9rem; }
.gate__input {
  font-family: var(--sans); font-weight: 300;
  font-size: 0.95rem; letter-spacing: 0.42em; text-align: center;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 0.7rem 0.5rem; width: min(310px, 76vw);
  border-radius: 0;
  transition: border-color 0.6s var(--ease);
}
.gate__input::placeholder { color: #A79A87; letter-spacing: 0.3em; }
.gate__input:focus { outline: none; border-color: var(--ink); }
.gate__input:focus-visible {
  border-color: var(--wine);
  box-shadow: 0 8px 0 -6px rgba(126, 59, 70, 0.42);
}
.gate__button {
  font-family: var(--sans); font-weight: 400;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  background: none; border: 0; color: var(--ink);
  padding: 0.4rem 0.2rem; cursor: pointer; position: relative;
}
.gate__button span { position: relative; }
.gate__button span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ink);
  transform: scaleX(0.35); transform-origin: center;
  transition: transform 0.8s var(--ease); opacity: 0.55;
}
.gate__button:hover span::after { transform: scaleX(1); opacity: 1; }
.gate__error {
  font-style: italic; font-size: 1.02rem; color: #8C5B4A;
  animation: fade-in 0.9s var(--ease) both;
}
.gate__foot {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between;
  padding: clamp(16px, 3vh, 30px) var(--gutter);
  font-family: var(--sans); font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: #A79A87;
}

/* Gate entrance choreography */
.reveal-stack > * { animation: rise 1.15s var(--ease) both; }
.reveal-stack > *:nth-child(1) { animation-delay: 0.1s; }
.reveal-stack > *:nth-child(2) { animation-delay: 0.22s; }
.reveal-stack > *:nth-child(3) { animation-delay: 0.36s; }
.reveal-stack > *:nth-child(4) { animation-delay: 0.5s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   TOP BAR
   ============================================================ */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.4vh, 24px) var(--gutter);
  transition: background-color 0.7s var(--ease), box-shadow 0.7s var(--ease),
              backdrop-filter 0.7s var(--ease);
}
.bar--solid {
  background: rgba(246, 241, 232, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.bar__mark {
  display: inline-flex; align-items: center;
  width: 120px;
}
.bar__mark .bm-logo { width: 100%; }
.bar__nav { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); }
.bar__nav a {
  font-family: var(--sans); font-size: 0.62rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft);
  transition: color 0.5s var(--ease);
}
.bar__nav a:hover { color: var(--ink); }

/* ============================================================
   LANDER
   ============================================================ */
.lander {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: calc(clamp(14px, 2.4vh, 24px) * 2 + 3rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.lander::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 42% at 50% 44%, rgba(154, 90, 107, 0.07), transparent 70%),
    radial-gradient(80% 60% at 50% 116%, rgba(140, 107, 117, 0.08), transparent 72%);
}
.lander > * { position: relative; z-index: 1; }
.hero__scroll {
  position: absolute; bottom: clamp(18px, 3.5vh, 34px); left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.4em; text-indent: 0.4em;
  animation: scroll-pulse 3.2s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ARCHIVE — masonry grid
   ============================================================ */
.archive { padding-top: clamp(2rem, 6vh, 4rem); }
.masonry {
  columns: 4;
  column-gap: 8px;
}
.tile {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 8px;
  position: relative;
}
.tile .ph { display: block; width: 100%; cursor: pointer; }
a.tile { cursor: pointer; }

/* Persistent name plate inside every tile */
.tile__name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(to top,
    rgba(11, 8, 8, 0.78), rgba(11, 8, 8, 0.30) 55%, rgba(11, 8, 8, 0));
  pointer-events: none;
  transform: translateZ(0);
}
.tile__title {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.16rem; line-height: 1.15; color: #F4ECE0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.tile__title em { font-style: italic; }
.tile__title--sm { font-size: 1.04rem; }
.tile__sub {
  display: block; margin-top: 0.35rem;
  font-family: var(--sans); font-size: 0.56rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244, 236, 224, 0.72);
}
.tile__kicker {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--sans); font-size: 0.52rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(244, 236, 224, 0.76);
}
.tile__play {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 0.95rem;
  border: 1px solid rgba(244, 236, 224, 0.55);
  background: rgba(15, 13, 11, 0.46); color: #F4ECE0;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.26em;
  text-transform: uppercase;
}
/* the whole plate lifts slightly on hover */
.tile__name { transition: transform 0.7s var(--ease); }
.tile:hover .tile__name { transform: translateY(-2px); }
.tile--video .ph { cursor: pointer; }
.tile--video video,
.tile--reel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.tile--reel .ph {
  background: var(--night);
}
.tile--reel .ph::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(244, 236, 224, 0.16);
}
.tile--reel:focus-visible .ph,
.tile:focus-visible .ph,
.deck__item:focus-visible .deck__thumb {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}
/* keep the play control clear of the bottom name plate */
.tile--video .motion__toggle {
  top: 12px; bottom: auto; left: 12px;
}

/* ============================================================
   ONWARD (shoot page footer nav)
   ============================================================ */
.shoot-page .sittings {
  padding: calc(clamp(14px, 2.4vh, 24px) * 2 + 4rem) var(--gutter) 0;
}
.sitting--page { margin-bottom: clamp(4rem, 9vh, 7rem); }

/* Tight uniform gallery — all frames visible with minimal scroll */
.gallery { columns: 3; column-gap: 8px; margin-top: clamp(2rem, 5vh, 3.5rem); }
.gallery .ph {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: 8px; width: 100%;
}
@media (max-width: 1100px) { .gallery { columns: 2; } }
@media (max-width: 680px) { .gallery { columns: 2; column-gap: 6px; } .gallery .ph { margin-bottom: 6px; } }
.onward {
  text-align: center;
  padding: clamp(4rem, 10vh, 8rem) var(--gutter) clamp(5rem, 12vh, 9rem);
  border-top: 1px solid var(--line);
}
.onward__link {
  display: inline-flex; align-items: baseline; gap: 1.4rem;
}
.onward__number {
  font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: transparent; -webkit-text-stroke: 1px rgba(36, 30, 26, 0.34);
}
.onward__title {
  font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05;
  position: relative;
}
.onward__title em { font-style: italic; font-weight: 400; }
.onward__link .onward__title::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.onward__link:hover .onward__title::after { transform: scaleX(1); }
.onward__back { margin-top: clamp(2rem, 5vh, 3.2rem); }
.onward__back a {
  font-family: var(--sans); font-size: 0.66rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft);
  transition: color 0.5s var(--ease);
}
.onward__back a:hover { color: var(--ink); }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { padding: clamp(5rem, 14vh, 11rem) var(--gutter); }
.section-head { max-width: 46rem; margin-bottom: clamp(3.4rem, 9vh, 7rem); }
.section-head__line {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-style: italic; font-weight: 300; line-height: 1.35;
  color: var(--ink-soft);
  text-wrap: balance;
}

/* ============================================================
   SITTINGS
   ============================================================ */
.sittings { padding-top: clamp(2rem, 6vh, 4rem); }
.sitting { margin-bottom: clamp(6rem, 16vh, 13rem); position: relative; }
.sitting:last-child { margin-bottom: 0; }
.sitting__head {
  display: flex; align-items: baseline; gap: clamp(1.2rem, 3vw, 3rem);
  margin-bottom: clamp(2.6rem, 7vh, 5rem);
  max-width: 52rem;
}
.sitting__number {
  font-weight: 300; font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(36, 30, 26, 0.30);
}
.sitting__title {
  font-weight: 300; font-size: clamp(2.1rem, 3.9vw, 3.6rem);
  line-height: 1.06; margin-bottom: 0.9rem;
}
.sitting__title em { font-style: italic; font-weight: 400; }
.sitting__mood {
  font-style: italic; font-size: 1.16rem; color: var(--ink-soft);
  max-width: 30rem; margin-bottom: 1.1rem;
}
.sitting__meta { letter-spacing: 0.24em; }

/* ————— Row rhythm system ————— */
.row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  margin-bottom: var(--gap);
}
.row--cover  > .ph { grid-column: 2 / span 10; }
.row--pair   > .ph:nth-child(1) { grid-column: 1 / span 6; }
.row--pair   > .ph:nth-child(2) { grid-column: 7 / span 6; }
.row--offset > .ph:nth-child(1) { grid-column: 1 / span 7; }
.row--offset > .ph:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(3rem, 12vh, 9rem); }
.row--offset-r > .ph:nth-child(1) { grid-column: 1 / span 4; margin-top: clamp(3rem, 12vh, 9rem); }
.row--offset-r > .ph:nth-child(2) { grid-column: 6 / span 7; }
.row--trio   > .ph { grid-column: span 4; }
.row--solo   > .ph { grid-column: 4 / span 6; }
.row--solo-l > .ph { grid-column: 2 / span 5; }
.row--solo-r > .ph { grid-column: 7 / span 5; }
.row--wide   > .ph { grid-column: 1 / span 8; }
.row--wide-r > .ph { grid-column: 5 / span 8; }

/* ————— Photograph frames ————— */
.ph {
  position: relative; overflow: hidden;
  background: #E7DDCC;
  cursor: zoom-in;
}
/* soft shading lifts the photographs off the ivory (tight spread avoids
   bleeding into neighbours in the dense grids) */
.tile .ph, .gallery .ph, .deck__thumb {
  box-shadow: 0 12px 30px -10px rgba(36, 30, 26, 0.22);
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.ph:hover img { transform: scale(1.028); }
.hero__image .ph { cursor: default; }
.hero__image .ph:hover img { transform: none; }

/* ============================================================
   MOTION STUDIES
   ============================================================ */
.motion {
  background: var(--paper-deep);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}
.motion__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.motion__item { grid-column: span 4; }
.motion__item--wide { grid-column: 3 / span 8; margin-top: var(--gap); }
.motion__item .ph { cursor: pointer; }
.motion__item video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.motion__toggle {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(15, 13, 11, 0.42); color: #F2ECE0;
  border: 1px solid rgba(242, 236, 224, 0.35);
  letter-spacing: 0.3em; font-size: 0.58rem;
  padding: 0.55rem 1.1rem 0.5rem 1.25rem;
  border-radius: 999px; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.motion__toggle:hover { background: rgba(15, 13, 11, 0.62); border-color: rgba(242, 236, 224, 0.7); }
.motion__item figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  margin-top: 1rem; gap: 0.35rem 1rem;
}
.motion__title { font-style: italic; font-size: 1.14rem; white-space: nowrap; }

/* ============================================================
   REELS — homepage intro + series page
   ============================================================ */
.reels-intro {
  text-align: center;
  padding-top: clamp(5rem, 13vh, 10rem);
  padding-bottom: clamp(5rem, 13vh, 10rem);
}
.reels-intro__title {
  max-width: 62rem; margin: 0 auto clamp(1.7rem, 4vh, 2.6rem);
  font-weight: 300; font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: 1.02; text-wrap: balance;
}
.reels-intro__title em { font-style: italic; font-weight: 400; color: var(--mauve); }
.reels-intro__body {
  max-width: 40rem; margin: 0 auto;
  font-size: 1.2rem; color: var(--ink-soft);
}
.reel-page {
  padding: calc(clamp(14px, 2.4vh, 24px) * 2 + 4rem) var(--gutter) 0;
}
.reel-series__head {
  max-width: 68rem;
  margin-bottom: clamp(2.8rem, 7vh, 5rem);
}
.reel-series__title {
  font-weight: 300;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}
.reel-series__mood {
  max-width: 38rem; margin-top: clamp(1.4rem, 3vh, 2.1rem);
  font-size: 1.26rem; font-style: italic; color: var(--ink-soft);
}
.reel-series__meta { margin-top: 1.2rem; }
.reel-stage {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(18rem, 34rem) minmax(11rem, 0.55fr);
  gap: clamp(1.6rem, 4vw, 4.4rem);
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(4rem, 10vh, 7rem);
}
.reel-stage__copy {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.reel-stage__title {
  margin-top: 1.3rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 300; line-height: 1;
}
.reel-stage__meta {
  margin-top: 1rem; color: var(--ink-soft); font-style: italic;
}
.reel-stage__open {
  margin-top: 2rem;
  min-height: 44px;
  padding: 0.2rem 1.25rem;
  border: 1px solid rgba(36, 30, 26, 0.32);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.reel-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  width: min(100%, 28rem);
  justify-self: center;
  padding: clamp(8px, 1vw, 12px);
  background: #14100d;
  border-radius: 8px;
  box-shadow: 0 28px 70px -42px rgba(36, 30, 26, 0.68);
}
.reel-phone video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 5px;
  background: var(--night);
}
.reel-phone__count {
  position: absolute; left: 18px; bottom: 18px;
  color: #F4ECE0;
  text-shadow: 0 1px 16px rgba(0,0,0,0.65);
}
.reel-rail {
  display: grid; gap: 10px;
}
.reel-rail__item {
  display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 0.75rem;
  border: 0; border-top: 1px solid var(--line);
  padding: 0.7rem 0; background: transparent; color: var(--ink);
  cursor: pointer; text-align: left;
}
.reel-rail__thumb {
  aspect-ratio: 9 / 16;
  width: 54px;
  background: var(--paper-deep) center/cover no-repeat;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(36,30,26,0.12);
}
.reel-rail__num {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--ink-soft);
}
.reel-rail__item.is-current .reel-rail__thumb,
.reel-rail__item:focus-visible .reel-rail__thumb {
  box-shadow: inset 0 0 0 2px var(--wine);
}
.reel-empty {
  padding: clamp(4rem, 10vh, 8rem) 0;
  border-top: 1px solid var(--line);
}

/* Expanded reel playback keeps the site ivory-led, with darkness only around video. */
.reel-viewer {
  position: fixed; inset: 0; z-index: 110;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(18rem, 34rem) minmax(44px, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  padding: clamp(18px, 3vw, 42px);
  background: rgba(246, 241, 232, 0.985);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.reel-viewer[hidden] { display: none; }
.reel-viewer.open { opacity: 1; }
.reel-viewer__bar {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
}
.reel-viewer__brand { width: 132px; display: block; }
.reel-viewer__close {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 1rem;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.reel-viewer__stage {
  grid-column: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  min-height: 0;
}
.reel-viewer__video {
  max-height: min(72vh, 760px);
  aspect-ratio: 9 / 16;
  height: 100%;
  width: auto;
  max-width: 88vw;
  object-fit: cover;
  background: var(--night);
  border: 10px solid #14100d;
  border-radius: 8px;
}
.reel-viewer__caption {
  display: grid; gap: 0.45rem; text-align: center;
  color: var(--ink-soft); font-style: italic;
}
.reel-viewer__nav {
  align-self: center; justify-self: center;
  width: 54px; height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  cursor: pointer;
}
.reel-viewer__nav--prev { grid-column: 1; grid-row: 2; }
.reel-viewer__nav--next { grid-column: 3; grid-row: 2; }
.reel-viewer__rail {
  grid-column: 1 / -1;
  display: flex; justify-content: center; gap: 8px;
}
.reel-viewer__thumb {
  width: clamp(34px, 4vw, 54px);
  aspect-ratio: 9 / 16;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.reel-viewer__thumb span {
  display: block; width: 100%; height: 100%;
  background: var(--paper-deep) center/cover no-repeat;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(36,30,26,0.16);
}
.reel-viewer__thumb.is-current span,
.reel-viewer__thumb:focus-visible span {
  box-shadow: inset 0 0 0 2px var(--wine);
}
.reel-stage__open:focus-visible,
.reel-viewer button:focus-visible,
.motion__toggle:focus-visible,
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

/* ============================================================
   THE SITTING (approach)
   ============================================================ */
.approach {
  text-align: center;
  background: var(--paper-deep);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
  position: relative;
}
.approach::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgba(154, 90, 107, 0.07), transparent 68%);
}
.approach > * { position: relative; }
.approach .eyebrow { margin-bottom: 2rem; }
.approach__title {
  font-weight: 300; font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.1; margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}
.approach__title em { font-style: italic; font-weight: 400; }
.approach__body {
  max-width: 38rem; margin: 0 auto clamp(3.4rem, 8vh, 6rem);
  font-size: 1.24rem; color: var(--ink-soft);
}
.approach__points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 62rem; margin: 0 auto; text-align: left;
}
.approach__point { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.approach__point .micro { margin-bottom: 0.9rem; display: block; }
.approach__point p { font-size: 1.08rem; color: var(--ink-soft); }

/* ============================================================
   DECK — footer thumbnail navigator
   ============================================================ */
.deck {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter) clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--line);
}
.deck .eyebrow { text-align: center; margin-bottom: clamp(2.2rem, 5vh, 3.4rem); }
.deck__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  max-width: 1180px; margin: 0 auto;
}
.deck__item { display: block; }
.deck__thumb { display: block; width: 100%; cursor: pointer; }
.deck__label {
  display: block; margin-top: 0.7rem;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 0.98rem; line-height: 1.2; color: var(--ink-soft);
  transition: color 0.5s var(--ease);
}
.deck__label em { font-style: italic; }
.deck__num {
  font-family: var(--sans); font-style: normal;
  font-size: 0.56rem; letter-spacing: 0.22em; color: var(--mauve);
  margin-right: 0.5rem; vertical-align: middle;
}
.deck__item:hover .deck__label { color: var(--ink); }
.deck__item.is-current { opacity: 0.4; pointer-events: none; }
.deck__item.is-current .deck__label { color: var(--mauve); }

/* ============================================================
   CLOSING + FOOT
   ============================================================ */
.closing {
  text-align: center;
  padding-top: clamp(7rem, 18vh, 13rem);
  padding-bottom: clamp(7rem, 18vh, 13rem);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 62% at 50% 50%, rgba(154, 90, 107, 0.09), transparent 70%);
}
.closing > * { position: relative; z-index: 1; }
.closing__title {
  font-weight: 300; font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.08; max-width: 56rem; margin: 0 auto clamp(1.8rem, 4vh, 2.6rem);
  text-wrap: balance;
}
.closing__title em { font-style: italic; font-weight: 400; }
.closing__body { font-style: italic; font-size: 1.22rem; color: var(--ink-soft); }
.closing__body a { position: relative; white-space: nowrap; }
.closing__body a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor; opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}
.closing__body a:hover::after { opacity: 1; }
.foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: clamp(1.6rem, 4vh, 2.6rem) var(--gutter);
  border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 0.6rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 13, 11, 0.965);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.55s var(--ease);
}
.lightbox[hidden] { display: none; } /* author display:flex would defeat [hidden] */
.lightbox.open { opacity: 1; }
.lightbox__stage {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.lightbox__img {
  /* viewport-based caps only — a percentage here would cycle against the
     fit-content stage and collapse */
  max-width: 92vw; max-height: 82vh;
  width: auto; height: auto; object-fit: contain;
  transform: scale(0.985); transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__img.switching { opacity: 0; }
.lightbox__caption { color: #B8AD9C; letter-spacing: 0.3em; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; z-index: 2;
  background: none; border: 0; cursor: pointer;
  color: #E8E1D4; font-family: var(--serif); font-weight: 300;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
  opacity: 0.66;
}
.lightbox__close { top: 18px; right: 26px; font-size: 2.6rem; line-height: 1; padding: 0.4rem 0.8rem; }
.lightbox__prev, .lightbox__next {
  top: 50%; transform: translateY(-50%);
  font-size: 2rem; padding: 1.4rem 1.2rem;
}
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(4px); }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px); filter: blur(7px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
/* The figure is observed; its direct child is clipped. (Chrome computes
   IntersectionObserver geometry after clip-path, so a fully-clipped observed
   element would never register as intersecting.) */
.reveal-img > img, .reveal-img > .ph {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-img.in > img, .reveal-img.in > .ph { clip-path: inset(0 0 0 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .masonry { columns: 3; }
}

@media (max-width: 768px) {
  body { font-size: 1.1rem; }
  .bar__nav { gap: 1.1rem; }
  .bar__nav a { font-size: 0.56rem; letter-spacing: 0.2em; }
  .bar__mark { font-size: 1.05rem; }

  .reel-stage {
    grid-template-columns: 1fr;
  }
  .reel-stage__copy {
    max-width: 28rem;
  }
  .reel-phone {
    width: min(82vw, 24rem);
  }
  .reel-rail {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .reel-rail__item {
    grid-template-columns: 48px;
    flex: 0 0 58px;
    border-top: 0;
    padding: 0;
    scroll-snap-align: start;
  }
  .reel-rail__thumb { width: 48px; }
  .reel-rail__num { text-align: center; letter-spacing: 0.14em; }
  .reel-viewer {
    grid-template-columns: 48px 1fr 48px;
    padding: 16px;
  }
  .reel-viewer__video {
    max-height: 68vh;
    border-width: 7px;
  }
  .reel-viewer__brand { width: 112px; }
  .reel-viewer__rail {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .row > .ph,
  .row--cover > .ph, .row--pair > .ph:nth-child(1), .row--pair > .ph:nth-child(2),
  .row--offset > .ph:nth-child(1), .row--offset > .ph:nth-child(2),
  .row--offset-r > .ph:nth-child(1), .row--offset-r > .ph:nth-child(2),
  .row--trio > .ph, .row--solo > .ph, .row--solo-l > .ph, .row--solo-r > .ph,
  .row--wide > .ph, .row--wide-r > .ph {
    grid-column: 1 / -1; margin-top: 0;
  }

  .sitting__head { flex-direction: column; gap: 0.6rem; }
  .sitting__number { font-size: 2.8rem; }

  .approach__points { grid-template-columns: 1fr; }
  .foot { flex-direction: column; gap: 0.7rem; }
}

@media (max-width: 680px) {
  /* two slim columns — the archive-wall feel */
  .masonry { columns: 2; column-gap: 6px; }
  .tile { margin-bottom: 6px; }
  .tile__name { padding: 1.8rem 0.7rem 0.6rem; }
  .tile__title { font-size: 0.92rem; }
  .tile__title--sm { font-size: 0.86rem; }
  .tile__sub { font-size: 0.5rem; letter-spacing: 0.2em; }
  .motion__toggle { left: 8px; bottom: 8px; padding: 0.4rem 0.8rem 0.35rem 0.95rem; }
}

/* ————— Reduced motion ————— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .reveal, .reveal-img {
    opacity: 1; transform: none; filter: none; clip-path: none;
    transition: none;
  }
  .reveal-stack > * { animation: none; }
  .hero__scroll { animation: none; }
}
