/* The Hollywood Ending — Daydreamer Pictures
   Holding page. Static. Mobile-first. */

:root {
  --dusk: #1c3540;
  --neon: #c61a28;
  --marquee: #e2811a;
  --brick: #6b3418;
  --street: #0b0c0e;
  --ink: #0b1012;
  --paper: #efe6d4;
  --paper-dim: #c4b6a0;
  --paper-mute: #8d8273;
  --line: rgba(226, 129, 26, 0.22);
  --pad: clamp(1.15rem, 4.5vw, 3.25rem);
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--marquee);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--paper); }

a:focus-visible,
.skip:focus {
  outline: 2px solid var(--marquee);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.skip:focus { top: 0.75rem; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  padding: 1.1rem var(--pad) 0.9rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark em {
  font-style: italic;
  font-weight: 400;
  color: #e8a8a8;
  letter-spacing: 0.12em;
}

.wordmark:hover { color: var(--paper); }
.wordmark:hover em { color: var(--neon); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 230, 212, 0.72);
  text-decoration: none;
}

.site-nav a:hover { color: var(--paper); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  isolation: isolate;
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 16, 18, 0.55) 0%, rgba(11, 16, 18, 0.18) 28%, rgba(11, 16, 18, 0.08) 48%, rgba(11, 16, 18, 0.72) 78%, rgba(11, 16, 18, 0.94) 100%),
    linear-gradient(to right, rgba(11, 16, 18, 0.42), transparent 55%);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5.5rem 3vw 1.75rem;
}

.hero-status {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marquee);
}

.hero .player {
  position: relative;
  width: min(78vw, calc(56vh * 16 / 9));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.hero .player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.locked {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.85rem, 6.4vw, 4.35rem);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.locked .line {
  display: block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: rise 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.locked .l1 { animation-delay: 0.15s; }
.locked .l2 { animation-delay: 0.48s; }
.locked .l3 { animation-delay: 0.82s; }
.locked .l4 { animation-delay: 1.14s; }
.locked .l5 { animation-delay: 1.46s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.85rem 2rem;
  width: min(78vw, calc(56vh * 16 / 9));
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.locked-mini {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  color: var(--paper);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.hero-sub,
.hero-place {
  margin: 0.4rem 0 0;
  font-family: var(--sans);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.hero-place { margin: 0; }

.hero-watch {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--neon);
  padding-bottom: 0.15rem;
}
.hero-watch:hover { color: var(--neon); }


.palette {
  background: var(--street);
  padding: 1.35rem var(--pad) 1.6rem;
  border-top: 1px solid rgba(239, 230, 212, 0.06);
}

.palette-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin-bottom: 1rem;
}

.palette-head h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

.palette-head p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--paper-mute);
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.chips li { min-width: 0; }

.swatch {
  display: block;
  aspect-ratio: 1 / 1.15;
  border: 1px solid rgba(239, 230, 212, 0.08);
}

.chip-hex,
.chip-name {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-hex {
  margin-top: 0.45rem;
  color: var(--paper-dim);
}

.chip-name { color: var(--paper-mute); }

@media (max-width: 40rem) {
  .chips { gap: 0.35rem; }
  .swatch { aspect-ratio: 1 / 1.4; }
  .chip-hex { letter-spacing: 0; font-size: 0.55rem; }
}

.block {
  position: relative;
  padding: clamp(4.5rem, 14vw, 9rem) var(--pad);
  max-width: 88rem;
  margin: 0 auto;
}

.block + .block { border-top: 1px solid rgba(239, 230, 212, 0.07); }

.index {
  margin: 0 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--paper-mute);
}

.kicker {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--marquee);
}

.block-copy { max-width: 36rem; }

.block h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.filmmaker h2 { max-width: 10ch; }

.block-copy p {
  margin: 0 0 1.15rem;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.block-copy p:last-child { margin-bottom: 0; }

.block-copy h2 + p,
.block-copy .lead {
  color: var(--paper);
}

cite { font-style: italic; }

.bleed {
  margin: 0;
  background: var(--street);
}

.bleed img {
  width: 100%;
  height: min(72vh, 42rem);
  object-fit: cover;
  object-position: center 62%;
}

.bleed figcaption {
  padding: 0.85rem var(--pad) 1.1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

.mail-wrap { margin-top: 1.75rem !important; }

.mail {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: var(--paper);
  text-decoration: none;
  background-image: linear-gradient(var(--neon), var(--neon));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}

.mail:hover { color: var(--neon); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem 1.5rem;
  padding: 1.4rem var(--pad) 1.6rem;
  border-top: 1px solid rgba(239, 230, 212, 0.07);
  background: #07090a;
}

.site-footer p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

.foot-title { color: var(--paper-dim); }

@media (min-width: 64rem) {
  .block {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0 3vw;
    align-items: start;
  }

  .index {
    margin: 0.35rem 0 0;
    position: sticky;
    top: 1.5rem;
  }

  .block-copy { max-width: 38rem; }

  .locked { max-width: 18ch; }
}

