/* 26 Moments — coming soon */
:root {
  --paper: #F6EFE4;
  --paper-2: #EFE4D3;
  --card: #FBF7F0;
  --ink: #3B2A26;   /* brand cocoa */
  --ink-soft: #6E6058;
  --line: #E2D5C2;
  --rose: #C8473A;
  --rose-dark: #A3362C;
  --blush: #FBE3D9; /* brand blush */
  --sage: #A9B59A;
  --gold: #B88A4A;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42,33,30,.06), 0 12px 32px -12px rgba(42,33,30,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.27 0 0 0 0 0.2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer { position: relative; z-index: 1; }

a { color: inherit; }
em { font-style: italic; color: var(--rose); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* NAV */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 44px; width: auto; }
.logo-num { font-family: var(--serif); font-style: italic; color: var(--rose); font-weight: 500; }
.nav-link { font-size: 14px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.nav-link:hover { color: var(--ink); border-color: currentColor; }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 40px 0 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(180,69,74,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180,69,74,.45); } 70% { box-shadow: 0 0 0 10px rgba(180,69,74,0); } 100% { box-shadow: 0 0 0 0 rgba(180,69,74,0); } }
h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -.025em; }
h1 em { font-weight: 300; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 36em; margin: 24px 0 32px; }

/* FORM */
.waitlist { max-width: 480px; }
.field {
  display: flex; gap: 6px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.field:focus-within { border-color: var(--rose); }
.field input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: inherit; color: var(--ink); padding: 10px 16px;
}
.field input::placeholder { color: #A8998D; }
.field button {
  border: 0; cursor: pointer; white-space: nowrap;
  font: 600 15px/1 var(--sans); color: #fff; background: var(--rose);
  padding: 14px 22px; border-radius: 999px;
  transition: background .2s, transform .1s;
}
.field button:hover { background: var(--rose-dark); }
.field button:active { transform: scale(.98); }
.field button:disabled { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0 18px; }
.form-msg { font-size: 15px; margin: 10px 0 0 18px; min-height: 1.4em; }
.form-msg.ok { color: #4F6B45; }
.form-msg.err { color: var(--rose-dark); }
.waitlist.done .field { display: none; }
.waitlist.done .form-note { display: none; }
.waitlist.done .form-msg {
  margin: 0; padding: 16px 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); font: 400 18px/1.4 var(--serif);
}

/* HERO ART */
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: center; width: 100%; }
.book {
  position: absolute; inset: 10% 12% 12% 10%;
  transform: rotate(-4deg);
  filter: drop-shadow(0 30px 40px rgba(42,33,30,.25)) drop-shadow(0 4px 8px rgba(42,33,30,.12));
}
.book-cover {
  position: absolute; inset: 0;
  border-radius: 4px 10px 10px 4px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.25), transparent 50%),
    linear-gradient(160deg, #C55A57, #A63F45 60%, #8F343A);
  color: #FBEFE6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 10%;
  overflow: hidden;
}
.book-cover::after { /* inner frame */
  content: ""; position: absolute; inset: 7%; border: 1px solid rgba(251,239,230,.45); border-radius: 4px; pointer-events: none;
}
.cover-top { font-size: clamp(8px, .9vw, 10px); letter-spacing: .18em; text-transform: uppercase; opacity: .85; max-width: 100%; }
.cover-title { font: 300 clamp(28px, 4vw, 46px)/1.02 var(--serif); margin: 14px 0 10px; }
.cover-title em { color: #FBEFE6; font-weight: 400; }
.cover-heart { font-size: 18px; opacity: .9; }
.cover-names { font: italic 400 clamp(16px, 2vw, 22px)/1.2 var(--serif); margin-top: 12px; }
.cover-date { font-size: clamp(9px, 1vw, 11px); letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: 6px; }
.book-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.08) 60%, rgba(0,0,0,.08)); border-radius: 4px 0 0 4px; }

.polaroid {
  position: absolute; background: #fff; padding: 8px 8px 10px; width: 34%;
  box-shadow: var(--shadow); border-radius: 3px; text-align: center;
  font: italic 400 14px/1.2 var(--serif); color: var(--ink);
}
.polaroid span { display: block; margin-top: 8px; }
.ph { aspect-ratio: 1; display: grid; place-items: center; font: 300 46px/1 var(--serif); color: rgba(255,255,255,.92); }
.ph-a { background: linear-gradient(160deg, #9CB7C2, #6F94A3); }
.ph-s { background: linear-gradient(170deg, #F0B78F, #D9806C 55%, #9E5A6C); }
.p1 { right: -2%; top: 2%; transform: rotate(7deg); }
.p2 { left: -2%; bottom: -1%; transform: rotate(-8deg); }
.tag {
  position: absolute; right: 2%; bottom: 10%;
  background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transform: rotate(4deg); box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: no-preference) {
  .book { animation: float 7s ease-in-out infinite; }
  .p1 { animation: float2 8s ease-in-out infinite; }
  .p2 { animation: float3 9s ease-in-out infinite; }
}
@keyframes float { 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes float2 { 50% { transform: rotate(9deg) translateY(-6px); } }
@keyframes float3 { 50% { transform: rotate(-6deg) translateY(6px); } }

/* COUNTDOWN */
.countdown-band { background: var(--ink); color: var(--paper); }
.countdown-band em { color: var(--blush); }
.countdown { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 0; flex-wrap: wrap; }
.cd-title { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; max-width: 12em; }
.cd { display: flex; gap: 12px; }
.cd > div {
  min-width: 88px; text-align: center; padding: 14px 10px 12px;
  border: 1px solid rgba(246,239,228,.18); border-radius: var(--radius);
  background: rgba(246,239,228,.04);
}
.cd span { display: block; font: 300 clamp(34px, 4vw, 46px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.cd small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

/* SECTIONS */
.section { padding: 104px 0; }
.kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin: 0 0 14px; font-weight: 600; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.02em; max-width: 16em; }
.sub { color: var(--ink-soft); margin: 16px 0 0; max-width: 34em; }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { font: italic 400 15px/1 var(--serif); color: var(--rose); }
.steps h3 { font-size: 26px; margin: 18px 0 10px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ALPHABET */
.alphabet-sec { background: var(--paper-2); border-block: 1px solid var(--line); }
.abc { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.abc li.more {
  grid-column: span 6; background: transparent; border-style: dashed; justify-content: center; align-items: center; text-align: center;
  font: italic 300 clamp(20px, 2.2vw, 28px)/1.2 var(--serif); color: var(--ink-soft);
}
.abc li.more:hover { transform: none; background: transparent; border-color: var(--line); }
.abc li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 14px 12px; min-height: 108px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s, background .25s, border-color .25s, color .25s;
}
.abc .L { font: 300 40px/1 var(--serif); color: var(--ink); transition: color .25s; }
.abc .w { font-size: 13.5px; line-height: 1.25; color: var(--ink-soft); }
.abc .w b { font-weight: 400; font-family: var(--serif); font-style: italic; color: var(--rose); }
.abc li:hover, .abc li.lit { transform: translateY(-3px) rotate(-1deg); background: var(--rose); border-color: var(--rose); }
.abc li:hover .L, .abc li.lit .L, .abc li:hover .w, .abc li.lit .w, .abc li:hover .w b, .abc li.lit .w b { color: #FBEFE6; }

/* TWIST */
.twist { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.twist-note { margin: 28px 0 0; font: italic 400 20px/1.3 var(--serif); color: var(--rose); }

.envelope-wrap { display: flex; justify-content: center; }
.envelope {
  width: min(380px, 100%); aspect-ratio: 4 / 3; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 40px 60px -30px rgba(42,33,30,.45), 0 1px 2px rgba(42,33,30,.06);
  transform: rotate(-3deg); overflow: hidden;
}
.env-flap {
  position: absolute; inset: 0 0 auto; height: 58%;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.env-seal {
  position: absolute; left: 50%; top: 58%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #C85A5F, var(--rose) 55%, var(--rose-dark));
  box-shadow: 0 0 0 5px rgba(180,69,74,.18), 0 6px 14px -4px rgba(150,53,57,.6);
  display: grid; place-items: center;
  font: italic 400 36px/1 var(--serif); color: #FBEFE6;
}
.env-note {
  position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.env-note b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .envelope { animation: env-float 8s ease-in-out infinite; }
  .env-seal { animation: seal-pulse 3.2s ease-in-out infinite; }
}
@keyframes env-float { 50% { transform: rotate(-1.5deg) translateY(-8px); } }
@keyframes seal-pulse { 50% { box-shadow: 0 0 0 10px rgba(180,69,74,.08), 0 6px 14px -4px rgba(150,53,57,.6); } }

/* FINAL */
.final { background: var(--blush); }
.final-inner { padding: 96px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final .h2 { margin-inline: auto; }
.final .sub { margin-inline: auto; }
.final .waitlist { margin: 32px auto 0; width: 100%; }
.final .form-msg { margin-left: 0; }
.socials { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.socials b { color: var(--ink); font-weight: 600; }
.socials nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.socials a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14px;
  border: 1px solid rgba(42,33,30,.25); padding: 8px 16px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--ink); color: var(--paper); }

/* FOOTER */
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px 0 36px; font-size: 13px; color: var(--ink-soft); }
.footer p { margin: 0; }
.footer .logo-num { font-size: 15px; }

/* REVEAL */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 16px 0 64px; }
  .hero-art { max-width: 400px; }
  .twist { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .abc { grid-template-columns: repeat(6, 1fr); }
  .abc li.more { grid-column: span 4; }
  .section { padding: 72px 0; }
  .countdown { justify-content: center; text-align: center; }
  .cd-title { max-width: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-link { display: none; }
  .field { flex-direction: column; border-radius: 18px; padding: 6px; }
  .field input { padding: 12px 14px; }
  .field button { border-radius: 12px; padding: 15px; }
  .form-note, .form-msg { margin-left: 4px; }
  .cd { gap: 8px; width: 100%; }
  .cd > div { flex: 1; min-width: 0; padding: 12px 4px 10px; }
  .abc { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .abc li { min-height: 92px; padding: 10px 10px 9px; }
  .abc .L { font-size: 32px; }
  .abc .w { font-size: 12px; }
  .abc li.more { grid-column: span 1; font-size: 15px; padding: 8px; }
  .final-inner { padding: 72px 0; }
  .footer { flex-direction: column; }
}

/* ============================================================
   ZING — colour & life layer
   ============================================================ */
:root {
  --pink: #C8473A;      /* brand coral */
  --coral: #F47C5A;
  --tangerine: #F2B33D;  /* brand sunshine */
  --sun: #F6C85F;
  --mint: #2A8C80;      /* brand teal */
  --sky: #4A7FC1;       /* denim blue */
  --violet: #2A8C80;
  --cta: linear-gradient(120deg, #E0503C, #C8402F);
  --rainbow: linear-gradient(90deg, var(--pink), var(--coral), var(--tangerine), var(--sun), var(--mint), var(--sky), var(--violet));
}

/* hero colour blobs */
.hero { position: relative; }
.blobs { position: absolute; inset: -12% -8% -6%; z-index: -1; pointer-events: none; filter: blur(80px); opacity: .22; }
.blobs i { position: absolute; border-radius: 50%; display: block; }
.blobs i:nth-child(1) { width: 38%; aspect-ratio: 1; left: 48%; top: 4%; background: var(--pink); }
.blobs i:nth-child(2) { width: 30%; aspect-ratio: 1; left: 72%; top: 46%; background: var(--mint); }
.blobs i:nth-child(3) { display: none; }
.blobs i:nth-child(4) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .blobs i:nth-child(1) { animation: drift1 16s ease-in-out infinite; }
  .blobs i:nth-child(2) { animation: drift2 19s ease-in-out infinite; }
  .blobs i:nth-child(3) { animation: drift1 22s ease-in-out infinite reverse; }
  .blobs i:nth-child(4) { animation: drift2 18s ease-in-out infinite reverse; }
}
@keyframes drift1 { 50% { transform: translate(-12%, 14%) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(10%, -12%) scale(.9); } }

.eyebrow {
  background: rgba(255,255,255,.7); border: 1px solid rgba(238,90,79,.25);
  padding: 7px 14px 7px 12px; border-radius: 999px; color: var(--ink); font-weight: 500;
  backdrop-filter: blur(6px);
}
.dot { background: var(--pink); }

h1 em, .h2 em, .cd-title em {
  background: linear-gradient(95deg, #C23A2C, #D25238);
  font-weight: 400;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.cd-title em { background-image: linear-gradient(95deg, #FFB8A3, #F7C9B5); }

/* buttons */
.field { border-color: rgba(238,90,79,.25); box-shadow: 0 1px 2px rgba(42,33,30,.06), 0 16px 36px -14px rgba(200,64,47,.35); }
.field:focus-within { border-color: var(--pink); }
.field button {
  background: var(--cta); background-size: 160% 100%; background-position: 0 0;
  font-size: 16px; position: relative; overflow: hidden;
  transition: background-position .4s, transform .1s, box-shadow .2s;
  box-shadow: 0 6px 16px -6px rgba(200,64,47,.6);
}
.field button:hover { background: var(--cta); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 10px 22px -8px rgba(200,64,47,.7); }
.field button::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .field button:hover::after { animation: shine .9s ease-out; }
}
@keyframes shine { to { transform: translateX(220%) skewX(-20deg); } }

/* hero art */
.ph-a { background: linear-gradient(160deg, #8FCFC4, #2A8C80); }
.ph-s { background: linear-gradient(170deg, #F3B48F, #E9785F 55%, #CF4A3E); }
.tag { background: var(--ink); color: #fff; font-weight: 600; }
.cf { position: absolute; font: 400 26px/1 var(--serif); pointer-events: none; z-index: 2; opacity: .8; }
.cf3, .cf4, .cf6 { display: none; }
.cf1 { left: 4%; top: 6%; color: var(--pink); font-size: 30px; }
.cf2 { left: 46%; top: -4%; color: #E3A44A; font-size: 22px; }
.cf3 { right: -6%; top: 46%; color: var(--mint); font-style: italic; font-size: 34px; }
.cf4 { left: -6%; top: 40%; color: var(--violet); font-size: 22px; }
.cf5 { right: 24%; bottom: -4%; color: var(--mint); font-size: 22px; }
.cf6 { left: 38%; bottom: -6%; color: var(--sky); font-style: italic; font-size: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .cf { animation: bob 5s ease-in-out infinite; }
  .cf2 { animation-delay: -1s; animation-duration: 6s; }
  .cf3 { animation-delay: -2s; animation-duration: 7s; }
  .cf4 { animation-delay: -3s; }
  .cf5 { animation-delay: -1.5s; animation-duration: 4.5s; }
  .cf6 { animation-delay: -2.5s; animation-duration: 6.5s; }
}
@keyframes bob { 50% { transform: translateY(-12px) rotate(12deg) scale(1.1); } }

/* ribbon */
.ribbon {
  position: relative; z-index: 2; overflow: hidden; margin: -18px -2% 0; padding: 14px 0;
  background: #2A8C80; transform: rotate(-1.2deg);
  box-shadow: 0 14px 30px -18px rgba(42,33,30,.5);
}
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 22px; padding-left: 22px; }
.ribbon-track span {
  font: italic 400 18px/1 var(--serif); color: #fff; white-space: nowrap;
}
.ribbon-track b { font: 600 19px/1 var(--sans); font-style: normal; }
.ribbon-track i { font-style: normal; color: #fff; opacity: .9; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: marquee 90s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.countdown-band { margin-top: -10px; padding-top: 10px; }

/* countdown */
.cd > div { color: #fff; }
.cd > div { background: rgba(246,239,228,.06); border: 1px solid rgba(246,239,228,.16); box-shadow: none; }
.cd span { color: var(--paper); }
.cd > div:first-child { background: linear-gradient(150deg, #EE5A4F, #C8402F); border-color: transparent; }
.cd > div:first-child span { color: #fff; }
.cd small { opacity: .9; }

/* kickers */
.kicker { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(180,69,74,.1); }
.k-violet { color: #B73A2E; background: rgba(238,90,79,.11); }
.k-tangerine { color: #B73A2E; background: rgba(238,90,79,.11); }
.k-pink { color: #B73A2E; background: rgba(238,90,79,.13); }

/* steps */
.steps li { position: relative; overflow: hidden; }
.js .steps li.reveal.in { transition: opacity .7s ease, transform .25s, box-shadow .25s; }
.steps li::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; }
.steps li:nth-child(1)::before { background: #CF4A3E; opacity: .85; }
.steps li:nth-child(2)::before { background: #2A8C80; opacity: .85; }
.steps li:nth-child(3)::before { background: #CF4A3E; opacity: .85; }
.steps li:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-size: 16px; font-weight: 500;
}
.steps li:nth-child(1) .step-n { background: #CF4A3E; }
.steps li:nth-child(2) .step-n { background: #2A8C80; }
.steps li:nth-child(3) .step-n { background: #CF4A3E; }

/* A–Z: each letter gets its own colour (--c set in main.js) */
.alphabet-sec { background: var(--paper-2); }
.abc li { --c: var(--pink); }
.abc .L { color: var(--c); font-weight: 400; filter: saturate(1.1) brightness(.88); }
.abc li:hover, .abc li.lit {
  background: var(--c); border-color: var(--c);
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 16px 28px -14px var(--c);
}
.abc li:nth-child(even):hover, .abc li:nth-child(even).lit { transform: translateY(-4px) rotate(2deg); }
.abc li:hover .L, .abc li.lit .L { filter: none; }
.abc li:hover .L, .abc li.lit .L, .abc li:hover .w, .abc li.lit .w, .abc li:hover .w b, .abc li.lit .w b { color: #fff; }
.abc li.more { color: var(--ink-soft); }

/* the twist */
.twist { position: relative; }
.envelope-wrap { position: relative; }
.envelope-wrap::before {
  content: ""; position: absolute; inset: -10% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238,90,79,.18), rgba(255,159,67,.1) 55%, transparent);
  filter: blur(10px);
}
.env-flap { background: linear-gradient(170deg, #FCE3D6, var(--paper-2)); }
.env-seal { background: radial-gradient(circle at 35% 30%, #FF9A85, var(--pink) 50%, #A8332A); box-shadow: 0 0 0 5px rgba(238,90,79,.2), 0 6px 14px -4px rgba(160,45,35,.6); }
.twist-note { background: linear-gradient(95deg, #B73A2E, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { position: absolute; font-size: 22px; z-index: 2; pointer-events: none; }
.s2, .s4 { display: none; }
.s1 { left: 6%; top: 4%; color: #E3A44A; font-size: 26px; }
.s2 { right: 8%; top: 0; color: var(--violet); }
.s3 { right: 2%; bottom: 12%; color: var(--mint); font-size: 24px; }
.s4 { left: 2%; bottom: 6%; color: var(--sky); font-size: 18px; }
.s5 { left: 48%; top: -10%; color: var(--mint); }
@media (prefers-reduced-motion: no-preference) {
  .spark { animation: twinkle 2.6s ease-in-out infinite; }
  .s2 { animation-delay: -.6s; } .s3 { animation-delay: -1.2s; } .s4 { animation-delay: -1.8s; } .s5 { animation-delay: -.9s; animation-duration: 3.4s; }
}
@keyframes twinkle { 50% { transform: scale(.55) rotate(25deg); opacity: .45; } }

/* final CTA */
.final {
  background: linear-gradient(160deg, #F7DCD0, #F4E6DA);
}
@media (prefers-reduced-motion: no-preference) {
}
@keyframes hue { 50% { background-position: 100% 100%; } }
.socials a { background: rgba(255,255,255,.6); border-color: transparent; }
.socials nav a:nth-child(1):hover { background: linear-gradient(120deg, var(--violet), var(--pink), var(--tangerine)); color: #fff; }
.socials nav a:nth-child(2):hover { background: #111; color: #fff; }
.socials nav a:nth-child(3):hover { background: #E60023; color: #fff; }

@media (max-width: 520px) {
  .ribbon-track span { font-size: 16px; }
  .ribbon-track b { font-size: 18px; }
  .cf3 { right: 0; } .cf4 { left: 0; }
}
.book-cover {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.3), transparent 50%),
    radial-gradient(circle at 90% 95%, rgba(255,159,67,.45), transparent 45%),
    linear-gradient(160deg, #E8604F, #CF4545 55%, #A9343C);
}

/* ILLUSTRATIONS */
.step-art { margin: -6px -6px 18px; border-radius: 10px; background: rgba(255,255,255,.55); }
.step-art svg { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.steps li { padding: 22px 22px 26px; }
.steps h3 { margin: 12px 0 6px; font-size: 24px; }
.step-n { width: 32px; height: 32px; font-size: 14px; }
.steps li:hover .step-art svg { transform: rotate(-1.5deg) scale(1.03); }

.abc li { position: relative; }
.abc .ico { position: absolute; top: 12px; right: 12px; font-size: 24px; line-height: 1; transition: transform .3s ease; }
.abc li:hover .ico, .abc li.lit .ico { transform: scale(1.25) rotate(-10deg); }
.abc .w { font-size: 13px; }

.couple { width: 220px; height: auto; margin: 0 auto 18px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .couple .balloon { animation: balloon 4s ease-in-out infinite; transform-origin: 120px 54px; }
}
@keyframes balloon { 50% { transform: translateY(-5px) rotate(4deg); } }
@media (max-width: 520px) {
  .abc .ico { top: 8px; right: 8px; font-size: 20px; }
  .couple { width: 180px; }
}
.abc li.more:hover { box-shadow: none; }
@media (max-width: 900px) {
  .steps li { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; column-gap: 22px; align-items: center; align-content: center; }
  .step-art { grid-row: 1 / span 3; margin: 0; }
  .steps h3 { margin-top: 8px; }
}
@media (max-width: 520px) {
  .steps li { grid-template-columns: 120px 1fr; column-gap: 16px; padding: 16px; }
  .steps h3 { font-size: 21px; }
}

/* TOAST (after confirming the email) */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 20; max-width: calc(100% - 32px);
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 999px;
  font-size: 16px; box-shadow: 0 18px 40px -16px rgba(42,33,30,.6);
  transition: transform .5s cubic-bezier(.2,.9,.3,1.3), opacity .3s;
}
.toast b { font-family: var(--serif); font-style: italic; font-weight: 400; color: #FFB8A3; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   BRAND — Mochi couple (logo mascot), Oct 2026
   ============================================================ */
:root {
  --brand-coral: #C8473A; --brand-teal: #2A8C80; --brand-cocoa: #3B2A26;
  --brand-sunshine: #F2B33D; --brand-cream: #F6EFE4; --brand-blush: #FBE3D9;
}
.mochi { width: 230px; height: auto; display: block; margin: 0 auto 22px; overflow: visible; }
.mochi g { transform-box: fill-box; }
.mochi .m-l { transform-origin: 70% 100%; }
.mochi .m-r { transform-origin: 30% 100%; }
.mochi .m-heart, .mochi .m-spark { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .mochi .m-l { animation: nuzzle-l 3.6s ease-in-out infinite; }
  .mochi .m-r { animation: nuzzle-r 3.6s ease-in-out infinite; }
  .mochi .m-heart { animation: heart-float 3.6s ease-in-out infinite; }
  .mochi .ms1 { animation: twinkle 2.4s ease-in-out infinite; }
  .mochi .ms2 { animation: twinkle 2.4s ease-in-out -1.2s infinite; }
}
@keyframes nuzzle-l { 50% { transform: rotate(2.5deg) scale(1.02, .98); } }
@keyframes nuzzle-r { 50% { transform: rotate(-2.5deg) scale(1.02, .98); } }
@keyframes heart-float { 50% { transform: translateY(-6px) scale(1.12); } }
@keyframes twinkle { 50% { transform: scale(.55) rotate(20deg); opacity: .6; } }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand img { display: block; }
@media (max-width: 520px) {
  .logo img { height: 36px; }
  .mochi { width: 190px; }
}

/* ============================================================
   OPENING BOOK — first impression
   The cover swings open on load, shows page A, closes again;
   polaroids and stickers pop out of it. Click/tap = peek again.
   ============================================================ */
.book { perspective: 1600px; cursor: pointer; }
.book-page {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px;
  background: linear-gradient(90deg, #E9DCCB, #FBF7F0 9%, #FBF7F0);
  padding: 12% 12% 10% 16%;
  display: flex; flex-direction: column; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pg-top { font-size: clamp(8px, .9vw, 10px); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.pg-letter { font: 300 clamp(70px, 10vw, 128px)/.9 var(--serif); color: var(--rose); margin-top: 6%; }
.pg-for { font: italic 400 clamp(13px, 1.4vw, 17px)/1 var(--serif); color: var(--ink-soft); margin-top: 4%; }
.pg-hand {
  font: italic 400 clamp(20px, 2.6vw, 30px)/1.2 var(--serif); color: var(--mint);
  border-bottom: 1.5px dashed var(--line); padding-bottom: 4px; margin-top: 4px; align-self: flex-start;
}
.pg-photo {
  position: absolute; right: 11%; bottom: 10%; width: 34%; aspect-ratio: 1;
  border: 1.5px dashed #D9CBB8; border-radius: 6px; transform: rotate(4deg);
  display: grid; place-items: center; font-size: clamp(22px, 3vw, 34px);
}
.pg-photo i { font-style: normal; }

.cover-3d {
  position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.3,.7,.2,1);
}
.cover-3d .book-cover { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cover-inside {
  position: absolute; inset: 0; border-radius: 10px 4px 4px 10px;
  transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(270deg, #E2D2BF, #F3E8DA 12%);
  display: grid; place-items: center; text-align: center;
  font: italic 400 clamp(14px, 1.6vw, 19px)/1.3 var(--serif); color: var(--rose);
}
.book-spine { z-index: 2; }
.book:hover .cover-3d { transform: rotateY(-24deg); }

@media (prefers-reduced-motion: no-preference) {
  .book { animation: book-in .9s cubic-bezier(.2,.8,.2,1) backwards, float 7s ease-in-out 4.8s infinite; }
  .cover-3d { animation: peek 3.4s cubic-bezier(.45,.05,.25,1) .7s backwards; }
  .cover-3d.first { animation: peek 3.4s cubic-bezier(.45,.05,.25,1) .5s backwards; }
  .cover-3d.again { animation: peek-again 2.6s cubic-bezier(.45,.05,.25,1); }

  .p1 { --r: 7deg; animation: pop .7s cubic-bezier(.2,1.4,.4,1) 1.5s backwards, float2 8s ease-in-out 2.4s infinite; }
  .p2 { --r: -8deg; animation: pop .7s cubic-bezier(.2,1.4,.4,1) 1.9s backwards, float3 9s ease-in-out 2.8s infinite; }
  .tag { --r: 4deg; animation: pop .6s cubic-bezier(.2,1.4,.4,1) 2.5s backwards; }
  .cf { animation: sticker .5s ease-out backwards, bob 5s ease-in-out 3.6s infinite; }
  .cf1 { animation-delay: 2.7s, 3.6s; } .cf2 { animation-delay: 2.85s, 3.8s; } .cf5 { animation-delay: 3s, 4s; }

  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) backwards; }
  .hero-copy > :nth-child(1) { animation-delay: .1s; }
  .hero-copy > :nth-child(2) { animation-delay: .2s; }
  .hero-copy > :nth-child(3) { animation-delay: .35s; }
  .hero-copy > :nth-child(4) { animation-delay: .5s; }
}
@keyframes book-in { from { opacity: 0; transform: rotate(-10deg) translateY(30px) scale(.92); } }
@keyframes peek {
  0%   { transform: rotateY(0); }
  30%  { transform: rotateY(-104deg); }
  72%  { transform: rotateY(-104deg); }
  100% { transform: rotateY(0); }
}
@keyframes peek-again {
  0%   { transform: rotateY(0); }
  30%  { transform: rotateY(-104deg); }
  65%  { transform: rotateY(-104deg); }
  100% { transform: rotateY(0); }
}
@keyframes pop { from { opacity: 0; transform: rotate(var(--r)) translate(-40%, 30%) scale(.2); } }
@keyframes sticker { from { opacity: 0; transform: scale(0) rotate(-40deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.book { perspective-origin: 0% 50%; }
.hero-copy { position: relative; z-index: 3; }

/* SOCIAL ICONS + BRAND TOUCHES */
.nav-social { display: flex; gap: 6px; }
.nav-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink); background: rgba(255,255,255,.55); border: 1px solid var(--line);
  transition: background .2s, color .2s, transform .2s;
}
.nav-social a:hover { background: var(--rose); border-color: var(--rose); color: #fff; transform: translateY(-2px) rotate(-6deg); }
.nav-social svg { width: 17px; height: 17px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; }
.socials a svg { width: 16px; height: 16px; }
.foot-social { display: flex; gap: 14px; }
.foot-social a { color: var(--ink-soft); transition: color .2s; }
.foot-social a:hover { color: var(--rose); }
.foot-social svg { width: 18px; height: 18px; display: block; }
.footer { align-items: center; }
.cover-mochi { width: 18%; height: auto; margin: 2% 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.cover-mochi { background: #FBEFE6; border-radius: 50%; padding: 3%; }
.toast img { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
@media (max-width: 520px) {
  .nav-social a { width: 34px; height: 34px; }
}
