/* ==========================================================================
   Thota Vaikuntam — design system
   Plain CSS, no preprocessor. Sections:
   1 tokens · 2 fonts/reset · 3 typography · 4 layout · 5 header/nav
   6 footer · 7 components (section-head, grid, card, figure, feature, split,
   bleed, hero, btn, quote, prevnext, parrot) · 8 reveal/motion · 9 lightbox
   10 utilities/a11y · 11 dark theme
   ========================================================================== */

/* ------------------------------------------------------------ 1 tokens */
:root {
  --ff: "Montserrat", system-ui, sans-serif;
  --fw: 300;
  --fs-meta: max(11px, 1.15rem);
  --fs-nav: max(11px, 1.25rem);
  --fs-foot: max(11px, 1rem);
  --track: .16em;

  --white: #fff;
  --ink: #010101;
  --ink-2: #151515;
  --grey-1: #585858;
  --grey-2: #737373;
  --hairline: #EBEBEB;
  --bg-soft: #F6F6F6;
  --red: #9e3030;          /* sampled from the logo bindi oval (site/assets/brand/palette.json) */
  --ochre: #C99A3B;
  --vermilion: #D3452A;
  --indigo: #1E2A5A;
  --gold-hw: #C9A96E;

  --container: 1660px;
  --gutter: 80px;
  --gap-x: 40px;
  --gap-y: 50px;
  --cap-gap: 20px;
  /* vertical rhythm (owner spacing review, 2026-09-20) — every page uses these and nothing else:
     section block 60 + 60 = 120 between the content of two sections and above the footer line;
     --gap-y 50 under a section head and between grid rows; --cap-gap 20 image → caption;
     eyebrow → heading 1.2em (13px); heading → its sub-line .6em (12px); page title → first
     block 1.2em (25px); h2 → text .8em (16px); paragraph → whatever follows --para (23px);
     closing strip (prev/next, notes, back links): 60 → hairline → 30 */
  --section-y: 60px;
  --para: 2.32rem;
  --row-h: 420px;
  --feature: 640px;
  --header-h: 115px;

  --ease-reveal: cubic-bezier(.18, 1, .21, 1);
  --t-reveal: 900ms;
  --ease-header: cubic-bezier(.65, .06, .19, .96);
  --t-header: 600ms;
  --t-hover: 500ms;
  --t-menu: 900ms;
  --ease-menu: cubic-bezier(.015, .85, .225, 1);
}
@media (max-width: 1280px) { :root { --gutter: 40px; } }
@media (max-width: 1024px) { :root { --gutter: 30px; --header-h: 90px; } }
@media (max-width: 768px)  { :root { --row-h: 340px; } }
@media (max-width: 460px)  { :root { --gutter: 15px; } }

/* ------------------------------------------------------------ 2 fonts / reset */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/montserrat-300-latin.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 9.75px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);   /* anchors and keyboard focus stop below the sticky header (WCAG 2.4.11) */
}
body {
  margin: 0;
  font-family: var(--ff);
  font-weight: var(--fw);
  font-size: 1.45rem;
  line-height: 3.1rem;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
picture img { width: 100%; }
a { color: inherit; text-decoration: none; }
/* running-text links underline; :where() keeps specificity at 0,0,1 so any classed link (.card__link,
   .exh-list__link, .site-footer a …) can opt out with a single class rule */
:where(p) a, :where(li:not(.nav__list li):not(.nav-overlay__list li)) > a:where(:not(.btn)) { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
::selection { background: var(--ink-2); color: var(--white); }

/* ------------------------------------------------------------ 3 typography */
h1, h2, h3, .eyebrow, .card__title, .btn, .nav, .site-footer__meta, .site-footer__social,
.figcaption, .card__meta, .section-head__link, .prevnext__dir, .hero__credit, .menu-btn, .cart-link {
  text-transform: uppercase;
  letter-spacing: var(--track);
}
h1, h2, h3, h4 { font-weight: var(--fw); margin: 0 0 .8em; color: var(--ink); }
h1 { font-size: 2.1rem; line-height: 1.5; margin-bottom: 1.2em; }   /* never larger; 25px to the first block on every page */
h2 { font-size: 2.1rem; line-height: 1.5; }        /* same cap as h1: the scale never inverts */
h3 { font-size: 1.65rem; line-height: 1.6; }
h4 { font-size: 1.45rem; line-height: 1.6; text-transform: uppercase; letter-spacing: var(--track); }
h1, h2, h3, h4, .prevnext__title { text-wrap: balance; }   /* a wrapped heading never leaves one word alone on its last line; same line count */
p { margin: 0 0 var(--para); }
.prose, .lede, .feature__body p, .split__body p, main > .section p { max-width: 62ch; }
.lede { font-size: 1.65rem; line-height: 3.2rem; }
.eyebrow { font-size: var(--fs-meta); color: var(--grey-1); margin-bottom: 1.2em; }
.meta, .card__meta, .figcaption { font-size: var(--fs-meta); line-height: 2.1rem; color: var(--grey-1); }
small, .small { font-size: var(--fs-meta); }
strong { font-weight: 500; }

blockquote, .quote {
  font-size: 2.4rem;
  line-height: 3.4rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
  border-left: 1px solid var(--red);   /* the one expressive gesture */
  padding-left: 30px;
  width: 85%;
  margin: 2em 0;
}
blockquote p { margin: 0; max-width: none; }
blockquote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-meta);
  line-height: 2.1rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-1);
  margin-top: 1.4em;
}
@media (max-width: 768px) { blockquote, .quote { width: 100%; padding-left: 20px; } }

/* ------------------------------------------------------------ 4 layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
/* a full-bleed hero has no block padding of its own: the section under it supplies both halves */
.hero + .section, .hero-figure + .section { padding-top: calc(2 * var(--section-y)); }
/* the last block of a text column carries no trailing margin, so a column taller than its image
   does not push the next section 23px further away */
.split__body > :last-child, .feature__body > :last-child { margin-bottom: 0; }
/* a section that is only a pull quote: the blockquote's prose margin would add to the block */
.section--quote .quote { margin: 0; }
.section--soft { background: var(--bg-soft); }
/* short pages (empty cart, 404): the footer rests on the bottom of the window instead of floating
   a fixed 60vh down the page; every other page is taller than the window and is unaffected */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
main { flex: 1 0 auto; }
main:focus { outline: none; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-x);
  padding-bottom: 18px;
  margin-bottom: var(--gap-y);
  border-bottom: 1px solid var(--hairline);
}
.section-head h2, .section-head h3 { margin: 0; }
.section-head__link { font-size: var(--fs-meta); color: var(--grey-1); white-space: nowrap; padding-bottom: .2em; }

/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1280px) { .grid, .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .grid, .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .grid, .grid--3, .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* art grid: fixed row height, images sit on the bottom edge */
.grid--art .card__img { height: var(--row-h); }
.grid--art .card__img picture, .grid--art .figure__media picture { position: absolute; inset: 0; }
.grid--art .card__img img, .grid--art .figure__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom;
  background: transparent !important;
}

/* split (text + sticky media) */
.split { display: grid; grid-template-columns: 1fr; gap: var(--gap-y) var(--gap-x); align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__media { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* full-bleed */
.bleed {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  max-width: 100vw;
}

/* ------------------------------------------------------------ 5 header / nav */
.skip-link {
  position: absolute; top: 0; left: 0; z-index: 200;
  padding: 10px 16px;
  background: var(--ink-2); color: var(--white);
  font-size: var(--fs-meta); letter-spacing: var(--track); text-transform: uppercase;
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; outline: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  min-height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--hairline);
  transition: transform var(--t-header) var(--ease-header),
              box-shadow var(--t-header) var(--ease-header),
              border-color var(--t-header) var(--ease-header);
  will-change: transform;
}
.site-header.is-hidden { transform: translate3d(0, -150%, 0); }
.site-header.is-scrolled { border-color: transparent; box-shadow: 0 0 8px rgba(0, 0, 0, .18); }
.nav-open .site-header { transform: none; box-shadow: none; z-index: 130; background: transparent; border-color: transparent; }
.nav-open .site-logo img { filter: brightness(0) invert(1); }
.nav-open .cart-link { visibility: hidden; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; }
.site-logo { flex: 0 0 auto; display: block; }
.site-logo img { width: 160px; height: auto; }
@media (max-width: 1024px) { .site-logo img { width: 130px; } }   /* 72px tall in the 90px header: ~9px clear above the bindi and above the rule */

.nav { font-size: var(--fs-nav); line-height: 1; }
.nav__list { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav__list li { margin-left: 25px; }
@media (max-width: 1100px) { .nav__list li { margin-left: 20px; } }   /* 1025–1100 with a cart badge: Contact stays on the one line */
.nav__list a { color: var(--grey-1); padding: 8px 0; display: inline-block; }
.nav__list a.is-active { color: var(--ink); }
.nav__list a:hover { color: var(--grey-1); }   /* no hover colour change */
.nav__list a.is-active:hover { color: var(--ink); }

.site-header__tools { display: flex; align-items: center; gap: 25px; font-size: var(--fs-nav); line-height: 1; flex: 0 0 auto; }
.cart-link { color: var(--grey-1); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; } /* 44px hit area, label size unchanged */
.cart-link.is-empty { visibility: hidden; }   /* empty cart: link hidden but its space kept, so the nav stays where it was */
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--ink-2); color: var(--white);
  font-size: 10px; letter-spacing: 0; line-height: 1;
}
.menu-btn { display: none; align-items: center; min-height: 44px; color: var(--ink); position: relative; z-index: 130; padding: 8px 0; } /* 44px hit area; no side padding keeps the gutter edge */
.menu-btn__close { display: none; }
.nav-open .menu-btn { color: #fff; }
.nav-open .menu-btn__open { display: none; }
.nav-open .menu-btn__close { display: inline; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* overlay menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(0, 0, 0, .96);            /* opaque enough that hero type does not ghost through */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-header) var(--ease-header), visibility 0s linear var(--t-header);
  overscroll-behavior: contain;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-open { overflow: hidden; }
.nav-overlay__nav { margin: auto; padding: calc(var(--header-h) + 10px) 0 30px; }
.nav-overlay__list { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 20px; }
.nav-overlay__list li {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity var(--t-menu) var(--ease-menu), transform var(--t-menu) var(--ease-menu);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.nav-open .nav-overlay__list li { opacity: 1; transform: none; }
.nav-overlay__list a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 1.6rem; line-height: 1.6;
  text-transform: uppercase; letter-spacing: var(--track);
  color: rgba(255, 255, 255, .6);
}
.nav-overlay__list a.is-active { color: #fff; }
.nav-overlay .cart-count { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------ 6 footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 30px 0;
  margin-top: var(--section-y);
  font-size: var(--fs-foot);
  line-height: 2rem;
  color: var(--grey-1);
}
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 30px; }   /* one line: © | Instagram + email | legal */
.site-footer p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 20px; margin: 0; }
.site-footer__social { display: flex; align-items: center; justify-content: center; gap: 25px; }
.site-footer__ig { display: inline-flex; line-height: 0; }
.site-footer__ig svg { width: 18px; height: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
@media (max-width: 768px) { .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 14px; } .site-footer__social { justify-content: flex-start; } .site-footer__legal { justify-content: flex-start; } }

/* ------------------------------------------------------------ 7 components */
/* card */
.card { position: relative; }
.card__link { display: block; color: inherit; }
.card__img { position: relative; overflow: hidden; background: transparent; }
.card__img picture { width: 100%; }
.card__img--alt {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--t-hover) ease;
  pointer-events: none;
}
.card__img--alt img { width: 100%; height: 100%; object-fit: inherit; object-position: inherit; }
.card:hover .card__img--alt, .card:focus-within .card__img--alt { opacity: 1; }
.card__body { padding-top: var(--cap-gap); }
.card__title { font-size: 1.65rem; line-height: 2.4rem; margin: 0 0 .3em; color: var(--ink); }
.card__meta { margin: 0; }
.card__meta--sub { color: var(--grey-2); }
.card .eyebrow { margin-bottom: .4em; }

/* figure */
.figure { position: relative; }
.figure__media { position: relative; }
.figure__media[data-lightbox] { cursor: zoom-in; }
.figcaption { display: flex; flex-wrap: wrap; gap: 0 14px; padding-top: var(--cap-gap); }
.figcaption__credit { color: var(--grey-2); }

/* feature (50/50) */
.feature { display: grid; grid-template-columns: 1fr; gap: var(--gap-y) 0; align-items: center; }
.feature__media { width: 100%; max-width: var(--feature); }
.feature__media .figure__media { aspect-ratio: 1 / 1; overflow: hidden; }
.feature__media .figure__media picture, .feature__media .figure__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { align-self: center; }
.feature--flip .feature__media { order: 2; }
@media (min-width: 1025px) {
  .feature { grid-template-columns: minmax(0, var(--feature)) minmax(0, 1fr); }
  .feature__body { padding-left: 50px; }
  .feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, var(--feature)); }
  .feature--flip .feature__body { padding-left: 0; padding-right: 50px; }
}

/* hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--white);
}
.hero__media, .hero > picture { position: absolute; inset: 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__overlay {
  position: absolute; bottom: 0;
  padding: 40px var(--gutter);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  z-index: 2;
}
.hero__overlay--left { left: 0; max-width: 60%; }
.hero__overlay--top { top: 0; left: 0; bottom: auto; max-width: 60%; }
.hero__overlay--right { right: 0; text-align: right; }
.hero h1, .hero h2, .hero p { color: var(--white); }
.hero h1 { margin-bottom: .6em; }
.hero__tagline { font-size: var(--fs-meta); letter-spacing: var(--track); text-transform: uppercase; margin: 0; }
.hero__credit { font-size: var(--fs-foot); letter-spacing: var(--track); color: rgba(255, 255, 255, .75); }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero__overlay--left { max-width: 100%; }
  .hero__overlay--right { position: absolute; top: auto; bottom: 12px; padding-block: 0; }
  .hero__overlay--left { padding-bottom: 50px; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;                        /* touch target; .btn--small keeps this floor */
  font-size: var(--fs-meta);               /* 11px floor */
  line-height: 1.4;
  padding: 13px 22px;
  border: 1px solid var(--ink-2);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: background var(--t-hover) ease, color var(--t-hover) ease;
  margin: 0;
}
/* button rows wrap as a flex line, so a button adds nothing to the gap above or below it */
p:has(> .btn) { display: flex; flex-wrap: wrap; gap: 8px 12px; }
@supports not selector(:has(*)) { .btn { margin: 0 8px 8px 0; } }
.btn:hover, .btn:focus-visible { background: var(--ink-2); color: var(--white); }
.btn--solid { background: var(--ink-2); color: var(--white); }
.btn--solid:hover, .btn--solid:focus-visible { background: transparent; color: var(--ink); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* prev / next */
.prevnext {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: var(--gap-x);   /* start: Previous/Next share a line when their titles wrap differently */
  border-top: 1px solid var(--hairline);
  padding-top: 30px; margin-top: var(--section-y);
}
.prevnext__next { text-align: right; }
.prevnext a { display: inline-block; }
.prevnext__dir { display: block; font-size: var(--fs-meta); color: var(--grey-2); }
.prevnext__title { display: block; font-size: 1.65rem; line-height: 2.4rem; text-transform: uppercase; letter-spacing: var(--track); color: var(--ink); }
.prevnext__up { font-size: var(--fs-meta); letter-spacing: var(--track); text-transform: uppercase; color: var(--grey-1); align-self: center; }
@media (max-width: 460px) { .prevnext { grid-template-columns: 1fr 1fr; } .prevnext__up { grid-column: 1 / -1; order: 3; } }

/* decorative parrot */
.parrot {
  position: absolute;
  width: clamp(120px, 12vw, 220px);
  pointer-events: none;
  user-select: none;
  z-index: 3;
}
.parrot img { width: 100%; height: auto; }
.parrot--tl { top: 0; left: 0; }
.parrot--tr { top: 0; right: 0; }
.parrot--bl { bottom: 0; left: 0; }
.parrot--br { bottom: 0; right: 0; }
.parrot--flip { transform: scaleX(-1); }

/* ------------------------------------------------------------ 8 reveal / motion */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, -50px, 0);
  transition: opacity var(--t-reveal) var(--ease-reveal), transform var(--t-reveal) var(--ease-reveal);
  transition-delay: var(--stagger, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal]:focus-within { opacity: 1; transform: none; transition: none; }   /* keyboard focus never lands on a block still at opacity 0 */

.no-anim [data-reveal], .no-anim .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .hero { height: 800px; }
.no-anim .site-header, .no-anim .nav-overlay, .no-anim .nav-overlay__list li, .no-anim .card__img--alt { transition: none !important; }
.no-anim html { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .site-header, .nav-overlay, .nav-overlay__list li, .card__img--alt, .btn { transition: none !important; }
  .nav-overlay__list li { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ 9 lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  background: transparent;
  color: var(--white);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 60px var(--gutter) 90px; }
.lightbox picture, .lightbox img { max-width: 100%; max-height: min(92vh, calc(100vh - 150px)); width: auto; height: auto; object-fit: contain; }
.lightbox picture img { width: auto; }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px var(--gutter);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: var(--fs-meta); line-height: 2.1rem; letter-spacing: var(--track); text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.lightbox__text {   /* the caption is alt text: sentence case, at most two lines */
  text-transform: none; letter-spacing: 0; font-size: 1.3rem;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.lightbox__credit { color: rgba(255, 255, 255, .55); }
.lightbox__count { color: rgba(255, 255, 255, .55); }
.lightbox__btn {
  position: absolute; z-index: 2;
  font-size: var(--fs-meta); letter-spacing: var(--track); text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  padding: 14px 18px;
  background: rgba(0, 0, 0, .35);
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { color: #fff; }
.lightbox__close { top: 16px; right: var(--gutter); }
.lightbox__prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__btn[disabled] { opacity: .3; cursor: default; }
@media (max-width: 768px) {
  /* phones: image, caption and the Prev · count · Next row stack without overlapping;
     dvh keeps that row above Safari's toolbar */
  .lightbox { height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; }
  .lightbox__stage { flex-direction: column; padding-bottom: 60px; }
  .lightbox.is-single .lightbox__stage { padding-bottom: 18px; }
  .lightbox picture { flex: 1 1 0; min-height: 0; width: 100%; max-height: none; display: flex; align-items: center; justify-content: center; }
  .lightbox picture img { max-height: 100%; }
  .lightbox__caption { position: static; flex: 0 0 auto; width: 100%; padding: 12px 0 0; gap: 2px 20px; }
  .lightbox__btn { padding: 7px 18px; }   /* 44px tall */
  .lightbox__close { top: 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
  .lightbox__count { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); line-height: 44px; }
}

/* ------------------------------------------------------------ 10 utilities / a11y */
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; }
.hero :focus-visible, .nav-overlay :focus-visible, .lightbox :focus-visible { outline-color: var(--white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--gap-y); }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ 11 dark theme */
.theme-dark {
  --white: #0A0A0A;
  --ink: #F5F0E8;
  --ink-2: #F5F0E8;
  --grey-1: #B0B0B0;
  --grey-2: #8C8C8C;
  --hairline: #262626;
  --bg-soft: #141414;
}
.theme-dark ::selection { background: var(--ink-2); color: var(--white); }
.theme-dark .site-header.is-scrolled { box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.theme-dark .site-logo img { filter: invert(1); }
.theme-dark .cart-count { background: var(--ink-2); color: var(--white); }
