/* ══════════════════════════════════════════════════════════════════
   VELMUSE PRIVATE — Editorial (Saint Laurent / Vogue direction)
   Discipline: near-monochrome, imagery carries the colour, gold is rare,
   brutal type contrast, oceans of whitespace.
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* warm, candlelit palette — tuned to the photography (espresso black, cream,
     candlelight gold, oxblood red) so the site feels lit by the same room */
  --ink: #0c0806;
  --ink-2: #150d09;
  --paper: #f1e7d8;
  --ash: rgba(241, 231, 216, 0.58);
  --faint: rgba(241, 231, 216, 0.34);
  --line: rgba(241, 231, 216, 0.14);
  --line-soft: rgba(241, 231, 216, 0.08);
  --gold: #cda368;
  --gold-bright: #e6c583;
  --wine: #7c1f1c;
  --hero-progress: 0;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --serif: "Playfair Display", "Didot", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
/* Lenis smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  /* faint candlelight bloom from the top, warm espresso base */
  background:
    radial-gradient(130% 55% at 50% -8%, rgba(205, 163, 104, 0.07), transparent 60%),
    var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure, dl { margin: 0; }

/* ─── Shared editorial atoms ─── */
.marker {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 400;
}
.serif { font-family: var(--serif); }
em { font-style: italic; }

/* text-break sections — tighter, so nothing floats in a void */
.manifesto,
.access,
.pull {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 8vw, 9rem);
}
/* full-bleed image sections — edge to edge */
.works,
.house,
.inquiry-section {
  position: relative;
  z-index: 2;
}

/* ─── Age gate (restrained) ─── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--ink);
  opacity: 1;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.age-gate.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate__panel { max-width: 30rem; text-align: center; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }
.age-gate__monogram {
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem; margin: 0 auto 1.8rem;
  border: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.4rem; color: var(--paper);
}
.age-gate__brand {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.01em; margin-bottom: 1.6rem;
}
.age-gate__body { max-width: 26rem; margin: 0 auto 2.2rem; color: var(--ash); font-size: 0.9rem; line-height: 1.85; }
.age-gate__body strong { color: var(--paper); font-weight: 400; }
.age-gate__actions { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.age-gate__fine { margin-top: 2.2rem; font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--faint); }
body.age-locked { overflow: hidden; }

/* ─── Buttons (spare) ─── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.85rem 1.8rem;
  font-family: var(--sans); font-size: 0.66rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--paper); background: transparent; color: var(--paper);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.button-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-primary:hover { background: transparent; color: var(--paper); }
.button-secondary:hover { background: var(--paper); color: var(--ink); }

/* text link with rising underline */
.text-link {
  position: relative; display: inline-block; width: max-content;
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper);
  padding-bottom: 0.4rem;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--paper); transform: scaleX(1); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.text-link:hover::after { transform: scaleX(0); }

/* ─── Nav ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 2rem; padding: 1.8rem clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid transparent; background: transparent;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.site-header.scrolled {
  padding: 1.15rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(11, 11, 11, 0.82); backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) nav a,
.site-header:not(.scrolled) .header-cta {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.brand {
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.12em;
  text-transform: uppercase; width: max-content;
}
.site-header nav {
  display: flex; justify-content: center; gap: clamp(1.4rem, 3vw, 2.6rem);
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ash);
}
.site-header nav a { position: relative; padding-block: 0.3rem; transition: color 0.4s var(--ease); }
.site-header nav a:hover { color: var(--paper); }
.header-cta {
  justify-self: end; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--paper);
}
.header-cta span { transition: transform 0.4s var(--ease); display: inline-block; }
.header-cta:hover span { transform: translateX(4px); }

/* ─── Hero (scroll-film, editorial type) ─── */
.hero { position: relative; height: 220vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #050505; }
.hero-cinema { position: absolute; inset: 0; }
.hero-cinema::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.28) 0%, transparent 12%, transparent 58%, rgba(11, 11, 11, 0.82) 100%);
}
.hero-cinema video {
  position: absolute; inset: -3%; width: 106%; height: 106%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(1.02) contrast(1.04) brightness(0.92);
  transform: scale(calc(1.02 + var(--hero-progress) * 0.12));
}
.hero-top, .hero-copy, .hero-foot { position: absolute; z-index: 5; will-change: opacity, transform; }
.hero-top {
  top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 7.5rem clamp(1.5rem, 5vw, 4rem) 0;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash);
}
.hero-copy { left: clamp(1.5rem, 5vw, 4rem); bottom: clamp(7rem, 16vh, 11rem); max-width: 90%; }
.hero-kicker {
  margin-bottom: 1.6rem; font-size: 0.62rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--paper);
}
#hero-title { font-family: var(--serif); font-weight: 400; line-height: 0.9; }
.hero-line {
  display: block; white-space: nowrap;
  font-size: clamp(3.2rem, 12vw, 12rem); letter-spacing: -0.01em;
  opacity: 0; transform: translateY(0.5em);
  animation: heroLine 1.2s var(--ease) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.36s; }
.hero-line:nth-child(3) { animation-delay: 0.52s; font-style: italic; }
@keyframes heroLine { to { opacity: 1; transform: none; } }
.hero-foot {
  bottom: clamp(1.6rem, 4vh, 2.6rem); left: clamp(1.5rem, 5vw, 4rem); right: clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.hero-lead { max-width: 26rem; color: var(--ash); font-size: 0.9rem; line-height: 1.7; }
.hero-cue { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.hero-cue span { font-size: 0.55rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--faint); }
.hero-cue__line { position: relative; width: 1px; height: 3rem; overflow: hidden; background: var(--line); }
.hero-cue__line::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper), transparent);
  animation: drip 2.6s var(--ease) infinite;
}
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ─── Manifesto (centered text break) ─── */
.manifesto { text-align: center; max-width: 60rem; margin-inline: auto; }
.manifesto .marker { margin-bottom: 2rem; }
.manifesto-line {
  font-family: var(--serif); font-weight: 400; line-height: 1.02;
  font-size: clamp(2.4rem, 6vw, 5.6rem); letter-spacing: -0.01em;
}
.manifesto-line em { color: var(--paper); }
.manifesto-note {
  margin: 2rem auto 0; max-width: 34rem; color: var(--ash);
  font-size: 1rem; line-height: 1.9;
}

/* ─── Works — full-bleed cinematic panels ─── */
.works-head {
  display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 8vw, 9rem) clamp(3rem, 5vw, 4rem);
}
.works-title { font-family: var(--serif); font-weight: 400; line-height: 0.92; font-size: clamp(3rem, 8vw, 7.5rem); }
.works-title em { font-style: italic; }

/* stacked cards — each pins, the next slides up and over; covered cards settle back */
.stack { position: relative; }
.stack-card {
  --cov: 0;
  position: sticky; top: 0; height: 100vh; min-height: 34rem;
  display: block; overflow: hidden; background: var(--ink-2);
}
.stack-card:nth-child(1) { z-index: 1; }
.stack-card:nth-child(2) { z-index: 2; }
.stack-card:nth-child(3) { z-index: 3; }
.stack-card:nth-child(4) { z-index: 4; }
.stack-card img {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.03 - var(--cov) * 0.05));
}
/* gradient scrim for caption legibility */
.stack-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 8, 6, 0.2) 0%, transparent 30%, transparent 55%, rgba(12, 8, 6, 0.85) 100%);
}
/* depth veil — darkens a card as the next slides over it */
.stack-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: #0c0806; opacity: calc(var(--cov) * 0.55); pointer-events: none;
}
.panel-cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap;
  padding: clamp(1.8rem, 4vw, 3.5rem) clamp(1.5rem, 8vw, 9rem);
}
.panel-no { font-family: var(--serif); font-size: 1.1rem; color: var(--paper); opacity: 0.7; }
.panel-name { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.4rem); }
.panel-tag {
  margin-left: auto; align-self: center;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper); opacity: 0.75;
}

/* ─── Access — editorial index ─── */
.access { background: var(--ink-2); }
.access-head { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.access-title { font-family: var(--serif); font-weight: 400; line-height: 0.92; font-size: clamp(2.6rem, 7vw, 7rem); }
.access-title em { font-style: italic; }
.access-list { border-top: 1px solid var(--line); }
.access-row {
  display: grid;
  grid-template-columns: 3rem minmax(8rem, 1fr) minmax(0, 2.4fr) auto;
  align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.8rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease), background 0.5s var(--ease);
}
.access-row:hover { padding-left: 1.4rem; background: rgba(244, 241, 234, 0.02); }
.access-no { font-family: var(--serif); font-size: 1rem; color: var(--faint); letter-spacing: 0.1em; }
.access-name { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.access-desc { color: var(--ash); font-size: 0.92rem; line-height: 1.6; }
.access-price { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; }
.access-price em { font-style: normal; font-size: 0.7rem; color: var(--ash); letter-spacing: 0.06em; }

/* ─── House (about) — full-bleed portrait ─── */
.house { height: 94vh; min-height: 34rem; overflow: hidden; display: flex; align-items: flex-end; }
.house-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transform: scale(1.03); transition: transform 1.8s var(--ease);
}
.house:hover .house-bg { transform: scale(1.06); }
.house::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 11, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 11, 11, 0.6) 0%, transparent 55%);
}
.house-overlay {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 1.8rem; align-items: flex-start;
  max-width: 40rem; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 8vw, 9rem);
}
.house-title { font-family: var(--serif); font-weight: 400; line-height: 0.94; font-size: clamp(2.6rem, 6vw, 5.5rem); }
.house-title em { font-style: italic; }
.house-note { max-width: 32rem; color: rgba(244, 241, 234, 0.82); font-size: 1rem; line-height: 1.9; }

/* ─── Pull quote ─── */
.pull { text-align: center; max-width: 60rem; margin-inline: auto; }
.pull .marker { margin-bottom: 2.6rem; }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  line-height: 1.08; font-size: clamp(2.2rem, 6vw, 5.6rem); letter-spacing: -0.005em;
}
.pull-quote em { font-style: normal; }
.pull-cite { margin-top: 2.6rem; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ash); }

/* ─── Inquiry ─── */
.inquiry-section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  gap: clamp(2.5rem, 8vw, 8rem); align-items: start;
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 9rem);
  overflow: hidden;
}
.inquiry-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.86), rgba(11, 11, 11, 0.92)),
    linear-gradient(90deg, rgba(11, 11, 11, 0.7) 0%, transparent 60%),
    url("assets/inquiry-section.jpg") center / cover;
}
.inquiry-copy, .inquiry-form, .inquiry-thanks { position: relative; z-index: 1; }
.inquiry-copy { display: flex; flex-direction: column; gap: 1.6rem; }
.inquiry-title { font-family: var(--serif); font-weight: 400; line-height: 0.94; font-size: clamp(2.6rem, 6vw, 5.5rem); }
.inquiry-title em { font-style: italic; }
.inquiry-note { color: var(--ash); font-size: 1rem; line-height: 1.8; }
.inquiry-form { display: grid; gap: 2rem; }

.field { position: relative; display: block; }
.field > span {
  position: absolute; left: 0; top: 1.35rem; color: var(--faint);
  font-size: 0.95rem; pointer-events: none; transform-origin: left center;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.field input:focus + span,
.field textarea:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:not(:placeholder-shown) + span,
.field--select > span {
  transform: translateY(-1.5rem) scale(0.66);
  color: var(--ash); text-transform: uppercase; letter-spacing: 0.24em;
}
input, select, textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 1.35rem 0 0.8rem; color: var(--paper);
  background: transparent; font: inherit; transition: border-color 0.35s var(--ease);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--paper); }
select option { background: var(--ink-2); color: var(--paper); }
.inquiry-form .button { margin-top: 0.6rem; justify-self: start; }

.inquiry-thanks {
  grid-column: 1 / -1; align-self: center; max-width: 34rem;
  padding: clamp(1.6rem, 3vw, 3rem); border: 1px solid var(--line);
  animation: rise 0.9s var(--ease) both;
}
.inquiry-thanks h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0.4rem 0 1rem; }
.inquiry-thanks p { color: var(--ash); line-height: 1.8; }
.inquiry-thanks .marker { color: var(--ash); }

/* ─── Footer ─── */
.site-footer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 2rem; padding: 2.4rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft); background: #060606;
}
.site-footer .brand { font-size: 1rem; }
.site-footer nav { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ash); }
.site-footer nav a:hover { color: var(--paper); }
.site-footer p { margin: 0; text-align: right; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }

/* ─── Scroll reveal ─── */
[data-reveal] {
  opacity: 0; transform: translateY(1.6rem);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero-top { padding-top: 6rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .panel { height: 72vh; }
  .access-row { grid-template-columns: 2rem 1fr auto; row-gap: 0.6rem; }
  .access-desc { grid-column: 2 / -1; }
  .inquiry-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; gap: 1.4rem; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .site-footer p { text-align: left; }
}
@media (max-width: 560px) {
  .hero-line { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-top span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
