/* ==========================================================================
   LUX — kanishksuri.com design system
   One stylesheet for every public page: /, /photography, /bookings,
   /model-release, /404. Gold on near-black, serif display, hairline rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --lux-bg:            #0a0a0a;
  --lux-surface:       #111111;
  --lux-surface-2:     #161616;
  --lux-gold:          #c9a96e;
  --lux-gold-bright:   #e8c07e;
  --lux-gold-deep:     #b08f52;
  --lux-heading:       #f0ece6;
  --lux-text:          #a89b8c;
  --lux-text-dim:      rgba(168, 155, 140, 0.8);
  --lux-hairline:      rgba(201, 169, 110, 0.22);
  --lux-hairline-soft: rgba(201, 169, 110, 0.1);
  --lux-error:         #d98c7a;

  --lux-font-display: "Cormorant", "Cochin", "Didot", Georgia, serif;
  --lux-font-body: "Jost", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale (html stays at 100% — 1rem = 16px everywhere).
     Cormorant has a small x-height, so the scale runs larger and airier. */
  --lux-fs-display: clamp(3.6rem, 1.6rem + 11vw, 10.5rem);
  --lux-fs-1: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  --lux-fs-2: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  --lux-fs-3: clamp(1.3rem, 1.12rem + 0.8vw, 1.65rem);
  --lux-fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --lux-fs-small: 0.8125rem;
  --lux-fs-eyebrow: 0.6875rem;

  --lux-sp-1: 0.5rem;
  --lux-sp-2: 1rem;
  --lux-sp-3: 1.5rem;
  --lux-sp-4: 2rem;
  --lux-sp-5: 3rem;
  --lux-sp-6: 4.5rem;
  --lux-sp-7: 6rem;
  --lux-sp-8: 8rem;

  --lux-z-nav: 200;
  --lux-z-overlay: 900;
  --lux-z-lightbox: 1100;

  --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lux-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --lux-dur-1: 200ms;
  --lux-dur-2: 450ms;
  --lux-dur-3: 800ms;

  --lux-nav-h: 72px;
  --lux-container: 1200px;
  --lux-gutter: clamp(20px, 5vw, 48px);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   NOTE: no overflow-x:hidden on html/body — overflow is fixed at source.
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--lux-bg);
  color: var(--lux-text);
  font-family: var(--lux-font-body);
  font-size: var(--lux-fs-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--lux-sp-3);
  font-family: var(--lux-font-display);
  font-weight: 500;
  color: var(--lux-heading);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

p { margin: 0 0 var(--lux-sp-3); }

a {
  color: var(--lux-gold);
  text-decoration: none;
  transition: color var(--lux-dur-1) var(--lux-ease);
}
a:hover { color: var(--lux-gold-bright); }

img, picture, svg, video { max-width: 100%; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: rgba(201, 169, 110, 0.28); color: var(--lux-heading); }

/* --------------------------------------------------------------------------
   3. Focus, skip link, screen-reader utility
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--lux-gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.lux-skip {
  position: absolute;
  top: -100px;
  left: var(--lux-sp-2);
  z-index: calc(var(--lux-z-nav) + 10);
  padding: 12px 20px;
  background: var(--lux-gold);
  color: var(--lux-bg);
  font-size: var(--lux-fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: top var(--lux-dur-1) var(--lux-ease);
}
.lux-skip:focus-visible { top: var(--lux-sp-2); color: var(--lux-bg); }

.lux-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.lux-container {
  width: 100%;
  max-width: var(--lux-container);
  margin: 0 auto;
  padding-left: var(--lux-gutter);
  padding-right: var(--lux-gutter);
}

.lux-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

section[id], div[id="folio-wrap"] { scroll-margin-top: calc(var(--lux-nav-h) + 8px); }

.lux-eyebrow {
  display: block;
  font-family: var(--lux-font-body);
  font-size: var(--lux-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--lux-gold);
  margin: 0 0 var(--lux-sp-3);
}

.lux-h { font-size: var(--lux-fs-1); }

.lux-rule {
  width: 64px;
  height: 1px;
  border: 0;
  margin: var(--lux-sp-3) 0;
  background: var(--lux-gold);
  opacity: 0.7;
}
.lux-rule--center { margin-left: auto; margin-right: auto; }

.lux-lead {
  font-size: var(--lux-fs-3);
  font-family: var(--lux-font-display);
  font-weight: 500;
  line-height: 1.6;
  color: var(--lux-text-dim);
}

.lux-center { text-align: center; }
.lux-center .lux-rule { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.lux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 38px;
  font-family: var(--lux-font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--lux-gold);
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.5);
  cursor: pointer;
  transition:
    color var(--lux-dur-2) var(--lux-ease),
    background-color var(--lux-dur-2) var(--lux-ease),
    border-color var(--lux-dur-2) var(--lux-ease);
}
.lux-btn:hover {
  color: var(--lux-bg);
  background: var(--lux-gold);
  border-color: var(--lux-gold);
}

.lux-btn--solid {
  color: var(--lux-bg);
  background: var(--lux-gold);
  border-color: var(--lux-gold);
}
.lux-btn--solid:hover {
  color: var(--lux-bg);
  background: var(--lux-gold-bright);
  border-color: var(--lux-gold-bright);
}

.lux-btn--ghost { border-color: var(--lux-hairline); }

.lux-btn--text {
  border: 0;
  padding: 0;
  min-height: 44px;
  color: var(--lux-gold);
  text-decoration: underline;
  text-decoration-color: var(--lux-hairline);
  text-underline-offset: 6px;
}
.lux-btn--text:hover {
  background: none;
  color: var(--lux-gold-bright);
  text-decoration-color: var(--lux-gold-bright);
}

/* Icon-only links (social rows) — guaranteed 44px hit area */
.lux-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--lux-text-dim);
}
.lux-icon-link:hover { color: var(--lux-gold); }
.lux-icon-link svg { width: 19px; height: 19px; fill: currentColor; }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.lux-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--lux-z-nav);
  height: var(--lux-nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--lux-dur-2) var(--lux-ease),
    border-color var(--lux-dur-2) var(--lux-ease);
}
.lux-nav.is-scrolled,
.lux-nav--solid {
  background: rgba(10, 10, 10, 0.86);
  border-bottom-color: var(--lux-hairline-soft);
}
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .lux-nav.is-scrolled,
  .lux-nav--solid {
    background: rgba(10, 10, 10, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
  }
}

.lux-nav__inner {
  width: 100%;
  max-width: var(--lux-container);
  margin: 0 auto;
  padding: 0 var(--lux-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lux-sp-3);
}

.lux-nav__brand {
  font-family: var(--lux-font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lux-heading);
  white-space: nowrap;
  padding: 10px 0;
}
.lux-nav__brand:hover { color: var(--lux-gold); }

.lux-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 40px);
}
.lux-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-text-dim);
  border-bottom: 1px solid transparent;
}
.lux-nav__links a:hover { color: var(--lux-heading); }
.lux-nav__links a[aria-current="page"] {
  color: var(--lux-gold);
  border-bottom-color: var(--lux-gold);
}

/* Burger — hidden on desktop */
.lux-nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -8px;
}
.lux-nav__burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--lux-heading);
  transition: transform var(--lux-dur-2) var(--lux-ease), opacity var(--lux-dur-2) var(--lux-ease);
}
.lux-nav__burger span:nth-child(1) { top: 18px; }
.lux-nav__burger span:nth-child(2) { top: 25px; }
html.lux-menu-open .lux-nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
html.lux-menu-open .lux-nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Full-screen overlay menu */
.lux-menu {
  position: fixed;
  inset: 0;
  z-index: var(--lux-z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--lux-sp-5);
  background: rgba(8, 8, 8, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--lux-dur-2) var(--lux-ease), visibility 0s linear var(--lux-dur-2);
}
@supports (backdrop-filter: blur(24px)) or (-webkit-backdrop-filter: blur(24px)) {
  .lux-menu {
    background: rgba(8, 8, 8, 0.88);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
  }
}
html.lux-menu-open .lux-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--lux-dur-2) var(--lux-ease);
}
html.lux-menu-open { overflow: hidden; } /* scroll lock only while the modal menu is open */

.lux-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--lux-sp-2);
  text-align: center;
}
.lux-menu__links a {
  display: inline-block;
  padding: 6px 18px;
  font-family: var(--lux-font-display);
  font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  font-weight: 600;
  color: var(--lux-heading);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--lux-dur-2) var(--lux-ease), transform var(--lux-dur-2) var(--lux-ease), color var(--lux-dur-1) var(--lux-ease);
}
.lux-menu__links a:hover,
.lux-menu__links a[aria-current="page"] { color: var(--lux-gold); }
html.lux-menu-open .lux-menu__links a { opacity: 1; transform: none; }
html.lux-menu-open .lux-menu__links a:nth-child(1) { transition-delay: 60ms; }
html.lux-menu-open .lux-menu__links a:nth-child(2) { transition-delay: 120ms; }
html.lux-menu-open .lux-menu__links a:nth-child(3) { transition-delay: 180ms; }
html.lux-menu-open .lux-menu__links a:nth-child(4) { transition-delay: 240ms; }
html.lux-menu-open .lux-menu__links a:nth-child(5) { transition-delay: 300ms; }

.lux-menu__social {
  display: flex;
  gap: var(--lux-sp-2);
  opacity: 0;
  transition: opacity var(--lux-dur-2) var(--lux-ease) 360ms;
}
html.lux-menu-open .lux-menu__social { opacity: 1; }

@media (max-width: 919px) {
  .lux-nav__links { display: none; }
  .lux-nav__burger { display: block; }
}
@media (min-width: 920px) {
  .lux-menu { display: none; }
}
@media (max-width: 600px) {
  :root { --lux-nav-h: 60px; }
  .lux-nav__brand { font-size: 0.9375rem; letter-spacing: 0.24em; }
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.lux-footer {
  border-top: 1px solid var(--lux-hairline-soft);
  padding: var(--lux-sp-6) 0 var(--lux-sp-4);
  background: var(--lux-bg);
}
.lux-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--lux-sp-5);
  margin-bottom: var(--lux-sp-5);
}
.lux-footer__wordmark {
  font-family: var(--lux-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lux-heading);
  margin-bottom: var(--lux-sp-2);
}
.lux-footer__tag {
  font-size: var(--lux-fs-small);
  color: var(--lux-text-dim);
  max-width: 34ch;
}
.lux-footer__head {
  font-family: var(--lux-font-body);
  font-size: var(--lux-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lux-gold);
  margin-bottom: var(--lux-sp-2);
}
.lux-footer__links li { margin-bottom: 6px; }
.lux-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: var(--lux-fs-small);
  color: var(--lux-text-dim);
}
.lux-footer__links a:hover { color: var(--lux-gold); }
.lux-footer__social { display: flex; gap: 4px; margin-left: -12px; }
.lux-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--lux-sp-2);
  padding-top: var(--lux-sp-3);
  border-top: 1px solid var(--lux-hairline-soft);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--lux-text-dim);
}
.lux-footer__bottom #visitorCount { color: rgba(168, 155, 140, 0.55); }

@media (max-width: 760px) {
  .lux-footer__grid { grid-template-columns: 1fr; gap: var(--lux-sp-4); text-align: center; }
  .lux-footer__tag { margin: 0 auto; }
  .lux-footer__social { justify-content: center; margin-left: 0; }
  .lux-footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   8. Reveal system — bulletproof by construction.
   Hidden ONLY when JS confirmed running (html.lux-js) AND motion allowed.
   html.lux-reveal-all is the 2.5s failsafe armed by the same inline bootstrap.
   No JS → visible. Old browser without :is() → selector dropped → visible.
   -------------------------------------------------------------------------- */
html.lux-js:not(.lux-reveal-all) :is(.lux-reveal, .animate-this) {
  opacity: 0;
  transform: translateY(24px);
}
html.lux-js :is(.lux-reveal, .animate-this) {
  transition: opacity var(--lux-dur-3) var(--lux-ease), transform var(--lux-dur-3) var(--lux-ease);
}
html.lux-js:not(.lux-reveal-all) :is(.lux-reveal, .animate-this).is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lux-reveal, .animate-this {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Entrance stagger utilities */
.lux-d1 { transition-delay: 90ms; }
.lux-d2 { transition-delay: 180ms; }
.lux-d3 { transition-delay: 270ms; }
.lux-d4 { transition-delay: 360ms; }

/* --------------------------------------------------------------------------
   8b. Word rotator — elegant slide-fade through a set of words.
   Markup: <span class="lux-rotate" data-lux-rotate="2600" aria-label="...">
             <span class="lux-rotate__word is-active" aria-hidden="true">A</span>
             <span class="lux-rotate__word" aria-hidden="true">B</span> … </span>
   Driven by lux.js; static (first word) under reduced motion or no JS.
   -------------------------------------------------------------------------- */
.lux-rotate {
  display: inline-grid;
  justify-items: center;
  white-space: nowrap;
}
.lux-rotate__word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 560ms var(--lux-ease), transform 560ms var(--lux-ease);
}
.lux-rotate__word.is-active { opacity: 1; transform: none; }
.lux-rotate__word.is-out { opacity: 0; transform: translateY(-0.55em); }
html:not(.lux-js) .lux-rotate__word:first-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lux-rotate__word { transition: none; }
  .lux-rotate__word:first-child { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   9. Gallery — styles the Lambda-generated markup contract exactly:
   .brick.folio-item > .item-wrap[data-src][data-sub-html] > a.overlay >
     img + .item-text > .folio-types + h3.folio-title
   No ::after content anywhere. Captions never overlay photos on touch.
   -------------------------------------------------------------------------- */
.bricks-wrapper {
  /* No-JS / pre-JS default: single column, fully visible, stable layout
     (inline aspect-ratio on every img means zero reflow). */
  max-width: var(--lux-container);
  margin: 0 auto;
  padding: 0 var(--lux-gutter);
}

/* JS layout: gallery.js re-parents .brick nodes into these columns */
.bricks-wrapper.lux-distributed {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 24px);
}
.lux-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 24px);
  will-change: transform; /* motion.js drifts each column at its own speed */
}

.brick { margin: 0 0 clamp(14px, 2vw, 24px); }
.lux-col .brick { margin: 0; }

.item-wrap { position: relative; }

.item-wrap .overlay {
  display: block;
  position: relative;
  color: inherit;
}
.item-wrap .overlay::before,
.item-wrap .overlay::after { content: none !important; } /* the old "..." dies here */

.item-wrap img {
  width: 100%;
  display: block;
  background: var(--lux-surface);
}

/* Caption block — a quiet editorial line BELOW the photo, on every device
   (calmer than hover-only; titles read like artwork plates). */
.item-text {
  padding: 14px 2px 6px;
}
.folio-types {
  display: block;
  font-family: var(--lux-font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--lux-gold);
  margin-bottom: 3px;
}
h3.folio-title {
  margin: 0;
  font-family: var(--lux-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lux-heading);
  overflow-wrap: break-word;
}

/* gallery.js wraps each photo in .lux-imgwrap (live DOM only — the Lambda
   markup contract is untouched) so the hover scale and the scroll clip-reveal
   can overflow-clip the image without ever covering the caption below it. */
.lux-imgwrap { display: block; overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
  .item-wrap img { transition: transform 1.4s var(--lux-ease); will-change: transform; }
  .item-wrap .overlay:hover img,
  .item-wrap .overlay:focus-visible img { transform: scale(1.03); }
  @media (prefers-reduced-motion: reduce) {
    .item-wrap img { transition: none; }
    .item-wrap .overlay:hover img { transform: none; }
  }
}

/* Scroll clip-reveal: each photo opens from a letterboxed inset as it enters.
   Gated on html.lux-motion (motion.js running + motion allowed). */
html.lux-motion .lux-imgwrap {
  clip-path: inset(12% 8% 12% 8%);
  transition: clip-path 1.3s var(--lux-ease);
}
html.lux-motion .item-wrap.is-in .lux-imgwrap { clip-path: inset(0 0 0 0); }

/* --------------------------------------------------------------------------
   10. Lightbox (driven by assets-lux/gallery.js)
   -------------------------------------------------------------------------- */
.lux-lb {
  position: fixed;
  inset: 0;
  z-index: var(--lux-z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--lux-dur-2) var(--lux-ease), visibility 0s linear var(--lux-dur-2);
}
.lux-lb.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--lux-dur-2) var(--lux-ease);
}
html.lux-lb-open { overflow: hidden; } /* scroll lock only while lightbox is open */

.lux-lb__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(16px, 6vw, 96px) 96px;
}
.lux-lb__img {
  max-width: 100%;
  max-height: calc(100svh - 176px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  opacity: 1;
  transition: opacity var(--lux-dur-1) ease;
}
.lux-lb__img.is-loading { opacity: 0.25; }

.lux-lb__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px clamp(16px, 6vw, 96px) 18px;
  text-align: center;
}
.lux-lb__caption h4 {
  margin: 0 0 2px;
  font-family: var(--lux-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--lux-heading);
}
.lux-lb__caption p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--lux-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lux-lb__count {
  position: absolute;
  top: 0; left: 0;
  padding: 18px 22px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--lux-text-dim);
}

.lux-lb__mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px 0;
  font-family: var(--lux-font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.55);
  pointer-events: none;
}

.lux-lb__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--lux-text-dim);
  transition: color var(--lux-dur-1) var(--lux-ease);
}
.lux-lb__btn:hover { color: var(--lux-gold); }
.lux-lb__btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.lux-lb__close { top: 8px; right: 10px; }
.lux-lb__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lux-lb__next { right: 6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lux-lb__stage { padding: 56px 14px 92px; }
  .lux-lb__img { max-height: calc(100svh - 160px); }
  .lux-lb__prev, .lux-lb__next { display: none; } /* swipe is the gesture on touch */
}

/* --------------------------------------------------------------------------
   11. Page-hero shell (forms + 404 share this quiet header)
   -------------------------------------------------------------------------- */
.lux-page-hero {
  padding: calc(var(--lux-nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.lux-page-hero h1 {
  font-size: var(--lux-fs-1);
  margin-bottom: var(--lux-sp-2);
}
.lux-page-hero .lux-lead { max-width: 56ch; margin: 0 auto; }

/* --------------------------------------------------------------------------
   12. Form primitives (shared by /bookings and /model-release shells)
   -------------------------------------------------------------------------- */
.lux-field-label {
  display: block;
  font-size: var(--lux-fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lux-text-dim);
  margin-bottom: 8px;
}
.lux-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-family: var(--lux-font-body);
  font-size: 1rem; /* never below 16px — stops iOS focus zoom */
  color: var(--lux-heading);
  background: var(--lux-surface);
  border: 1px solid var(--lux-hairline-soft);
  border-radius: 0;
  transition: border-color var(--lux-dur-1) var(--lux-ease), background-color var(--lux-dur-1) var(--lux-ease);
}
.lux-input:focus {
  outline: none;
  border-color: var(--lux-gold);
  background: var(--lux-surface-2);
}
.lux-input::placeholder { color: rgba(168, 155, 140, 0.45); }

/* --------------------------------------------------------------------------
   13. Motion layer — scroll scenes + spectacle fx (driven by motion.js).
   Everything here is gated on html.lux-motion, which motion.js adds ONLY
   when it is actually running and prefers-reduced-motion is off. No JS,
   failed JS, or reduced motion → none of this applies and every scene
   renders as a static, fully visible section. Same bulletproof-by-
   construction principle as the reveal system in §8.
   -------------------------------------------------------------------------- */
html.lux-motion .lux-scene { position: relative; }
html.lux-motion .lux-scene__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

/* ---- Per-letter headline rise (hero) ---- */
.lux-letters .lt { display: inline-block; }
html.lux-motion .lux-letters .lt {
  opacity: 0;
  transform: translateY(0.55em) rotate(2deg);
  animation: lux-lt 1.1s var(--lux-ease) forwards;
  animation-delay: calc(var(--lux-intro-d, 0ms) + var(--ltd, 0ms) + var(--lti, 0) * 55ms);
}
@keyframes lux-lt { to { opacity: 1; transform: none; } }

/* ---- Cinematic intro curtain — once per session.
   html.lux-intro comes from the page's inline head bootstrap (JS + motion +
   sessionStorage gated); without it the whole screen stays display:none.
   NOTE: the overlay element is .lux-intro-screen, deliberately distinct from
   the html flag class — a bare .lux-intro rule would match the root itself.
   The flag is never removed — the curtains animate themselves away and the
   container is pointer-events:none, so it can never trap the page. ---- */
.lux-intro-screen { display: none; }
html.lux-intro { --lux-intro-d: 2350ms; }
html.lux-intro .lux-intro-screen {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
}
.lux-intro__panel {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background: #050505;
}
.lux-intro__panel--top { top: 0; animation: lux-curtain-t 0.85s cubic-bezier(0.7, 0, 0.2, 1) 1.65s forwards; }
.lux-intro__panel--bottom { bottom: 0; animation: lux-curtain-b 0.85s cubic-bezier(0.7, 0, 0.2, 1) 1.65s forwards; }
.lux-intro__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: lux-intro-out 0.45s ease 1.55s forwards;
}
.lux-intro__mark {
  font-family: var(--lux-font-display);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--lux-heading);
  padding-left: 0.42em;
  white-space: nowrap;
}
.lux-intro__mark span {
  display: inline-block;
  opacity: 0;
  animation: lux-intro-li 0.7s var(--lux-ease) forwards;
  animation-delay: calc(80ms + var(--li, 0) * 38ms);
}
.lux-intro__line {
  width: 0;
  height: 1px;
  background: var(--lux-gold);
  opacity: 0.8;
  animation: lux-intro-line 0.9s var(--lux-ease) 0.75s forwards;
}
.lux-intro__sub {
  font-family: var(--lux-font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--lux-gold);
  opacity: 0;
  animation: lux-intro-li 0.8s var(--lux-ease) 1.05s forwards;
}
@keyframes lux-intro-li { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }
@keyframes lux-intro-line { to { width: 110px; } }
@keyframes lux-curtain-t { to { transform: translateY(-101%); } }
@keyframes lux-curtain-b { to { transform: translateY(101%); } }
@keyframes lux-intro-out { to { opacity: 0; } }

/* ---- Custom gold cursor (pointer:fine, capable devices only) ---- */
html.lux-nocursor, html.lux-nocursor a, html.lux-nocursor button { cursor: none; }
.lux-cursor-dot {
  position: fixed;
  top: -3px; left: -3px;
  z-index: 5000;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lux-gold-bright);
  pointer-events: none;
}
.lux-cursor-ring {
  position: fixed;
  top: -17px; left: -17px;
  z-index: 4999;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.55);
  pointer-events: none;
}

/* ---- Scroll progress hairline along the top edge ---- */
.lux-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--lux-z-nav) + 1);
  height: 1px;
  background: linear-gradient(90deg, var(--lux-gold-deep), var(--lux-gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---- Gold dust particle canvas (hero) ---- */
.lux-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---- Magnetic wrapper — buttons lean toward the cursor ---- */
[data-lux-magnetic] { display: inline-block; will-change: transform; }
