/* Clone Of Mine
   One world: a lamp-lit evening at home. Deep plum night, oatmeal type, amber lamp glow.
   The bold place is the hero and the spoken quotes; everything else stays quiet. */
:root {
  --night: #1d1220;
  --plum: #2a1a2d;
  --plum-2: #38233c;
  --line: rgba(243, 230, 214, 0.16);
  --oat: #f5e9da;
  --oat-dim: #cdbcab;
  --amber: #f3b562;
  --amber-ink: #2a1708;
  --rose: #d98590;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--night);
  color: var(--oat);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.015em; font-variation-settings: "SOFT" 100, "WONK" 0; }
h1 { font-size: clamp(38px, 9.6vw, 68px); line-height: 1.03; }
h2 { font-size: clamp(30px, 6.8vw, 46px); line-height: 1.08; }
h3 { font-size: 23px; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--oat-dim); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
em.said { font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* Buttons */
.btn {
  font: inherit; font-weight: 700; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 16px 26px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 0 rgba(243, 181, 98, 0.5), 0 10px 30px -10px rgba(243, 181, 98, 0.65); }
.btn-amber:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px rgba(243, 181, 98, 0.16), 0 14px 34px -10px rgba(243, 181, 98, 0.75); }
.btn-amber:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--oat); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--oat); }
.btn-wide { width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }

/* Top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.mark { font-family: var(--font-display); font-size: 23px; letter-spacing: -0.01em; text-decoration: none; font-variation-settings: "SOFT" 100; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.mark i { font-style: italic; color: var(--amber); }
.soon { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(29, 18, 32, 0.7); border: 1px solid var(--line); backdrop-filter: blur(6px); }

/* Hero */
.hero { position: relative; isolation: isolate; }
.hero-photo { position: relative; }
.hero-photo img, .hero-photo video { display: block; width: 100%; height: min(118vw, 620px); object-fit: cover; object-position: 50% 30%; background: var(--plum); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 18, 32, 0.55) 0%, rgba(29, 18, 32, 0) 22%, rgba(29, 18, 32, 0) 48%, var(--night) 97%); }
.hero-copy { position: relative; margin-top: -150px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 18px; }
.hero-copy h1 em { font-style: italic; color: var(--amber); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin-top: 6px; }
.hero-note { font-size: 15px; color: var(--oat-dim); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--oat-dim); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); transform: translateY(-2px); }

/* Voice line (sound wave) */
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { display: block; width: 4px; border-radius: 3px; background: var(--amber); opacity: 0.5; transform-origin: center; }
.wave.live i { opacity: 1; animation: speak 1.15s ease-in-out infinite; box-shadow: 0 0 10px rgba(243, 181, 98, 0.55); }
.wave.center { justify-content: center; }
@keyframes speak { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* Sections */
section { padding: 64px 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.band { background: var(--plum); border-block: 1px solid var(--line); }

/* What would you ask them to say */
.says { display: flex; flex-direction: column; gap: 12px; }
.say {
  font: inherit; color: var(--oat); text-align: left; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 18px 44px 18px 0; position: relative; width: 100%;
  font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 6.6vw, 40px); line-height: 1.15;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: color 0.15s ease, padding-left 0.2s ease;
}
.say::after { content: "\2192"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-style: normal; font-size: 22px; color: var(--amber); }
.say:hover { color: var(--amber); padding-left: 8px; }
.says-foot { margin-top: 22px; color: var(--oat-dim); font-size: 16px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--plum); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px 22px 76px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.band .steps li { background: var(--night); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--amber); color: var(--amber); display: grid; place-items: center; font-family: var(--font-display); font-size: 21px; }
.steps p { color: var(--oat-dim); font-size: 17px; }

/* Keepsakes */
.keeps { display: grid; gap: 18px; }
.keep { background: var(--plum); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.keep-media { position: relative; overflow: hidden; background: var(--plum-2); }
.keep-media video, .keep-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.keep:hover .keep-media video { transform: scale(1.04); }
.keep-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.keep-row h3 { white-space: nowrap; }
.keep-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-size: 23px; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.keep p { color: var(--oat-dim); font-size: 17px; }
.keep .how { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); white-space: nowrap; color: var(--oat); font-size: 14px; font-weight: 600; display: inline-flex; gap: 9px; align-items: center; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(29, 18, 32, 0.72); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.keep .how::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 rgba(217, 133, 144, 0.7); animation: ping 2.4s ease-out infinite; }
.later { position: absolute; top: 12px; right: 12px; background: rgba(29, 18, 32, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); border: 1px solid rgba(217, 133, 144, 0.5); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.fine { font-size: 14px; color: var(--oat-dim); margin-top: 16px; }

/* Who it is for */
.fors { display: grid; gap: 26px; }
.for { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; border-left: 2px solid var(--rose); }
.for p { color: var(--oat-dim); font-size: 17px; }
.for .said { color: var(--oat); font-size: 21px; }

/* Promises */
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.promises li { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.promises li:first-child { border-top: 1px solid var(--line); }
.promises strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; font-variation-settings: "SOFT" 100; }
.promises span { color: var(--oat-dim); font-size: 17px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--amber); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--oat-dim); padding: 0 0 22px; max-width: 40em; font-size: 17px; }

/* Closing */
.close { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 120px 0 110px; background: var(--night); }
.close-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(29, 18, 32, 0.55) 26%, rgba(29, 18, 32, 0.36) 60%, rgba(29, 18, 32, 0.88) 100%); }
.close h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }
.close .wrap { position: relative; z-index: 2; }
.close .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.close p { color: var(--oat); max-width: 30em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8); }
.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--oat-dim); }
.foot .wrap { display: flex; flex-direction: column; gap: 8px; }

/* Sticky start button on phones */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(29, 18, 32, 0), var(--night) 38%); transform: translateY(110%); transition: transform 0.25s ease; }
.stick.on { transform: none; }

/* Order steps (full-screen sheet) */
.flow { position: fixed; inset: 0; z-index: 20; background: var(--night); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.flow-in { max-width: 460px; margin: 0 auto; padding: 14px 20px 48px; display: flex; flex-direction: column; gap: 20px; min-height: 100%; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-top .mark { font-size: 20px; text-shadow: none; }
.x { font: inherit; font-size: 15px; font-weight: 600; color: var(--oat-dim); background: none; border: 0; padding: 8px 0 8px 8px; cursor: pointer; }
.x:hover { color: var(--oat); }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress-row { display: flex; justify-content: space-between; align-items: baseline; min-height: 28px; }
.back { font: inherit; font-size: 15px; font-weight: 600; color: var(--oat-dim); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.back:hover { color: var(--oat); }
.count { font-size: 13px; font-weight: 600; color: var(--oat-dim); font-variant-numeric: tabular-nums; margin-left: auto; }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bars span { height: 4px; border-radius: 2px; background: var(--line); }
.bars span.on { background: var(--amber); }
.step { display: flex; flex-direction: column; gap: 18px; }
.step h2 { font-size: clamp(30px, 8vw, 38px); }
.step h2:focus { outline: none; }
.step .lede { font-size: 17px; }

.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--plum); border: 2px dashed rgba(243, 181, 98, 0.45); border-radius: 20px; padding: 30px 18px; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--amber); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.drop strong { font-size: 19px; }
.drop small { color: var(--oat-dim); font-size: 15px; }
.tips { list-style: none; margin: 0; padding: 14px 16px; background: var(--plum); border-radius: 16px; display: grid; gap: 8px; font-size: 15px; color: var(--oat-dim); }
.tips li { display: flex; gap: 10px; align-items: baseline; }
.tips li::before { content: "\2713"; color: var(--amber); font-weight: 700; flex: none; }
.clip { display: flex; align-items: center; gap: 12px; background: var(--plum); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.clip-text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.clip-name { font-weight: 600; overflow-wrap: anywhere; }
.clip-meta { font-size: 14px; color: var(--oat-dim); font-variant-numeric: tabular-nums; }
.clip-tick { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(243, 181, 98, 0.16); color: var(--amber); display: grid; place-items: center; font-weight: 700; }
.note { font-size: 15px; color: var(--oat); background: rgba(217, 133, 144, 0.16); border-radius: 12px; padding: 10px 14px; }
.hint { font-size: 14px; color: var(--oat-dim); text-align: center; }
.link { font: inherit; font-size: 15px; font-weight: 600; color: var(--amber); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.actions { display: flex; flex-direction: column; gap: 10px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field textarea { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.25; color: var(--oat); background: var(--plum); border: 2px solid var(--line); border-radius: 20px; padding: 18px; width: 100%; min-height: 140px; resize: vertical; font-variation-settings: "SOFT" 100, "WONK" 1; }
.field textarea::placeholder { color: var(--oat-dim); opacity: 0.6; }
.field textarea:focus { outline: none; border-color: var(--amber); }
.field .count { align-self: flex-end; margin: 0; }
.chips-label { font-size: 14px; font-weight: 600; color: var(--oat-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; background: transparent; color: var(--oat); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.chip:hover { border-color: var(--amber); }

.cloning { align-items: center; text-align: center; padding-top: 48px; }
.stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--oat-dim); }
.stages li.now { color: var(--oat); font-weight: 600; }
.stages li.done::after { content: " \2713"; color: var(--amber); }

.listen { background: var(--plum); border: 1px solid var(--line); border-radius: 24px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.quote { font-family: var(--font-display); font-style: italic; font-size: 30px; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; font-variation-settings: "SOFT" 100, "WONK" 1; }
.play { font: inherit; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--amber-ink); border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; }

.gifts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gifts legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--oat-dim); }
.gift { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; background: var(--plum); border: 2px solid var(--line); border-radius: 18px; padding: 10px 14px 10px 10px; cursor: pointer; }
.gift input { position: absolute; opacity: 0; pointer-events: none; }
.gift:has(input:checked) { border-color: var(--amber); background: var(--plum-2); }
.gift:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 3px; }
.gift img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.gift-text { min-width: 0; display: flex; flex-direction: column; }
.gift-name { font-weight: 700; }
.gift-how { font-size: 14px; color: var(--oat-dim); }
.gift-price { font-family: var(--font-display); font-size: 20px; color: var(--amber); font-variant-numeric: tabular-nums; }
.end-note { background: rgba(243, 181, 98, 0.14); border: 1px solid rgba(243, 181, 98, 0.4); border-radius: 14px; padding: 14px 16px; font-size: 16px; }

/* Wider screens */
@media (min-width: 760px) {
  body { font-size: 19px; }
  section { padding: 96px 0; }
  .wrap { padding: 0 36px; }
  .hero { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; max-width: var(--wrap); margin: 0 auto; padding: 110px 36px 64px; }
  .hero-photo { order: 2; }
  .hero-photo img, .hero-photo video { height: auto; aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 120px -20px rgba(243, 181, 98, 0.25); }
  .hero-photo::after { display: none; }
  .hero-copy { margin-top: 0; padding: 0; }
  .hero-copy.wrap { padding: 0; }
  .hero-cta { flex-direction: row; align-items: center; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .keeps { grid-template-columns: repeat(3, 1fr); }
  .fors { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .promises { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .promises li:nth-child(2) { border-top: 1px solid var(--line); }
  .split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .split .sec-head { position: sticky; top: 40px; }
  .stick { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave.live i { animation: none; }
  .btn, .say, .stick { transition: none; }
}

/* Family confirmation on the clip step */
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; cursor: pointer; background: var(--plum); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.agree input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--amber); cursor: pointer; }

/* Leave room for the sticky button under the footer on phones */
@media (max-width: 759px) { .foot { padding-bottom: 104px; } }

/* Keep button labels on one line beside the hero note on wide screens */
@media (min-width: 760px) { .hero-cta .btn { flex: none; white-space: nowrap; } }

/* ---------- Movement ---------- */

/* Floating lamp-lit dust */
.motes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.motes i { position: absolute; border-radius: 50%; background: var(--amber); opacity: 0; box-shadow: 0 0 8px rgba(243, 181, 98, 0.85); animation: mote 12s linear infinite; }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 0.75; } 80% { opacity: 0.45; } 100% { opacity: 0; transform: translate(var(--dx, 20px), -150px); } }

/* "In their voice" chip on the hero clip */
.voice-chip { position: absolute; left: 20px; bottom: 166px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(29, 18, 32, 0.66); border: 1px solid rgba(243, 181, 98, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8), 0 0 34px -10px rgba(243, 181, 98, 0.5); animation: bob 5s ease-in-out infinite; }
.voice-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 216px; }
.voice-text small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.voice-text em { font-size: 18px; white-space: nowrap; color: var(--oat); }
.wave.mini { height: 30px; gap: 3px; flex: none; }
.wave.mini i { width: 3px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Hero words rise in */
.hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-copy h1 em { animation: glow 4.5s ease-in-out infinite; }
@keyframes glow { 0%, 100% { text-shadow: 0 0 0 rgba(243, 181, 98, 0); } 50% { text-shadow: 0 0 26px rgba(243, 181, 98, 0.55); } }

/* Soft ring breathing round the main button */
.hero-cta .btn-amber, .close .btn-amber { position: relative; }
.hero-cta .btn-amber::after, .close .btn-amber::after { content: ""; position: absolute; inset: -2px; border-radius: 999px; border: 2px solid var(--amber); opacity: 0; pointer-events: none; animation: halo 3s ease-out infinite; }
@keyframes halo { 0% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.1, 1.4); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217, 133, 144, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(217, 133, 144, 0); } }

/* Drifting messages */
.drift { overflow: hidden; padding: 18px 0 30px; display: flex; flex-direction: column; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.drift-row { display: flex; }
.drift-track { display: flex; flex: none; align-items: center; white-space: nowrap; }
.drift-track span { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 5.6vw, 30px); font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--oat); padding: 0 6px; }
.drift-track span::after { content: "\2665"; font-style: normal; font-size: 0.5em; color: var(--rose); margin: 0 0 0 22px; padding-right: 10px; vertical-align: middle; }
.drift-row.back .drift-track span { color: var(--oat-dim); opacity: 0.7; font-size: clamp(18px, 4.6vw, 24px); }
.js-motion .drift-track { animation: drift 58s linear infinite; }
.js-motion .drift-row.back .drift-track { animation-duration: 74s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

/* A slow lamp glow in the plum bands */
.band { position: relative; }
.band::before { content: ""; position: absolute; top: -140px; right: 0; width: min(560px, 92vw); height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 181, 98, 0.11), transparent 66%); pointer-events: none; animation: lamp 9s ease-in-out infinite alternate; }
main { overflow-x: clip; }
.band > .wrap { position: relative; }
@keyframes lamp { from { opacity: 0.45; transform: translateY(0); } to { opacity: 1; transform: translateY(30px); } }

.sub-head { display: flex; flex-direction: column; gap: 10px; margin: 56px 0 24px; }
.sub-title { font-size: clamp(25px, 5.8vw, 34px); line-height: 1.12; }

/* Keepsakes: swipe along on phones */
.keeps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.keeps-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background 0.3s ease, transform 0.3s ease; }
.keeps-dots i.on { background: var(--amber); transform: scale(1.35); }
@media (max-width: 759px) {
  .keeps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .keeps::-webkit-scrollbar { display: none; }
  .keep { flex: 0 0 80%; scroll-snap-align: center; }
}
@media (min-width: 760px) {
  .keeps-dots { display: none; }
  .keep-media video, .keep-media img { aspect-ratio: 5 / 4; }
  .voice-chip { left: -30px; bottom: 44px; }
  .hero-photo::before { content: ""; position: absolute; inset: -12% -5%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(243, 181, 98, 0.2), transparent 62%); animation: lamp 7s ease-in-out infinite alternate; }
  .close { padding: 170px 0 150px; }
  .close-bg { object-position: 50% 50%; }
}

/* Things fade up as you scroll to them */
.js-motion .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js-motion .rv.in { opacity: 1; transform: none; }
.steps li::before { transition: box-shadow 0.6s ease 0.4s; }
.js-motion .steps li::before { box-shadow: 0 0 18px -2px rgba(243, 181, 98, 0.45); }

@media (prefers-reduced-motion: reduce) {
  .motes, .hero-photo::before { display: none; }
  .voice-chip, .hero-copy > *, .hero-copy h1 em, .band::before, .keep .how::before, .drift-track { animation: none !important; }
  .hero-cta .btn-amber::after, .close .btn-amber::after { display: none; }
  .keep-media video { transition: none; }
}

/* ---------- The film in the first screen ---------- */
/* Six short silent clips of people hearing a voice from their keepsake fade one into the next,
   and the name in the headline and the words in the chip change with them. */
.hero-photo.film { height: min(133vw, 640px); overflow: hidden; background: var(--plum); }
.hero-photo.film .film-v { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.9s ease; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.hero-photo.film .film-v.on { opacity: 1; }
.hero-photo.film::after { z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(29, 18, 32, 0.5) 0%, rgba(29, 18, 32, 0) 15%, rgba(29, 18, 32, 0) 54%, rgba(29, 18, 32, 0.6) 76%, var(--night) 98%); }
.hero-copy { margin-top: -120px; gap: 14px; }
h1.film-h { font-size: clamp(46px, 12.6vw, 80px); line-height: 0.98; text-shadow: 0 2px 26px rgba(29, 18, 32, 0.85); }
h1.film-h span { display: block; white-space: nowrap; }
h1.film-h em { display: inline-block; transition: opacity 0.32s ease, transform 0.32s ease; }
h1.film-h em.out { opacity: 0; transform: translateY(0.16em); }
.hero-copy .voice-chip { position: static; align-self: flex-start; animation: none; padding: 8px 18px 8px 14px; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr auto; }
  .hero-photo.film { height: min(70vh, 640px); aspect-ratio: 3 / 4; border-radius: 28px; overflow: visible; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 120px -20px rgba(243, 181, 98, 0.25); border: 1px solid rgba(243, 181, 98, 0.28); }
  .hero-photo.film .film-v { border-radius: 28px; }
  .hero-photo.film::after { display: block; border-radius: 28px; background: linear-gradient(180deg, rgba(29, 18, 32, 0) 70%, rgba(29, 18, 32, 0.4)); }
  .hero-copy { margin-top: 0; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo.film .film-v, h1.film-h em { transition: none; }
}

/* The plain promise under the film headline */
.film-sub { font-family: var(--font-display); font-size: 21px; line-height: 1.22; color: var(--oat); max-width: 20em; text-shadow: 0 2px 18px rgba(29,18,32,.8); margin: 0; }
.hero-lede { font-size: 17px; }
@media (min-width: 760px) { .film-sub { font-size: 27px; } .hero-lede { font-size: 19px; } }

/* Homepage: scan the example code */
.try-scan { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-top: 30px; padding: 26px 20px;
  background: var(--plum); border: 1px solid var(--line); border-radius: 24px; }
.try-scan img { width: 148px; height: 148px; border-radius: 14px; box-shadow: 0 0 0 6px rgba(243, 181, 98, 0.16), 0 18px 40px -18px rgba(243, 181, 98, 0.6); }
.try-text { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.try-text p:not(.eyebrow) { color: var(--oat-dim); font-size: 17px; max-width: 30em; }
.try-text .btn { text-decoration: none; margin-top: 4px; }
@media (min-width: 760px) {
  .try-scan { flex-direction: row; text-align: left; gap: 34px; padding: 30px 36px; }
  .try-text { align-items: flex-start; }
}
.foot a { color: var(--oat); text-underline-offset: 3px; }

/* Order steps: the code keepsakes and the engraving picture */
.gifts-sub { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--oat-dim); }
.gift-soon { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--oat-dim); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.personal { display: flex; flex-direction: column; gap: 14px; background: var(--plum); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 16px; }
.personal h3 { font-size: 24px; }
.proof { border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #4a2f4c, #24152a 70%); border: 1px solid var(--line); }
.proof svg { display: block; width: 100%; height: auto; }
.pfield { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.pfield small { font-weight: 400; color: var(--oat-dim); font-size: 14px; }
.pfield input { font: inherit; font-weight: 400; font-size: 18px; color: var(--oat); background: var(--night); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
.pfield input::placeholder { color: var(--oat-dim); opacity: 0.55; }
.pfield input:focus { outline: none; border-color: var(--amber); }
.personal .hint { text-align: left; }

/* Plain reading pages: privacy and terms */
.doc-top { padding: 18px 0 0; }
.doc-top .wrap { display: flex; align-items: center; justify-content: space-between; }
.doc { max-width: 720px; margin: 0 auto; padding: 34px 20px 64px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(38px, 9vw, 56px); }
.doc h2 { font-size: clamp(24px, 5.6vw, 30px); margin-top: 22px; }
.doc p, .doc li { color: var(--oat-dim); font-size: 17px; }
.doc strong { color: var(--oat); font-weight: 600; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc a { color: var(--amber); text-underline-offset: 3px; }
.doc .updated { font-size: 14px; }
.doc .short { background: var(--plum); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.doc .short li { color: var(--oat); }
