/* Rmemba home page, built from the owner's Figma design ("r-memba landing Page", frame 44:1183, 1440px wide).
   Measurements are the design's, in rem (16px). The hero is a container: its parts are placed in cqi so the
   composition scales as one picture; below 48rem it becomes a stack. Reviewed with apple-look before building:
   coral buttons carry Night text (5.2:1), nothing under 12px, 44px targets, motion only with no-preference. */
@font-face { font-family: 'Instrument Sans'; src: url(/fonts/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
:root {
  --night: #181913; --ink: #292B20; --olive: #51563F; --sage: #C9D59C; --coral: #D1472B; --coral-hover: #BD3D23; --coral-text: #D1472B;
  --stone: #D8CFC4; --stone-light: #EFEBE6; --stone-lightest: #F6F5F3; --paper: #FAFAFA; --white: #FFFFFF;
  --pad: clamp(1rem, 4vw, 2rem); --wrap: 68.875rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
@media (max-width: 60rem) { html { scroll-padding-top: 9.5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--night); font: 400 1rem/1.5 'Instrument Sans', -apple-system, system-ui, sans-serif; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }   /* draw type like Figma does; without it light text on dark looks a weight heavier on Macs */
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.2; letter-spacing: -.01em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--night); color: var(--paper); padding: .6rem 1rem; border-radius: .5rem; z-index: 50; }
.skip:focus { top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.muted { color: rgba(24, 25, 19, .72); }

/* buttons: square-ish, 44px tall; coral and sage carry Night text */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .625rem 1rem; border-radius: 3px; text-decoration: none; font-weight: 500; line-height: 1.5; text-align: center; transition: background-color .15s, box-shadow .15s; }
.btn.coral { background: var(--coral); color: var(--white); font-weight: 700; }
.btn.coral:hover { background: var(--coral-hover); }
.btn.big { min-height: 3.25rem; padding: .75rem 1.75rem; font-size: 1.0625rem; }
.btn:active { scale: .97; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .15s, box-shadow .15s, scale .12s; } }
.btn.sage { background: var(--sage); color: var(--night); }
.btn.sage:hover { background: #D6E0AF; }
.btn.ink { background: var(--ink); color: var(--paper); width: 100%; font-size: .9375rem; }
.btn.ink:hover { background: var(--night); }
.btn.ink.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ink.line:hover { background: rgba(41, 43, 32, .06); }
.btn.small { font-size: .875rem; font-weight: 600; padding: .5rem .875rem; }

/* header: nav pill · wordmark · one action */
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.25rem clamp(1rem, 3.8vw, 3.4375rem) .75rem; }
/* The glass sits on its own layer, so the header itself is not a "backdrop root" and the phone dropdown can blur the page. */
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Glass: mostly clear, a light sheen at the top edge, blur and extra saturation for what passes beneath. */
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .28));
  -webkit-backdrop-filter: blur(12px) saturate(1.9) brightness(1.05); backdrop-filter: blur(12px) saturate(1.9) brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(255, 255, 255, .45);
  transition: box-shadow .3s, background-color .3s; }
.top.refract::before { backdrop-filter: url(#glass) blur(7px) saturate(1.9) brightness(1.05); }
.top.scrolled::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 0 rgba(255, 255, 255, .45), 0 10px 30px -18px rgba(24, 25, 19, .35); }
.top.on-dark::before { background: linear-gradient(180deg, rgba(24, 25, 19, .5), rgba(24, 25, 19, .3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(255, 255, 255, .08); }
.top.on-dark .brand img { filter: brightness(0) invert(1); }
.top.on-dark .menu { background: rgba(255, 255, 255, .12); color: var(--white); }
.top.on-dark .menu a:hover { background: rgba(255, 255, 255, .12); }
.brand img { transition: filter .3s; }
@media (prefers-reduced-transparency: reduce) { .top::before, .top.refract::before { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; } .top.on-dark::before { background: var(--night); } }
@media (prefers-contrast: more) { .top::before { background: rgba(255, 255, 255, .92); } .top.on-dark::before { background: rgba(24, 25, 19, .92); } }
.menu { justify-self: start; display: flex; gap: .1875rem; padding: .3125rem .625rem; background: rgba(255, 255, 255, .62); border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 4px 12.9px -4px rgba(0, 0, 0, 0); transition: box-shadow .3s ease, background-color .3s, color .3s; }
.top.scrolled .menu { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 4px 12.9px -4px rgba(0, 0, 0, .15); }
.top.on-dark .menu { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.menu a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .625rem; font-size: .875rem; text-decoration: none; white-space: nowrap; border-radius: 6px; }
.menu a:hover { background: var(--stone-lightest); }
.brand { justify-self: center; display: inline-flex; min-height: 2.75rem; align-items: center; }
.brand img { width: 9.55rem; height: auto; }
.top .btn { justify-self: end; }
.burger { display: none; }
@media (max-width: 60rem) {
  /* Owner's phone design (Figma 51:1604): wordmark left; Get started and the hamburger right; links in a glass dropdown. */
  .top { grid-template-columns: 1fr auto auto; gap: .5rem; padding: max(.875rem, env(safe-area-inset-top)) .9375rem .625rem; }
  .brand { justify-self: start; }
  .burger { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; }
  /* The design's hamburger (img/hamburger.svg: three left-aligned lines, 100%, 85% and 50% long, 2.44px thick) drawn
     as three bars so it can turn into an X when the menu is open. Colour follows the header (white over dark). */
  .bars { position: relative; width: 1.789rem; height: 1.218rem; color: #000; filter: drop-shadow(0 4.87px 4.87px rgba(0, 0, 0, .25)); transition: color .3s; }
  .top.on-dark .bars { color: var(--white); }
  .bars i { position: absolute; left: 0; height: 2.44px; background: currentColor; }
  .bars i:nth-child(1) { top: 0; width: 100%; }
  .bars i:nth-child(2) { top: calc(50% - 1.22px); width: 84.65%; }
  .bars i:nth-child(3) { bottom: 0; width: 50%; }
  .top.open .bars i:nth-child(1) { width: 100%; translate: 0 calc(.609rem - 1.22px); rotate: 45deg; }
  .top.open .bars i:nth-child(2) { width: 0; opacity: 0; }
  .top.open .bars i:nth-child(3) { width: 100%; translate: 0 calc(-.609rem + 1.22px); rotate: -45deg; }
  .burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

  .menu { position: absolute; top: calc(100% + .25rem); left: .6875rem; right: .6875rem; justify-self: stretch; flex-direction: column; align-items: flex-start; gap: .5rem; padding: .9375rem .625rem;
    border-radius: 10px; background: rgba(255, 255, 255, .1); color: #000;
    -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 4px 12.9px -4px rgba(0, 0, 0, .15);
    visibility: hidden; opacity: 0; transition: opacity .2s, translate .2s, visibility 0s .2s; }
  .top.scrolled .menu, .top.on-dark .menu { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 4px 12.9px -4px rgba(0, 0, 0, .15); background: rgba(255, 255, 255, .1); color: #000; }
  .top.open .menu { visibility: visible; opacity: 1; transition: opacity .2s, translate .25s cubic-bezier(.2, .8, .2, 1); }
  .menu a, .top.on-dark .menu a { position: relative; min-height: 2.25rem; padding: 0 .625rem; font-size: .875rem; border-radius: 30px; background: var(--paper); color: #000; }
  .menu a::before { content: ''; position: absolute; inset: -.25rem 0; }
  /* Header button at the design's size (12px, ~35px tall); an invisible 44px tap area keeps it easy to hit. */
  .top .btn { position: relative; min-height: 0; padding: .625rem; font-size: .75rem; line-height: normal; }
  .top .btn::before { content: ''; position: absolute; inset: -.3125rem 0; }   /* 44px tap target around the 36px pill */
  .menu a:hover, .top.on-dark .menu a:hover { background: var(--white); }
}
@media (max-width: 60rem) and (prefers-reduced-motion: no-preference) {
  .bars i { transition: translate .3s cubic-bezier(.3, .7, .2, 1.15), rotate .3s cubic-bezier(.3, .7, .2, 1.15), width .25s ease, opacity .2s; }
  .menu { translate: 0 -.5rem; }
  .top.open .menu { translate: 0 0; }
  .menu a { opacity: 0; translate: 0 -.375rem; transition: opacity .2s, translate .25s cubic-bezier(.2, .8, .2, 1); }
  .top.open .menu a { opacity: 1; translate: 0 0; }
  .top.open .menu a:nth-child(2) { transition-delay: .03s; } .top.open .menu a:nth-child(3) { transition-delay: .06s; }
  .top.open .menu a:nth-child(4) { transition-delay: .09s; } .top.open .menu a:nth-child(5) { transition-delay: .12s; }
}
@media (max-width: 60rem) and (prefers-reduced-transparency: reduce) { .menu, .top.scrolled .menu, .top.on-dark .menu { background: var(--stone-light); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 60rem) and (prefers-contrast: more) { .menu, .top.scrolled .menu, .top.on-dark .menu { background: rgba(255, 255, 255, .92); } .menu a { box-shadow: inset 0 0 0 1px #000; } }

/* hero: one composed picture */
.hero { position: relative; width: min(100% - 2 * var(--pad), 70.375rem); margin: .5rem auto 0; container-type: inline-size; aspect-ratio: 1126 / 614.6; }
.hero-title { font-weight: 600; letter-spacing: -.02em; }
.w-mem { position: absolute; inset: 0 0 auto; display: block; text-align: center; font-size: 19.9cqi; line-height: 1.07; color: var(--sage); transform: translateX(1.06cqi); }
.w-rec, .w-rt { position: absolute; top: 19.2cqi; font-size: 5.33cqi; font-weight: 500; line-height: 1.1; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.w-rec { left: 3.55cqi; }
.w-rt { right: 3.73cqi; }
.hero-shot { position: absolute; z-index: 1; left: 28.28cqi; top: 10.16cqi; width: 49.12cqi; aspect-ratio: 553.14 / 517.98; margin: 0; }
/* The photo is a JPEG; its cut-out shape comes from a small alpha mask (a transparent PNG photo would be ~1 MB). */
.hero-shot .shot { width: 100%; height: 100%; object-fit: cover; -webkit-mask: url(/img/hero-mask.png) 0 0 / 100% 100% no-repeat; mask: url(/img/hero-mask.png) 0 0 / 100% 100% no-repeat; }
.hero-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 68.75%, rgba(255, 255, 255, .569) 87.5%, rgba(255, 255, 255, .768) 93.27%, #fff 100%); pointer-events: none; }
.hero-shot::before { content: ''; position: absolute; z-index: 1; left: -4.99%; width: 112.16%; top: 93.2%; height: 15.2%; background: #fff; filter: blur(25.8px); pointer-events: none; }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; white-space: nowrap; font-size: max(.75rem, .99cqi); line-height: 1; overflow: hidden; }
.chip-qr, .chip-filter { gap: .45em; padding: .63em .9em; border-radius: .45em; box-shadow: 0 4px 21.1px -10px rgba(0, 0, 0, .25); color: #000; }
.chip-qr { left: -.18%; top: 52.67%; background: var(--white); }
.chip-filter { left: 56%; top: 57.2%; background: #F7FBE5; }
.qr { width: 2.2em; height: 2.2em; margin: .25em; flex: none; }
.chip-filter img { width: 2.73em; height: auto; margin: .69em .12em .53em; }
.chip-upload { left: 40.97%; top: 72.8%; gap: .45em; padding: .64em .9em; border-radius: .45em; background: var(--coral); color: var(--white); font-weight: 600; font-size: max(.9375rem, 1.38cqi); box-shadow: 0 5.6px 29.54px -14px rgba(0, 0, 0, .25); }
.chip-upload img { width: 2.7em; height: 2.7em; border-radius: .27em; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: chip-in .45s cubic-bezier(.2, .8, .3, 1.15) both; }
  .chip-qr { animation-delay: .35s; } .chip-filter { animation-delay: .7s; } .chip-upload { animation-delay: 1.05s; }
  @keyframes chip-in { from { opacity: 0; transform: translateY(.5rem) scale(.92); } }
}
@media (max-width: 48rem) {
  .hero { aspect-ratio: auto; container-type: normal; width: 100%; margin-top: 1.5rem; }
  .hero-title { text-align: center; padding-inline: var(--pad); }
  .w-mem, .w-rec, .w-rt { position: static; transform: none; }
  .w-mem { font-size: clamp(3.25rem, 19vw, 10rem); line-height: 1; }
  .w-rec, .w-rt { font-size: clamp(1.375rem, 7vw, 2.5rem); display: inline; }
  .hero-shot { position: relative; left: auto; top: auto; width: min(100% - 2 * var(--pad), 30rem); margin: -1.5rem auto -.75rem; }
  .chip { font-size: .75rem; }
  .chip-upload { font-size: .9375rem; }
}

/* intro: the dark card that rises out of the hero */
.intro { position: relative; z-index: 2; }
.intro-card { position: relative; width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 22.7rem) 1fr; gap: 2.5rem; padding: 3.75rem 4.0625rem 3.125rem; background: var(--ink); color: var(--paper); border-radius: 30px 30px 0 0; overflow: clip;
  box-shadow: 0 -18px 39px rgba(238, 255, 153, .1), 0 -70px 70px rgba(238, 255, 153, .09), 0 -158px 95px rgba(238, 255, 153, .05), 0 -281px 113px rgba(238, 255, 153, .01); }
.intro-card h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; color: var(--paper); }
.intro-card p { font-size: 1.125rem; line-height: 1.5; }
.intro-act { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5625rem; margin-top: 1.875rem; }
.intro-act .fine { font-size: .75rem; line-height: 1.2; color: var(--white); }
.dip { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; height: 5.25rem; pointer-events: none; }
/* Small laptops and large tablets (769-1024px): two columns left the paragraph in a narrow 9-line column beside a
   2-line heading, with a hole under it. Stack instead: heading, a paragraph at a comfortable measure, then the
   button and price side by side. */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .intro-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 3.5rem 3.5rem 4rem; }
  .intro-card h2 { max-width: 30rem; text-wrap: balance; }
  .intro-card p { max-width: 36rem; }
  .intro-act { margin-top: 2rem; }
}
@media (max-width: 48rem) { .intro-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.5rem 1.5rem 3.5rem; border-radius: 24px 24px 0 0; } .dip { height: 3.5rem; } }
/* Phones: the owner's phone hero (Figma 51:1654). "memories" and the line under it, a taller photo with the three
   chips around her hands, and the dark card rising over the photo's faded foot, so the promise and the button are on
   the first screen of a 393 x 852 phone. On shorter phones the card simply follows below; nothing overlaps.
   Chip text stays at 12px or more (the design's 9px is below the site minimum). */
@media (max-width: 40rem) {
  .hero { margin-top: .5rem; }
  .hero-title { position: relative; z-index: 2; font-size: max(1.2225rem, 5vw); line-height: 1.1; }   /* the second line's height follows the small words */
  .w-mem { font-size: 18.6vw; line-height: 1.1; font-weight: 700; margin-bottom: -.125rem; }
  .w-rec, .w-rt { font-size: max(1.2225rem, 5vw); line-height: 1.1; }
  .hero-shot { width: 82.5%; max-width: 22rem; aspect-ratio: 324.222 / 391.299; margin: -1rem auto -3.2rem; }
  .hero-shot picture { display: contents; }
  .hero-shot .shot { -webkit-mask: none; mask: none; }
  .hero-shot::before { left: -6.5%; width: 113.8%; filter: blur(20.8px); }
  .chip-qr { left: 0; top: 52.4%; }
  .chip-filter { left: auto; right: -4.6%; top: 54.8%; }
  .chip-upload { left: 52.2%; top: 68.6%; font-size: .8125rem; }
  .chip-filter img { width: 2.4em; margin: .25em .1em; }
  .qr { width: 1.75em; height: 1.75em; margin: .1em; }

  /* The owner's light at the foot of the card (Figma 51:1715): pine that warms to olive, as if lit from the next
     section. The card ends at rgb(112 118 87); a short fade below carries that light into the white page. */
  .intro-card { width: 100%; gap: 1.875rem; padding: 1.875rem 1.25rem; border-radius: 30px 30px 0 0;
    background: linear-gradient(180deg, var(--ink) 0%, #2C2F23 70.517%, #4B4F3A 90.126%, #8A916C 107.06%); }
  .dip { display: none; }
  /* Eased fade (many stops, quick at first, long soft tail) so the light melts into white with no visible edge. */
  .intro::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 6.5rem; pointer-events: none;
    background: linear-gradient(180deg, rgb(112, 118, 87) 0%, rgba(118, 125, 91, .86) 8%, rgba(132, 140, 101, .7) 17%,
      rgba(150, 159, 114, .53) 27%, rgba(170, 180, 130, .37) 38%, rgba(188, 199, 145, .23) 50%, rgba(201, 213, 156, .13) 62%,
      rgba(201, 213, 156, .06) 75%, rgba(201, 213, 156, .02) 88%, rgba(201, 213, 156, 0) 100%); }
  .intro-card h2 { font-size: 1.5rem; }
  .intro-card p { font-size: 1rem; }
  .intro-act { flex-direction: column; align-items: flex-start; gap: 1.5625rem; margin-top: 1.5625rem; }
  .intro-act .btn { padding: .625rem .9375rem; line-height: 1.6; }
  main .pain { margin-top: 5rem; }   /* a little more room below the card's fading light (was 4rem) */
}
@media (prefers-reduced-transparency: reduce) { .intro-card { box-shadow: none; } }

/* the problem, then the curved band of guest photos */
.pain { display: grid; grid-template-columns: minmax(0, 39.625rem) minmax(0, 25.4375rem); justify-content: space-between; gap: 1.5rem 3rem; margin-top: 6.4375rem; }
.pain h2 { color: var(--olive); }
.pain p { margin-top: .875rem; }
.band-wrap { position: relative; margin-top: 5.1875rem; }
.band { height: 25.96vw; -webkit-mask: url(/img/mask.svg) 0 0 / 100% 100% no-repeat; mask: url(/img/mask.svg) 0 0 / 100% 100% no-repeat; overflow: hidden; }
.band-row { display: flex; width: max-content; height: 100%; }
.band-row > span { position: relative; flex: none; height: 100%; }
.band-row img { width: 100%; height: 100%; object-fit: cover; }
.b1 { width: 32.32vw; } .b2 { width: 17.6vw; } .b3 { width: 22.03vw; } .b4 { width: 39.89vw; } .b5 { width: 30vw; }
/* Moved by the page script: drifts on its own, drag to scrub (vertical swipes still scroll the page). */
.band { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.band.dragging { cursor: grabbing; }
.band-row { will-change: transform; }
.band img { -webkit-user-drag: none; pointer-events: none; }
.tag { position: absolute; padding: .625em; border-radius: 0 .9375em .9375em .9375em; font-size: max(.75rem, .81vw); line-height: 1.4; color: var(--white); white-space: nowrap; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.b1 .tag { left: 54.5%; top: 33.3%; }
@media (prefers-reduced-transparency: reduce) { .tag { background: rgba(24, 25, 19, .72); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 48rem) { .pain { grid-template-columns: 1fr; margin-top: 4rem; } .pain p { margin-top: 0; } .band-wrap { margin-top: 3rem; } .band { height: 44vw; } .b1 { width: 55vw; } .b2 { width: 30vw; } .b3 { width: 38vw; } .b4 { width: 68vw; } .b5 { width: 52vw; } }

/* how it works */
.how { margin-top: 1.0625rem; }
.how h2 { color: var(--olive); }
.steps { list-style: none; margin: 3.875rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem; }
.steps li { position: relative; }
.n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--sage); font-weight: 600; color: var(--night); }
.steps .link { position: absolute; left: 2.5rem; top: 1.25rem; width: calc(100% + 3.5rem - 2.5rem); height: 1px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 2.5rem; top: calc(1.25rem - 3.7px); width: 7.45px; height: 7.45px; background: var(--stone); }
.steps h3 { margin-top: 2.75rem; font-size: 1.25rem; font-weight: 500; color: var(--olive); }
.steps p { margin-top: .75rem; }
@media (max-width: 48rem) { .steps { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2rem; } .steps .link, .steps li::after { display: none; } .steps h3 { margin-top: 1rem; } }

/* we've got you covered: the dark room */
.covered { position: relative; z-index: 1; margin-top: 6.125rem; background: var(--night); color: var(--white); border-radius: 30px; padding: 9.5rem 0 11rem; }
.covered-in { width: min(100% - 2 * var(--pad), 71.875rem); margin-inline: auto; display: grid; grid-template-columns: 26.875rem minmax(0, 40.625rem); gap: 4.375rem; align-items: start; }
.stack-photos { position: relative; width: 26.875rem; aspect-ratio: 26.875 / 29.375; }   /* cards are placed in % so the stack can shrink */
.s { position: absolute; width: 77.5%; height: 79.7%; object-fit: cover; border-radius: 8.5px; transform: rotate(var(--r)); }
.s1 { left: 4.09%; top: 7.66%; --r: -5.36deg; object-position: 100% 50%; z-index: 1; }
.s3 { left: 19.35%; top: 14.98%; --r: 1.46deg; object-position: 11.5% 50%; z-index: 2; }
.s2 { left: 10.01%; top: 1.28%; --r: -2.09deg; z-index: 3; }
.s.front { z-index: 4; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55); }
.stack-photos { touch-action: pan-y; user-select: none; -webkit-user-select: none; }   /* swipe sideways to change photo; the page still scrolls */
.stack-photos .s { -webkit-user-drag: none; }
.s.front.back-home { transition: translate .3s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: no-preference) {
  .s.front { animation: to-front .45s cubic-bezier(.2, .8, .2, 1); }
  @keyframes to-front { from { opacity: .3; transform: translateY(1.25rem) rotate(calc(var(--r) - 3deg)) scale(.96); } }
}
.dots { display: flex; justify-content: center; margin-top: .5rem; }
.dots button { width: auto; height: 1.75rem; padding: 0 .3125rem; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }   /* tight dots (owner); the questions beside them do the same job */
.dots button::before { content: ''; width: 5px; height: 5px; border-radius: 5px; background: var(--olive); transition: width .2s; }
.dots button[aria-current]::before { width: 1.79rem; background: var(--sage); }
.covered h2 { color: var(--white); }
.covered :focus-visible { outline-color: var(--sage); }
.qa { display: grid; gap: 1.0625rem; margin-top: 3.75rem; }
.qa details { background: var(--ink); border-radius: 5px; padding: 1.125rem 1.25rem; }
.qa summary { display: flex; align-items: center; gap: .625rem; list-style: none; cursor: pointer; font-size: 1.25rem; font-weight: 600; color: var(--sage); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary img { width: .875rem; height: .875rem; flex: none; transition: transform .2s; }
.qa details[open] { background: none; padding: 0; }
.qa summary { position: relative; }
.qa details[open] summary { padding: 0 0 .625rem 1.25rem; }   /* 20px in from the left, like the closed questions (owner) */
.qa details[open] summary::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage); opacity: .8; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .qa details[open] summary::after { animation: draw .7s cubic-bezier(.3, .7, .2, 1) both; }
  .motion .qa:not(.seen) details[open] summary::after { animation: none; transform: scaleX(0); }
  .qa details[open] p { animation: rise .4s ease-out both; }
  .faq details[open] p { animation: rise .35s ease-out both; }
  @keyframes draw { from { transform: scaleX(0); } }
  @keyframes rise { from { opacity: 0; translate: 0 .5rem; } }
}
.qa details[open] summary img { transform: rotate(45deg); }
.qa details p { padding: 2.1875rem 0 1.25rem; line-height: 1.8; }
@media (max-width: 60rem) {
  .covered { padding: 4.5rem 0 5rem; border-radius: 24px; }
  .covered-in { grid-template-columns: 1fr; gap: 3rem; }
  .stack { justify-self: center; transform-origin: top center; }
}
/* Tablets and small laptops (641-960px): photos on the left, questions on the right, with a smaller stack. */
@media (min-width: 40.0625rem) and (max-width: 60rem) {
  .covered-in { grid-template-columns: clamp(15rem, 38vw, 22rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); }
  .stack { justify-self: stretch; position: sticky; top: 6.5rem; }   /* stays in view while a long answer is read */
  .stack-photos { width: 100%; }
  .qa { margin-top: 2rem; }
  .covered h2 { font-size: 1.875rem; }   /* titles a step smaller beside the narrower column */
  .qa summary { font-size: 1.125rem; }
}
@media (max-width: 30rem) { .stack-photos { width: 20rem; } }

/* pricing: sits under the dark room's rounded corners */
.pricing { margin-top: -2.625rem; padding: 8.875rem 0 4.75rem; background: linear-gradient(180deg, var(--stone-lightest), var(--white)); border-radius: 0 0 30px 30px; }
.pricing > h2 { text-align: center; font-size: 2rem; color: var(--ink); padding-inline: var(--pad); }
.pricing > h2 span { display: block; margin-bottom: 1.0625rem; font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem); font-weight: 500; color: var(--coral-text); }
.plans { width: min(100% - 2 * var(--pad), 75rem); margin: 4.125rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 23.94rem)); justify-content: center; align-items: start; gap: 1.58rem; }
.plan { display: flex; flex-direction: column; padding: 3.75rem 1.5625rem; background: var(--white); border: 1px solid var(--stone); border-radius: 7px; box-shadow: 0 14px 15px rgba(0, 0, 0, .06), 0 185px 44px rgba(0, 0, 0, .01); }
.pill-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pill { padding: .3125rem .625rem; border-radius: 3px; background: rgba(201, 213, 156, .5); font-size: .875rem; font-weight: 500; color: #000; }
.most { font-size: .8125rem; font-weight: 600; color: var(--olive); }
.price { display: flex; align-items: center; gap: .3125rem; margin: 2.1875rem 0 1.5625rem; color: var(--olive); }
.price b { font-size: 2.25rem; font-weight: 700; line-height: 1.2; }
.price span { font-size: .8125rem; }
.plan h3 { margin: 1.5625rem 0 1.25rem; font-size: .875rem; font-weight: 700; color: #000; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.plan li { display: flex; gap: .9375rem; align-items: flex-start; font-size: .9375rem; line-height: 1.4; color: #000; }
.plan li::before { content: ''; flex: none; width: 1.125rem; height: 1.125rem; margin-top: .0625rem; background: url(/img/check.svg) center / contain no-repeat; }

/* planners */
.planners { display: grid; grid-template-columns: minmax(0, 490fr) minmax(0, 557fr); align-items: center; gap: 2.5rem 3.75rem; margin-top: 4.125rem; width: min(100% - 2 * var(--pad), 69.1875rem); }
.planners > img { width: 100%; height: auto; aspect-ratio: 490 / 327; object-fit: cover; }
.planners h2 { color: var(--ink); }
.planners p { margin: 1.75rem 0; color: #000; }
@media (max-width: 48rem) { .planners { grid-template-columns: 1fr; } .planners p { margin: 1rem 0 1.5rem; } }

/* FAQ */
.faq { margin-top: 8.875rem; }
.faq h2 { text-align: center; color: #000; }
.faq-list { width: min(100%, 49.375rem); margin: 4.3125rem auto 0; display: grid; }   /* no gap: rows touch so the hover tint has no seams (owner) */
.faq details { border-bottom: 1px solid var(--sage); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 3.1875rem; padding: 1.375rem 1.25rem; list-style: none; cursor: pointer; font-weight: 600; color: var(--night); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: .875rem; height: .875rem; background: url(/img/toggle-closed.svg) center / contain no-repeat; transition: rotate .3s ease; }
.faq details[open] summary::after { rotate: 180deg; }
.faq details[open] { background: var(--stone-lightest); }
.faq details[open] summary::after { background-image: url(/img/toggle-open.svg); }
.faq details p { padding: .25rem 1.25rem .625rem; max-width: 38.6rem; margin-bottom: .625rem; }
/* Desktop hover: a quiet tint, a darker line and a quarter-turn of the plus show the row can be opened. Mouse only, so a tap never leaves it stuck. */
.faq details { transition: background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .faq details:not([open]):hover { background: var(--stone-lightest); }
  .faq details:hover { border-bottom-color: var(--olive); }
  .faq details:not([open]) summary:hover::after { rotate: 90deg; }
}
@media (prefers-reduced-motion: reduce) { .faq details:not([open]) summary:hover::after { rotate: none; } }

/* what couples are saying: a stack of cards, the front one holds the quote */
.quotes { margin-top: 6.5rem; padding: 5.6875rem var(--pad) 3.5rem; border-radius: 30px 30px 0 0; background: linear-gradient(180deg, var(--stone-light) 0%, #EBE7E2 24.5%, var(--paper) 53.4%, var(--white) 100%); }
.quotes h2 { text-align: center; color: var(--ink); }
.q-sample { width: fit-content; margin: 1rem auto 0; padding: .375rem .75rem; border-radius: 999px; background: #FFF4E0; border: 1px solid #E8C98A; font-size: .8125rem; color: var(--night); text-align: center; }
.q-stage { position: relative; width: min(100%, 28.6875rem); margin: 4.5rem auto 0; }
.q-back { position: absolute; left: 50%; width: 94%; height: 82%; border: 1px solid var(--stone); border-radius: 19px; background: var(--paper); box-shadow: 0 6px 18px -10px rgba(24, 25, 19, .14); }
.q-back1 { top: -2.9rem; translate: -51% 0; rotate: .88deg; width: 92%; }
.q-back2 { top: -.85rem; translate: -46% 0; rotate: -1.45deg; width: 96%; }
.q-card { position: relative; display: flex; flex-direction: column; min-height: 21.35rem; padding: 3.125rem 1.5625rem 1.25rem; background: var(--white); border: 1px solid var(--stone); border-radius: 20px; touch-action: pan-y; box-shadow: 0 14px 34px -14px rgba(24, 25, 19, .2), 0 2px 6px rgba(24, 25, 19, .04); }
.q-list { flex: 1; }
.q { margin: 0; display: flex; flex-direction: column; gap: 2.625rem; height: 100%; }
.q-mark { width: 2.2rem; height: auto; }
.q blockquote { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--olive); }
.q figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: 2rem; line-height: 1.35; color: #000; }
.q figcaption b { font-size: .875rem; font-weight: 400; }
.q figcaption span { font-size: .75rem; color: #85745F; }   /* deeper stone: 4.5:1 on white */
.q-dots { display: flex; justify-content: center; margin-top: .5rem; }
.q-dots button { width: 1.75rem; height: 1.75rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.q-dots button::before { content: ''; width: 5px; height: 5px; border-radius: 5px; background: var(--stone); transition: width .2s; }
.q-dots button[aria-current] { width: 2.25rem; }
.q-dots button[aria-current]::before { width: 1.47rem; background: var(--olive); }
@media (prefers-reduced-motion: reduce) { .q.on { animation: none; } }
/* The flip carries its own perspective, so the card turns in its own layer, always above the cards behind it
   (a shared 3D space would let half of it pass through them). */
.q-card { z-index: 2; transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform; }
.quotes + .final { margin-top: 1.5rem; }
/* mouse users: the section turns pages, with the design's olive arrows as the cursor */
.quotes.turn { cursor: url(/img/cursor-right.svg) 27 27, e-resize; -webkit-user-select: none; user-select: none; }
.quotes.turn[data-side="prev"] { cursor: url(/img/cursor-left.svg) 27 27, w-resize; }
.quotes.turn .q-dots button { cursor: pointer; }

/* closing line + the polaroid photos */
.final { margin-top: 8.75rem; }
.final-act { display: flex; justify-content: center; margin-top: 2rem; padding-inline: var(--pad); }
.final h2 { width: min(100% - 2 * var(--pad), 50.8rem); margin-inline: auto; text-align: center; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); color: #000; line-height: 1.15; }
.polaroids { position: relative; height: calc(32.47vw + 4rem); margin-top: 2.375rem; overflow: hidden; }
.polaroids > * { position: absolute; }
.polaroids img { object-fit: cover; }
.p1 { left: 0; top: 3.25vw; width: 31.56vw; height: 25.97vw; box-shadow: 0 3.9px 15.7px rgba(0, 0, 0, .25); }
.p2 { left: 46.19vw; top: 3.25vw; width: 24.8vw; height: 25.97vw; transform: rotate(-5.96deg); object-position: 61% 50%; box-shadow: 0 19.5px 18.8px -4.9px rgba(0, 0, 0, .25); }
.p3 { left: 25.65vw; top: 0; width: 21.48vw; height: 32.46vw; box-shadow: 0 15.9px 35.4px rgba(0, 0, 0, .21), 0 63.5px 63.5px rgba(0, 0, 0, .18), 0 144px 86.7px rgba(0, 0, 0, .11); }
.p3 img { width: 100%; height: 100%; }
.p3 .tag { left: 65%; top: 72%; font-size: max(.75rem, .99vw); }
.p4 { left: 68.96vw; top: 3.25vw; width: 38.95vw; height: 25.97vw; box-shadow: -16.6px 18.55px 53.7px rgba(0, 0, 0, .22), -66.4px 72.3px 97.65px rgba(0, 0, 0, .19); }

/* footer */
.foot { width: min(100% - 2 * var(--pad), 69.1875rem); padding: 7.5rem 0 5rem; margin-top: 0; }
.big-mark { width: 100%; height: auto; }
.credit { margin-top: 2.5rem; color: var(--ink); }
.rule { width: 100%; height: 1px; margin-top: 2rem; }
.foot-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-top: 2.3rem; }
.foot h2 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .625rem; line-height: 1.25; }
.foot [data-contact-lines] { font-weight: 500; line-height: 1.9; }
.foot [data-contact-lines] a { text-decoration: none; }
.foot [data-contact-lines] a:hover { text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font-size: .875rem; }
.legal a { color: var(--olive); text-decoration: none; padding-block: .25rem; }
.legal a:hover { text-decoration: underline; }
.copy { margin-top: .5rem; font-size: .875rem; font-weight: 500; }
@media (max-width: 48rem) { .foot { padding-top: 4rem; } }
@media (max-width: 40rem) { .foot { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); } }   /* phones: less empty space under the copyright line (was 5rem) */

/* Motion: only when people welcome it (the "motion" class is added by the page script). Individual transform properties
   (translate, scale, rotate) are used so these never undo the layout's own transforms. 150-700ms, no loops. */
@media (prefers-reduced-motion: no-preference) {
  .w-mem { animation: rise-in .9s cubic-bezier(.2, .7, .2, 1) both; }
  .w-rec { animation: slide-l .7s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .w-rt { animation: slide-r .7s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-shot .shot { animation: rise-in .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise-in { from { opacity: 0; translate: 0 1.5rem; } }
  @keyframes slide-l { from { opacity: 0; translate: -1.5rem 0; } }
  @keyframes slide-r { from { opacity: 0; translate: 1.5rem 0; } }

  .motion [data-reveal] { opacity: 0; translate: 0 1.5rem; transition: opacity .7s var(--d, 0s) ease-out, translate .7s var(--d, 0s) cubic-bezier(.2, .7, .2, 1); }
  .motion [data-reveal].seen { opacity: 1; translate: none; }

  /* steps: one after another, the dashed links draw across */
  .motion .steps[data-reveal] { opacity: 1; translate: none; }
  .motion .steps li { opacity: 0; translate: 0 1.25rem; transition: opacity .6s ease-out, translate .6s cubic-bezier(.2, .7, .2, 1); }
  .motion .steps li:nth-child(2) { transition-delay: .15s; } .motion .steps li:nth-child(3) { transition-delay: .3s; }
  .motion .steps .link { scale: 0 1; transform-origin: left; transition: scale .9s .45s cubic-bezier(.3, .7, .2, 1); }
  .motion .steps.seen li { opacity: 1; translate: none; }
  .motion .steps.seen .link { scale: 1 1; }

  /* the curved band: photos settle from a slight zoom; the hashtag pops */
  .motion .band-wrap[data-reveal] { translate: none; }
  .motion .band img { scale: 1.08; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1); }
  .motion .band-wrap.seen img { scale: 1; }
  .motion .band .tag, .motion .p3 .tag { opacity: 0; scale: .8; transition: opacity .35s .7s, scale .45s .7s cubic-bezier(.2, .8, .3, 1.3); }
  .motion .band-wrap.seen .tag, .motion .polaroids.seen .p3 .tag { opacity: 1; scale: 1; }

  /* plans arrive one by one */
  .motion .plans[data-reveal] { opacity: 1; translate: none; }
  .motion .plan { opacity: 0; translate: 0 2rem; transition: opacity .6s ease-out, translate .7s cubic-bezier(.2, .7, .2, 1); }
  .motion .plan:nth-child(2) { transition-delay: .12s; } .motion .plan:nth-child(3) { transition-delay: .24s; }
  .motion .plans.seen .plan { opacity: 1; translate: none; }

  /* polaroids drop onto the table */
  .motion .polaroids[data-reveal] { opacity: 1; translate: none; }
  .motion .polaroids > * { opacity: 0; translate: 0 3rem; rotate: 3deg; transition: opacity .6s ease-out, translate .9s cubic-bezier(.2, .7, .2, 1), rotate .9s cubic-bezier(.2, .7, .2, 1); }
  .motion .polaroids .p2 { transition-delay: .1s; rotate: -4deg; } .motion .polaroids .p3 { transition-delay: .2s; rotate: 5deg; } .motion .polaroids .p4 { transition-delay: .3s; rotate: -3deg; }
  .motion .polaroids.seen > * { opacity: 1; translate: none; rotate: none; }
}
