:root {
  --ink: #0a0708;
  --ink-2: #140e10;
  --paper: #f1e6db;
  --cream: #f7eee6;
  --rose: #d98f97;
  --rose-2: #b96a74;
  --wine: #6f2c3c;
  --gold: #c9a66b;
  --muted: #b9aaad;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --serif: "Playfair Display", serif;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.is-hidden {
  display: none !important;
}
.section-pad {
  padding: 110px clamp(22px, 6vw, 90px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose);
  margin: 0 0 16px;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  margin: 0 0 18px;
}
.section-heading > p:last-child {
  color: #c5babc;
  line-height: 1.8;
  max-width: 660px;
}
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(
    circle at 50% 35%,
    #231419 0,
    #0a0708 52%,
    #050304 100%
  );
}
.terminal-window {
  width: min(760px, 100%);
  border: 1px solid #54454a;
  border-radius: 18px;
  background: #050405;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-bar {
  height: 48px;
  border-bottom: 1px solid #2f292b;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  position: relative;
  background: #0d0b0c;
}
.terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d85d60;
}
.terminal-bar span:nth-child(2) {
  background: #d5a844;
}
.terminal-bar span:nth-child(3) {
  background: #58ad6c;
}
.terminal-bar small {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 400 0.75rem var(--mono);
  color: #82787b;
}
.terminal-body {
  padding: clamp(28px, 5vw, 54px);
  font-family: var(--mono);
}
.terminal-title {
  font-size: clamp(2rem, 7vw, 4rem);
  margin: 0 0 28px;
  color: white;
}
.blink {
  animation: blink 1s infinite;
}
.boot-lines p {
  opacity: 0;
  transform: translateY(4px);
  transition: 2s ease;
  margin: 11px 0;
  color: #ddd3d5;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
}
.boot-lines p.visible {
  opacity: 1;
  transform: none;
}
.boot-lines span {
  color: #68d8b1;
}
.progress-wrap {
  height: 9px;
  border: 1px solid #3e3437;
  border-radius: 999px;
  margin: 34px 0 24px;
  overflow: hidden;
}
.progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--rose), #f4a8ad);
  transition: width 0.3s ease;
}
.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: white;
  border-radius: 999px;
  padding: 13px 20px;
  transition: 0.2s;
}
.ghost-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.ghost-button:not(:disabled):hover {
  background: white;
  color: var(--ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(10, 7, 8, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 600 1.45rem var(--serif);
}
.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
  color: #c8bdc0;
}
.site-header nav a:hover {
  color: white;
}
.for-you {
  border: 0;
  background: #e0a2a7;
  color: #2a1017;
  border-radius: 999px;
  padding: 11px 17px;
}
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 7vw;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  right: -220px;
  top: -180px;
  background: radial-gradient(circle, rgba(188, 91, 106, 0.2), transparent 67%);
  filter: blur(10px);
}
.hero h1 {
  font: 500 clamp(3.2rem, 7vw, 7rem)/0.96 var(--serif);
  letter-spacing: -0.04em;
  margin: 0;
}
.hero h1 em {
  color: var(--rose);
  font-weight: 500;
}
.hero-sub {
  max-width: 640px;
  color: #c8bdc0;
  line-height: 1.8;
  margin: 28px 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--rose);
  color: #241014;
  font-weight: 700;
}
.text-button {
  border: 0;
  background: transparent;
  color: #c8bdc0;
}
.hero-card {
  position: relative;
  transform: rotate(1.8deg);
}
.photo-placeholder {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #26161a, #0e0a0b);
  display: grid;
  place-items: center;
  color: #8e7f83;
  text-align: center;
  padding: 28px;
}
.photo-main {
  height: min(62vh, 640px);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}
.scribble {
  position: absolute;
  right: -12px;
  bottom: 26px;
  font: italic 1.4rem var(--serif);
  transform: rotate(-8deg);
  color: #f0c1c5;
}
.chapters {
  background: #0d090a;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.chapter-card {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.012)
  );
  position: relative;
  overflow: hidden;
}
.chapter-card:hover .chapter-photo img {
  transform: scale(1.04);
}
.chapter-card span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.chapter-photo {
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #1c1215;
}
.chapter-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 700ms ease;
}
.chapter-card h3 {
  font: 500 2rem var(--serif);
  margin: 24px 0 18px;
}
.chapter-card p {
  color: #bcaeb2;
  line-height: 1.75;
}
.film-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  opacity: 0.26;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 12px,
    #fff 12px 18px,
    transparent 18px 30px
  );
}

#hero-img {
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  width: 100%;
}

.reasons-section {
  background: linear-gradient(180deg, #e8b8bc, #d99da3);
  color: #35171d;
}
.reasons-section .eyebrow {
  color: #7c3440;
}
.reasons-section .section-heading > p:last-child {
  color: #6f4c53;
}
.reason-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 760px) auto;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.reason-card {
  min-height: 430px;
  background: #f4dfdc;
  border-radius: 24px;
  padding: clamp(28px, 6vw, 60px);
  box-shadow: 0 30px 80px rgba(71, 27, 36, 0.22);
  display: flex;
  flex-direction: column;
}
.reason-topline {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #8d5e65;
}
.reason-card > p {
  font: 500 clamp(2.1rem, 5vw, 4.4rem)/1.12 var(--serif);
  margin: auto 0;
}
.reason-sign {
  font: italic 1.2rem var(--serif);
  text-align: right;
  color: #9a5963;
}
.round-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(53, 23, 29, 0.28);
  background: rgba(255, 255, 255, 0.35);
  color: #35171d;
  font-size: 1.2rem;
}
.reason-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.reason-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #945b64;
  opacity: 0.35;
}
.reason-dots button.active {
  opacity: 1;
  transform: scale(1.5);
}
.hunt-section {
  background: #100b0d;
}
.hunt-board {
  max-width: 900px;
  margin: auto;
  padding: clamp(24px, 5vw, 50px);
  border-radius: 24px;
  border: 1px solid rgba(201, 166, 107, 0.25);
  background: radial-gradient(circle at top, #2c1e18, #17100f 70%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hunt-celebration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hunt-celebration span {
  position: absolute;
  left: var(--left);
  bottom: 18%;
  color: var(--heart-color, #efb3ba);
  font-size: var(--size, 1rem);
  opacity: 0;
  animation: float-heart 1.65s ease-out forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes float-heart {
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--drift), -180px) rotate(18deg) scale(1.25); }
}
.hunt-route {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}
.route-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #8d7552;
  display: grid;
  place-items: center;
  color: #b9a17b;
  background: #19110f;
}
.route-dot.active {
  background: #a86469;
  color: white;
  border-color: #d49ba0;
}
.hunt-route i {
  width: min(90px, 13vw);
  height: 1px;
  border-top: 1px dashed #7f6a4a;
}
.hunt-card {
  max-width: 620px;
  margin: auto;
  text-align: center;
}
.hunt-card h3 {
  font: 500 clamp(2rem, 5vw, 3.5rem) var(--serif);
  margin: 10px 0 28px;
}
.hunt-card form {
  display: flex;
  gap: 10px;
}
.hunt-card input {
  flex: 1;
  min-width: 0;
  border: 1px solid #5c4942;
  background: #0e0a09;
  color: white;
  border-radius: 999px;
  padding: 14px 18px;
  outline: none;
}
.hunt-feedback {
  min-height: 52px;
  line-height: 1.6;
  color: #d7c5ae;
}
.newspaper-section {
  background: #1a1214;
}
.light-heading {
  text-align: center;
  margin-inline: auto;
}
.newspaper {
  max-width: 1100px;
  margin: auto;
  background: #e7dccf;
  color: #1d1918;
  padding: clamp(24px, 5vw, 58px);
  box-shadow: var(--shadow);
  transform: rotate(-0.35deg);
  font-family: Georgia, serif;
}
.paper-topline {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font: 0.68rem var(--sans);
  letter-spacing: 0.15em;
}
.masthead {
  text-align: center;
  font: 700 clamp(3rem, 8vw, 7rem)/1 var(--serif);
  margin: 20px 0 12px;
}
.masthead b {
  color: #8a3545;
}
.paper-rule {
  border-top: 4px double #211c1a;
}
.newspaper > h3 {
  text-align: center;
  font: 600 clamp(2rem, 5vw, 4.7rem)/1 var(--serif);
  max-width: 850px;
  margin: 26px auto 12px;
}
.paper-subhead {
  text-align: center;
  text-transform: uppercase;
  font: 0.74rem var(--sans);
  letter-spacing: 0.08em;
}
.paper-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 18px;
  border-top: 1px solid #4f4742;
  padding-top: 18px;
  margin-top: 22px;
}
.paper-grid h4 {
  text-transform: uppercase;
  border-bottom: 1px solid #4f4742;
  padding-bottom: 8px;
}
.paper-stories p,
.paper-interview p {
  border-bottom: 1px solid #afa397;
  /* padding-bottom: 10px; */
  line-height: 1.45;
}
.paper-photo {
  min-height: 350px;
  background: linear-gradient(135deg, #6d615a, #292422);
  color: #ded4ca;
}
.newspaper-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.paper-interview blockquote {
  font: italic 1.4rem/1.4 var(--serif);
  margin: 15px 0;
}
.final-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #2b151a 0, #0b0708 62%);
  position: relative;
}
.final-card {
  max-width: 800px;
  position: relative;
}
.letter-envelope {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(230px, 68vw);
  aspect-ratio: 1.55;
  border-radius: 6px;
  background: linear-gradient(145deg, #e9b7ba, #b96270);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: opacity 500ms ease 450ms, transform 700ms cubic-bezier(.2,.8,.2,1) 350ms;
}
.letter-envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 50% 58%, 100% 0);
  background: #f3cdd0;
  transform-origin: top;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.letter-envelope::after {
  content: "♥";
  position: absolute;
  top: 54%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #8d394a;
  color: #f9e5e6;
  transform: translate(-50%, -50%);
}
.final-card > :not(.letter-envelope) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease 450ms, transform 650ms ease 450ms;
}
.final-card.letter-opened > :not(.letter-envelope) {
  opacity: 1;
  transform: none;
}
.final-card.letter-opened .letter-envelope {
  opacity: 0;
  transform: translate(-50%, -62%) scale(0.88);
}
.final-card.letter-opened .letter-envelope::before {
  transform: rotateX(180deg);
}
.easter-egg {
  position: fixed;
  z-index: 60;
  top: 82px;
  left: 50%;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 18px;
  border: 1px solid rgba(224, 162, 167, 0.45);
  border-radius: 999px;
  background: rgba(37, 17, 23, 0.92);
  box-shadow: var(--shadow);
  color: #f4dfe1;
  font: italic 1rem var(--serif);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -12px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.easter-egg.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.final-card h2 {
  font: 500 clamp(3rem, 7vw, 6.5rem)/1 var(--serif);
  color: #e4a0a7;
  margin: 10px 0 36px;
}
.final-lead {
  font: italic clamp(1.45rem, 3vw, 2.2rem)/1.5 var(--serif) !important;
  color: #f3dedf !important;
}
.final-card > p {
  color: #c9bcbf;
  line-height: 1.9;
  font-size: 1.02rem;
}
.signature {
  font: italic 1.5rem var(--serif);
  margin: 35px 0;
  color: #edbcc0;
}
.coded-by {
  position: absolute;
  bottom: 25px;
  color: #725f64;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  --delay: 140ms;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 850px) {
  .site-header nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .hero-card {
    max-width: 520px;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
  }
  .paper-grid {
    grid-template-columns: 1fr;
  }
  .paper-photo {
    min-height: 280px;
  }
  .reason-stage {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .reason-card {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .round-button {
    display: grid;
    place-items: center;
    grid-row: 2;
    min-width: 54px;
    min-height: 54px;
  }
  #reason-prev {
    grid-column: 1;
    justify-self: end;
  }
  #reason-next {
    grid-column: 2;
    justify-self: start;
  }
  .hunt-card form {
    flex-direction: column;
  }
  .masthead {
    font-size: clamp(2.6rem, 14vw, 5rem);
  }
}
@media (max-width: 520px) {
  .section-pad {
    padding: 84px 18px;
  }
  .site-header {
    padding: 14px 18px;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }
  .reason-card {
    min-height: 380px;
    border-radius: 18px;
  }
  .newspaper {
    padding: 20px 15px;
  }
  .paper-topline {
    font-size: 0.55rem;
  }
  .terminal-body {
    padding: 28px 20px;
  }
  .hero-sub {
    font-size: 0.92rem;
  }
}
