/* Hallmark · theme: custom (by request: WedLora palette, Cormorant Garamond and Figtree, WedLora line art) · genre: playful · idea: "a seventeen second demo drags the photos in, sends the link by message and watches the family press Send" · vibe: "white, berry ink, lavender blob, orchid bloom, drifting petals" · hero: Stage, copy on columns 1 to 5, the demo on 6 to 12 · nav: edge-aligned, wordmark, two links and one action · footer: mast · posture: committed, spring · imagery: product built in two data-slots, twelve library photographs credited, WedLora house illustrations · job: enquire
 * paper: #FFFFFF · accent: #D96EAC · display: Cormorant Garamond · body: Figtree · signature: the self playing product demo on the first screen
 * axes: white/Cormorant/orchid · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the demo leans on a CDN script, so the markup ships in its end state and reads as a storyboard without it */
/* Hallmark · waive 7b · surface: absolute, WedLora pins white as the page and card colour · the brand's own system has no tinted paper */
/* Hallmark · dismissed 42 · the nav is the plan's own shape, the wordmark, two anchors to the demo and questions, and one action, which the client chose by name, it is edge aligned and carries no other links */
/* Hallmark · dismissed F4 · the Uploaded button inside the demo is a sample control with tabindex minus one and aria-hidden · the one real primary stays Request a pilot */
/* Hallmark · answered F7 · the number pills in the sample selection and the nav links are the WedLora pill shape for small chips and controls */
/* Hallmark · dismissed 47c · the studio pane and the phone are built samples in data-slot with sample names and the product is an early preview */

:root {
  color-scheme: light;

  /* palette: the only colour literals in this file */
  --berry: #3D0421;
  --orchid: #D96EAC;
  --lavender: #F0D6E6;
  --white: #FFFFFF;
  --leaf: #315923;
  --chartreuse: #A4BC3E;

  /* tints */
  --berry-60: color-mix(in srgb, var(--berry) 64%, transparent);
  --berry-40: color-mix(in srgb, var(--berry) 40%, transparent);
  --berry-30: color-mix(in srgb, var(--berry) 30%, transparent);
  --berry-12: color-mix(in srgb, var(--berry) 12%, transparent);
  --berry-10: color-mix(in srgb, var(--berry) 10%, transparent);
  --berry-08: color-mix(in srgb, var(--berry) 8%, transparent);
  --berry-06: color-mix(in srgb, var(--berry) 6%, transparent);
  --berry-04: color-mix(in srgb, var(--berry) 4%, transparent);
  --white-92: color-mix(in srgb, var(--white) 92%, transparent);
  --white-70: color-mix(in srgb, var(--white) 70%, transparent);
  --white-30: color-mix(in srgb, var(--white) 30%, transparent);
  --white-14: color-mix(in srgb, var(--white) 14%, transparent);
  --orchid-40: color-mix(in srgb, var(--orchid) 40%, transparent);
  --orchid-20: color-mix(in srgb, var(--orchid) 20%, transparent);
  --leaf-30: color-mix(in srgb, var(--leaf) 30%, transparent);
  --lavender-50: color-mix(in srgb, var(--lavender) 50%, var(--white));

  /* roles */
  --ink: var(--berry);
  --muted: var(--berry-60);
  --hairline: 1px solid var(--berry-10);
  --focus: var(--orchid);

  /* type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h1: 42px;
  --t-h2: 32px;
  --t-h3: 19px;
  --t-lede: 18px;
  --t-body: 16px;
  --t-small: 14px;

  /* space, 8px grid */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px;
  --gutter: 16px;
  --section: 64px;
  --max: 1120px;
  --nav-h: 64px;

  /* shape */
  --r-pane: 24px;
  --r-card: 16px;
  --r-sm: 8px;
  --r-phone: 30px;
  --pill: 999px;
  --shadow: 0 12px 32px var(--berry-08);
  --shadow-pane: 0 1px 0 var(--berry-08), 0 24px 48px -24px var(--berry-40);
  --shadow-sm: 0 2px 8px var(--berry-04);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 200ms;
  --dur-move: 400ms;
  --dur-slow: 700ms;
  --dur-draw: 1100ms;
}
@media (min-width: 600px) {
  :root { --gutter: 24px; --section: 96px; }
}
@media (min-width: 960px) {
  :root { --t-h1: 68px; --t-h2: 48px; --t-h3: 20px; --t-lede: 20px; --t-body: 17px; }
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-height: 100svh; overflow-x: clip;
  background: var(--white); color: var(--ink);
  font-family: var(--ui); font-size: var(--t-body); line-height: 1.6; font-weight: 400; font-synthesis: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--lavender); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orchid); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section--soft { --focus: var(--berry); }
.section--deep { --focus: var(--white); }

.skip { position: absolute; left: var(--s-2); top: -100px; z-index: 100; padding: 12px var(--s-2); background: var(--berry); color: var(--white); border-radius: var(--r-card); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* text roles */
h1, h2 { font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-family: var(--ui); font-weight: 600; font-size: var(--t-h3); line-height: 1.3; }
p { text-wrap: pretty; }
.lede { font-size: var(--t-lede); line-height: 1.55; color: var(--muted); max-width: 34ch; }
.caption { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* layout */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section--soft { background: var(--lavender); }
.section:not(.section--soft):not(.section--deep) + .section:not(.section--soft):not(.section--deep) { padding-top: var(--s-4); }
.section--deep { background: var(--berry); color: var(--white); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--art { position: relative; overflow: clip; isolation: isolate; }
.section--art > .wrap { position: relative; z-index: 1; }
.section-head { display: flex; flex-direction: column; gap: var(--s-2); max-width: 720px; margin-bottom: var(--s-6); }

/* art placement */
.art { position: absolute; z-index: 0; max-width: none; height: auto; pointer-events: none; }
.art--hero-sprig { display: none; top: -32px; right: -2%; width: 130px; transform: rotate(-14deg); }
.art--hero-blob { left: -22%; top: -14%; width: 144%; height: 128%; transform: rotate(-6deg); }
.art--deep-foliage { display: none; top: -10%; right: -12%; width: 420px; transform: rotate(-160deg); }
.art--pilot-sprig { display: none; top: 12%; left: 2%; width: 120px; transform: rotate(-30deg); }
.art--foot-leaf { display: none; bottom: -30%; left: -9%; width: 200px; transform: rotate(30deg); }
.art--foot-dots { display: none; top: var(--s-4); right: 8%; width: 120px; }
@media (min-width: 600px) {
  .art--foot-leaf, .art--foot-dots { display: block; }
}
@media (min-width: 960px) {
  .art--hero-sprig, .art--deep-foliage, .art--pilot-sprig { display: block; }
  .art--foot-leaf { width: 280px; left: -8%; bottom: -44%; }
}

.bloom { position: absolute; z-index: 1; overflow: visible; pointer-events: none; }
.bloom .art__orchid { fill: var(--orchid); }
.bloom .art__chartreuse { fill: var(--chartreuse); }
.bloom .art__berry { fill: var(--berry); }
.bloom--orchid { left: -24px; bottom: -28px; width: 72px; height: 72px; transform: rotate(-12deg); }
.bloom--chartreuse { display: none; top: var(--s-1); right: 3%; width: 130px; height: 130px; transform: rotate(12deg); }
.bloom--chartreuse .art__chartreuse { fill: var(--chartreuse); }
@media (min-width: 600px) { .bloom--chartreuse { display: block; } }
@media (min-width: 960px) { .bloom--orchid { left: -48px; bottom: -36px; width: 120px; height: 120px; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-1);
  min-height: 52px; padding: 0 var(--s-3); border: 1px solid transparent; border-radius: var(--pill);
  font-family: var(--ui); font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.btn--primary { background: var(--berry); color: var(--white); box-shadow: 0 6px 16px var(--berry-12); }
.btn--primary:hover { color: var(--white); background: color-mix(in srgb, var(--berry) 88%, var(--orchid)); box-shadow: 0 8px 20px var(--berry-12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--berry-30); color: var(--berry); cursor: not-allowed; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 var(--s-2); font-size: 15px; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s-3); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--white-92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.nav--scrolled { border-bottom-color: var(--berry-08); box-shadow: 0 6px 24px var(--berry-06); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; color: var(--ink); text-decoration: none; }
.brand__mark { color: var(--berry); }
.brand__mark .i-mark__tick { stroke: var(--leaf); }
.brand__word { font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.03em; }
.brand--lg .brand__word { font-size: 26px; }
.nav__menu { display: none; }
@media (min-width: 960px) {
  .nav__menu { display: flex; flex: 1; align-items: center; justify-content: center; gap: var(--s-1); }
  .nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-2); border-radius: var(--pill); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color var(--dur-fast) ease; }
  .nav__link:hover { background: var(--berry-04); }
  .nav__link:active { background: var(--berry-06); }
}

/* hero */
.hero { padding-block: var(--s-4) var(--s-8); }
.hero > .wrap { z-index: auto; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); align-items: center; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.hero__copy .actions { margin-top: var(--s-1); }
.petal-field { position: absolute; inset: 0; z-index: 1; overflow: clip; pointer-events: none; }
.petal-bit { position: absolute; width: 20px; height: 20px; pointer-events: none; animation: petal-fall var(--dur, 6s) linear forwards; }
.petal-bit svg { width: 100%; height: 100%; }
.petal-bit--orchid path { fill: var(--orchid-40); }
.petal-bit--lavender path { fill: var(--lavender); stroke: var(--orchid-40); stroke-width: 1; }
@keyframes petal-fall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate3d(calc(var(--dx, 40px) * .5), 150px, 0) rotate(calc(var(--rot, 180deg) * .5)); }
  88% { opacity: 1; }
  100% { transform: translate3d(var(--dx, 40px), 300px, 0) rotate(var(--rot, 360deg)); opacity: 0; }
}
.hero__watch { font-size: 16px; }
@media (min-width: 960px) {
  .hero { padding-block: var(--s-4); }
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); min-height: min(760px, calc(100svh - var(--nav-h))); }
  .hero__copy { grid-column: 1 / 6; gap: var(--s-3); padding-right: var(--s-2); }
  .demo { grid-column: 6 / 13; max-width: none; }
  .hero__watch { display: none; }
}
@media (min-width: 960px) and (max-height: 720px) {
  :root { --t-h1: 56px; }
}

/* ink underline */
.ink { position: relative; display: inline-block; }
.ink__svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.28em; overflow: visible; pointer-events: none; }
.ink__path { fill: none; stroke: var(--orchid); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 0; }
.section--deep .ink__path { stroke: var(--chartreuse); }
.fx .ink__path { transition: stroke-dashoffset var(--dur-draw) var(--ease-out); }
.fx .ink:not(.is-drawn) .ink__path { stroke-dashoffset: 1000; }

/* demo: figure, stage, panes */
.demo { position: relative; z-index: 2; min-width: 0; width: 100%; max-width: 560px; margin-inline: auto; }
.stagewrap { position: relative; }
.stage { position: relative; z-index: 2; display: grid; gap: var(--s-2); }
.pane { position: relative; background: var(--white); border-radius: var(--r-pane); box-shadow: var(--shadow-pane); padding: var(--s-2); }
.pane--phone { justify-self: center; width: 240px; padding: 8px; border: 3px solid var(--berry); border-radius: var(--r-phone); overflow: clip; }
.pane__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); height: 32px; font-size: 13px; line-height: 1.4; }
.pane__brand { font-weight: 700; letter-spacing: -0.02em; }
.pane__who { color: var(--muted); font-weight: 500; text-align: right; }

.shot { position: relative; display: block; min-width: 0; margin-top: var(--s-2); padding-top: var(--s-2); border-top: var(--hairline); }
.pane__head + .shot { margin-top: 0; padding-top: 0; border-top: 0; }
.shot--upload { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: var(--s-2); }
.shot__title { display: flex; align-items: center; gap: var(--s-1); font-size: 14px; font-weight: 600; line-height: 1.4; }
.shot__title.is-done { color: var(--leaf); }
.shot__title svg { flex: none; width: 20px; height: 20px; }
.shot--link, .shot--arrived { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.shot__row { display: flex; gap: var(--s-1); }
.url { max-width: 100%; padding: var(--s-1) 12px; border-radius: 12px; background: var(--lavender-50); font-size: 15px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.note { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--muted); }
.note--done { display: flex; align-items: center; gap: 4px; color: var(--leaf); font-weight: 600; }
.note--done svg { flex: none; }

.folder { display: flex; flex-direction: column; gap: var(--s-1); min-width: 0; padding: 12px; border-radius: var(--r-card); background: var(--lavender-50); }
.folder__head { font-size: 13px; font-weight: 600; line-height: 1.4; }
.folder__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.d-thumb { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); background: var(--lavender); }
.d-thumb--more { display: grid; place-content: center; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--ink); background: var(--lavender); }
.d-thumb--more span { display: block; }
.idle { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s-2); border-radius: inherit; background: var(--lavender-50); font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--muted); text-align: center; }
.msg { position: absolute; left: 6px; right: 6px; top: 10px; z-index: 4; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; padding: 8px 12px 12px; border-radius: var(--r-card); background: var(--white-92); box-shadow: var(--shadow-pane); will-change: transform; }
.msg__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--berry); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1; }
.msg__from { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.msg__when { font-weight: 500; color: var(--muted); }
.msg__text { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.msg__link { text-decoration: underline; text-decoration-color: var(--orchid); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-1); min-width: 0; padding: var(--s-2); border: 2px dashed var(--berry-30); border-radius: var(--r-card); background: var(--lavender-50); text-align: center; }
.drop[data-state="over"] { border-color: var(--orchid); background: var(--lavender); }
.drop[data-state="done"] { border-color: var(--leaf-30); }
.drop__icon { width: 32px; height: 32px; }
.drop__text { font-size: 13px; font-weight: 600; line-height: 1.4; }
.drop__row { display: grid; grid-template-columns: repeat(3, minmax(0, 36px)); gap: 4px; justify-content: center; width: 100%; }
.drop__row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.meter { width: 100%; height: 6px; border-radius: 4px; background: var(--lavender); overflow: clip; }
.meter i { display: block; width: 100%; height: 100%; border-radius: 4px; background: var(--orchid); transform-origin: left center; }
.count { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

.drag { position: absolute; left: 0; top: 0; z-index: 4; width: 44px; height: 55px; pointer-events: none; will-change: transform; }
.drag img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); border: 2px solid var(--white); box-shadow: var(--shadow-sm); }
.drag img:nth-child(1) { transform: rotate(-6deg); }
.drag img:nth-child(2) { transform: translate(4px, 4px); }
.drag img:nth-child(3) { transform: translate(8px, 8px) rotate(5deg); }
.cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; pointer-events: none; will-change: transform; }


.nums { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.shot--arrived { justify-content: center; gap: var(--s-2); }
.shot--arrived .shot__title { font-size: 16px; }
.shot--arrived .num { padding: 8px var(--s-2); font-size: 18px; }
.num { padding: 4px 12px; border-radius: var(--pill); background: var(--lavender); font-size: 13px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }

/* product buttons inside the demo */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 0 var(--s-2); border: 0; border-radius: var(--pill); background: var(--berry); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) ease, transform 120ms var(--ease-out); }
.pbtn:active { transform: scale(.97); }
.pbtn--send { background: var(--orchid); color: var(--berry); }
.pbtn.is-done { background: var(--leaf); color: var(--white); }
.pbtn.is-off { background: var(--berry-30); color: var(--berry); }
.pbtn:disabled { background: var(--lavender); color: var(--muted); cursor: not-allowed; }
.pbtn[tabindex="-1"] { cursor: default; }

/* phone picker */
.picker { display: flex; flex-direction: column; gap: var(--s-1); height: 100%; }
.picker__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-1); padding: 4px var(--s-1); border-radius: 12px; background: var(--lavender-50); }
.picker__names { grid-column: 1 / 3; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: clip; text-overflow: ellipsis; }
.picker__event { grid-column: 1; font-size: 12px; line-height: 1.4; color: var(--muted); }
.picker__limit { grid-column: 2; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.picker__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: var(--r-sm); overflow: clip; background: var(--lavender); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 0 var(--orchid); transition: box-shadow var(--dur-fast) var(--ease-out); }
.tile:focus-visible { outline: 3px solid var(--berry); outline-offset: -3px; }
.tile:active { transform: scale(.98); }
.tile__num { position: absolute; top: 4px; left: 4px; padding: 0 4px; border-radius: var(--pill); background: var(--white-92); color: var(--berry); font-size: 12px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.tile__heart { position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--berry); box-shadow: var(--shadow-sm); }
.tile__heart svg { width: 14px; height: 14px; fill: var(--heart-fill, none); stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tile.is-picked::after, .tile[aria-pressed="true"]::after { box-shadow: inset 0 0 0 3px var(--orchid); }
.tile.is-picked .tile__heart, .tile[aria-pressed="true"] .tile__heart { --heart-fill: var(--orchid); color: var(--orchid); }
.fx .tile.is-picked .tile__heart svg { animation: heart-pop 320ms var(--ease-out); }
@keyframes heart-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
.picker.is-full .tile:not(.is-picked) .tile__heart { opacity: .45; }
.picker.is-full .tile:not(.is-picked) { cursor: not-allowed; }
.picker.is-sent .tile { cursor: default; }
.picker.is-sent .tile:not(.is-picked) { opacity: .35; }
.picker__send { margin-top: auto; padding-top: var(--s-1); }
.picker__meter { height: 4px; border-radius: 4px; background: var(--lavender); overflow: clip; }
.picker__fill { display: block; width: 100%; height: 100%; border-radius: 4px; background: var(--orchid); transform: scaleX(.6667); transform-origin: left center; transition: transform var(--dur-fast) var(--ease-out); }
.picker.is-full .picker__fill { background: var(--chartreuse); }
.picker__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); margin-top: var(--s-1); }
.picker__count { font-size: 12px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.picker__sent { min-height: 20px; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center; color: var(--leaf); opacity: 0; visibility: hidden; }
.picker.is-sent .picker__sent { opacity: 1; visibility: visible; }
@media (hover: hover) {
  .picker:not(.is-sent) .tile:hover .tile__heart { box-shadow: var(--shadow-sm), 0 0 0 3px var(--white-92); }
}

.finger { position: absolute; left: 0; top: 0; z-index: 5; width: 28px; height: 28px; border-radius: 50%; background: var(--orchid); pointer-events: none; will-change: transform; }

/* demo bar */
.demo__bar { margin-top: var(--s-2); }
.demo__progress { height: 3px; border-radius: var(--pill); background: var(--lavender); overflow: clip; }
.demo__progress i { display: block; width: 100%; height: 100%; background: var(--orchid); transform-origin: left center; transform: scaleX(0); }
.demo__steps { display: flex; flex-wrap: wrap; gap: var(--s-1); margin: 12px 0 0; padding: 0; list-style: none; counter-reset: step; }
.demo__steps > li { counter-increment: step; }
.demo__step { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0 var(--s-2) 0 8px; border: 0; border-radius: var(--pill); background: var(--lavender); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.demo__step::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo__step[aria-pressed="true"] { background: var(--berry); color: var(--white); }
.demo__step[aria-pressed="true"]::before { background: var(--orchid); color: var(--berry); }
.demo__step:active { transform: scale(.98); }
.demo__controls { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); margin-top: 4px; }
.linkbtn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 4px; cursor: pointer; transition: text-decoration-color var(--dur-fast) ease; }
.linkbtn:hover { text-decoration-color: var(--orchid); }
.linkbtn:active { opacity: .7; }
.demo .caption { margin-top: var(--s-1); }

/* demo, static storyboard (no .fx): every shot in the flow, controls hidden */
html:not(.fx) .cursor, html:not(.fx) .finger, html:not(.fx) .drag,
html:not(.fx) .demo__controls, html:not(.fx) .demo__progress, html:not(.fx) .idle { display: none; }
html:not(.fx) .msg { position: static; margin-bottom: var(--s-1); }
html:not(.fx) .picker { height: auto; }
html:not(.fx) .demo__steps { flex-direction: column; align-items: flex-start; gap: 4px; }
html:not(.fx) .demo__step { min-height: 32px; padding: 0; background: none; pointer-events: none; cursor: default; }

/* demo, animated stage (.fx): panes and shots stack, rest state is step one */
.fx .stage { display: block; height: 368px; }
.fx .pane--studio { position: absolute; inset: 0; overflow: clip; }
.fx .pane--phone { position: absolute; left: 0; right: 0; top: 8px; width: 200px; height: 340px; margin-inline: auto; opacity: 0; visibility: hidden; }
.fx .shot { position: absolute; inset: 52px var(--s-2) var(--s-2); margin: 0; padding: 0; border: 0; }
.fx .shot--link, .fx .shot--arrived { opacity: 0; visibility: hidden; }
.fx .shot--upload { grid-template-rows: minmax(0, 1fr); }
.fx .folder { height: 100%; min-height: 0; overflow: clip; }
.fx .folder__grid { flex: none; grid-template-rows: repeat(4, 54px); }
.fx .d-thumb { display: block; width: 100%; height: 54px; min-height: 0; max-height: 54px; aspect-ratio: auto; }
.fx .d-thumb--more { display: grid; }
.fx #d-dropped, .fx #d-bar, .fx #d-count, .fx #d-sent-note { opacity: 0; visibility: hidden; }
.fx #d-bar-fill { transform: scaleX(0); }
.fx .cursor, .fx .drag, .fx .finger { opacity: 0; }
.fx #d-msg, .fx #picker { opacity: 0; visibility: hidden; }
.fx .picker__fill { transform: scaleX(0); }
@media (max-width: 959px) {
  .fx .demo__steps { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .fx .demo__steps::-webkit-scrollbar { display: none; }
  .fx .demo__steps > li { flex: none; scroll-snap-align: start; }
}
@media (min-width: 960px) {
  .art--hero-blob { left: 30%; top: -10%; width: 82%; height: 120%; }
  .fx .stage { height: 440px; }
  .fx .pane--studio { right: auto; width: 62%; padding: 20px; }
  .fx .pane--phone { left: auto; right: 0; top: 32px; width: 212px; height: 376px; margin-inline: 0; opacity: .5; visibility: visible; transform: scale(.98); }
  .fx .shot { inset: 56px 20px 20px; }
  .fx .drop { padding: var(--s-2); }
  .fx .folder__grid { grid-template-rows: repeat(4, 70px); }
  .fx .d-thumb { height: 70px; max-height: 70px; }
}

/* card */
.card { background: var(--white); border: var(--hairline); border-radius: var(--r-pane); box-shadow: var(--shadow); padding: var(--s-3); }
.card h3 { margin-bottom: var(--s-3); }
@media (min-width: 600px) { .card { padding: var(--s-4); } }

/* outcomes */
.outcomes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-6); margin: 0; }
.outcome { padding-block: var(--s-3); border-top: 1px solid var(--white-14); }
.outcome dt { font-family: var(--ui); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--white); }
.outcome dd { margin-top: var(--s-1); font-size: var(--t-body); line-height: 1.6; color: var(--white-70); max-width: 40ch; }
@media (min-width: 760px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .outcome { padding-block: var(--s-4); } }

/* events */
.events { display: flex; gap: var(--s-2); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-1); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.events::-webkit-scrollbar { display: none; }
.event { display: flex; flex-direction: column; flex: 0 0 calc((100% - var(--s-2)) / 2.25); scroll-snap-align: start; min-width: 0; border: var(--hairline); border-radius: var(--r-card); background: var(--lavender-50); overflow: clip; box-shadow: var(--shadow-sm); }
.event img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; background: var(--lavender); }
.event__name { flex: 1; display: grid; align-content: center; padding: 8px 12px 12px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.15; letter-spacing: -0.005em; }
.events__note { margin-top: var(--s-2); }
@media (min-width: 760px) {
  .events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
  .event { flex: none; }
  .event__name { font-size: 22px; }
}
@media (min-width: 1120px) { .events { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.faq__list { border-bottom: 1px solid var(--berry-12); }
.faq details { border-top: 1px solid var(--berry-12); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 56px; padding-block: var(--s-1); font-weight: 600; font-size: var(--t-h3); line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
.faq details[open] p { animation: faq-in var(--dur-fast) var(--ease-out); }
.faq details p { padding-bottom: var(--s-2); color: var(--muted); max-width: 60ch; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); }
  .faq__grid .section-head { grid-column: 1 / 5; margin-bottom: 0; }
  .faq__list { grid-column: 5 / 13; }
}

/* pilot */
.pilot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.pilot__head { display: flex; flex-direction: column; gap: var(--s-3); }
.form { display: flex; flex-direction: column; gap: var(--s-1); }
.field { display: flex; flex-direction: column; gap: var(--s-1); }
.field label { font-size: var(--t-small); font-weight: 500; line-height: 1.5; }
.field input { width: 100%; min-height: 52px; padding: 0 var(--s-2); border: 1px solid var(--berry-30); border-radius: var(--r-card); background: var(--white); color: var(--ink); font-size: 16px; }
.field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-card); }
.field input[aria-invalid="true"] { border-color: var(--berry); box-shadow: inset 0 0 0 1px var(--berry); }
.field__err { min-height: 1lh; font-size: var(--t-small); line-height: 1.5; font-weight: 600; color: var(--ink); }
.form .btn { margin-top: var(--s-1); }
.form__status { min-height: 1lh; font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
@media (min-width: 960px) {
  .pilot__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); }
  .pilot__head { grid-column: 1 / 6; }
  .form { grid-column: 7 / 13; }
}

/* footer */
.footer { position: relative; border-top: var(--hairline); padding-block: var(--s-8) var(--s-4); }
.footer__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.footer__line { max-width: 56ch; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-decoration-color: var(--orchid); text-underline-offset: 4px; }
.footer__legal { width: 100%; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--berry-08); font-size: var(--t-small); color: var(--muted); }
@media (min-width: 960px) {
  .footer__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); row-gap: var(--s-3); align-items: center; }
  .footer__inner .brand { grid-column: 1 / 5; }
  .footer__line { grid-column: 5 / 13; }
  .footer__links { grid-column: 1 / 13; }
  .footer__legal { grid-column: 1 / 13; }
}

/* secondary pages */
.page { padding: var(--s-8) 0 var(--s-12); }
.prose { max-width: 66ch; }
.prose h1 { margin-bottom: var(--s-2); font-size: clamp(44px, 4vw + 24px, 72px); }
.prose h2 { margin-top: var(--s-6); margin-bottom: var(--s-1); font-size: clamp(28px, 1vw + 24px, 36px); }
.prose p, .prose li { line-height: 1.7; }
.prose p + p, .prose ul { margin-top: var(--s-2); }
.prose ul { display: flex; flex-direction: column; gap: var(--s-1); padding-left: 1.25em; }
.prose li::marker { color: var(--leaf); }
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); justify-content: center; min-height: calc(100svh - var(--nav-h)); padding-block: var(--s-8); }
.notfound h1 { max-width: 12ch; font-size: clamp(48px, 6vw + 16px, 96px); line-height: 1.02; }

/* reveal: fade and 12px rise, once */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-move) var(--ease-out), transform var(--dur-move) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 759px) { .js .events .reveal { opacity: 1; transform: none; } }

/* hero proof and pilot note */
.hero__proof { max-width: 44ch; }
.pilot__note { max-width: 44ch; }

/* promise: one large statement, words warm up one by one as they cross the trigger line */
.promise { padding-block: var(--s-8); }
.promise__text { max-width: 860px; font-size: clamp(34px, 5.2vw + 8px, 68px); line-height: 1.08; letter-spacing: -0.015em; }
.promise .w { color: var(--ink); }
.fx .promise .w { color: var(--berry-30); transition: color var(--dur-slow) var(--ease-out); }
.fx .promise .w.is-lit { color: var(--ink); }
@media (min-width: 600px) { .promise { padding-block: var(--s-12); } }

/* active states for the form and demo controls */
.btn:focus-visible { outline-offset: 3px; }

/* bloom: petals open when main.js adds .is-open (open without .fx) */
.fx [data-fx="bloom"] path, .fx [data-fx="bloom"] circle { transform-box: fill-box; transform-origin: center; transition: scale var(--dur-slow) var(--ease-out), opacity var(--dur-move) ease; }
.fx [data-fx="bloom"]:not(.is-open) path, .fx [data-fx="bloom"]:not(.is-open) circle { scale: .08; opacity: 0; }
[data-fx="bloom"] :nth-child(2) { transition-delay: 70ms; }
[data-fx="bloom"] :nth-child(3) { transition-delay: 140ms; }
[data-fx="bloom"] :nth-child(4) { transition-delay: 210ms; }
[data-fx="bloom"] :nth-child(5) { transition-delay: 280ms; }
[data-fx="bloom"] :nth-child(6) { transition-delay: 350ms; }
[data-fx="bloom"] :nth-child(7) { transition-delay: 420ms; }
[data-fx="bloom"] :nth-child(n+8) { transition-delay: 490ms; }

/* reduced motion: every end state at once */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .petal-field { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .fx .promise .w { color: var(--ink); }
  .fx .ink__path, .fx .ink:not(.is-drawn) .ink__path { stroke-dashoffset: 0; }
  .fx [data-fx="bloom"]:not(.is-open) path, .fx [data-fx="bloom"]:not(.is-open) circle { scale: none; opacity: 1; }
}
