/* ═══════════════════════════════════════════════════════════════════════
   Session 03 — Ghosting.

   Loaded after base.css and session.css, on this page only. The first
   screen is the Instagram poster rebuilt in type — its monospaced lines and
   the word GHOSTING. The colour (no accent, off-black and off-white) runs
   through the whole page; the type below the first screen is the club's
   usual pair, AM Gazet and Akrobat, as on every other session page.

   Values are the brief's, taken off the poster rather than judged by eye.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* the greys between the off-white and the black */
  --ghost-display: #eeeae4;   /* GHOSTING, headings, the button */
  --ghost-body: #e8e4de;      /* running text */
  --ghost-second: #c6c0ba;    /* secondary text, captions */
  --ghost-kicker: #cec8c1;    /* the spaced line above the title */
  --ghost-label: #b2aca6;     /* small labels, the footer */
  --ghost-trail: #e0e7f4;     /* the cold second impression under GHOSTING */

  --text-dim: var(--ghost-second);
  --panel-ink-dim: var(--ghost-second);

  /* No monospace is self-hosted yet, so the system's own is used — which
     also means no font request leaves the page for it. */
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, 'Liberation Mono', monospace;


  /* the type scale of the poster's small lines, as multiples of one base */
  --poster-base: clamp(0.95rem, 1.35vw, 1.25rem);
}

/* ── the top bar wears the poster's mono, as the first screen does ── */
.nav-link,
.nav-cta,
.nav-meta .label {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.18em;
}

/* ── the button: the one light patch on the page besides GHOSTING ── */
.btn-reserve,
.session .btn-reserve,
.btn-reserve.luma-checkout--button,
.session .btn-reserve.luma-checkout--button {
  background: var(--ghost-display);
  color: #090808;
  border-radius: 2px;
}
.hero--poster .btn-reserve {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
}
.btn-reserve:hover,
.session .btn-reserve:hover,
.btn-reserve.luma-checkout--button:hover,
.session .btn-reserve.luma-checkout--button:hover {
  background: #ffffff00;
  color: var(--ghost-display);
  box-shadow: inset 0 0 0 1px var(--ghost-display);
}
.nav-cta { border-radius: 2px; }

/* ── the panel is dark here; give it an edge so it still reads as a sheet ── */
.session { border-block: 1px solid color-mix(in srgb, var(--ghost-display) 12%, transparent); }
.session-title .thin { -webkit-text-stroke-color: var(--ghost-second); }
.session-title .accent { color: var(--ghost-display); }
.fact dd { font-style: normal; color: var(--ghost-body); }
.fact dd strong { color: var(--ghost-display); }

/* ═══════════════════ THE FIRST SCREEN — the poster ═══════════════════ */
.hero--poster {
  /* The ribbed-glass photograph, once supplied (poster.background); until
     then, vertical streaks of light drawn in CSS stand in for it. */
  background:
    linear-gradient(to bottom, rgb(9 8 8 / 0.55), rgb(9 8 8 / 0.15) 35%, rgb(9 8 8 / 0.7) 85%, #090808),
    var(--poster-bg, none) center / cover no-repeat,
    radial-gradient(ellipse 70% 18% at 50% 47%, rgb(238 234 228 / 0.10), transparent 70%),
    repeating-linear-gradient(90deg,
      rgb(238 234 228 / 0.00) 0 7px, rgb(238 234 228 / 0.05) 9px,
      rgb(238 234 228 / 0.00) 12px, rgb(238 234 228 / 0.02) 15px, rgb(238 234 228 / 0.00) 19px),
    #090808;
}
.hero--poster .glow,
.hero--poster .hero-bg { display: none; }

.hero--poster .hero-content {
  width: 100%;
  min-height: 100svh;
  justify-content: center;
  padding: clamp(5.5rem, 12vh, 8rem) var(--gutter) clamp(2rem, 6vh, 4rem);
}

/* NIGHTCUT · SESSION 03 — the words sit as close as the letters do */
.poster-kicker {
  font-family: var(--font-mono);
  font-size: calc(var(--poster-base) * 0.62);
  letter-spacing: 0.35em;
  word-spacing: -0.6em;
  text-transform: uppercase;
  color: var(--ghost-kicker);
  margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
}

/* GHOSTING: the word spans 82% of the container on every screen, set from
   the width rather than a fixed size. In AM Gazet Angled Medium the word is
   2.04em wide (measured), so the size is 82% of the hero's inner width ÷ 2.04.
   cqw is the hero's own width, so a scrollbar never pushes it past the edge.
   On a wide, short screen 82% would push the button off the first screen,
   so there the height caps it (34svh) — the whole poster stays in view. */
.hero--poster .hero-content { container-type: inline-size; }
.poster-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: min(calc(100cqw * 0.82 / 2.04), 34svh);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ghost-display);
  /* The trail below the word — the second impression the night is named
     for. Several shadows falling downward, each blurrier and fainter, about
     a third of a capital's height long, in the cold tone, not white. */
  text-shadow:
    0 0.04em 0.05em rgb(224 231 244 / 0.30),
    0 0.09em 0.08em rgb(224 231 244 / 0.18),
    0 0.15em 0.11em rgb(224 231 244 / 0.10),
    0 0.22em 0.15em rgb(224 231 244 / 0.05);
}

.poster-date {
  margin-top: clamp(2rem, 6vh, 4rem);
  font-family: var(--font-mono);
  font-size: calc(var(--poster-base) * 0.7);
  letter-spacing: 0.3em;
  word-spacing: -0.35em;
  text-transform: uppercase;
  color: var(--ghost-body);
}
.poster-sub {
  margin-top: 0.9em;
  font-family: var(--font-mono);
  font-size: calc(var(--poster-base) * 0.6);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ghost-second);
}

/* time on the left edge, the address on the right, one line */
.poster-foot {
  width: 100%;
  max-width: 64rem;
  margin-top: clamp(2.5rem, 8vh, 5rem);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: calc(var(--poster-base) * 0.6);
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ghost-label);
}
.poster-foot p:last-child { text-align: right; }

.hero--poster .hero-cta { margin-top: clamp(1.8rem, 5vh, 3rem); }

/* On a phone the poster fills the screen and the button drops into the
   thumb's reach at the bottom. */
@media (max-width: 860px) {
  .hero--poster .hero-content { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
  .poster-kicker { margin-top: auto; }
  .poster-foot { margin-top: auto; padding-top: 2.5rem; }
  .hero--poster .hero-cta { margin-top: 1.4rem; width: 100%; }
  .hero--poster .hero-cta .btn-reserve { width: 100%; justify-content: center; }
  .hero--poster .scroll-cue { display: none; }
}

/* the mono face runs wider than Akrobat; on a phone the nav needs it tighter */
@media (max-width: 480px) {
  .nav-link, .nav-cta { letter-spacing: 0.1em; }
  .nav-meta { gap: 0.9rem; }
}

/* Booking runs through Luma. session.css answers Luma's injected button
   styles with two-class selectors that put pill corners back (and Akrobat,
   which only the top bar and the first screen should not wear); these match
   that weight, on rest and on hover. */
.btn-reserve.luma-checkout--button,
.btn-reserve.luma-checkout--button:hover,
.nav-cta.luma-checkout--button,
.nav-cta.luma-checkout--button:hover { border-radius: 2px; }
.hero--poster .btn-reserve.luma-checkout--button,
.hero--poster .btn-reserve.luma-checkout--button:hover,
.nav-cta.luma-checkout--button,
.nav-cta.luma-checkout--button:hover {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
}
@media (max-width: 480px) {
  .nav-cta.luma-checkout--button,
  .nav-cta.luma-checkout--button:hover { letter-spacing: 0.1em; }
}

/* "Not a Halloween party." spans the whole container in the club's title
   face, AM Gazet, bold; "The alternative to one." under it, smaller, bold
   and upright; then the paragraph in the running face (Akrobat), sized so
   it fills the same width in at most two rows.

   Sizes come from the container's width (cqw), from measured widths: the
   first line is 5.29em wide in AM Gazet Bold (÷ 5.4 leaves a hair of
   slack); the paragraph is 55.1em in Akrobat Regular, so two rows of it fit
   the container at 100cqw ÷ 29. On a phone that would be unreadably small,
   so there the paragraph keeps a 1.05rem floor and simply takes more rows. */
.manifesto-inner {
  /* the section centres it as a flex item; a size container cannot take
     its width from its content, so it is told to fill the row */
  width: 100%;
  max-width: 80rem;
  container-type: inline-size;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: calc(100cqw / 5.4);
  line-height: 0.98;
}
.manifesto-line { display: block; }
.manifesto-line:first-child { font-weight: 700; }
.manifesto-line + .manifesto-line {
  margin-top: 0.3em;
  font-size: 0.55em;
  font-weight: 700;
}
/* the shared sheet sets accent words in italic */
.manifesto-text .word.accent.lit { font-style: normal; }
.manifesto-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: max(1.05rem, calc(100cqw / 29));
  line-height: 1.3;
  color: var(--text-dim);
}
