/* ==========================================================
   Pre-show microsite — DTLA / The Regent / May 8, 2026
   Vanilla CSS, no framework. Cream + ember + serif headlines.
   ========================================================== */

:root {
  /* ─────────────────────────────────────────────────────────
     PALETTE — pulled from the Yagura watchtower at night.
     Anchor image: Wikimedia "Tower at Little Tokyo" by bahniuk.
     Sampled: the glowing red lacquer of the tower, the warm
     ivory of paper-lantern light, the brushed-brass of the
     wood lattice, the pure black of LA's night sky.
     ───────────────────────────────────────────────────────── */
  --ivory:        #F5EFE6;     /* paper-lantern cream         */
  --ivory-2:      #EFE7DA;     /* dim paper, second surface   */
  --hairline:     rgba(70, 50, 30, 0.18);
  --hairline-soft:rgba(70, 50, 30, 0.10);

  --ink:          #0F0B08;     /* night sky, deeper than #1A  */
  --ink-2:        #2A211D;
  --text:         #2D2723;
  --text-soft:    #5A4F47;
  --text-muted:   #7E7065;

  --accent:       #B23530;     /* lantern red, the watchtower */
  --accent-deep:  #7E1F1B;     /* shadow on the lacquer       */
  --gold:         #B89968;     /* brushed brass, light-hit    */
  --green:        #87A878;

  --serif:        'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container:    1180px;
  --container-narrow: 760px;
  --gutter:       clamp(1rem, 3vw, 2rem);
  --r-card:       12px;
  --shadow-card:  0 2px 4px rgba(40, 25, 10, 0.04), 0 8px 24px rgba(40, 25, 10, 0.06);

  --t-display:    clamp(2.4rem, 6vw, 4.4rem);
  --t-h1:         clamp(2rem, 4vw, 3rem);
  --t-h2:         clamp(1.6rem, 2.8vw, 2.4rem);
  --t-body:       clamp(1rem, 1.1vw, 1.06rem);
  --t-eyebrow:    0.78rem;

  --section-pad:  clamp(2.25rem, 5vw, 4.25rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 40px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

main > section { padding-block: var(--section-pad); position: relative; }
main > section + section { border-top: 1px solid var(--hairline-soft); }
main > section + section::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  left: 50%;
  width: 24px;
  height: 12px;
  transform: translateX(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none'><path d='M2 2 L12 10 L22 2' stroke='%23B89968' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  pointer-events: none;
  opacity: 0.7;
}

/* ---------- Eyebrows + section titles ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--t-eyebrow);
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.section-lede {
  margin: 0 0 2.2rem;
  max-width: 70ch;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ---------- Hero (cinematic, Yagura-tower backdrop) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 80vh, 760px);
  padding-block: clamp(4rem, 10vw, 8rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--accent-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(1.15) contrast(1.05);
  animation: heroZoom 14s ease-out 0.2s both;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,11,8,0.45) 0%, rgba(15,11,8,0.78) 70%, rgba(15,11,8,0.92) 100%),
    radial-gradient(70% 60% at 25% 70%, rgba(178, 53, 48, 0.18), transparent 70%);
}
.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding-inline: var(--gutter);
  position: relative;
}
.hero__inner .eyebrow { color: #E2B670; }
.hero__inner .eyebrow::before { background: #E2B670; }
.hero__title {
  font-family: var(--serif);
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0 0 0.7rem;
  color: #FBF6EC;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: rgba(255, 240, 220, 0.85);
  margin: 0 0 1.6rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero__note {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 240, 220, 0.92);
  max-width: 60ch;
  margin: 0 0 1.1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero__note--small {
  font-style: italic;
  color: rgba(232, 182, 112, 0.85);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}
.hero__cast {
  font-size: 0.9rem;
  color: rgba(255, 240, 220, 0.7);
  font-style: italic;
  margin: 0;
}

/* ---------- The Show card ---------- */
.show__card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  align-items: stretch;
  padding: 1.8rem;
  background: var(--ivory);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-card);
  margin-bottom: 1.6rem;
}
@media (max-width: 720px) {
  .show__card { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.2rem; }
}

.show__poster {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, #B23530 0%, #B23530 35%, #E8B647 35%, #E8B647 50%, #5BA8A8 50%, #5BA8A8 75%, #5B7BC8 75%, #5B7BC8 100%);
}
.show__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show__poster.is-empty img { display: none; }
.show__poster-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem; text-align: center;
  pointer-events: none;
}
.show__poster:not(.is-empty) .show__poster-fallback { display: none; }
.show__poster-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.show__poster-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-style: italic; line-height: 1.04;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.show__poster-meta {
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
}

.show__details { display: flex; flex-direction: column; }
.show__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 0.3rem;
  line-height: 1.05;
}
.show__host {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-soft);
  margin: 0;
}
.show__cast {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0.3rem 0 1.4rem;
}
.show__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
  font-family: var(--serif);
}
.show__facts li {
  display: flex;
  gap: 0.7rem;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.show__facts li > span {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  width: 70px;
  padding-top: 0.32em;
  flex-shrink: 0;
  font-style: normal;
}
.show__facts a { color: var(--accent); text-decoration: none; border-bottom: 1px dotted currentColor; }
.show__facts a:hover { color: var(--ink); }

/* ---------- Worth Knowing notes ---------- */
.show__notes {
  background: var(--ivory-2);
  border-radius: var(--r-card);
  padding: 1.4rem 1.6rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.show__notes ul {
  list-style: none; margin: 0.4rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.show__notes li {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}
.show__notes strong {
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
  margin-right: 0.2em;
}

/* ---------- Cards grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--hairline);
}

.card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(184, 153, 104, 0.18), rgba(178, 53, 48, 0.10));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.card__media.is-empty::before {
  content: 'No photo yet';
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.card__rank {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  background: rgba(26, 22, 20, 0.85);
  color: var(--ivory);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.1rem;
}
.card__rating {
  display: inline-flex;
  gap: 0.05rem;
  align-items: center;
}
.card__star {
  color: var(--gold);
}
.card__star--empty { color: rgba(184, 153, 104, 0.3); }

.card__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.15;
}
.card__name a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card__name a:hover { color: var(--accent); }
.card__name svg { opacity: 0.5; }

.card__pill {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 0.3rem;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  margin: 0.2rem 0 0.4rem;
}
.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card__meta strong {
  color: var(--ink-2);
  font-weight: 500;
}

.card__why {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0.5rem 0 0.6rem;
}

.card__tips {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--hairline-soft);
}
.card__tips-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.card__tips ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card__tips li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-soft);
}
.card__tips strong {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Rubric box ---------- */
.rubric {
  background: var(--ivory-2);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-card);
  padding: 1.2rem 1.5rem;
  max-width: 760px;
}
.rubric__label {
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.rubric ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.4rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.rubric li::before {
  content: '·';
  color: var(--gold);
  margin-right: 0.4rem;
}

/* ---------- Map ---------- */
.map__panel {
  width: 100%;
  height: clamp(360px, 50vh, 540px);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: #f0ece5;
}

.leaflet-popup-content {
  font-family: var(--sans);
  margin: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.leaflet-popup-content strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.leaflet-popup-content a {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.leaflet-popup-content a:hover { text-decoration: underline; }

/* ---------- Closing ---------- */
.closing {
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--ivory-2);
}
.closing__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  font-style: italic;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 30ch;
  margin: 1rem auto 1.6rem;
}
.closing__sign {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 720px) {
  .hero { padding-block: 3rem; }
  .cards { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 16 / 9; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
