/* ==========================================================================
   Arevot Bak — private guest house, Voskehat
   Design tokens mirror the Claude Design source (Arevot Bak.dc.html).
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:            #fbf9f4;
  --sand:          #f5efe4;
  --header-bg:     rgba(250, 249, 247, 0.88);

  /* Ink */
  --ink:           #231f1a;
  --body:          #514a41;
  --muted:         #786f64;
  --muted-2:       #9a9086;

  /* Accent */
  --accent:        #1189b0;
  --accent-dark:   #0d6d8c;

  /* Placeholder stripes */
  --stripe-sand-a: #efe7da;
  --stripe-sand-b: #e6dccb;
  --stripe-teal-a: #10789b;
  --stripe-teal-b: #1284a8;
  --stripe-deep-a: #14586f;
  --stripe-deep-b: #18657e;

  /* Rules */
  --line:          rgba(28, 26, 24, 0.10);
  --line-strong:   rgba(28, 26, 24, 0.14);

  /* Type */
  --display: "Marcellus", Georgia, serif;
  --sans:    "Karla", "Noto Sans Armenian", "Noto Sans", sans-serif;
  --mono:    ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gutter:  clamp(20px, 5vw, 72px);
  --section: clamp(56px, 10vw, 130px);
}

/* The display face follows the active language. */
html[lang="ru"] { --display: "Playfair Display", Georgia, serif; }
html[lang="hy"] { --display: "Noto Serif Armenian", Georgia, serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Class-level `display` rules below would otherwise outrank the UA's
   [hidden] { display: none }, so anything toggled via .hidden stays visible. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
::selection { background: var(--accent); color: #fff; }

h1, h2 { font-weight: 400; }

/* Anchor jumps must clear the sticky header instead of hiding under it. */
section[id] { scroll-margin-top: calc(var(--header-h, 70px) + 8px); }
#top { scroll-margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Shared type ─────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.h2 {
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.12;
  text-wrap: balance;
}
.h2--wide { max-width: 22ch; margin-bottom: clamp(34px, 6vw, 64px); }
.h2--sm   { margin: 0; font-size: clamp(26px, 4vw, 44px); line-height: 1.14; }

.prose {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.72;
  color: var(--body);
  text-wrap: pretty;
}
.prose:last-child { margin-bottom: 0; }
.prose--light { color: rgba(255, 255, 255, 0.78); max-width: 48ch; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--sm { padding: 11px 20px; font-size: 12.5px; }

.btn--solid       { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); color: #fff; }

.btn--light       { background: #fff; color: var(--accent-dark); }
.btn--light:hover { background: var(--stripe-sand-a); color: var(--accent-dark); }

.btn--ghost-light       { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }

.btn--outline {
  padding: 14px 26px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12.5px;
}
.btn--outline:hover { background: var(--accent); color: #fff; }

/* ── Header ──────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 26, 24, 0.08);
}

.brand { display: flex; flex-direction: column; gap: 2px; color: inherit; }
.brand:hover { color: inherit; }
.brand__name {
  font-family: var(--display);
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand__region {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 30px);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav a { color: var(--body); transition: color 0.2s ease; }
.nav a:hover { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.langs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.lang {
  padding: 6px 11px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.lang:hover { opacity: 1; }
.lang[aria-pressed="true"] { background: var(--accent); color: #fff; opacity: 1; }

/* ── Mobile menu ─────────────────────────────────────────────────────── */
/* The breakpoint below is mirrored in site.js — keep the two in step. */

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 4px; width: 17px; }
.menu-toggle__bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Bars fold into a cross while the panel is open. */
[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  /* Links ride at the top, the language/contact block sits at the foot; on
     short screens the gap collapses and the panel simply scrolls. */
  align-content: space-between;
  gap: 40px;
  /* Clears the sticky header, whose real height site.js measures. */
  padding: calc(var(--header-h, 64px) + clamp(24px, 6vh, 48px))
           clamp(20px, 6vw, 44px)
           calc(40px + env(safe-area-inset-bottom));
  background: var(--accent-dark);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0s;
}

.menu__nav { display: grid; }
.menu__nav a {
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.15;
  color: #fff;
}
.menu__nav a:first-child { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.menu__nav a:hover, .menu__nav a:focus-visible { color: var(--stripe-sand-a); }

.menu__foot { display: grid; }

.menu__langs { justify-self: start; border-color: rgba(255, 255, 255, 0.3); }
.menu__langs .lang { color: rgba(255, 255, 255, 0.72); }
.menu__langs .lang[aria-pressed="true"] { background: #fff; color: var(--accent-dark); }

.menu__cta { justify-content: center; margin-top: 22px; }

.menu__contact { display: grid; gap: 9px; margin-top: 30px; font-size: 15px; }
.menu__contact a { color: rgba(255, 255, 255, 0.75); justify-self: start; }
.menu__contact a:hover { color: #fff; }

@media (max-width: 900px) {
  .header { flex-wrap: nowrap; padding: 12px clamp(16px, 4vw, 28px); }
  .nav, .header__actions { display: none; }
  .menu-toggle { display: grid; }

  /* The header rides above the open panel so the brand and the close control
     stay put; it needs an opaque backdrop to read over the teal. */
  body.is-menu-open .header {
    z-index: 56;
    background: var(--bg);
    border-bottom-color: transparent;
  }
  body.is-menu-open .wa-fab { display: none; }
}

/* Last line of defence: the panel must never survive above its breakpoint,
   whatever the script did or failed to do. */
@media (min-width: 901px) {
  .menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .menu { transform: none; }
}

/* ── Photo slots ─────────────────────────────────────────────────────── */
/* A slot renders the striped placeholder from the design until a real photo
   is present. site.js flags a slot `.is-filled` once its <img> decodes. */

.slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    115deg,
    var(--stripe-sand-a) 0px, var(--stripe-sand-a) 20px,
    var(--stripe-sand-b) 20px, var(--stripe-sand-b) 40px
  );
}
.slot--teal {
  background-image: repeating-linear-gradient(
    115deg,
    var(--stripe-teal-a) 0px, var(--stripe-teal-a) 22px,
    var(--stripe-teal-b) 22px, var(--stripe-teal-b) 44px
  );
}
.slot--teal-dark {
  background-image: repeating-linear-gradient(
    115deg,
    var(--stripe-deep-a) 0px, var(--stripe-deep-a) 22px,
    var(--stripe-deep-b) 22px, var(--stripe-deep-b) 44px
  );
}

.slot > img,
.slot > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slot.is-filled > img,
.slot.is-filled > video { opacity: 1; }

.slot__hint {
  position: relative;
  max-width: 24ch;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}
.slot--teal .slot__hint,
.slot--teal-dark .slot__hint,
.slot--video .slot__hint { color: rgba(255, 255, 255, 0.6); }
.slot.is-filled .slot__hint { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(520px, 88vh, 900px);
  overflow: hidden;
  background: var(--accent-dark);
}
.hero__media { position: absolute; inset: 0; align-items: start; }

/* The clip sits over the still and cross-fades in once it can actually play,
   so a slow or blocked load never shows a black rectangle. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
/* Two passes: the design's vertical wash, plus a horizontal one that holds the
   headline off a bright photograph. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(6, 54, 72, 0.72) 0%,
      rgba(6, 54, 72, 0.35) 45%,
      rgba(6, 54, 72, 0) 80%
    ),
    linear-gradient(
      to top,
      rgba(6, 54, 72, 0.82) 0%,
      rgba(6, 54, 72, 0.25) 45%,
      rgba(6, 54, 72, 0.35) 100%
    );
}
.hero__body {
  position: relative;
  max-width: 1000px;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(44px, 7vw, 88px);
}
.hero .eyebrow { margin-bottom: clamp(16px, 3vw, 26px); }
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 8.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
.hero__sub {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 40px);
}
.hero__price { font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.72); }

/* ── Stats ───────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { background: var(--bg); padding: clamp(26px, 4vw, 42px) clamp(20px, 3vw, 36px); }
.stat__value {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ── About ───────────────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.about__media { aspect-ratio: 4 / 5; min-height: 320px; }

/* ── Amenities ───────────────────────────────────────────────────────── */

.amenities { background: var(--sand); padding: var(--section) var(--gutter); }
.amenities__inner { max-width: 1440px; margin: 0 auto; }
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(24px, 3.5vw, 44px);
}
.amenity {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.amenity__mark {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.amenity__title {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.25;
}
.amenity__body {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ── Pool / alcove split ─────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.split__media { min-height: clamp(300px, 46vw, 620px); }
.split__text {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(44px, 8vw, 96px) clamp(22px, 5vw, 72px);
}
.split__text--teal { background: var(--accent-dark); color: #fff; }
.split__text--sand { background: var(--sand); }
/* The panel is a gap-spaced grid, so children carry no margins of their own. */
.split__text > * { margin: 0; }
.split__text--teal .eyebrow { color: rgba(255, 255, 255, 0.6); }

/* ── Gallery ─────────────────────────────────────────────────────────── */

.gallery { max-width: 1600px; margin: 0 auto; padding: var(--section) var(--gutter); }
.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 5vw, 52px);
}
.gallery__head .h2 { margin-bottom: 0; }
.gallery__note {
  margin: 0;
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.gallery__tile {
  padding: 0;
  border: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: opacity 0.3s ease;
}
.gallery__tile--tall { aspect-ratio: 1 / 1.25; }
.gallery__tile:hover { opacity: 0.86; }
.gallery__tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.slot--video {
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  background: var(--accent-dark);
  background-image: none;
}
.video__play {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 20px;
  border: none;
  background: none;
  cursor: pointer;
}
.video__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  transition: background 0.25s ease;
}
.video__play:hover .video__icon { background: rgba(255, 255, 255, 0.12); }
/* Its own class, not .slot__hint — the label is a real call to action and must
   survive the slot being marked filled. */
.video__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 12px rgba(6, 54, 72, 0.7);
}
.slot--video.is-playing .video__play { display: none; }

/* ── Rates ───────────────────────────────────────────────────────────── */

.rates { background: var(--sand); padding: var(--section) var(--gutter); }
.rates__inner { max-width: 1100px; margin: 0 auto; }
.rates .h2 { margin-bottom: clamp(30px, 5vw, 54px); }
.rates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-strong);
}
.rate { background: var(--bg); padding: clamp(28px, 4vw, 44px); }
.rate__season { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.rate__price {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  color: var(--accent);
}
.rate__unit   { margin-top: 10px; font-size: 14px; color: var(--muted); }
.rate__months { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.rates__note { margin: 22px 0 0; max-width: 60ch; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ── Location ────────────────────────────────────────────────────────── */

.location { max-width: 1440px; margin: 0 auto; padding: var(--section) var(--gutter); }
.location__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.location .h2 { margin-bottom: 20px; }
.location__address { margin: 0 0 26px; font-size: 15px; line-height: 1.7; color: var(--ink); }
.location__map {
  position: relative;
  /* A definite height, not min-height: Google Maps sizes its own wrapper with
     height:100%, which collapses to zero against an indefinite parent. */
  height: clamp(300px, 42vw, 480px);
  background: var(--stripe-sand-b);
  border: 1px solid rgba(28, 26, 24, 0.12);
  overflow: hidden;
}
/* Shown only if the Maps library never arrives. */
.location__map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* ── Contact ─────────────────────────────────────────────────────────── */

.contact {
  background: var(--accent-dark);
  color: #fff;
  padding: clamp(60px, 11vw, 150px) var(--gutter);
  text-align: center;
}
.contact .eyebrow { margin-bottom: 20px; color: rgba(255, 255, 255, 0.6); }
.contact__title {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(30px, 5.5vw, 60px);
  line-height: 1.1;
  text-wrap: balance;
}
.contact__body {
  margin: 22px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: pretty;
}
.contact__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(30px, 5vw, 46px);
}
.contact__cta .btn { padding: 17px 32px; }
.contact__lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin-top: clamp(30px, 5vw, 44px);
  font-size: 15px;
}
.contact__lines a { color: rgba(255, 255, 255, 0.8); }
.contact__lines a:hover { color: #fff; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding: clamp(34px, 5vw, 56px) var(--gutter) 94px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer__name { font-family: var(--display); font-size: 16px; letter-spacing: 0.06em; color: var(--ink); }

/* ── Floating WhatsApp ───────────────────────────────────────────────── */

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(17, 137, 176, 0.4);
  transition: background 0.25s ease;
}
.wa-fab:hover { background: var(--accent-dark); color: #fff; }

/* ── Lightbox ────────────────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 60px);
  background: rgba(8, 50, 66, 0.95);
}
.lightbox[hidden] { display: none; }

/* The photos are portrait, so the frame fits the image rather than cropping it. */
.lightbox__frame {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
  max-height: 100%;
  min-height: 0;
}
.lightbox__frame img {
  min-height: 0;
  max-width: 100%;
  max-height: calc(100vh - clamp(96px, 12vw, 160px));
  object-fit: contain;
}
.lightbox__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
body.is-locked { overflow: hidden; }

/* ── Scroll reveal ───────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
