/* ============================================================
   Studio Bego — Cinematische Hochzeitsfilme
   Cinematic wedding-film aesthetic:
   near-black + champagne, Cormorant Garamond / Inter,
   letterbox film-frame signature
   ============================================================ */

:root {
  --ink:        #08090a;   /* near-black base */
  --ink-2:      #0d0f12;   /* raised near-black panel */
  --ink-3:      #121418;   /* card */
  --paper:      #f2efe9;   /* warm white */
  --muted:      #9a948a;   /* warm grey */
  --subtle:     #6c675f;
  --champagne:  #cba36a;   /* accent */
  --champagne-2:#e3c89a;   /* lighter accent */
  --line:       rgba(242, 239, 233, 0.10);
  --line-2:     rgba(242, 239, 233, 0.16);

  --bar: 34px;             /* letterbox bar height */
  --nav-h: 76px;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.4s var(--ease);

  --maxw: 1180px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
strong { color: var(--paper); font-weight: 500; }

::selection { background: var(--champagne); color: var(--ink); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a2722; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--subtle); }

:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   FILM GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* shared kicker / eyebrow — cinematic slate label */
.eyebrow,
.hero-kicker,
.filmbar-label,
.frame-cap,
.service-no,
.gallery-label,
.contact-note {
  font-family: var(--sans);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
.nav.scrolled {
  height: 62px;
  background: rgba(8, 9, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--paper);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 10px rgba(203, 163, 106, 0.6);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--t);
}
.nav-link:hover { color: var(--paper); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  margin-left: 8px;
  border: 1px solid var(--champagne);
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background var(--t), color var(--t);
}
.nav-cta:hover { background: var(--champagne); color: var(--ink); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--paper);
  transition: transform var(--t), opacity var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    position: absolute;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--nav-h) + 12px) clamp(20px, 5vw, 40px) 28px;
    background: rgba(8, 9, 10, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t), transform var(--t);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link {
    padding: 16px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin: 18px 0 0;
    justify-content: center;
    padding: 16px;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  min-height: 48px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--champagne);
  color: var(--ink);
}
.btn-primary:hover { background: var(--champagne-2); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { color: var(--paper); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ============================================================
   HERO  (full-bleed letterbox film frame)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + var(--bar) + 16px) clamp(20px, 6vw, 80px) calc(var(--bar) + 80px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(0.18) contrast(1.03) brightness(0.92);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8,9,10,0.94) 0%, rgba(8,9,10,0.72) 38%, rgba(8,9,10,0.32) 66%, rgba(8,9,10,0.55) 100%),
    linear-gradient(to top, rgba(8,9,10,0.92) 0%, transparent 30%, transparent 70%, rgba(8,9,10,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-kicker {
  color: var(--champagne);
  font-size: clamp(0.62rem, 1.4vw, 0.74rem);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: clamp(18px, 3vw, 28px);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--champagne-2);
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: rgba(242, 239, 233, 0.82);
  max-width: 480px;
  margin-bottom: clamp(30px, 4vw, 44px);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}

/* showreel play cue */
.showreel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}
.showreel-play {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--champagne);
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
}
.showreel-play svg { width: 18px; height: 18px; margin-left: 3px; }
.showreel:hover .showreel-play {
  background: var(--champagne);
  color: var(--ink);
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(203,163,106,0.12);
}
.showreel-text { display: flex; flex-direction: column; line-height: 1.25; }
.showreel-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper);
}
.showreel-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* film bars */
.filmbar {
  position: absolute;
  left: 0; right: 0;
  height: var(--bar);
  z-index: 3;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 40px);
}
.filmbar--top { top: 0; border-bottom: 1px solid var(--line); }
.filmbar--bottom { bottom: 0; border-top: 1px solid var(--line); }
.filmbar-label {
  font-size: 0.6rem;
  color: var(--subtle);
  letter-spacing: 0.3em;
}
.filmbar-label--right { margin-left: auto; }
.filmbar-tick {
  width: 18px; height: 1px;
  background: var(--champagne);
  opacity: 0.6;
  margin: 0 14px;
}
.filmbar-tick--l { margin-left: 0; }
.filmbar-tick--r { margin-right: 0; }

/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: calc(var(--bar) + 18px);
  right: clamp(20px, 6vw, 80px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--champagne), transparent);
}
.hero-scroll-word { writing-mode: vertical-rl; }
@media (max-width: 640px) { .hero-scroll { display: none; } }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section-head { max-width: 640px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--champagne);
  margin-bottom: 18px;
}
.display-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.section-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(242, 239, 233, 0.9);
  margin: 26px 0 20px;
}
.body { color: var(--muted); font-weight: 300; margin-bottom: 8px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-text .eyebrow { margin-bottom: 22px; }
.about-text .display-title { max-width: 12ch; }
.about-stats {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  margin: 38px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 8px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--champagne);
  line-height: 0.9;
}
.stat-unit { font-size: 0.5em; color: var(--champagne-2); }
.stat-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* film frame around portrait */
.about-frame { display: flex; flex-direction: column; gap: 14px; }
.frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  aspect-ratio: 4 / 5;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.02);
  transition: transform 0.8s var(--ease);
}
.frame:hover img { transform: scale(1.04); }
.frame-tick {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--champagne);
  border-style: solid;
  border-width: 0;
  opacity: 0.8;
}
.frame-tick--tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.frame-tick--tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.frame-tick--bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.frame-tick--br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.frame-cap {
  font-size: 0.62rem;
  color: var(--subtle);
  text-align: right;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-frame { max-width: 460px; }
  .about-text .display-title { max-width: none; }
}

/* ============================================================
   SERVICES  (shot list)
   ============================================================ */
.services { background: var(--ink-2); }
.services-list {
  display: grid;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 40px) clamp(8px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), padding-left var(--t);
}
.service:hover { background: rgba(242,239,233,0.02); }
@media (hover: hover) {
  .service:hover { padding-left: calc(clamp(8px, 2vw, 24px) + 8px); }
}
.service-no {
  font-size: 0.8rem;
  color: var(--subtle);
  padding-top: 0.5em;
  transition: color var(--t);
}
.service:hover .service-no { color: var(--champagne); }
.service--featured .service-no { color: var(--champagne); }
.service-body { display: flex; flex-direction: column; }
.service-flag {
  align-self: flex-start;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--champagne);
  border: 1px solid var(--champagne);
  padding: 3px 10px;
  margin-bottom: 14px;
}
.service-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 12px;
}
.service-desc {
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
  max-width: 56ch;
}

/* ============================================================
   GALLERY  (cinematic frames, varied spans)
   ============================================================ */
.gallery { background: var(--ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) brightness(0.95);
  transition: transform 0.7s var(--ease), filter var(--t);
}
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1.02); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
/* thin champagne frame on hover */
.gallery-frame {
  position: absolute;
  inset: 10px;
  border: 1px solid var(--champagne);
  opacity: 0;
  transition: opacity var(--t), inset var(--t);
  pointer-events: none;
}
.gallery-item:hover .gallery-frame,
.gallery-item:focus-visible .gallery-frame { opacity: 0.85; inset: 8px; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-auto-rows: 150px; gap: 8px; }
  .gallery-item--wide { grid-column: span 2; }
}

/* ============================================================
   CONTACT  (full-bleed scrimmed band)
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.contact-media { position: absolute; inset: 0; z-index: 0; }
.contact-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(0.3) brightness(0.55);
}
.contact-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,10,0.95) 0%, rgba(8,9,10,0.8) 45%, rgba(8,9,10,0.55) 100%),
    linear-gradient(to bottom, rgba(8,9,10,0.85), rgba(8,9,10,0.7));
}
.contact-container { position: relative; z-index: 2; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact-text .eyebrow { margin-bottom: 20px; }
.contact-title { margin-bottom: 22px; }
.contact-body {
  color: rgba(242,239,233,0.82);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 44ch;
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}
.contact-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--champagne);
  flex-shrink: 0;
}
.contact-card {
  background: rgba(13, 15, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  padding: clamp(32px, 4vw, 44px);
  text-align: center;
}
.contact-card-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.2;
}
.contact-card-body {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.contact-card .btn { margin-bottom: 12px; }
.contact-note {
  font-size: 0.62rem;
  color: var(--subtle);
  margin-top: 18px;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.footer-tagline {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.footer-links { display: flex; gap: clamp(18px, 3vw, 32px); flex-wrap: wrap; }
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--champagne); }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: color var(--t);
}
.footer-ig:hover { color: var(--champagne); }
.footer-ig svg { width: 18px; height: 18px; }
.footer-copy {
  font-size: 0.74rem;
  color: var(--subtle);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.footer-copy a { color: var(--champagne); }
.footer-copy a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 9, 10, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
}
.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 14px;
  background: var(--champagne);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: background var(--t);
}
.mobile-bar-btn:hover { background: var(--champagne-2); }
.mobile-bar-btn .btn-icon { width: 17px; height: 17px; }

@media (max-width: 820px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 78px; }
}
@media (min-width: 821px) {
  .mobile-bar { display: none !important; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 5, 6, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  max-width: min(640px, 88vw);
  max-height: 86svh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  padding: 8px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80svh;
  object-fit: contain;
  display: block;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: background var(--t), border-color var(--t), color var(--t);
  z-index: 1;
}
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 22px; height: 22px; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { top: 50%; transform: translateY(-50%); left: 22px; }
.lightbox-next { top: 50%; transform: translateY(-50%); right: 22px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}
@media (max-width: 600px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; }
}

/* ============================================================
   MOTION  (gated — content always visible without it)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* page-load: letterbox open + content rise */
  .filmbar--top { animation: barDownT 0.9s var(--ease) both; }
  .filmbar--bottom { animation: barDownB 0.9s var(--ease) both; }
  @keyframes barDownT { from { transform: translateY(-100%); } to { transform: translateY(0); } }
  @keyframes barDownB { from { transform: translateY(100%); } to { transform: translateY(0); } }

  .hero-kicker { animation: rise 0.8s var(--ease) 0.35s both; }
  .hero-title  { animation: rise 0.9s var(--ease) 0.5s both; }
  .hero-sub    { animation: rise 0.9s var(--ease) 0.68s both; }
  .hero-actions{ animation: rise 0.9s var(--ease) 0.84s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  .hero-scroll-line { animation: lineGrow 1s var(--ease) 1s both; transform-origin: top; }
  @keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  /* scroll-reveal helper — hidden state applies ONLY when JS is active
     (html.js), so no-JS / observer-miss never leaves content invisible */
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
