/* THE FILM — Comp B, chosen by Angel's eye.
   The page is a reel of full-bleed stills. Each viewport is one
   photograph; gold serif title-cards annotate; stills slide over
   one another like cuts. Official client palette only. */

html,
body {
  overflow-x: clip;
}

body {
  background: #0d0100;
  color: var(--gold);
}

/* ---------- film grain ---------- */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- vignette: the candle breathes at the edges ---------- */

.dark {
  position: fixed;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  --mx: 50vw;
  --my: 40vh;
  --r: 40vmax;
  --veil: 0.22;
  background: radial-gradient(
    circle var(--r) at var(--mx) var(--my),
    transparent 0%,
    transparent 44%,
    rgba(13, 1, 0, calc(var(--veil) * 0.5)) 70%,
    rgba(13, 1, 0, var(--veil)) 100%
  );
}
html:not(.js) .dark {
  display: none;
}

/* ---------- veil ---------- */

.veil {
  display: none;
}
html.js .veil {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #0d0100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
html.js.veil-done .veil {
  display: none;
}
.veil-mark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.veil-rule {
  position: relative;
  width: clamp(10rem, 22vw, 16rem);
  height: 1px;
}
.veil-rule-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 1px;
  background: var(--gold);
}
.veil-rule-half.is-l { left: 0; transform: translateX(-2.5rem); }
.veil-rule-half.is-r { right: 0; transform: translateX(2.5rem); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 28;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2rem clamp(1.5rem, 4vw, 4.5rem);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
}
.menu-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left calc(100% - 0.2em);
  transition: background-size 0.4s var(--ease-precise);
}
.menu-btn:hover {
  background-size: 100% 1px;
}

/* ---------- the reel ---------- */

.reel {
  position: relative;
}

.still {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #0d0100;
}

.still figure {
  position: absolute;
  inset: 0;
  margin: 0;
}
.still figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Cinema grade: darkness pools at the base for the title-card. */
.still figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 1, 0, 0.22),
    transparent 38%,
    rgba(13, 1, 0, 0.75) 88%);
}

.card {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4.5rem);
  bottom: clamp(2.5rem, 7vh, 5rem);
  z-index: 2;
  max-width: min(80vw, 62rem);
}

.card-wide {
  right: clamp(1.5rem, 4vw, 4.5rem);
  max-width: none;
}

.still h1,
.line {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.4vw, 3.5rem);
  font-weight: 470;
  line-height: 1.12;
  letter-spacing: -0.008em;
  color: var(--gold);
  max-width: 19em;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}
em {
  font-style: italic;
  font-weight: 380;
}

.line-big {
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  line-height: 1.02;
  max-width: 11em;
}

.line-stack {
  line-height: 1.5;
}

.meta {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

/* The slate: the framed CTA, bottom right like a credit. */
.btn.slate {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4.5rem);
  bottom: clamp(2.65rem, 7vh, 5.15rem);
  z-index: 2;
  --fg: var(--gold);
  --fg-hover: var(--cherry-black);
  padding: 1.15rem 2.3rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(13, 1, 0, 0.35);
}

/* Packages as three quiet slips on one still. */
.tier-row {
  display: flex;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(1.75rem, 4vh, 3rem);
  flex-wrap: wrap;
}
.tier-slip h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  font-weight: 470;
  color: var(--gold);
}
.tier-slip p {
  margin-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- cursor ---------- */

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transition: width 0.35s var(--ease-precise), height 0.35s var(--ease-precise);
  display: none;
}
@media (pointer: fine) {
  html.js .cursor {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.cursor.is-label {
  width: 76px;
  height: 76px;
  background: color-mix(in srgb, var(--gold) 92%, transparent);
}
.cursor-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cherry-black);
  opacity: 0;
  transition: opacity 0.3s var(--ease-precise);
}
.cursor.is-label .cursor-label {
  opacity: 1;
}
.cursor.is-idle {
  animation: cursor-pulse 2.2s ease-in-out infinite;
}
@keyframes cursor-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 45%, transparent); }
  50% { box-shadow: 0 0 0 14px transparent; }
}

/* ---------- menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(13, 1, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu-preview {
  width: clamp(14rem, 24vw, 22rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0;
}
.menu-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease-precise);
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 2rem);
  text-align: right;
}
.menu-links a {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 460;
  line-height: 1.05;
  text-decoration: none;
  color: color-mix(in srgb, var(--gold) 60%, transparent);
  transition: color 0.5s var(--ease-precise);
}
.menu-links a:hover {
  color: var(--gold);
}
.menu-links a > span {
  display: inline-block;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: #0d0100;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 4vw, 4.5rem) 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.footer-giant {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(3.25rem, 11vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  margin: 0 0 -0.08em;
  color: var(--gold);
}
.footer-grid {
  margin-top: clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
.footer-links a {
  text-decoration: none;
  color: var(--gold);
}
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}
.footer-legal {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--silver);
  opacity: 0.8;
}

/* ---------- motion initial states (JS only) ---------- */

html.js .lines-mask {
  display: block;
  overflow: hidden;
}
html.js .lines-mask > .lines-inner {
  display: block;
  transform: translateY(110%);
}
/* The mask must not break flex rows it wraps. */
html.js .tier-row .lines-mask,
html.js .tier-row > .lines-mask > .lines-inner {
  display: flex;
  gap: clamp(2rem, 6vw, 6rem);
  flex-wrap: wrap;
  width: 100%;
}

/* ---------- small screens ---------- */

@media (max-width: 40rem) {
  .card {
    right: clamp(1.5rem, 4vw, 4.5rem);
  }
  .btn.slate {
    position: absolute;
    left: clamp(1.5rem, 4vw, 4.5rem);
    right: auto;
    bottom: clamp(1.25rem, 3vh, 2rem);
  }
  .still h1,
  .line {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    padding-bottom: 4.5rem;
  }
  .tier-row {
    gap: 1.25rem;
  }
}
