/* ==========================================================================
   The Pastelist — website styles (v2: conversion-focused refresh)
   Brand tokens: "Standard Elements/The Pastelist.xd" + primary pastel #DCCFF7.
   See docs/03-brand-style-guide.md for usage rules.
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #24166c;          /* deep indigo: headings, footer */
  --violet: #5947b5;       /* brand violet: logo, buttons, links (white text passes AA) */
  --violet-dark: #46369c;  /* hover */
  --lavender: #a594f9;     /* logo seeds: decoration only */
  --pastel: #dccff7;       /* PRIMARY PASTEL PURPLE: accents, chips, highlights */
  --pastel-200: #eae2fa;
  --pastel-100: #f3eefc;
  --pastel-50: #faf8fe;    /* soft section background */
  --blush: #fdf0f5;
  --white: #ffffff;
  --coral: #d93a5b;        /* form errors */

  /* Text */
  --text: #3a3363;
  --muted: #6b6690;
  --line: #ebe4f8;

  /* WhatsApp (darkened from #25D366 so white text passes WCAG AA) */
  --wa: #16803f;
  --wa-dark: #0f6b33;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Ms Madi", "Segoe Script", cursive;

  /* Shape & depth */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --shadow-sm: 0 1px 2px rgb(36 22 108 / 0.04), 0 6px 18px rgb(36 22 108 / 0.06);
  --shadow: 0 18px 40px -20px rgb(36 22 108 / 0.3);
  --shadow-lg: 0 34px 70px -30px rgb(36 22 108 / 0.42);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(60px, 8vw, 104px);
  --bar-h: 0px;            /* height reserved for the mobile WhatsApp bar */
}

/* ----------------------------- Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--white);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; } /* keeps the icon sprite & hidden messages hidden despite the rule above */

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-dark); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

section[id], main, #top { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1.2 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.05rem; }

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgb(89 71 181 / 0.75);
}
.btn-primary:hover { background: var(--violet-dark); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--pastel);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--violet); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgb(22 128 63 / 0.7);
}
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.btn-text {
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--violet);
  font: 500 0.98rem var(--font-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.btn-text:hover { color: var(--violet-dark); }

/* ----------------------------- Eyebrow ---------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--violet);
  font: 500 0.8rem/1.3 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  flex: none;
}

/* ----------------------------- Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: auto; height: 40px; }
.brand-word { width: auto; height: 29px; }

.site-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-wa { display: none; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1.5px solid var(--pastel);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px; height: 2px;
  margin: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 979px) {
  .js .menu-toggle { display: block; }
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    padding: 12px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .js .site-header.menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-wa { display: flex; width: 100%; margin-top: 20px; }
  html:not(.js) .site-nav ul { flex-flow: row wrap; gap: 4px 18px; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
}
@media (max-width: 519px) {
  .header-cta { display: none; }
  .brand-mark { height: 36px; }
  .brand-word { height: 26px; }
}

/* ------------------------------ Hero ------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px) 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(55% 55% at 88% 18%, rgb(220 207 247 / 0.75), transparent 70%),
    radial-gradient(40% 45% at 4% 96%, rgb(253 226 238 / 0.85), transparent 70%),
    linear-gradient(180deg, var(--pastel-50), #fff);
}

.hero-grid { position: relative; display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }

.hero-tagline {
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--pastel);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  letter-spacing: 0.16em;
}
.hero-tagline::before { display: none; }
.hero-tagline .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px var(--pastel);
}

.hero h1 {
  position: relative;
  z-index: 0; /* keeps the hand-drawn underline behind the words, above the hero background */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 540;
  line-height: 1.07;
}
.hero h1 em { position: relative; color: var(--violet); font-style: italic; white-space: nowrap; }
.hero h1 em::after { /* hand-drawn lavender underline */
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: -0.08em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14c40-9 90-12 194-6' fill='none' stroke='%23a594f9' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

.lead { max-width: 33em; margin-bottom: 28px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
@media (max-width: 519px) { .hero-actions .btn { flex: 1 1 100%; } }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--violet); }

/* collage */
.hero-visual { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 10px 11% 34px 13%; }
.arch {
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 50% 50% 26px 26px / 40% 40% 26px 26px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ph); }
.bubble { position: absolute; margin: 0; overflow: hidden; border: 6px solid #fff; background: #fff; box-shadow: var(--shadow); }
.bubble img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ph); }
.bubble-letter { left: 0; bottom: 4%; width: 38%; border-radius: 50%; }
.bubble-onam { right: 0; top: 14%; width: 30%; border-radius: 26px; transform: rotate(6deg); }
.badge {
  position: absolute;
  right: 3%; bottom: 0;
  display: grid;
  place-items: center;
  width: clamp(100px, 26%, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}
.badge > * { grid-area: 1 / 1; }
.badge-ring { width: 100%; height: 100%; transform: rotate(-20deg); }
.badge-ring text { fill: var(--violet); font: 500 14.5px var(--font-body); letter-spacing: 0.14em; }
.badge img { width: 36%; height: auto; }

/* floating dandelion seeds (gentle drift) */
.seeds { position: absolute; inset: 0; pointer-events: none; }
.seed {
  position: absolute;
  width: 16px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 42'%3E%3Ccircle cx='10' cy='8' r='5.5' fill='none' stroke='%23a594f9' stroke-width='3'/%3E%3Cpath d='M10 14.5V38' stroke='%23a594f9' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.8;
  animation: drift 18s ease-in-out infinite;
}
.s1 { top: 12%; right: 6%; }
.s2 { top: 32%; right: 44%; width: 11px; height: 24px; animation-delay: -5s; animation-duration: 21s; }
.s3 { top: 6%; right: 30%; width: 13px; height: 28px; animation-delay: -9s; }
.s4 { bottom: 12%; left: 3%; animation-delay: -2s; animation-duration: 22s; }
.s5 { top: 58%; right: 2%; width: 12px; height: 26px; animation-delay: -12s; }
@media (max-width: 899px) {
  .s2, .s5 { display: none; }
  .s1 { top: 30%; right: 4%; }
  .s3 { top: 44%; right: 10%; }
  .s4 { top: auto; bottom: 3%; left: 4%; }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(30deg); }
  50% { transform: translate(16px, -18px) rotate(44deg); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { margin-right: 0; }
}

/* ----------------------------- Ribbon ----------------------------------- */
.ribbon {
  overflow: hidden;
  padding: 16px 0;
  background: var(--violet);
  color: #fff;
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon 92s linear infinite;   /* ~45px a second */
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font: 500 0.9rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ribbon-track span::after {
  content: "";
  width: 9px; height: 9px;
  border: 2px solid var(--lavender);
  border-radius: 50%;
}
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------------------------- Sections ---------------------------------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--pastel-50); }

.section-head { max-width: 700px; margin: 0 auto clamp(30px, 4.5vw, 52px); text-align: center; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(1.95rem, 3.8vw, 2.9rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.section-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }

/* ------------------------ Recent creations ------------------------------ */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(24px, 3.5vw, 36px); }
.filter {
  min-height: 42px;
  padding: 9px 18px;
  border: 1.5px solid var(--pastel);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 0.95rem var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filter:hover { border-color: var(--violet); }
.filter.is-active { border-color: var(--violet); background: var(--violet); color: #fff; }
@media (max-width: 639px) {
  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}

.gallery { columns: 2; column-gap: 12px; }
.g-item { margin: 0 0 16px; break-inside: avoid; }
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r);
  background: var(--pastel-100);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  background: var(--ph);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.035); }
.g-item figcaption { padding: 8px 6px 0; color: var(--muted); font-size: 0.92rem; line-height: 1.35; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 22px; } .g-item { margin-bottom: 24px; } }
.gallery-more-wrap { display: flex; justify-content: center; margin-top: 4px; }

.note-card {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  border: 1.5px dashed var(--pastel);
  border-radius: var(--r);
  background: var(--pastel-50);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}
.note-card strong { color: var(--ink); font: 500 1.1rem/1.25 var(--font-display); }
.note-card:hover { border-color: var(--violet); color: var(--text); }
.note-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pastel); color: var(--violet); }
.note-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-weight: 500; }

/* ------------------------------ Budget ---------------------------------- */
.budget-card {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(255 255 255 / 0.65), transparent 70%),
    linear-gradient(135deg, var(--pastel) 0%, var(--pastel-100) 100%);
}
.budget-copy h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.budget-copy p:not(.eyebrow) { color: var(--ink); font-size: 1.12rem; }
.budget-pick fieldset { margin: 0 0 14px; padding: 0; border: 0; }
.budget-pick legend { margin-bottom: 12px; padding: 0; color: var(--ink); font-weight: 500; }
.budget-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.budget-opt { position: relative; }
.budget-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.budget-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 14px;
  border: 1.5px solid rgb(255 255 255 / 0.9);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: 600 1.15rem var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.budget-opt span:hover { transform: translateY(-2px); border-color: var(--violet); }
.budget-opt input:checked + span { border-color: var(--violet); background: var(--violet); color: #fff; }
.budget-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.budget-opt-wide { grid-column: 1 / -1; }
.budget-note { margin: 0 0 20px; color: var(--ink); font-size: 0.95rem; }
@media (min-width: 900px) {
  .budget-card { grid-template-columns: 1fr 1fr; gap: 56px; }
  .budget-options { grid-template-columns: repeat(3, 1fr); }
  .budget-opt-wide { grid-column: span 2; }
}

/* ----------------------------- Occasions -------------------------------- */
.occasions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.occasion {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 8px 16px;
  border: 1.5px solid var(--pastel-200);
  border-radius: var(--r);
  background: #fff;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.occasion:hover { transform: translateY(-3px); border-color: var(--pastel); box-shadow: var(--shadow-sm); }
.occ-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pastel);
  color: var(--violet);
}
.occ-icon .icon { width: 26px; height: 26px; }
.occasion h3 { max-width: 100%; font-size: 0.98rem; line-height: 1.2; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.occasion p { display: none; margin: 0; color: var(--muted); font-size: 0.95rem; }
.occ-link { font-size: 0; }                      /* phones: the whole tile is the link */
.occ-link .icon { display: none; }
.occ-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (min-width: 640px) {
  .occasions { gap: 18px; }
  .occasion { justify-items: start; gap: 10px; padding: 24px 22px; text-align: left; }
  .occasion h3 { font-size: 1.2rem; }
  .occasion p { display: block; }
  .occ-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.97rem; font-weight: 500; text-decoration: none; }
  .occ-link .icon { display: block; transition: transform 0.25s; }
  .occasion:hover .occ-link .icon { transform: translateX(4px); }
}

/* ---------------------------- Gift types -------------------------------- */
.cards { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--ph);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .card-media img { transform: scale(1.045); }
.card-illo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 60% at 70% 20%, rgb(255 255 255 / 0.7), transparent 70%),
    linear-gradient(160deg, var(--pastel) 0%, var(--pastel-100) 100%);
}
.card-illo .illo { width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .illo { transform: scale(1.04); }
.addon-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 10px 8px;
  margin: 0;
  padding: 22px;
  list-style: none;
}
.addon-cloud li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.addon-cloud li:nth-child(odd) { transform: rotate(-3deg); }
.addon-cloud li:nth-child(3n) { transform: rotate(2.5deg); background: var(--blush); }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.card h3 { font-size: 1.28rem; }
.card-tag { margin: 0 0 6px; color: var(--violet); font-family: var(--font-display); font-style: italic; font-size: 0.98rem; }
.card-body p:not(.card-tag) { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-weight: 500;
  text-decoration: none;
}
.card-link .icon { transition: transform 0.25s; }
.card-link:hover .icon { transform: translateX(4px); }

@media (max-width: 639px) {  /* phones: swipeable row, next card peeking */
  .cards {
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card:hover { transform: none; }
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------ Not sure what to gift ------------------------- */
.help-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--pastel) 0%, var(--pastel-100) 70%, var(--blush) 100%);
  box-shadow: var(--shadow);
}
.help-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ph); }
.help-copy { padding: clamp(28px, 5vw, 56px); }
.help-copy h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); }
.help-lead { margin-bottom: 26px; color: var(--ink); font-size: 1.15rem; }
.help-small { margin: 12px 0 0; color: var(--ink); font-size: 0.9rem; opacity: 0.8; }
@media (min-width: 900px) {
  .help-card { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .help-media { align-self: stretch; }
  .help-media img { aspect-ratio: auto; min-height: 100%; }
}

/* ------------------------------ Why ------------------------------------- */
.promises { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.promises li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.promise-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--pastel);
  color: var(--violet);
}
.promise-icon .icon { width: 24px; height: 24px; }
.promises h3 { font-size: 1.15rem; }
.promises p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) {
  .promises { grid-template-columns: repeat(5, 1fr); }
  .promises li { grid-template-columns: 1fr; padding: 26px 22px; }
  .promise-icon { grid-row: auto; margin-bottom: 12px; }
}

/* ----------------------------- Reviews ---------------------------------- */
.reviews { display: grid; gap: 18px; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.review-card h3 { font-size: 1.25rem; }
.review-card p { color: var(--muted); }
.review-card .btn { align-self: flex-start; margin-top: auto; }
.review-quote { border: 0; background: var(--pastel); }
.quote-mark { width: 44px; fill: var(--violet); opacity: 0.55; }
.review-quote blockquote { margin: 0; }
.review-quote blockquote p { color: var(--ink); font: italic 450 clamp(1.15rem, 1.9vw, 1.35rem)/1.5 var(--font-display); }
.review-quote figcaption { margin-top: auto; color: var(--ink); font-weight: 500; }
.review-quote figcaption span { display: block; color: var(--ink); opacity: 0.75; font-size: 0.9rem; font-weight: 400; }
.stars { margin: 0; color: var(--violet); letter-spacing: 0.15em; }
.review-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pastel-100); color: var(--violet); }
.review-shot img { border-radius: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; } }

/* ------------------------------ About ----------------------------------- */
.about-wrap { max-width: 800px; text-align: center; }
.center-eyebrow { margin-bottom: 26px; }
.letter {
  position: relative;
  padding: clamp(34px, 5vw, 56px) clamp(26px, 5vw, 56px) clamp(30px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}
.letter::before { /* a strip of washi tape */
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 120px; height: 30px;
  margin-left: -60px;
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgb(220 207 247 / 0.95) 0 8px, rgb(243 238 252 / 0.95) 8px 16px);
  transform: rotate(-3deg);
  box-shadow: 0 2px 6px rgb(36 22 108 / 0.08);
}
.letter p { margin-bottom: 1em; }
.letter-greeting { color: var(--ink); font: italic 500 1.35rem/1.4 var(--font-display); }
.letter-sign { margin-top: 1.4em; color: var(--ink); font-family: var(--font-display); font-style: italic; }
.letter-sign span { display: block; color: var(--violet); font: 400 2.9rem/1.1 var(--font-script); }
.letter-mark { position: absolute; right: 22px; bottom: 18px; width: 88px; opacity: 0.35; }

/* --------------------------- How it works ------------------------------ */
.steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 2px 18px; padding-bottom: 26px; }
.step::before { /* connecting line */
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--pastel) 0 6px, transparent 6px 12px);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-no {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pastel);
  color: var(--violet);
  font: italic 560 1.25rem var(--font-display);
}
.step h3 { padding-top: 4px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .step { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 0; text-align: center; }
  .step::before { left: calc(50% + 40px); right: calc(-50% + 18px); top: 36px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--pastel) 0 6px, transparent 6px 12px); }
  .step-no { grid-row: auto; width: 72px; height: 72px; margin-bottom: 8px; font-size: 1.5rem; }
  .step h3 { padding-top: 0; }
}

/* ----------------------------- Delivery --------------------------------- */
.delivery { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.delivery li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.delivery-icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pastel); color: var(--violet); }
.delivery-icon .icon { width: 25px; height: 25px; }
.delivery h3 { font-size: 1.2rem; }
.delivery p { color: var(--muted); }
.delivery-note { max-width: 42em; margin: 24px auto 0; color: var(--muted); font-size: 0.95rem; text-align: center; }
@media (min-width: 760px) {
  .delivery { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .delivery li { grid-template-columns: 1fr; justify-items: center; padding: 30px 24px; text-align: center; }
  .delivery-icon { grid-row: auto; width: 60px; height: 60px; margin-bottom: 10px; }
}

/* ----------------------------- Enquire ---------------------------------- */
.enquire-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) {
  .enquire-grid { grid-template-columns: 5fr 7fr; gap: 56px; }
  .enquire-intro { position: sticky; top: calc(var(--header-h) + 28px); }
}
.enquire-intro h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.enquire-intro > p:not(.eyebrow) { color: var(--muted); }

.contact-list { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-list a:hover { border-color: var(--violet); transform: translateX(3px); }
.contact-list strong { display: block; color: var(--ink); font-weight: 500; }
.contact-list span:last-child { font-size: 0.95rem; line-height: 1.4; overflow-wrap: anywhere; }
.contact-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pastel-100); color: var(--violet); }
.contact-icon.wa { background: var(--wa); color: #fff; }
.note { display: flex; gap: 10px; color: var(--ink); font-size: 0.95rem; }
.note .icon { margin-top: 3px; color: var(--violet); }

.form-card { padding: clamp(18px, 3.5vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.form-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-bottom: 22px; padding: 5px; border-radius: 999px; background: var(--pastel-100); }
.form-tabs [role="tab"] {
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 0.97rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.form-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--violet); box-shadow: var(--shadow-sm); }
.panel-intro { margin-bottom: 18px; color: var(--ink); font-weight: 500; }

.field-row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.field label span[aria-hidden], .field legend span[aria-hidden] { color: var(--violet); }
.hint { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--pastel-50);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);   /* 16px: stops iPhones zooming into fields */
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background: var(--pastel-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235947b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #938eb4; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--pastel); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--violet);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(89 71 181 / 0.15);
  outline: none;
}
.field [aria-invalid="true"] { border-color: var(--coral); background-color: #fff7f9; }
.field-error { margin: 6px 0 0; color: var(--coral); font-size: 0.9rem; font-weight: 500; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.choice span:hover { border-color: var(--pastel); background: var(--pastel-50); }
.choice input:checked + span { border-color: var(--violet); background: var(--violet); color: #fff; }
.choice input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.form-status { min-height: 1.5em; margin: 14px 0 0; color: var(--violet); font-weight: 500; }
.form-status:empty { min-height: 0; margin: 0; }
.form-status a { font-weight: 700; }
.form-fineprint { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }

/* ------------------------------- FAQ ------------------------------------ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 52px 20px 4px;
  color: var(--ink);
  font: 500 1.14rem/1.35 var(--font-display);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 32px; height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--pastel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%235947b5' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 18px;
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--violet); }
.faq details p { padding: 0 52px 22px 4px; color: var(--text); }

/* ---------------------------- Final CTA --------------------------------- */
.final-cta {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(50% 70% at 50% 0%, rgb(220 207 247 / 0.9), transparent 75%),
    linear-gradient(180deg, #fff, var(--pastel-100));
  text-align: center;
}
.final-inner { max-width: 820px; }
.final-mark { width: 72px; margin: 0 auto 20px; }
.final-cta h2 { margin-bottom: 16px; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.final-cta p { max-width: 34em; margin: 0 auto 30px; color: var(--ink); font-size: 1.15rem; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.final-word { width: 240px; margin: 0 auto; opacity: 0.9; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { padding: clamp(52px, 7vw, 76px) 0 26px; background: var(--ink); color: #d9d3ff; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--pastel); text-decoration: underline; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 0.8fr; gap: 44px; }
  .footer-brand { grid-column: auto; }
}
.footer-brand img { width: 170px; margin-bottom: 10px; }
.footer-tagline { margin-bottom: 14px; color: var(--lavender); font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; }
.footer-brand p:not(.footer-tagline) { max-width: 26em; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
}
.footer-social a:hover { border-color: var(--pastel); text-decoration: none; }
.footer-title { margin-bottom: 14px; color: #fff; font: 500 0.8rem/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--lavender); }
.footer-plain li { color: #d9d3ff; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; color: #b9b1ef; font-size: 0.88rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgb(255 255 255 / 0.12); }
.footer-bottom p { margin: 0; }

/* ----------------- WhatsApp: mobile bar + desktop float ----------------- */
.wa-bar { display: none; }
@media (max-width: 899px) {
  :root { --bar-h: 84px; }
  .wa-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 20px 8px 8px;
    border-radius: 999px;
    background: var(--violet);
    color: #fff;
    font: 600 1.02rem/1.2 var(--font-body);
    text-decoration: none;
    box-shadow: 0 16px 34px -12px rgb(36 22 108 / 0.65);
    transition: transform 0.3s, opacity 0.3s;
  }
  .wa-bar:hover { color: #fff; background: var(--violet-dark); }
  .wa-bar-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); }
  .wa-bar-icon .icon { width: 22px; height: 22px; }
  .wa-bar.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
}

.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgb(15 107 51 / 0.7);
  transition: opacity 0.3s, transform 0.3s, background-color 0.2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: scale(1.06); }
@media (min-width: 900px) {
  .wa-float { display: grid; }
  .js .wa-float { opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; }
  .js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
  .js .wa-float.is-visible:hover { transform: scale(1.06); }
}
.menu-open ~ .wa-float, .menu-open ~ .wa-bar { opacity: 0 !important; pointer-events: none !important; }

/* single-column grids may shrink below their content's natural width (no sideways scroll on tiny screens) */
@media (max-width: 639px) {
  .hero-grid, .budget-card, .help-card, .reviews, .enquire-grid, .promises, .delivery { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) { /* very small phones (iPhone SE, compact Androids) */
  .btn { white-space: normal; text-align: center; }
  .hero-tagline { padding: 7px 12px 7px 10px; font-size: 0.7rem; letter-spacing: 0.1em; }
  .wa-bar { gap: 8px; padding-right: 14px; font-size: 0.92rem; }
  .wa-bar-icon { width: 34px; height: 34px; }
  .occasion { padding: 14px 3px 12px; }
  .occasion h3 { font-size: 0.8rem; letter-spacing: -0.01em; }
  .occ-icon { width: 46px; height: 46px; }
}

/* ----------------------------- Lightbox --------------------------------- */
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgb(22 12 64 / 0.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 64px clamp(12px, 8vw, 96px); }
.lightbox img {
  width: auto; height: auto;
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.6);
}
.lightbox figcaption { margin-top: 16px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; text-align: center; }
.lb-close, .lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.lb-close:hover, .lb-nav:hover { background: #fff; transform: scale(1.06); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 14px; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 14px; }
@media (max-width: 639px) {
  .lb-nav { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ------------------------- Reveal on scroll ----------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  /* ribbon stops moving: a still, centred list on wide screens… */
  .ribbon-track { flex-wrap: wrap; justify-content: center; row-gap: 12px; width: auto; padding-inline: var(--gutter); animation: none; }
  .ribbon-track span:nth-child(n + 11) { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899px) {
  /* …and a single still line you can swipe on phones and tablets */
  .ribbon { overflow-x: auto; scrollbar-width: none; }
  .ribbon::-webkit-scrollbar { display: none; }
  .ribbon-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
}

/* ------------------------------- Print ---------------------------------- */
@media print {
  .site-header, .wa-float, .wa-bar, .seeds, .ribbon, .hero-actions, .form-card, .lightbox, .final-actions { display: none !important; }
  body { padding: 0; }
  .section { padding: 24px 0; }
}
