/* ============================================================
   AFTER THE BEEP — vintage telephone rental
   Aesthetic: aged paper, oxblood + brass, soft analog warmth
   ============================================================ */

:root {
  /* paper / ink */
  --paper:       #f3e7d0;
  --paper-deep:  #ead9bb;
  --paper-card:  #f7eedc;
  --ink:         #2a201a;
  --ink-soft:    #6a5642;
  --ink-faint:   #9c8669;

  /* accents */
  --oxblood:     #97312b;
  --oxblood-dk:  #6f211d;
  --brass:       #b9883d;
  --brass-lt:    #d6ac63;
  --teal:        #2f5a52;

  /* type */
  --display: "Fraunces", Georgia, serif;
  --body:    "Spectral", Georgia, serif;
  --mono:    "Courier Prime", "Courier New", monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* layered warmth + depth */
  background-image:
    radial-gradient(120% 80% at 78% -8%, rgba(214,172,99,.34), transparent 55%),
    radial-gradient(95% 70% at 8% 4%, rgba(151,49,43,.13), transparent 52%),
    radial-gradient(120% 120% at 50% 120%, rgba(47,90,82,.16), transparent 60%);
  background-attachment: fixed;
}

/* ---------- atmosphere overlays ---------- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  mix-blend-mode: multiply;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 220px rgba(42,32,26,.38), inset 0 0 60px rgba(42,32,26,.18);
}

main, .nav, .marquee, .footer { position: relative; z-index: 2; }

/* ---------- type rhythm ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.02; margin: 0; }
em { font-style: italic; }
a { color: inherit; }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  color: var(--oxblood);
  margin: 0 0 1.1rem;
}

::selection { background: var(--oxblood); color: var(--paper); }

/* =================== NAV =================== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; max-width: var(--maxw); margin: 0 auto;
  padding: 1.6rem clamp(1.2rem, 4vw, 2.4rem);
}
.brand { display: grid; grid-template-columns: auto auto; align-items: center;
  column-gap: .6rem; text-decoration: none; }
.brand-mark {
  grid-row: 1 / 3; font-size: 2.2rem; color: var(--oxblood);
  line-height: 1; transform: translateY(-2px);
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; }
.brand-sub { font-family: var(--mono); font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.1rem); }
.nav-links a { text-decoration: none; font-size: .96rem; letter-spacing: .01em;
  position: relative; padding: .2rem 0; transition: color .25s; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--oxblood); transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--oxblood); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1.5px solid var(--ink); border-radius: 2px; padding: .5rem 1.05rem !important;
  background: transparent; transition: all .28s var(--ease);
}
.nav-cta:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }

/* =================== HERO =================== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 2.4rem) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow.reveal { color: var(--oxblood); }
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.015em;
  margin-bottom: 1.6rem;
}
.hero h1 em { color: var(--oxblood); font-weight: 500; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft);
  max-width: 36ch; margin: 0 0 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-foot { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em;
  color: var(--ink-faint); margin-top: 1.8rem; display: flex; align-items: center; gap: .55rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(47,90,82,.5); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,90,82,.5); }
  70% { box-shadow: 0 0 0 10px rgba(47,90,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,90,82,0); }
}

/* ---------- buttons ---------- */
.btn { font-family: var(--body); font-size: 1.02rem; text-decoration: none;
  cursor: pointer; border-radius: 2px; transition: all .28s var(--ease);
  display: inline-block; }
.btn-primary {
  background: var(--oxblood); color: var(--paper-card);
  padding: .85rem 1.7rem; border: 1.5px solid var(--oxblood);
  box-shadow: 0 8px 0 -2px var(--oxblood-dk), 0 14px 24px -10px rgba(111,33,29,.6);
  letter-spacing: .01em;
}
.btn-primary:hover { transform: translateY(2px);
  box-shadow: 0 6px 0 -2px var(--oxblood-dk), 0 10px 18px -10px rgba(111,33,29,.6); }
.btn-primary:active { transform: translateY(6px);
  box-shadow: 0 2px 0 -2px var(--oxblood-dk); }
.btn-ghost { color: var(--ink); padding: .85rem .4rem; border-bottom: 1.5px solid transparent; }
.btn-ghost:hover { color: var(--oxblood); border-color: var(--oxblood); }
.btn-block { width: 100%; text-align: center; margin-top: .4rem; border: none; }

/* ---------- CSS rotary phone ---------- */
.hero-phone { position: relative; display: grid; place-items: center;
  min-height: 360px; }
.phone-glow {
  position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,172,99,.55), transparent 62%);
  filter: blur(8px);
}
.rotary {
  --size: clamp(260px, 30vw, 360px);
  position: relative; width: var(--size); height: var(--size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #b8403a, #7a221d 62%, #571614 100%);
  box-shadow:
    inset 0 6px 18px rgba(255,200,160,.32),
    inset 0 -14px 30px rgba(0,0,0,.45),
    0 30px 60px -18px rgba(60,18,15,.7),
    0 6px 0 rgba(0,0,0,.18);
  animation: rot-in 1.1s var(--ease) .3s both;
}
@keyframes rot-in { from { opacity: 0; transform: rotate(-40deg) scale(.85); }
  to { opacity: 1; transform: rotate(0) scale(1); } }

.rotary-ring {
  position: absolute; inset: 10%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(247,238,220,.0) 38%, rgba(247,238,220,.12) 39%);
  border: 2px solid rgba(255,220,180,.25);
  transition: transform 1.1s var(--ease);
}
.hero-phone:hover .rotary-ring { transform: rotate(300deg); }

/* finger holes positioned by rotation */
.hole {
  position: absolute; top: 50%; left: 50%; width: 17%; height: 17%;
  margin: -8.5% 0 0 -8.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a0f0d, #1c0706);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.7), inset 0 -2px 4px rgba(255,180,150,.15);
  /* place around a circle: each hole rotated, pushed out, then number un-rotated */
  transform: rotate(calc(var(--i) * 30deg - 28deg)) translate(0, calc(var(--size) * -0.34));
  display: grid; place-items: center;
}
.hole b {
  font-family: var(--mono); font-weight: 700; font-size: .82rem; color: var(--brass-lt);
  transform: rotate(calc(var(--i) * -30deg + 28deg));
  text-shadow: 0 1px 1px rgba(0,0,0,.6);
}
.finger-stop {
  position: absolute; top: 50%; right: -2%; width: 13%; height: 7%;
  margin-top: -3.5%;
  background: linear-gradient(#e8c98a, #b9883d);
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0,0,0,.4), inset 0 1px 1px rgba(255,255,255,.5);
  transform: rotate(-18deg);
}
.rotary-center {
  position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f7eedc, #d9c39a 70%, #b9883d 100%);
  display: grid; place-items: center; text-align: center;
  box-shadow: inset 0 2px 5px rgba(255,255,255,.6), inset 0 -4px 10px rgba(120,80,30,.5),
    0 4px 10px rgba(0,0,0,.35);
}
.rotary-center span { font-family: var(--display); font-weight: 700; font-size: clamp(.7rem,1.3vw,.95rem);
  letter-spacing: .14em; color: var(--oxblood-dk); line-height: 1.05; }

.cord { position: absolute; bottom: -6%; left: -14%; width: 60%; height: 38%;
  opacity: .8; }
.cord svg { width: 100%; height: 100%; fill: none;
  stroke: var(--ink); stroke-width: 7; stroke-linecap: round; opacity: .5; }

/* =================== MARQUEE =================== */
.marquee {
  border-top: 1.5px solid rgba(42,32,26,.25);
  border-bottom: 1.5px solid rgba(42,32,26,.25);
  background: rgba(151,49,43,.06);
  overflow: hidden; padding: .9rem 0;
}
.marquee-track { display: flex; gap: 2.2rem; white-space: nowrap; width: max-content;
  animation: scroll 34s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.6rem;
  color: var(--ink); opacity: .85; }
.marquee-track .star { color: var(--brass); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =================== SECTIONS shared =================== */
section.how, section.scenes, section.keepsake, section.book, section.quote {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 2.4rem);
}
.section-head { max-width: 30ch; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.01em; }
.section-head h2 em { color: var(--oxblood); }
.section-lede { color: var(--ink-soft); margin: 1.1rem 0 0; max-width: 46ch; font-size: 1.1rem; }

/* =================== STEPS =================== */
.steps { list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem);
  counter-reset: none; }
.step { position: relative; padding-top: 2.6rem;
  border-top: 2px solid var(--ink); }
.step-no { font-family: var(--mono); font-size: .9rem; color: var(--oxblood);
  position: absolute; top: .7rem; left: 0; letter-spacing: .1em; }
.step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* =================== SCENES =================== */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem); }
.scene-card {
  position: relative; background: var(--paper-card);
  border: 1.5px solid rgba(42,32,26,.25); border-radius: 3px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 4px 6px 0 -1px rgba(42,32,26,.12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.scene-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0, rgba(185,136,61,.16), transparent 45%);
}
.scene-card:hover { transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 10px 16px 0 -2px rgba(151,49,43,.18);
  border-color: var(--oxblood); }
.scene-card h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.scene-card p { color: var(--ink-soft); margin: 0 0 1.3rem; }
.scene-tag { position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--oxblood); color: var(--paper-card); padding: .3rem .6rem; border-radius: 2px;
  transform: rotate(2deg); }
.scene-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.scene-meta li { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--ink); border: 1px solid rgba(42,32,26,.3); border-radius: 20px;
  padding: .25rem .7rem; }
.scenes-note { text-align: center; margin: 2.6rem 0 0; font-style: italic; color: var(--ink-soft); }
.scenes-note a { color: var(--oxblood); text-underline-offset: 3px; }

/* =================== KEEPSAKE =================== */
.keepsake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.keep-card {
  background: var(--paper-card); border: 1.5px solid rgba(42,32,26,.25);
  border-radius: 3px; padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 4px 6px 0 -1px rgba(42,32,26,.12);
  display: flex; flex-direction: column;
}
.keep-feature { background: linear-gradient(180deg, #2b211b, #221a14);
  color: var(--paper); border-color: var(--ink); }
.keep-feature p { color: rgba(243,231,208,.78); }
.keep-feature h3 { color: var(--paper); }
.keep-card h3 { font-size: 1.85rem; margin: 1.4rem 0 .7rem; }
.keep-card p { color: var(--ink-soft); margin: 0 0 1.3rem; }
.keep-icon { height: 110px; display: grid; place-items: center; }

.keep-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.keep-list li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .98rem; }
.keep-list li::before { content: "▸"; position: absolute; left: 0; color: var(--brass); }
.keep-feature .keep-list li::before { color: var(--brass-lt); }

.keep-flag { margin-top: auto; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); }
.keep-flag--gold { color: var(--brass-lt); }

/* folder + waves icon */
.folder { width: 88px; height: 64px; background: var(--brass); border-radius: 4px 4px 6px 6px;
  position: relative; box-shadow: inset 0 -8px 14px rgba(0,0,0,.18); }
.folder::before { content: ""; position: absolute; top: -9px; left: 6px; width: 40%; height: 12px;
  background: var(--brass); border-radius: 4px 8px 0 0; }
.folder .wave { position: absolute; bottom: 12px; width: 6px; background: var(--paper-card);
  border-radius: 3px; left: 50%; }
.folder .wave:nth-child(1) { height: 16px; margin-left: -16px; animation: eq 1.1s ease-in-out infinite; }
.folder .wave:nth-child(2) { height: 30px; margin-left: -3px; animation: eq 1.1s ease-in-out infinite .2s; }
.folder .wave:nth-child(3) { height: 20px; margin-left: 10px; animation: eq 1.1s ease-in-out infinite .4s; }
@keyframes eq { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* cassette icon */
.cassette { width: 150px; height: 96px; background: #1a1410; border: 2px solid #3a2c22;
  border-radius: 6px; position: relative; box-shadow: inset 0 2px 6px rgba(255,255,255,.08); }
.cassette-label { position: absolute; top: 8px; left: 8px; right: 8px; height: 30px;
  background: var(--paper-card); border-radius: 2px; font-family: var(--mono); font-size: .5rem;
  color: var(--oxblood); display: grid; place-items: center; letter-spacing: .08em; }
.cassette-window { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 24px; background: #0c0908; border-radius: 4px;
  box-shadow: inset 0 0 8px rgba(0,0,0,.9); }
.reel { position: absolute; bottom: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, #2a211b 30%, var(--brass) 32%, #2a211b 40%, #5a4631 42%);
  border: 2px solid #6b5436; animation: spin 3s linear infinite; }
.reel-l { left: 30px; } .reel-r { right: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =================== TESTIMONIALS =================== */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem); }
.q-card { position: relative; display: flex; flex-direction: column;
  background: var(--paper-card); border: 1.5px solid rgba(42,32,26,.25); border-radius: 3px;
  padding: 2.6rem 1.6rem 1.6rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 4px 6px 0 -1px rgba(42,32,26,.12);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.q-card:hover { transform: translateY(-5px); border-color: var(--oxblood);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 8px 12px 0 -2px rgba(151,49,43,.16); }
.q-mark { position: absolute; top: .2rem; left: 1.1rem; font-family: var(--display); font-weight: 700;
  font-size: 3.6rem; line-height: 1; color: var(--oxblood); opacity: .9; }
.q-card blockquote { margin: 0 0 1.4rem; font-family: var(--display); font-style: italic;
  font-weight: 400; font-size: 1.3rem; line-height: 1.36; color: var(--ink); }
.q-card blockquote em { color: var(--oxblood); font-style: italic; }
.q-card figcaption { margin-top: auto; font-family: var(--mono); font-size: .82rem;
  color: var(--ink); letter-spacing: .02em; }
.q-card figcaption span { display: block; margin-top: .25rem; font-size: .66rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* =================== BOOK =================== */
.book { }
.book-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(160deg, #2b211b, #1f1813);
  color: var(--paper); border-radius: 6px; padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 30px 60px -28px rgba(31,24,19,.8); position: relative; overflow: hidden; }
.book-inner::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0, rgba(185,136,61,.2), transparent 55%); }
.book-copy .eyebrow { color: var(--brass-lt); }
.book-copy h2 { color: var(--paper); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.book-copy > p { color: rgba(243,231,208,.78); max-width: 40ch; }
.book-points { list-style: none; padding: 0; margin: 1.8rem 0; }
.book-points li { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem;
  color: rgba(243,231,208,.9); }
.book-points li span { color: var(--brass-lt); font-size: 1.1rem; width: 1.4rem; text-align: center; }
.book-call { font-family: var(--mono); font-size: .85rem; color: rgba(243,231,208,.65);
  letter-spacing: .04em; }
.book-call a { color: var(--brass-lt); text-decoration: none; border-bottom: 1px dotted; }

.book-form { position: relative; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(243,231,208,.6); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(243,231,208,.06); border: 1.5px solid rgba(243,231,208,.2);
  border-radius: 3px; padding: .7rem .8rem; color: var(--paper); font-family: var(--body);
  font-size: 1rem; transition: border-color .25s, background .25s; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,231,208,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass-lt); background: rgba(243,231,208,.1); }
.field select option { background: #221a14; color: var(--paper); }
.form-note { font-family: var(--mono); font-size: .68rem; color: rgba(243,231,208,.5);
  letter-spacing: .04em; margin: .9rem 0 0; text-align: center; }
.form-note.sent { color: var(--brass-lt); }

/* =================== FOOTER =================== */
.footer { border-top: 1.5px solid rgba(42,32,26,.25); margin-top: 2rem;
  background: rgba(151,49,43,.05); }
.footer-top, .footer-bottom { max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.4rem); }
.footer-top { padding-top: 3rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: 1rem 2rem; justify-content: space-between; }
.brand--footer .brand-mark { font-size: 1.8rem; }
.footer-tag { font-family: var(--display); font-style: italic; font-size: 1.3rem; margin: 0;
  color: var(--ink-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: center; padding-bottom: 2.4rem; border-top: 1px solid rgba(42,32,26,.15);
  padding-top: 1.4rem; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: .92rem; transition: color .25s; }
.footer-links a:hover { color: var(--oxblood); }
.copyright { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em;
  color: var(--ink-faint); margin: 0; }

/* =================== REVEAL ANIMATIONS =================== */
.reveal { opacity: 0; transform: translateY(22px);
  animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.reveal-phone { opacity: 0; animation: fade 1s ease forwards .25s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

[data-reveal] { opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-phone { order: -1; min-height: 300px; margin-bottom: 1rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
  .nav-links { gap: 1rem; }
  .brand-sub { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { flex-wrap: wrap; gap: 1rem; }
  .nav-links a:not(.nav-cta):not(.nav-login) { display: none; }
  .scene-grid, .keepsake-grid, .book-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important;
    transition-duration: .001s !important; scroll-behavior: auto; }
  .reveal, [data-reveal] { opacity: 1 !important; transform: none !important; }
}
