:root {
  --charcoal: #303131;
  --cream: #FDFBF5;
  --ivory: #F3F2E9;
  --sage: #707C6F;       /* large text only */
  --deep-sage: #5E695D;
  --line: rgba(48, 49, 49, 0.14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 6vw, 56px);
  --measure: 640px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.loading {
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-sage);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) + 84px);
  color: var(--cream);
  background: var(--charcoal);
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 31, 31, 0.78) 0%, rgba(30, 31, 31, 0.25) 45%, rgba(30, 31, 31, 0.05) 100%);
}

.hero--no-cover::after {
  background: radial-gradient(ellipse at 30% 20%, rgba(94, 105, 93, 0.45), transparent 60%);
}

.hero__logo {
  position: absolute;
  z-index: 1;
  top: calc(var(--gutter) + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 32vw, 160px);
  height: auto;
  opacity: 0.95;
}

.hero__text {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__names {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 12vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero__details {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero__cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  opacity: 0.85;
}

.hero__cue::after {
  content: '';
  width: 1px;
  height: 28px;
  background: currentColor;
}

/* Body */
.body {
  padding: 0 var(--gutter);
}

.note {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(64px, 12vw, 120px) 0 clamp(48px, 9vw, 96px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 4.6vw, 23px);
  line-height: 1.6;
}

.note p { margin: 0 0 1em; }

.note__signoff {
  margin-top: 1.6em !important;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--deep-sage);
}

/* Films */
.films {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.film {
  padding: clamp(48px, 9vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.film__head { margin-bottom: 22px; }
.film__head .eyebrow { color: var(--deep-sage); }

.film__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.1;
}

.film__meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--deep-sage);
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1e1f1f;
  margin: 0 calc(var(--gutter) * -1);
}

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

.player--placeholder {
  display: grid;
  place-items: center;
  background: var(--ivory);
  border: 1px dashed var(--line);
  text-align: center;
  padding: 24px;
}

.player--placeholder p {
  margin: 0;
  font-size: 13px;
  color: var(--deep-sage);
}

.film__pending {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--deep-sage);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 26px;
  border: 1px solid var(--deep-sage);
  border-radius: 2px;
  background: var(--deep-sage);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.button:hover { background: var(--charcoal); border-color: var(--charcoal); }

.button--ghost {
  background: transparent;
  color: var(--deep-sage);
}

.button--ghost:hover { color: var(--cream); }

.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--deep-sage);
  outline-offset: 3px;
}

/* Share + review */
.share {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 96px) 0;
  text-align: center;
}

.share p { margin: 0; font-size: 15px; }

.share .share__keep {
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--deep-sage);
}

.review {
  max-width: var(--measure);
  margin: 0 auto clamp(56px, 10vw, 96px);
  padding: clamp(36px, 7vw, 56px) clamp(24px, 6vw, 56px);
  background: var(--ivory);
  text-align: center;
}

.review h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 6vw, 34px);
}

.review p { margin: 0 0 18px; }

.text-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-sage);
  text-underline-offset: 6px;
}

/* Footer */
.footer {
  padding: 56px var(--gutter) calc(56px + env(safe-area-inset-bottom));
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}

.footer p { margin: 0; }

.footer__logo {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 14px !important;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.footer__links a { text-decoration: none; opacity: 0.9; }
.footer__links a:hover { text-decoration: underline; }

.footer__help {
  margin-top: 22px !important;
  font-size: 12px;
  opacity: 0.65;
}

/* Not found / no link */
.message {
  min-height: 100svh;
  max-width: 520px;
  margin: 0 auto;
  padding: var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.message__logo {
  width: 64px;
  height: auto;
  margin-bottom: 28px;
}

.message h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.1;
}

.message p { margin: 0 0 24px; }

@media (min-width: 900px) {
  .player { margin: 0; }

  /* Tall cover: photo on the right, names on charcoal on the left */
  .hero--portrait { align-items: center; padding-bottom: var(--gutter); }
  .hero--portrait .hero__img { left: auto; width: 46%; }
  .hero--portrait::after { background: linear-gradient(to right, var(--charcoal) 54%, rgba(48, 49, 49, 0) 54%); }
  .hero--portrait .hero__text { max-width: 48%; }
  .hero--portrait .hero__logo { left: var(--gutter); transform: none; }
  .hero--portrait .hero__cue { left: 27%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
