:root {
  color-scheme: light;
  --bg: #f4efe7;
  --bg-accent: #f7d6c6;
  --ink: #1f1b1a;
  --muted: #6e5f57;
  --card: #ffffff;
  --stroke: #e1d6cd;
  --accent: #c75a3a;
  --glow: rgba(199, 90, 58, 0.3);
  --video-bg: #f6e0d4;
  --skin: #f1c7a1;
  --hair: #3b2d26;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, var(--bg-accent), var(--bg));
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px 56px;
  position: relative;
}

.page.is-locked .hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.unlock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(244, 239, 231, 0.95));
  z-index: 10;
}

.unlock__panel {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 32px 36px;
  width: min(480px, 92vw);
  text-align: center;
  box-shadow: 0 22px 40px rgba(31, 27, 26, 0.12);
  display: grid;
  gap: 16px;
}

.unlock__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: var(--muted);
}

.unlock__lede {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.page.is-unlocked .unlock {
  display: none;
}

.page.is-unlocked .hero {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero {
  width: min(1100px, 100%);
  display: grid;
  gap: 32px;
}

.hero__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 12px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino", "Bookman Old Style", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.lede {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 27, 26, 0.1);
}

.btn--ghost {
  background: transparent;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.video-card,
.quote-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 22px 40px rgba(31, 27, 26, 0.08);
}

.video-card {
  display: grid;
  gap: 18px;
  position: relative;
}

.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--video-bg, #f6e0d4);
  border: 2px solid rgba(31, 27, 26, 0.1);
  min-height: 320px;
  display: grid;
  place-items: center;
}

.video-noise {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 4px
    ),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.25), transparent 45%);
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  z-index: 3;
}

.portrait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

.halo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(199, 90, 58, 0.3)), transparent 70%);
  position: absolute;
}

.head {
  width: 180px;
  height: 220px;
  position: relative;
  display: grid;
  place-items: center;
}

.hair {
  position: absolute;
  top: 10px;
  width: 150px;
  height: 90px;
  background: var(--hair, #3b2d26);
  border-radius: 60% 60% 45% 45%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.face {
  width: 140px;
  height: 170px;
  background: var(--skin, #f1c7a1);
  border-radius: 45% 45% 50% 50%;
  display: grid;
  place-items: center;
  gap: 16px;
  padding-top: 38px;
  box-shadow: inset 0 -14px 30px rgba(0, 0, 0, 0.08);
}

.eyes {
  width: 100px;
  display: flex;
  justify-content: space-between;
}

.eye {
  width: 18px;
  height: 10px;
  border-radius: 12px;
  background: #2b1f1a;
  position: relative;
}

.eye::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fefefe;
}

.nose {
  width: 16px;
  height: 28px;
  border-radius: 10px;
  border: 2px solid rgba(31, 27, 26, 0.2);
  border-left: 0;
  border-top: 0;
  transform: rotate(12deg);
}

.mouth {
  width: 46px;
  height: 10px;
  border-radius: 0 0 40px 40px;
  background: #4a1f1f;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
  transform-origin: center;
}

.video-card.speaking .mouth {
  animation: talk 0.32s infinite alternate;
}

.video-card.speaking .halo {
  animation: pulse 1s ease-in-out infinite;
}

.caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(31, 27, 26, 0.72);
  color: #fef6f0;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: 0.03em;
  z-index: 4;
}

.caption__name {
  font-weight: 600;
}

.audio-indicator {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-indicator::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

.quote-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

blockquote {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino", "Bookman Old Style", serif;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.45;
  color: var(--ink);
}

.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@keyframes talk {
  0% {
    height: 10px;
    width: 46px;
  }
  100% {
    height: 22px;
    width: 40px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .video-card,
  .quote-card {
    padding: 20px;
  }

  .video-frame {
    min-height: 260px;
  }
}
