/* TheWeddingInvite.app: clean and light. Warm white to read on, one rose accent, a soft tint for each
   collection, and one plain sans serif (Hanken Grotesk) for everything, so the invitations carry the colour. */
:root {
  --paper: #FBFAF8; --paper-2: #F4F1EC; --ink: #18181B; --ink-2: #63635E; --line: #E6E2DB;
  --rose: #A8324F; --rose-soft: #F7E9EC; --mist: #EDF0F6; --sage: #EBF2EC; --blush: #F9ECEA; --sand: #F4EFE6; --butter: #FBF2DC; --lilac: #F1ECF7;
  --gold: #A8324F; --gold-ink: #A8324F;
  --display: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 6vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }

/* ---------- type ---------- */
.label, .kicker { font: 600 13px/1.3 var(--text); letter-spacing: .02em; color: var(--rose); }
.num { font: 600 13px/1 var(--text); color: var(--rose); }
.lede { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
/* section divider: two hairlines meeting at a small rose diamond; it draws itself outward as it arrives */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; width: min(360px, 70%); margin: calc(-1 * clamp(36px, 5vw, 72px)) auto clamp(48px, 6vw, 80px); color: var(--rose); }
.divider i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--rose) 100%); }
.divider i:last-child { background: linear-gradient(270deg, transparent, var(--line) 30%, var(--rose) 100%); }
.divider b { width: 9px; height: 9px; flex: none; border: 1.5px solid currentColor; transform: rotate(45deg); }
.divider.settle { opacity: 1; transform: none; }
.divider.settle i { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
.divider.settle i:first-child { transform-origin: right; }
.divider.settle i:last-child { transform-origin: left; }
.divider.settle b { opacity: 0; transform: rotate(-45deg) scale(.4); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.divider.settle.arrived i { transform: none; }
.divider.settle.arrived b { opacity: 1; transform: rotate(45deg); }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 18px; margin: 0 auto clamp(48px, 7vw, 88px); max-width: 860px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; }

/* ---------- buttons: plain, solid, softly rounded ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 1px solid currentColor; border-radius: 10px; background: transparent; cursor: pointer; text-decoration: none;
  font: 600 16px/1 var(--text); letter-spacing: 0; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn.solid { background: var(--btn-bg, var(--ink)); color: var(--btn-ink, var(--paper)); border-color: var(--btn-bg, var(--ink)); }
.btn.solid:hover { background: var(--btn-hover, #000); border-color: var(--btn-hover, #000); }
.btn.line { min-height: 44px; padding: 0 20px; font-size: 15px; border-color: var(--line); }
.btn.line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ---------- the header, set into the hero ---------- */
.masthead { position: absolute; inset: 0 0 auto; z-index: 5; }
/* the season's offer, a slim line above the navigation */
.promo { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px 24px; padding: 12px 16px; background: var(--ink); color: #d9d9de; font: 400 18px/1.3 var(--text); overflow: hidden; }
/* a slow shine passes over the whole strip */
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .09) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 7s var(--ease) 1.2s infinite; pointer-events: none; }
@keyframes sweep { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
/* the tag is a ticket: notched at both ends */
.promo-tag { position: relative; padding: 7px 19px; background: var(--rose); color: #fff; font: 700 15px/1 var(--text); letter-spacing: .04em; white-space: nowrap;
  -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.promo-text { color: #fff; font-weight: 500; }
.promo[hidden] { display: none; }
.promo-text s { color: #9a9aa2; }
.promo-text b { font-weight: 700; }
.shine { font-size: 1.15em; background: linear-gradient(90deg, #f2a7b8, #ffe2b8, #f2a7b8); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: glint 4s linear infinite; }
@keyframes glint { to { background-position: -200% 0; } }
.promo-btn { padding: 10px 17px; border-radius: 10px; background: #fff; color: var(--ink); font: 700 17px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease); }
.promo-btn:hover { transform: translateX(2px); }
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px var(--gutter); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); text-decoration: none; letter-spacing: -.02em; }
.brand .mark { width: 32px; height: 32px; flex: none; color: var(--ink); }
.top nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.top nav a:not(.btn) { position: relative; font: 600 16px/1 var(--text); color: var(--ink); text-decoration: none; padding: 10px 0; }
.top nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--rose); transform: scaleX(0); transition: transform .3s var(--ease); }
.top nav a:not(.btn):hover::after, .top nav a[aria-current="page"]::after { transform: none; }
.top nav a[aria-current="page"] { color: var(--rose); }
.nav-begin { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font: 600 15px/1 var(--text); cursor: pointer; }

/* ---------- the hero: a soft rose wash ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 172px var(--gutter) 72px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='%23A8324F' stroke-opacity='.065' stroke-width='1.2' stroke-linecap='round'><circle cx='40' cy='44' r='11'/><circle cx='54' cy='44' r='11'/><path d='M170 30c10 8 12 22 6 34M176 40c6-4 12-3 16 1M174 50c-6-3-12-1-15 3'/><rect x='140' y='150' width='40' height='27' rx='3'/><path d='M140 152l20 14 20-14'/><path d='M40 170c0-8 10-12 14-4 4-8 14-4 14 4 0 9-14 16-14 16s-14-7-14-16z'/><path d='M96 108c4-10 14-12 20-6M100 104c-2 6 0 12 6 14'/><path d='M210 200c-6-10-2-22 8-26M214 186c4 2 6 6 5 10'/></g></svg>") 0 0 / 240px 240px, linear-gradient(180deg, var(--rose-soft), var(--paper)); color: var(--ink);
}
.hero-copy { display: grid; gap: 30px; align-content: center; }
.who h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.1; }
.who h1 em { font-style: normal; color: var(--ink-2); font-weight: 500; }
.name-slot { display: inline-block; }
.name-slot input {
  font: 600 1em/1.1 var(--display); letter-spacing: -.025em; color: var(--rose); background: transparent; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--rose) 35%, transparent);
  padding: 0 .06em .04em; margin: 0; min-width: 3.5ch; max-width: 100%; field-sizing: content; border-radius: 0;
}
.name-slot input::placeholder { color: color-mix(in srgb, var(--rose) 38%, transparent); }
.name-slot input:focus { outline: none; border-bottom-color: var(--rose); }
.hero-lede { font-size: 18px; max-width: 40ch; color: var(--ink-2); }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-note { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- phones: the invitation, framed like a print ---------- */
.phone { position: relative; aspect-ratio: 390 / 844; padding: 7px; border-radius: 40px; background: #18181b; box-shadow: 0 40px 80px -40px rgba(24, 24, 27, .45); }
.screen { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 32px; background: var(--t-bg, #222); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.screen img.on { opacity: 1; }
.screen iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .6s; }
.screen iframe.ready { opacity: 1; }
.screen.blank { display: grid; place-items: center; color: #fff; }

.hero-phone { margin: 0; display: grid; justify-items: center; gap: 22px; }
.hero-phone .phone { position: relative; z-index: 2; height: min(64vh, 600px); }
.stage { position: relative; display: grid; place-items: center; }
.ornament { position: absolute; z-index: 0; width: 225%; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; color: var(--rose); opacity: .28; animation: turn 160s linear infinite; pointer-events: none; }
@keyframes turn { to { rotate: 360deg; } }
/* the first moment on the page: the live invitation rises out of our envelope, then the envelope
   slips away and leaves the invitation to play with. Once, on load; not at all for reduced motion. */
.hero-env { position: absolute; left: 50%; bottom: -4%; width: 150%; translate: -50% 0; pointer-events: none; animation: env-away 1s var(--ease) 1.65s both paused; }
.hero-env svg { display: block; width: 100%; height: auto; }
.hero-env-back { z-index: 1; filter: drop-shadow(0 30px 40px rgba(60, 10, 25, .25)); }
.hero-env-front { z-index: 3; }
.hero-phone .phone { animation: rise-out 1.5s var(--ease) .15s both paused; }
.behind { animation: fan-in .9s var(--ease) 1.8s both paused; }
/* it waits, closed, until it is in view (on phones the hero phone is below the fold) */
.stage.opening .hero-env, .stage.opening .phone, .stage.opening .behind { animation-play-state: running; }
/* the part still inside the envelope is hidden, so the invitation truly comes out of the pocket */
@keyframes rise-out { from { transform: translateY(40%) scale(.8); clip-path: inset(0 0 52% 0 round 40px); } to { transform: none; clip-path: inset(0 round 40px); } }
@keyframes env-away { to { opacity: 0; transform: translateY(24%); visibility: hidden; } }
@keyframes fan-in { from { opacity: 0; } }
.behind { position: absolute; z-index: 1; top: 9%; height: 80%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(24, 24, 27, .5);
  transition: transform .8s var(--ease), opacity .6s; opacity: .9; }
.behind[src=""], .behind:not([src]) { opacity: 0; }
.behind-prev { transform: translateX(-62%) rotate(-8deg); }
.behind-next { transform: translateX(62%) rotate(8deg); }
.hero-phone:hover .behind-prev { transform: translateX(-70%) rotate(-10deg); }
.hero-phone:hover .behind-next { transform: translateX(70%) rotate(10deg); }
.hero-phone figcaption { font-size: 14px; color: var(--ink-2); text-align: center; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: border-color .3s, transform .3s var(--ease); }
.stepper button:hover { border-color: var(--ink); }
.stepper button:active { transform: scale(.94); }
.stepper svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.step-now { display: grid; justify-items: center; min-width: 150px; gap: 2px; }
.step-name { font: 600 17px/1.2 var(--text); }
.step-count { font-size: 13px; color: var(--ink-2); }

/* ---------- rounded cards of solid colour carry the sections ---------- */
.card-sec { margin-left: clamp(10px, 1.6vw, 24px); margin-right: clamp(10px, 1.6vw, 24px); border-radius: clamp(24px, 3vw, 40px); }

/* ---------- how it works: three cards, three different styles ---------- */
.how { padding: clamp(80px, 9vw, 120px) var(--gutter) clamp(72px, 9vw, 120px); }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1320px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.step { display: grid; align-content: start; gap: 10px; padding: 18px 18px 28px; border-radius: 28px; background: var(--tint); }
.step[data-tint="mist"] { --tint: var(--mist); } .step[data-tint="butter"] { --tint: var(--butter); } .step[data-tint="sage"] { --tint: var(--sage); } .step[data-tint="blush"] { --tint: var(--blush); }
.step h3 { font-size: 24px; line-height: 1.2; padding: 0 8px; }
.step p { color: var(--ink-2); padding: 0 8px; font-size: 16px; }
.step .num { padding: 14px 8px 0; }
.step-art { position: relative; height: 230px; border-radius: 20px; background: rgba(255, 255, 255, .6); overflow: hidden; }
.fan img { position: absolute; bottom: -40px; left: 50%; width: 112px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 16px 30px -16px rgba(24, 24, 27, .45);
  transform: translateX(-50%) rotate(var(--r)) translateX(var(--x)); transition: transform .6s var(--ease); }
.fan img:nth-child(1) { --r: -10deg; --x: -74px; } .fan img:nth-child(2) { --r: 0deg; --x: 0px; z-index: 1; bottom: -24px; } .fan img:nth-child(3) { --r: 10deg; --x: 74px; }
.fan.two img:nth-child(1) { --r: -6deg; --x: -46px; } .fan.two img:nth-child(2) { --r: 6deg; --x: 46px; bottom: -40px; }
.step:hover .fan img:nth-child(1) { --x: -86px; } .step:hover .fan img:nth-child(3), .step:hover .fan.two img:nth-child(2) { --x: 86px; }
.step:hover .fan.two img:nth-child(1) { --x: -58px; } .step:hover .fan.two img:nth-child(2) { --x: 58px; }
.fields { display: grid; align-content: center; justify-items: start; gap: 10px; padding: 24px 28px; }
.fields span { padding: 10px 16px; border-radius: 12px; background: #fff; font: 500 15px/1 var(--text); color: var(--ink-2); box-shadow: 0 1px 0 var(--line); width: 100%; }
.fields span::before { content: ""; display: inline-block; width: 2px; height: 1em; margin-right: 10px; vertical-align: -2px; background: var(--rose); }
.fields span:first-child { color: var(--ink); }
.share, .replies { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; }
.share-card, .reply-card { width: 100%; min-width: 0; max-width: 280px; grid-template-columns: minmax(0, 1fr); display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 18px 34px -22px rgba(24, 24, 27, .35); }
.share-to, .reply-head { font: 600 13px/1 var(--text); color: var(--ink-2); }
.share-link { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; border-radius: 10px; background: var(--paper-2); font: 500 13px/1.2 var(--text); }
.share-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-link b { padding: 6px 10px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 12px; }
.share-apps { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.share-card > *, .reply-card > * { min-width: 0; }
.share-apps span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); font: 500 12px/1 var(--text); }
.share-apps i { width: 9px; height: 9px; border-radius: 50%; }
.app-wa { background: #25a366; } .app-msg { background: #3b82f6; } .app-mail { background: var(--rose); }
.reply-row { display: grid; grid-template-columns: 1fr 80px; align-items: center; gap: 10px; font: 500 13px/1.2 var(--text); }
.reply-row i { height: 8px; border-radius: 99px; }
.reply-nudge { display: flex; gap: 7px; align-items: center; padding-top: 2px; font: 500 11.5px/1.3 var(--text); color: var(--ink-2); }
.reply-nudge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #3f7a52; }
/* the bars fill as the card arrives */
.step .reply-row i { background: linear-gradient(90deg, #3f7a52, #3f7a52) no-repeat, var(--paper-2); background-size: calc(var(--v) * 100%) 100%; transition: background-size 1.4s var(--ease) .4s; }
.step.settle:not(.arrived) .reply-row i { background-size: 0 100%; }

/* ---------- the reel: every design, drifting past in two rows ---------- */
.reel { display: grid; gap: 14px; padding: 8px 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.reel-title { text-align: center; font: 500 15px/1.4 var(--text); color: var(--ink-2); padding: 0 16px 6px; }
.reel-row { display: flex; gap: 14px; width: max-content; animation: drift 140s linear infinite; }
.reel-row.rev { animation-direction: reverse; animation-duration: 170s; }
.reel:hover .reel-row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-25%); } }
.reel-item { flex: none; width: 128px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #222; box-shadow: 0 12px 24px -16px rgba(24, 24, 27, .5); transition: transform .4s var(--ease); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reel-item:hover { transform: translateY(-4px) scale(1.03); }

/* ---------- the collection: an introduction, then a carousel per collection on its own colour ---------- */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); padding-top: 0; }
.designs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 80px); background: var(--ink); color: #fff; overflow: hidden; }
.designs .label { color: #f2a7b8; }
.designs-copy { display: grid; gap: 18px; justify-items: start; }
.designs h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.designs .lede { color: #c4c4ca; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.designs .chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); text-decoration: none; font: 500 15px/1 var(--text); transition: background .3s; }
.chip span { opacity: .55; }
.designs .chip:hover { background: rgba(255, 255, 255, .2); }
.see-all { --btn-bg: #fff; --btn-ink: var(--ink); --btn-hover: var(--rose-soft); margin-top: 6px; }
.chips-label { font: 600 13px/1 var(--text); color: #9a9aa2; margin-top: 14px; }
.collage { display: block; }
.collage { position: relative; height: clamp(280px, 30vw, 420px); }
.collage img { position: absolute; left: 50%; bottom: -12%; width: clamp(110px, 11vw, 160px); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 16px;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); transform: translateX(-50%) translateX(calc(var(--i) * 62%)) rotate(calc(var(--i) * 6deg)) translateY(calc(var(--i) * var(--i) * 6%));
  z-index: calc(10 - var(--i) * var(--i)); transition: transform .8s var(--ease); }
.designs:hover .collage img { transform: translateX(-50%) translateX(calc(var(--i) * 72%)) rotate(calc(var(--i) * 7deg)) translateY(calc(var(--i) * var(--i) * 6% - 4%)); }
.walls { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.wall { --w-bg: var(--paper-2); --w-ink: var(--ink); --w-soft: var(--ink-2); --w-gold: var(--gold-ink);
  padding: clamp(28px, 3.4vw, 48px) 0 clamp(24px, 3vw, 40px); background: var(--w-bg); color: var(--w-ink); scroll-margin-top: 16px; }
.wall[data-c="sacred"] { --w-bg: var(--mist); --w-gold: #3d5a99; }
.wall[data-c="heritage"] { --w-bg: var(--sage); --w-gold: #3f7a52; }
.wall[data-c="romance"] { --w-bg: var(--blush); --w-gold: var(--rose); }
.wall[data-c="places"] { --w-bg: var(--sand); --w-gold: #9a6a2a; }
.wall[data-c="playful"] { --w-bg: var(--butter); --w-gold: #a26a00; }
.wall[data-c="every-love"] { --w-bg: var(--lilac); --w-gold: #6a4aa0; }
.wall[hidden], .pc[hidden] { display: none; }
.wall-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px; padding: 0 clamp(24px, 3.4vw, 48px) 22px; }
.wall-head h2, .wall-head h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.wall-head p { color: var(--w-soft); margin-top: 6px; }
.wall-head .num { color: var(--w-gold); padding-bottom: 4px; }
.prints { list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 196px); gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px clamp(24px, 3.4vw, 48px) 10px; scroll-padding: 0 clamp(24px, 3.4vw, 48px); scrollbar-width: none; }
.prints::-webkit-scrollbar { display: none; }
.pc { scroll-snap-align: start; }
.pc-open { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--t-bg, #222);
  box-shadow: 0 14px 30px -20px rgba(24, 24, 27, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pc-open .screen { border-radius: 0; }
.pc.playing .pc-open { transform: translateY(-4px); box-shadow: 0 22px 38px -22px rgba(24, 24, 27, .5); }
.pc-step { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 999px; background: rgba(24, 24, 27, .78); color: #fff; font: 600 11.5px/1 var(--text); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.pc.playing .pc-step { opacity: 1; transform: none; }
.pc-cap { display: grid; gap: 2px; margin-top: 12px; padding: 0 2px; }
.pc-cap h3 { font-size: 16px; line-height: 1.25; letter-spacing: -.01em; }
.pc-tag { font-size: 13px; color: var(--w-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- the designs page ---------- */
body.page-designs .masthead { position: relative; }
.dz { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.4vw, 20px); padding-top: 4px; }
.dz-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); align-items: end; gap: 24px 56px; padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 72px); background: linear-gradient(180deg, var(--rose-soft), #fbeff1); }
.dz-head > div { display: grid; gap: 16px; }
.dz-head h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.dz-head .lede { max-width: 52ch; }
.dz-search { position: relative; display: block; }
.dz-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.dz-search input { width: 100%; height: 58px; padding: 0 18px 0 50px; border: 1px solid transparent; border-radius: 16px; background: #fff; font: 400 17px/1 var(--text); color: var(--ink); box-shadow: 0 16px 30px -22px rgba(168, 50, 79, .45); }
.dz-search input:focus { outline: none; border-color: var(--rose); }
.dz-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px clamp(10px, 1.6vw, 24px); margin: 0 clamp(10px, 1.6vw, 24px); background: var(--paper); border-bottom: 1px solid var(--line); }
.dz-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.dz-filters::-webkit-scrollbar { display: none; }
.dz-filters .chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font: 500 15px/1 var(--text); transition: background .25s, color .25s, border-color .25s; }
.dz-filters .chip:hover { border-color: var(--ink); }
.dz-filters .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dz-shown { flex: none; font-size: 14px; color: var(--ink-2); }
.dz .prints { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); overflow: visible; scroll-snap-type: none; row-gap: 28px; }
.dz-empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 72px 24px; }
.dz-empty[hidden] { display: none; }
.dz-empty-title { font: 600 26px/1.2 var(--display); letter-spacing: -.02em; }
.dz-empty .btn { margin-top: 8px; }

/* the closing note on the designs page */
.dz-ask { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px); margin-bottom: clamp(10px, 1.6vw, 24px); background: var(--rose-soft); }
.dz-ask > div { display: grid; gap: 8px; max-width: 60ch; }
.dz-ask h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.dz-ask p { color: var(--ink-2); }

/* ---------- your invitations ---------- */
body.page-account .masthead { position: relative; }
.me { max-width: 1000px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) 16px clamp(48px, 6vw, 88px); display: grid; gap: 20px; }
.me-top { display: grid; gap: 12px; margin-bottom: 8px; }
.me-top h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }
.me-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.me-card[hidden], .me-empty[hidden] { display: none; }
.me-poster { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: 0 18px 34px -22px rgba(24, 24, 27, .5); }
.me-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.me-poster iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.me-poster iframe.ready { opacity: 1; }
.me-info { display: grid; gap: 10px; justify-items: start; }
.me-status { padding: 6px 12px; border-radius: 999px; background: var(--butter); color: #7a5800; font: 600 13px/1 var(--text); }
.me-names { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.me-meta { color: var(--ink-2); }
.me-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.me-empty { display: grid; gap: 12px; justify-items: start; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.me-empty h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.me-empty p { color: var(--ink-2); max-width: 52ch; }
.me-soon { display: grid; gap: 8px; padding: 24px 28px; border-radius: 24px; background: var(--rose-soft); }
.me-soon h2 { font-size: 20px; }
.me-soon p { color: var(--ink-2); max-width: 70ch; }

/* ---------- begin: three questions, then three designs ---------- */
body.page-start .masthead, body.page-checkout .masthead, body.page-live .masthead { position: relative; }
/* while paying and just after, the offer is already in the price: no need to sell it again */
body.page-checkout .promo, body.page-live .promo { display: none; }
.st { max-width: 920px; margin: 0 auto; padding: clamp(20px, 4vw, 48px) 16px clamp(48px, 6vw, 88px); }
.st-resume { margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: var(--sage); color: #2f6a42; font-weight: 500; }
.st-resume[hidden] { display: none; }
.st-seen { display: inline-block; margin-bottom: 6px; padding: 4px 10px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font: 600 12px/1.2 var(--text); }
.st-card { padding: clamp(24px, 4vw, 52px); border-radius: 32px; background: #fff; border: 1px solid var(--line); }
.st-progress { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.st-progress li { padding-top: 10px; border-top: 3px solid var(--line); font: 600 13px/1.2 var(--text); color: var(--ink-2); transition: border-color .4s var(--ease), color .4s; }
.st-progress li.on { border-color: var(--rose); color: var(--ink); }
.st-step { display: grid; gap: 14px; }
.st-step[hidden] { display: none; }
.st-step h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; outline: none; }
.st-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.st-names label { display: grid; gap: 8px; }
.st-names label > span { font: 600 14px/1 var(--text); }
.st-names input { font: 400 18px/1.4 var(--text); padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); width: 100%; }
.st-names input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); background: #fff; }
.st-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.st-skip { padding: 10px 4px; border: 0; background: none; font: 500 15px/1 var(--text); color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.st-nudge { color: var(--rose); font-weight: 600; font-size: 15px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.st-chips [role=radio] { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 15.5px/1.2 var(--text); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.st-chips [role=radio]:hover { border-color: var(--ink); }
.st-chips [aria-checked="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.st-feel { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.st-feel [role=radio] { display: grid; gap: 4px; text-align: left; padding: 18px 20px; border-radius: 18px; }
.st-feel b { font: 600 17px/1.2 var(--text); }
.st-feel span { font-size: 14px; color: var(--ink-2); }
.st-feel [aria-checked="true"] span { color: #ffe3ea; }
.st-results { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.st-pick { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.st-poster { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--t-bg, #222); box-shadow: 0 14px 28px -18px rgba(24, 24, 27, .5); }
.st-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st-pick h2 { font-size: 24px; }
.st-trad { color: var(--rose); font-weight: 600; font-size: 14px; margin: 2px 0 6px; }
.st-pick p:not(.st-trad) { color: var(--ink-2); font-size: 15px; }
.st-pick-actions { display: grid; gap: 10px; justify-items: center; }

/* ---------- checkout ---------- */
.co { max-width: 1120px; margin: 0 auto; padding: 18px 16px clamp(48px, 6vw, 88px); }
.co-test { margin: 0 0 24px; padding: 12px 16px; border-radius: 14px; background: var(--butter); color: #6b4e00; font-size: 14.5px; }
.co-top { display: grid; gap: 10px; margin-bottom: 24px; }
.co-top h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
.co-none { display: grid; gap: 12px; justify-items: start; padding: 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.co-none[hidden], .co-main[hidden] { display: none; }
.co-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.co-form { display: grid; gap: 16px; }
.co-sec { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; display: grid; gap: 12px; }
.co-sec legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 4px; font: 600 18px/1.2 var(--text); }
.co-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); font: 700 14px/1 var(--text); }
.co-plan { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.co-plan:has(input:checked) { border-color: var(--rose); background: var(--rose-soft); }
.co-plan input { accent-color: var(--rose); width: 18px; height: 18px; }
.co-plan span { display: grid; gap: 2px; }
.co-plan small { color: var(--ink-2); font-size: 14px; }
.co-plan i { display: grid; justify-items: end; font: 700 20px/1.1 var(--display); font-style: normal; letter-spacing: -.02em; }
.co-plan s { font: 500 13px/1.2 var(--text); color: var(--ink-2); }
.co-link { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.co-link:focus-within { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
.co-pre { padding: 14px 0 14px 16px; color: var(--ink-2); white-space: nowrap; }
.co-link input { flex: 1; min-width: 0; padding: 14px 16px 14px 0; border: 0; background: none; font: 600 17px/1.3 var(--text); color: var(--ink); outline: none; }
.co-field { display: grid; gap: 8px; }
.co-field > span { font: 600 14px/1 var(--text); }
.co-field input { font: 400 17px/1.4 var(--text); padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.co-field input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); background: #fff; }
.co-field [aria-invalid="true"] { border-color: #b42318; }
.co-note { color: #3f7a52; font-size: 14px; }
.co-note.bad, .co-err { color: #b42318; }
.co-err:empty { display: none; }
.co-pay { justify-self: stretch; min-height: 58px; font-size: 17px; }
.co-pay[disabled] { opacity: .7; cursor: progress; }
.co-fine { text-align: center; font-size: 14px; color: var(--ink-2); }
.co-summary { position: sticky; top: 20px; display: grid; gap: 10px; padding: 22px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.co-thumb { position: relative; width: 150px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--paper-2); box-shadow: 0 16px 30px -20px rgba(24, 24, 27, .5); }
.co-thumb iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.co-thumb iframe.ready { opacity: 1; }
.co-names { font-size: 24px; line-height: 1.15; margin-top: 6px; }
.co-design { color: var(--ink-2); font-size: 15px; }
.co-lines { margin: 8px 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-lines div { display: flex; justify-content: space-between; gap: 12px; }
.co-lines dt, .co-lines dd { margin: 0; }
.co-off { color: #3f7a52; }
.co-total { padding-top: 10px; border-top: 1px solid var(--line); font: 700 20px/1.2 var(--display); }

/* ---------- you are live ---------- */
.lv { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) 16px clamp(48px, 6vw, 88px); }
.lv-hero { display: grid; place-items: center; margin: -8px 0 4px; padding: 28px 0 8px; border-radius: 24px; background: var(--rose-soft); }
.lv-hero .envelope { width: min(300px, 80%); }
.lv-hero .env-back path:first-child { fill: #fff; }
.me-empty .envelope { width: min(240px, 70%); justify-self: center; margin-bottom: 6px; }
.lv-card { display: grid; gap: 16px; padding: clamp(28px, 4vw, 52px); border-radius: 32px; background: #fff; border: 1px solid var(--line); }
.lv-card[hidden] { display: none; }
.lv-title { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; }
.lv-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--rose-soft); }
.lv-url { font: 700 19px/1.3 var(--text); color: var(--rose); word-break: break-all; }
.lv-share { display: flex; flex-wrap: wrap; gap: 10px; }
.lv-next { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: n; }
.lv-next li { position: relative; padding-left: 40px; color: var(--ink-2); counter-increment: n; }
.lv-next li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #3f7a52; font: 700 14px/1 var(--text); }
.lv-next b { color: var(--ink); }
.lv-plan { padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.me-status.is-live { background: var(--sage); color: #2f6a42; }
.me-live { font-weight: 600; }
.me-actions [hidden] { display: none; }

/* ---------- for your guests ---------- */
.guests { padding: clamp(110px, 13vw, 180px) var(--gutter) clamp(72px, 9vw, 120px); }
.gifts { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gifts li { display: grid; align-content: start; gap: 12px; padding: 26px 22px 28px; border-radius: 22px; background: var(--paper-2); }
.gifts h3 { font-size: 19px; line-height: 1.25; }
.gift-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gifts p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 130px) clamp(20px, 5vw, 80px); background: var(--paper-2); margin-bottom: clamp(12px, 1.4vw, 20px); }
.deal-note { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font: 600 14px/1.2 var(--text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); max-width: 1120px; margin: 0 auto; }
.plan { display: grid; align-content: start; gap: 10px; padding: 30px 28px 34px; border-radius: 24px; background: #fff; }
.plan.featured { background: var(--rose); color: #fff; }
.plan h3 { font: 600 16px/1 var(--text); letter-spacing: 0; }
.plan { position: relative; }
.plan.featured > p:not(.price):not(.plan-flag) { color: #ffe0e7; }
.plan-flag { position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--rose); font: 700 12px/1 var(--text); }
.was { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.was s { font-size: 18px; }
.was span { padding: 4px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--rose); font: 600 12px/1.2 var(--text); }
.plan.featured .was { color: #ffe0e7; }
.plan.featured .was span { background: rgba(255, 255, 255, .18); color: #fff; }
.incl { list-style: none; margin: 12px 0 0; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); font-size: 15px; }
.plan.featured .incl { border-color: rgba(255, 255, 255, .25); }
.incl li { display: flex; gap: 10px; }
.incl li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 5px; border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(-45deg); }
.plan.featured .incl li::before { border-color: #fff; }
.price { font: 600 clamp(44px, 4.6vw, 60px)/1 var(--display); letter-spacing: -.03em; margin: 2px 0 10px; }
.price sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; }
.plan p:last-child { color: var(--ink-2); max-width: 30ch; }
.ask-faq { max-width: 760px; margin: clamp(72px, 9vw, 120px) auto 0; }
.ask-faq h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.ask-faq details { border-bottom: 1px solid var(--line); }
.ask-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 500 18px/1.35 var(--text); }
.ask-faq summary::-webkit-details-marker { display: none; }
.ask-faq summary::after { content: "+"; font: 300 26px/1 var(--text); color: var(--rose); transition: transform .3s var(--ease); }
.ask-faq details[open] summary::after { transform: rotate(45deg); }
.ask-faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- the contact page: a short header, the form, and what happens next beside it ---------- */
body.page-contact .masthead, body.page-legal .masthead { position: relative; }
.ct { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) 16px clamp(48px, 6vw, 88px); }
.ct-top { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.ct-top h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }
.ct-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ct-form { padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.ct-next-box { display: grid; gap: 18px; padding: 28px; border-radius: 28px; background: var(--rose-soft); }
.ct-next-box h2 { font-size: 22px; line-height: 1.2; }
.ct-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.ct-next li { position: relative; display: grid; gap: 3px; padding-left: 44px; counter-increment: n; }
.ct-next li::before { content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--rose); font: 700 14px/1 var(--text); }
.ct-next b { font-weight: 600; }
.ct-next span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.ct-aside-note { padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--rose) 20%, transparent); font: 600 14px/1.3 var(--text); color: var(--rose); }
.ct-self { margin-top: 28px; color: var(--ink-2); text-align: center; }

/* the form: light fields, the topic as a choice of three */
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.enquiry label { display: grid; gap: 8px; }
.enquiry label > span, .topics legend { font: 600 14px/1 var(--text); color: var(--ink); }
.enquiry .wide { grid-column: 1 / -1; }
.enquiry input:not([type=radio]), .enquiry select, .enquiry textarea {
  font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s;
}
.enquiry textarea { resize: vertical; }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: #a3a39e; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--rose); background: #fff; }
.enquiry [aria-invalid="true"] { border-color: #b42318; }
.enquiry .err { grid-column: 1 / -1; color: #b42318; min-height: 1em; margin: -8px 0; }
.enquiry .btn { grid-column: 1 / -1; justify-self: start; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.topics legend { padding: 0; margin-bottom: 10px; }
.topics label { display: block; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-flex; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: 500 15px/1 var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.topics label:hover span { border-color: var(--ink); }
.topics input:checked + span { background: var(--rose); border-color: var(--rose); color: #fff; }
.topics input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.thanks { display: grid; gap: 12px; justify-items: start; }
.thanks[hidden], .enquiry[hidden] { display: none; }
.thanks .script { font: 600 40px/1 var(--display); letter-spacing: -.03em; color: var(--rose); }
.thanks .btn { margin-top: 8px; }

/* ---------- the closing card: our mark, opening, with their invitation rising out of it ---------- */
.begin { --btn-bg: #fff; --btn-ink: var(--rose); --btn-hover: var(--rose-soft); position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 96px); margin-bottom: clamp(10px, 1.6vw, 24px);
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2' stroke-linecap='round'><circle cx='40' cy='44' r='11'/><circle cx='54' cy='44' r='11'/><path d='M170 30c10 8 12 22 6 34M176 40c6-4 12-3 16 1M174 50c-6-3-12-1-15 3'/><rect x='140' y='150' width='40' height='27' rx='3'/><path d='M140 152l20 14 20-14'/><path d='M40 170c0-8 10-12 14-4 4-8 14-4 14 4 0 9-14 16-14 16s-14-7-14-16z'/><path d='M96 108c4-10 14-12 20-6M100 104c-2 6 0 12 6 14'/><path d='M210 200c-6-10-2-22 8-26M214 186c4 2 6 6 5 10'/></g></svg>") 0 0 / 240px 240px, var(--rose); color: #fff; }
.begin-copy { position: relative; display: grid; justify-items: start; gap: 18px; max-width: 620px; }
.begin .label { color: #ffd3dd; }
.begin h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.03em; }
.begin .lede { color: #ffe3ea; max-width: 44ch; }
.begin-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.begin .btn.line { color: #fff; border-color: rgba(255, 255, 255, .5); min-height: 52px; font-size: 16px; }
.begin .btn.line:hover { background: rgba(255, 255, 255, .12); }
.begin-note { font-size: 14.5px; color: #ffd3dd; max-width: 50ch; margin-top: 4px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
/* the envelope, our mark brought to life: back, the invitation, then the front pocket over it.
   Used on the closing card, the live page and an empty Your invitations; the invitation rises as it arrives. */
.envelope { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 320 / 300; }
.envelope svg { position: absolute; left: 0; width: 100%; height: auto; }
.env-back { bottom: 0; filter: drop-shadow(0 30px 40px rgba(60, 10, 25, .35)); }
.env-front { bottom: 0; z-index: 2; }
.env-card { position: absolute; z-index: 1; left: 50%; bottom: 14%; width: 46%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #222;
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .45); transform: translateX(-50%) translateY(-34%) rotate(-3deg); transition: transform 1.4s var(--ease) .2s; }
.env-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.env-card iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .5s; }
.env-card iframe.ready { opacity: 1; }
/* before there is an invitation: a blank card waiting for their names */
.env-card.blank { display: grid; place-items: center; align-content: center; gap: 6px; padding: 12px; background: #FFFDF9; text-align: center; }
.env-card.blank b { font: 600 15px/1.2 var(--display); color: var(--rose); }
.env-card.blank span { font-size: 11px; color: var(--ink-2); }
.envelope.settle { opacity: 1; transform: none; }
.envelope.settle .env-card { transform: translateX(-50%) translateY(10%) rotate(0); }
.envelope.settle.arrived .env-card { transform: translateX(-50%) translateY(-34%) rotate(-3deg); }
.envelope:hover .env-card { transform: translateX(-50%) translateY(-40%) rotate(-4deg); }

/* ---------- footer ---------- */
.foot { padding: clamp(56px, 7vw, 96px) var(--gutter) 28px; background: var(--paper-2); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; max-width: 1240px; margin: 0 auto; align-items: start; }
.foot-brand { display: grid; gap: 14px; justify-items: start; max-width: 36ch; }
.foot-brand p { margin: 0; }
.foot .brand { color: var(--ink); font-size: 24px; }
.foot .brand .mark { width: 34px; height: 34px; }
.foot-tag { font: 600 18px/1.3 var(--display); color: var(--rose); letter-spacing: -.01em; }
.foot-about { line-height: 1.55; }
.foot-cta { margin-top: 8px; }
.foot-note { font-size: 13px; }
.foot-links { padding-top: 6px; }
.foot-links h2 { margin: 0 0 18px; font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.foot-links ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.foot-links a, .foot-links .cookie-choice { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.foot-links a:hover, .foot-links .cookie-choice:hover, .foot-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; max-width: 1240px; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-base p { margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-legal a { color: var(--ink-2); text-decoration: none; }

/* ---------- the dock: phones only ---------- */
.dock { --btn-bg: #fff; --btn-ink: var(--ink); position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.dock[hidden] { display: none; }
.dock-who { font: 500 15px/1.2 var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock .btn { min-height: 46px; }

/* ---------- the viewer: the style on its own colour, details on white ---------- */
.hand { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.hand::backdrop { background: rgba(24, 24, 27, .5); }
.hand-in { position: relative; min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
.hand-stage { display: grid; place-items: center; padding: 40px; background: var(--t-bg, #222); transition: background .6s var(--ease); }
.hand-phone { position: relative; height: min(84dvh, 780px); aspect-ratio: 390 / 844; border-radius: 30px; overflow: hidden; background: var(--t-bg, #222); box-shadow: 0 40px 80px -40px rgba(24, 24, 27, .5), 0 0 0 7px #18181b; }
.hand-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hand-phone iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .5s; }
.hand-phone iframe.ready { opacity: 1; }
.hand-info { display: grid; align-content: center; gap: 22px; padding: 80px clamp(24px, 5vw, 72px); }
.hand-tag { color: var(--rose); }
#hand-name { font-size: clamp(36px, 3.8vw, 54px); line-height: 1.05; }
.hand-sum { color: var(--ink-2); max-width: 38ch; }
.hand-names { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.hand-names p { font-size: 14px; color: var(--ink-2); }
.hand-row { display: flex; align-items: baseline; gap: 12px; }
.hand-row input { flex: 1; min-width: 0; font: 400 17px/1.2 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; }
.hand-row input:focus { outline: none; border-color: var(--ink); }
.hand-row .and { font: 400 15px/1 var(--text); color: var(--ink-2); }
.hand-names .btn { justify-self: start; }
.hand-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hand-full { font-size: 14px; }
.hand-nav { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-2); }
.hand-nav button, .hand-close { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.hand-nav button:hover, .hand-close:hover { border-color: var(--ink); }
.hand-nav svg, .hand-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.hand-close { position: absolute; top: 20px; right: 20px; }
.ghost { position: fixed; z-index: 30; border-radius: 30px; overflow: hidden; transform-origin: 0 0; pointer-events: none; }
.ghost img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
body.holding { overflow: hidden; }

/* ---------- arrival: headings and plans settle into place, once ---------- */
.settle { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.settle.arrived { opacity: 1; transform: none; }
.gifts li.settle:nth-child(2), .plan.settle:nth-child(2), .step.settle:nth-child(2) { transition-delay: .1s; }
.gifts li.settle:nth-child(3), .plan.settle:nth-child(3), .step.settle:nth-child(3) { transition-delay: .2s; }
.gifts li.settle:nth-child(4) { transition-delay: .3s; }
.gifts li.settle:nth-child(5) { transition-delay: .4s; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .designs { grid-template-columns: 1fr; }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .top { padding: 20px 20px; }
  .menu-btn { display: inline-flex; }
  .top nav { display: none; position: absolute; z-index: 30; top: calc(100% - 6px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -20px rgba(24, 24, 27, .35), 0 0 0 1px var(--line); }
  .top nav.open { display: flex; }
  .top nav a:not(.btn) { padding: 16px 14px; font-size: 17px; }
  .top nav a:not(.btn)::after { display: none; }
  .nav-begin { margin-top: 8px; min-height: 52px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 142px 24px 64px; gap: 48px; }
  .hero-copy { gap: 24px; }
  .who h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .cta .btn { flex: 1 1 auto; }
  .hero-phone .phone { height: auto; width: min(290px, 72vw); }
  .hero-env { width: 128%; }
  .how, .guests { padding-left: 16px; padding-right: 16px; }
  .designs { padding: 40px 24px 0; gap: 8px; }
  .collage { height: 250px; }
  .collage img { width: 112px; }
  .wall-head { padding: 0 20px 18px; }
  .dz-head { grid-template-columns: 1fr; }
  .dz-bar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0; }
  .dz-shown { padding: 0 4px; }
  .dz .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 6px 16px 10px; }
  .gifts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .promo { flex-wrap: wrap; gap: 8px 12px; padding: 11px 12px; font-size: 16px; }
  .promo-btn { font-size: 15px; padding: 9px 14px; }
  .promo-more { display: none; }
  .promo-tag { display: none; }
      .behind { display: none; }
  .ornament { width: 190%; }
  .reel-item { width: 104px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-brand { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; gap: 12px; }
  .enquiry { grid-template-columns: 1fr; }
  .ct-main { grid-template-columns: 1fr; }
  .st-names { grid-template-columns: 1fr; }
  .st-progress li { font-size: 11.5px; }
  .st-pick { grid-template-columns: 96px minmax(0, 1fr); }
  .st-pick-actions { grid-column: 1 / -1; justify-items: stretch; }
  .co-main { grid-template-columns: 1fr; }
  .co-summary { position: static; grid-row: 1; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 16px; }
  .co-thumb { width: 84px; grid-row: span 2; border-radius: 12px; }
  .co-names { font-size: 20px; margin: 0; align-self: end; }
  .co-design { align-self: start; }
  .co-lines, .co-summary > .text-link { grid-column: 1 / -1; }
  .co-pre { padding-left: 12px; font-size: 14px; }
  .lv-share .btn { flex: 1 1 100%; }
  .me-card { grid-template-columns: 1fr; }
  .me-poster { width: 160px; }
  .ct-form { padding: 24px 20px; }
  .begin { grid-template-columns: 1fr; }
  .begin .envelope { grid-row: 1; width: min(280px, 80%); }
  .begin-cta .btn { flex: 1 1 100%; }
  .enquiry .btn { justify-self: stretch; }
  .hand-in { grid-template-columns: minmax(0, 1fr); }
  .hand-row input { width: 0; }
  .hand-stage { padding: 64px 16px 28px; }
  .hand-phone { height: min(64dvh, 620px); }
  .hand-info { padding: 32px 24px 56px; align-content: start; }
  #hand-name { font-size: 36px; }
  .hand-close { top: 12px; right: 12px; }
  .foot { padding-bottom: 110px; }
  .plan-flag { top: 26px; }
}
@media (min-width: 861px) { .dock { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reel-row, .ornament, .promo::after, .shine, .hero-phone .phone, .behind { animation: none !important; }
  .hero-env { display: none; }
  .reel { overflow-x: auto; }
}

/* cookie consent, only for visitors in Europe and the UK (site/track.js) */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 460px; margin-left: auto; padding: 18px 20px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(24, 24, 27, .16); }
.consent p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.consent div { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cookie-choice { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

/* the privacy policy and the terms: one readable column, with the contents beside it on wide screens */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 104px); }
.legal-top { max-width: 720px; }
.legal-top h1 { margin: 10px 0 8px; font: 700 clamp(36px, 5vw, 56px)/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); }
.legal-date { margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.legal-toc { align-self: start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.legal-toc p { margin: 0 0 12px; font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.legal-toc ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 15px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-body { max-width: 720px; }
.legal-body section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-body h2 { margin: 0 0 14px; font: 700 22px/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 22px; }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-ask { margin-top: 12px; padding: 20px 22px; background: var(--rose-soft); border-radius: 18px; color: var(--ink); }
@media (min-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px; }
  .legal-top { grid-column: 1 / -1; }
  .legal-toc { grid-column: 2; grid-row: 2; position: sticky; top: 24px; }
  .legal-body { grid-column: 1; grid-row: 2; }
}
