/* GiveCosy — storefront design system.
   Two soft themes: apricot (default) and cornflower (?theme=cornflower).
   Primary is for fills and flourishes only; primary-dark carries text and buttons (≥5:1 on white). */
:root {
  /* Peach (default): peach is for fields and flourishes; navy does the work (buttons, links, ink). */
  --primary: #FFB896; --primary-dark: #1D2B4F; --primary-darker: #121C36;
  --tint: #FFF1E9; --tint-2: #FFE2D2; --cream: #FFFCFA; --card: #FFFFFF;
  --ink: #1D2440; --ink-soft: #5A6075; --line: #EEE6E1;
  --accent: #1D2B4F; --accent-tint: #E9EDF6; --gold: #F5B841; --heart: #F08A8A; --ok: #2F7D5B;
  --icon-fill: var(--tint-2);
  --shadow: 0 1px 2px rgba(29,36,64,.06), 0 6px 20px rgba(29,36,64,.07);
  --shadow-lg: 0 12px 40px rgba(29,36,64,.14);
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  /* One geometric family, Moonpig-style: bold headlines, light reading text. */
  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Outfit", system-ui, sans-serif;
  --display-weight: 600; --display-vary: normal;
  --wrap: 1180px; --gutter: 16px;
  --card-ratio: 5 / 7;
}
[data-palette="cornflower"] {
  --primary: #A9C4F5; --primary-dark: #2B59C3; --primary-darker: #1F4499;
  --tint: #EEF3FE; --tint-2: #DCE7FC; --cream: #FCFDFF;
  --ink: #1A2240; --ink-soft: #566079; --line: #E3E9F5;
  --accent: #2B59C3; --accent-tint: #E6EEFC;
  --shadow: 0 1px 2px rgba(26,34,64,.06), 0 6px 20px rgba(26,34,64,.07);
  --shadow-lg: 0 12px 40px rgba(26,34,64,.14);
}
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .f { fill: var(--icon-fill); stroke: none; }
.ic .solid, .ic .dot { fill: currentColor; stroke: none; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: -.15em; }
.stars .ic { width: 1em; height: 1em; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16.5px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: var(--display-weight); font-variation-settings: var(--display-vary); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--primary-dark); border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.hand { font-family: var(--hand); }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 26px;
  border-radius: var(--pill); border: 2px solid var(--primary-dark); background: var(--primary-dark); color: #fff;
  font: 700 16px/1 var(--body); text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { background: var(--primary-darker); border-color: var(--primary-darker); }
.btn { --icon-fill: color-mix(in srgb, currentColor 22%, transparent); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--primary-dark); }
.btn.ghost:hover { background: var(--tint); }
.btn.soft { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.soft:hover { border-color: var(--primary); background: var(--tint); }
.btn.big { min-height: 58px; font-size: 17px; padding: 0 32px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--primary); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter) 10px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chips > * { scroll-snap-align: start; }
.badge { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 3px 9px; border-radius: var(--pill); font: 700 11px/1.4 var(--body); letter-spacing: .04em; text-transform: uppercase; }
.badge.new { background: var(--accent); color: #fff; }
.badge.lic { background: #fff; color: var(--ink); box-shadow: 0 0 0 1.5px var(--primary) inset; }
.badge .ic { width: 12px; height: 12px; }
.badge.vid { background: var(--ink); color: #fff; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 8px var(--gutter); }
.topbar b { font-weight: 700; }
.topbar a { color: #fff; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,250,244,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
[data-palette="cornflower"] .hdr { background: rgba(251,248,243,.92); }
.hdr-row { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: var(--display-weight) 25px/1 var(--display); font-variation-settings: var(--display-vary); letter-spacing: -.02em; white-space: nowrap; }
.logo .wm { font-size: 27px; }
.wm { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; white-space: nowrap; line-height: 1; color: inherit; }
.wm-h { width: .74em; height: .74em; fill: #E23B4E; margin: 0 -.15em 0 -.13em; flex: none; transform: translateY(.1em); position: relative; z-index: 1; stroke: var(--wm-cut, #FFFAF4); stroke-width: 2.2px; paint-order: stroke; }
.wm-h .rb { fill: var(--wm-cut, #FFFAF4); stroke: none; }
.ftr .wm { --wm-cut: var(--ink); }
.logo span em { font-style: normal; }
.search { flex: 1; max-width: 460px; margin-left: 18px; position: relative; display: none; }
.search input { width: 100%; height: 44px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--card); padding: 0 18px 0 44px; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--tint); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 22px; height: 22px; }
.burger { margin-left: -8px; }
.nav { display: none; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border: 0; background: none; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; border-radius: var(--pill); }
.nav a:hover, .nav button:hover { background: var(--tint); }
.nav .season { color: var(--primary-dark); }
.nav .drop { position: relative; }
.mega { position: absolute; left: 0; top: 100%; min-width: 560px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px; display: none; grid-template-columns: repeat(3, 1fr); gap: 2px 14px; z-index: 50; }
.mega.narrow { min-width: 300px; grid-template-columns: 1fr; }
.drop:hover .mega, .drop:focus-within .mega { display: grid; }
.mega a { height: auto; padding: 8px 10px; border-radius: var(--r-sm); font-weight: 500; }
.mega a small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 13px; }
@media (min-width: 980px) {
  .burger { display: none; }
  .search { display: block; }
  .nav { display: flex; align-items: center; gap: 2px; height: 52px; }
}
/* drawer (phones) */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.on { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(30,20,15,.35); animation: fade .2s ease; }
.drawer .panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 360px); background: var(--cream); box-shadow: var(--shadow-lg); overflow-y: auto; padding: 14px 18px 40px; animation: slideIn .25s cubic-bezier(.2,.8,.2,1); }
.drawer h4 { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 22px 0 8px; }
.drawer a { display: flex; align-items: center; gap: 10px; padding: 11px 6px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer .grid2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--tint-2) 0%, var(--tint) 45%, var(--cream) 100%); }
.hero .wrap { display: grid; gap: 22px; padding-top: 28px; padding-bottom: 36px; align-items: center; }
.hero h1 { margin-bottom: .25em; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--ink-soft); }
.trust > span { white-space: nowrap; }
.trust b { color: var(--ink); }
.fan { position: relative; height: 262px; margin: 0 auto 18px; width: 100%; max-width: 520px; order: -1; }
.fan .c { position: absolute; left: 50%; bottom: 0; width: 40%; aspect-ratio: var(--card-ratio); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fan .c img, .fan .c video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.fan .c:nth-child(1) { transform: translateX(-50%) rotate(-16deg) translateX(-48%); }
.fan .c:nth-child(2) { transform: translateX(-50%) rotate(-5deg) translateX(-14%); z-index: 2; }
.fan .c:nth-child(3) { transform: translateX(-50%) rotate(6deg) translateX(18%); z-index: 3; }
.fan .c:nth-child(4) { transform: translateX(-50%) rotate(16deg) translateX(50%); z-index: 1; }
.fan:hover .c:nth-child(1) { transform: translateX(-50%) rotate(-20deg) translateX(-56%); }
.fan:hover .c:nth-child(4) { transform: translateX(-50%) rotate(20deg) translateX(58%); }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; padding-top: 56px; padding-bottom: 64px; }
  .fan { order: 0; height: 460px; }
}

.hero-photo { display: block; order: -1; margin: -28px calc(-1 * var(--gutter)) 0; aspect-ratio: 1 / 1; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (min-width: 860px) {
  .hero-photo { order: 0; margin: 0; aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
  .hero-photo img { object-position: 80% 50%; }
}

/* ---------- sections ---------- */
section.band { padding: 44px 0; }
section.band.tint { background: var(--tint); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--ink-soft); }
.sec-head .more { font-weight: 700; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
@media (min-width: 860px) { section.band { padding: 64px 0; } }

/* category circles (Moonpig-style round shortcuts), straight under the header */
.cats { padding: 14px 0 6px; background: var(--cream); border-bottom: 1px solid var(--line); }
.cats .occ i { width: 64px; height: 64px; }
.cats .occ i .ic { width: 30px; height: 30px; }
.cats .occ-row { grid-auto-columns: 80px; gap: 18px; scroll-behavior: smooth; }
.occ-scroll { position: relative; }
.occ-arrow { position: absolute; top: 34px; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(29,36,64,.12); transition: opacity .2s ease, transform .2s ease; }
.occ-arrow:hover { transform: translateY(-50%) scale(1.06); }
.occ-arrow .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.occ-arrow.prev { left: -6px; } .occ-arrow.next { right: -6px; }
.occ-arrow[hidden] { display: grid; opacity: 0; pointer-events: none; }
.occ-scroll::before, .occ-scroll::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none; transition: opacity .2s ease; }
.occ-scroll::before { left: 0; background: linear-gradient(90deg, var(--cream), rgba(255,252,250,0)); opacity: var(--fade-l, 0); }
.occ-scroll::after { right: 0; background: linear-gradient(270deg, var(--cream), rgba(255,252,250,0)); opacity: var(--fade-r, 0); }
.occ-row { display: grid; grid-auto-flow: column; grid-auto-columns: 86px; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.occ-row::-webkit-scrollbar { display: none; }
.occ { display: grid; justify-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 13.5px; text-align: center; line-height: 1.2; }
.occ i { font-style: normal; width: 76px; height: 76px; border-radius: 50%; background: var(--tint); color: var(--ink); display: grid; place-items: center; border: 2px solid transparent; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.occ i .ic { width: 36px; height: 36px; stroke-width: 1.4; }
.occ:hover i { transform: translateY(-3px); border-color: var(--primary); }
.occ.season i { background: var(--primary); --icon-fill: #fff; }
@media (min-width: 980px) { .cats .occ-row { grid-auto-columns: 96px; gap: 28px; grid-auto-flow: column; overflow-x: auto; margin: 0; padding: 4px 0 8px; } .occ-arrow.prev { left: -19px; } .occ-arrow.next { right: -19px; } }

/* ---------- product tiles ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 12px; margin: 0 calc(-1 * var(--gutter)); scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 980px) { .rail { grid-auto-columns: calc(20% - 10px); gap: 14px; margin: 0; padding: 4px 0 12px; } }
.tile { position: relative; display: block; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; width: 100%; }
.tile .art { position: relative; aspect-ratio: var(--card-ratio); border-radius: 12px; overflow: hidden; background: var(--tint); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.tile .art img, .tile .art video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.tile .art video { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.tile .art video.on { opacity: 1; }
.tile:hover .art { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.tile .flags { position: absolute; bottom: 8px; left: 8px; right: 52px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 3; }
.tile .play { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow); }
.tile .play svg { width: 16px; height: 16px; margin-left: 2px; color: var(--ink); }
.tile .meta { padding: 10px 2px 0; }
.tile .t { font-weight: 700; font-size: 15px; line-height: 1.25; }
.tile .s { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tile .s .price { color: var(--ink); font-weight: 700; }
.soon { position: absolute; inset: 0 0 auto 0; z-index: 2; padding: 10px 10px 22px; background: linear-gradient(rgba(30,20,15,.55), transparent); color: #fff; font: 600 12.5px/1.3 var(--body); text-align: center; }

/* ---------- how it works ---------- */
.steps3 { display: grid; gap: 14px; counter-reset: s; }
.steps3 > div { background: var(--card); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow); position: relative; }
.steps3 > div::before { display: none; }
.steps3 .sic { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; margin-bottom: 6px; }
.steps3 .sic .ic { width: 28px; height: 28px; }
.steps3 h3 { margin-top: 8px; }
.steps3 p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- ranges ---------- */
.ranges { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ranges { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ranges { grid-template-columns: repeat(3, 1fr); } }
.range { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .2s ease; }
.range:hover { transform: translateY(-3px); }
.range::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--rc, var(--primary)); }
.range .pic { aspect-ratio: var(--card-ratio); border-radius: 10px; overflow: hidden; background: var(--tint); }
.range .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.range h3 { margin: 4px 0 4px; }
.range p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.range .lic { margin-bottom: 4px; }
.range.licence { background: var(--ink); color: #fff; grid-template-columns: 1fr; text-align: left; }
.range.licence p { color: rgba(255,255,255,.75); }

/* ---------- video band ---------- */
.vband { background: var(--ink); color: #fff; overflow: hidden; }
.vband .wrap { display: grid; gap: 26px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.vband h2 { color: #fff; }
.vband p { color: rgba(255,255,255,.78); }
.vband .phones { display: flex; gap: 12px; justify-content: center; }
.phone { width: 42%; max-width: 210px; aspect-ratio: 9 / 16; border-radius: 26px; padding: 7px; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.phone:nth-child(2) { transform: translateY(26px); }
@media (min-width: 860px) { .vband .wrap { grid-template-columns: 1fr 1.1fr; } }

/* ---------- opening promo ---------- */
.promo-open { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .promo-open { grid-template-columns: 1fr 1fr; } }
.mini-env { position: relative; width: min(320px, 80%); aspect-ratio: 7 / 5; margin: 30px auto 10px; }

/* ---------- reviews ---------- */
.rev-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.rev .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.rev .av { width: 34px; height: 34px; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; font-weight: 700; color: var(--primary-dark); }
.rev h4 { font: 700 16px/1.3 var(--body); margin: 6px 0 4px; }
.rev p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.rev-sum { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rev-sum .big { font: var(--display-weight) 44px/1 var(--display); }

/* ---------- licensing / newsletter bands ---------- */
.cta-band { border-radius: var(--r-lg); padding: 28px 22px; background: var(--tint-2); color: var(--ink); display: grid; gap: 14px; align-items: center; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; padding: 36px 40px; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: rgba(255,255,255,.82); margin-top: 20px; padding: 40px 0 28px; font-size: 14.5px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr .cols { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.ftr h4 { color: #fff; font: 700 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr .brand { grid-column: 1 / -1; }
.ftr .brand .logo { color: #fff; }
.ftr .brand .wm { font-size: 30px; }
.ftr .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; }
.theme-try { display: inline-flex; gap: 6px; align-items: center; }
.theme-try a { width: 22px; height: 22px; border-radius: 50%; display: inline-block; border: 2px solid rgba(255,255,255,.5); }
.theme-try a.tt { width: auto; height: auto; border: 0; border-radius: 0; text-decoration: underline; }
.nav a .ic, .mega a .ic, .drawer a .ic { width: 20px; height: 20px; }
@media (min-width: 860px) { .ftr .cols { grid-template-columns: 1.4fr repeat(4, 1fr); } .ftr .brand { grid-column: auto; } }

/* ---------- shop listing ---------- */
.shop-head { background: var(--tint); padding: 26px 0 8px; }
.shop-head h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 6px; }
.shop-head .lede { color: var(--ink-soft); margin-bottom: 14px; max-width: 40em; }
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a { color: var(--ink-soft); }
.filters { position: sticky; top: 64px; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); padding-top: 10px; }
.filters .row { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--tint); gap: 2px; flex: none; }
.seg a { padding: 8px 14px; border-radius: var(--pill); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.seg a.on { background: var(--card); box-shadow: var(--shadow); }
.sel { height: 40px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--card); padding: 0 34px 0 14px; font-weight: 600; font-size: 14.5px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.count { font-size: 14px; color: var(--ink-soft); margin: 18px 0 12px; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 22px; padding: 22px 0 40px; }
.pdp .gallery { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.pdp .gallery .art { aspect-ratio: var(--card-ratio); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.pdp .gallery .art.v { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; }
.pdp .gallery img, .pdp .gallery video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.pdp h1 { font-size: clamp(28px, 4.4vw, 42px); }
.pdp .price { font: var(--display-weight) 30px/1 var(--display); margin: 10px 0 4px; }
.pdp .formats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.fmt { border: 2px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--card); text-decoration: none; color: var(--ink); }
.fmt.on { border-color: var(--primary-dark); background: var(--tint); }
.fmt b { display: block; }
.fmt small { color: var(--ink-soft); }
.pdp ul.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.pdp ul.ticks li { padding-left: 28px; position: relative; }
.pdp ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D2B4F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 36px; align-items: start; } .pdp .gallery { position: sticky; top: 140px; } }

/* ---------- the wizard (P&P full-screen flow) ---------- */
.wiz { position: fixed; inset: 0; z-index: 100; background: var(--cream); display: none; flex-direction: column; }
.wiz.on { display: flex; animation: wizIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes wizIn { from { opacity: 0; transform: translateY(18px); } }
.wiz-top { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 12px 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.wiz-top h2 { font-size: 20px; margin: 0; flex: 1; }
.wiz-x { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--tint); height: 38px; padding: 0 14px; border-radius: var(--pill); font-weight: 700; font-size: 14px; }
.wiz-rail { display: flex; gap: 6px; padding: 12px var(--gutter); overflow-x: auto; flex: none; scrollbar-width: none; }
.wiz-rail::-webkit-scrollbar { display: none; }
.wiz-rail button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 6px 4px 4px; border-radius: var(--pill); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.wiz-rail button i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 13px; font-weight: 700; }
.wiz-rail button.on { color: var(--ink); }
.wiz-rail button.on i { background: var(--primary-dark); color: #fff; }
.wiz-rail button.done i { background: var(--accent); color: #fff; }
.wiz-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wiz-body .inner { max-width: 760px; margin: 0 auto; padding: 8px var(--gutter) 40px; }
.wiz-foot { flex: none; display: flex; gap: 10px; align-items: center; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.wiz-foot .sum { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.3; }
.wiz-foot .sum b { color: var(--ink); font-size: 17px; display: block; }
.wiz-foot .sum span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q { display: none; }
.q.on { display: block; animation: fade .25s ease; }
.lab { font: var(--display-weight) 25px/1.15 var(--display); font-variation-settings: var(--display-vary); letter-spacing: -.015em; margin: 10px 0 6px; }
.qhint { color: var(--ink-soft); font-size: 15px; margin: 0 0 14px; }
.sublab { font-weight: 700; margin: 22px 0 8px; }
.sublab .opt { font-weight: 400; color: var(--ink-soft); }
.field { position: relative; }
.field input, .field textarea { width: 100%; border-radius: var(--r); border: 2px solid var(--line); background: var(--card); padding: 14px 16px; font-size: 17px; }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-dark); box-shadow: 0 0 0 4px var(--tint); }
.field input.msg { font: 600 17px/1.2 var(--body); letter-spacing: .02em; padding-right: 58px; }
@media (min-width: 420px) { .field input.msg { font-size: 20px; } }
.field .cnt { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ink-soft); }
.field .cnt.warn { color: var(--primary-dark); font-weight: 700; }
.field.bad input, .field.bad textarea { border-color: #C2413A; }
.err { color: #A8322B; font-size: 14px; margin: 6px 2px 0; }
.emfix { font-size: 14px; margin: 6px 2px 0; }
.emfix button { border: 0; background: none; color: var(--primary-dark); font-weight: 700; text-decoration: underline; padding: 0; }
.pick { display: grid; gap: 10px; }
.pickrow { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--line); background: var(--card); cursor: pointer; }
.pickrow:has(input:checked) { border-color: var(--primary-dark); background: var(--tint); }
.pickrow input { accent-color: var(--primary-dark); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.pickrow b { display: block; }
.pickrow span { color: var(--ink-soft); font-size: 15px; }
.peek { border: 0; background: none; color: var(--primary-dark); font-weight: 700; text-decoration: underline; padding: 0; font-size: 14px; }
.sbs { display: grid; gap: 18px; }
.sbs .media { width: 62%; max-width: 260px; margin: 0 auto; position: relative; }
.sbs .media .art { aspect-ratio: var(--card-ratio); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--tint); }
.sbs .media .art.v { aspect-ratio: 9 / 16; }
.sbs .media img, .sbs .media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.sbs .media .swap { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); }
.sbs .media .swap .chip { min-height: 34px; font-size: 13px; box-shadow: var(--shadow); }
.yourwords { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.yourwords b { display: block; font: 700 18px/1.2 var(--body); color: var(--ink); margin-top: 4px; letter-spacing: .02em; word-break: break-word; }
.ideas { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; }
.ideas button { border: 1.5px dashed var(--line); background: var(--card); padding: 6px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600; }
.ideas button:hover { border-color: var(--primary); }
@media (min-width: 760px) { .sbs { grid-template-columns: 240px 1fr; align-items: start; gap: 28px; } .sbs .media { width: 100%; } }
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .designs { grid-template-columns: repeat(4, 1fr); } }
.designs button { border: 3px solid transparent; padding: 0; border-radius: 12px; background: none; overflow: hidden; aspect-ratio: var(--card-ratio); position: relative; }
.designs button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.designs button.on { border-color: var(--primary-dark); }
.designs button.on::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-dark); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.review-list { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.review-list .r { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.review-list .r:last-child { border-bottom: 0; }
.review-list dt { font-size: 13px; color: var(--ink-soft); grid-column: 1; }
.review-list dd { margin: 0; font-weight: 600; grid-column: 1; word-break: break-word; }
.review-list .r button { grid-column: 2; grid-row: 1 / span 2; align-self: center; border: 0; background: none; color: var(--primary-dark); font-weight: 700; text-decoration: underline; }
.rev-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px; font-size: 18px; }
.rev-total b { font: var(--display-weight) 28px/1 var(--display); }
.fine { font-size: 13px; color: var(--ink-soft); }
.checking { position: fixed; inset: 0; z-index: 120; background: rgba(255,250,244,.94); display: none; place-items: center; text-align: center; padding: 20px; }
.checking.on { display: grid; }
.checking .dots { display: inline-flex; gap: 8px; margin-bottom: 14px; }
.checking .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--primary-dark); animation: bob 1s ease-in-out infinite; }
.checking .dots i:nth-child(2) { animation-delay: .15s; } .checking .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-8px); opacity: .5; } }
.modal { position: fixed; inset: 0; z-index: 130; display: none; place-items: center; padding: 16px; background: rgba(30,20,15,.45); }
.modal.on { display: grid; animation: fade .2s ease; }
.modal .box { background: var(--card); border-radius: var(--r-lg); max-width: 440px; width: 100%; padding: 22px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow: auto; }

/* ---------- order confirmed ---------- */
.done { max-width: 640px; margin: 0 auto; padding: 36px var(--gutter) 60px; text-align: center; }
.done .pic { width: 170px; margin: 0 auto 18px; aspect-ratio: var(--card-ratio); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-4deg); }
.done .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.timeline { text-align: left; margin: 26px 0; display: grid; gap: 0; }
.timeline .st { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 0 18px; position: relative; }
.timeline .st::before { content: ""; position: absolute; left: 16px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline .st:last-child::before { display: none; }
.timeline .st i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 15px; z-index: 1; }
.timeline .st.ok i { background: var(--accent); color: #fff; }
.timeline .st.now i { background: var(--primary); animation: pulse 1.6s ease-in-out infinite; }
.timeline .st i .ic { width: 18px; height: 18px; }
.timeline .st b { display: block; }
.timeline .st span { color: var(--ink-soft); font-size: 14.5px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 30%, transparent); } }

/* ---------- simple content pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 36px var(--gutter) 60px; }
.page h1 { font-size: clamp(30px, 5vw, 44px); }
.page h2 { font-size: 24px; margin-top: 1.6em; }
.faq details { background: var(--card); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- nav: centred logo, uppercase row, full-width menus (desktop) ---------- */
.mega-links a, .mega-all { display: block; }
.mega-promo { display: none; }
@media (min-width: 980px) {
  .hdr { background: rgba(255,255,255,.96); }
  .hdr-row { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); height: 92px; gap: 24px; }
  .hdr-row .search { order: 1; margin: 0; max-width: 340px; width: 100%; justify-self: start; }
  .hdr-row .search input { border-radius: 8px; background: var(--tint); border-color: transparent; }
  .hdr-row .logo { order: 2; justify-self: center; }
  .hdr-row .logo .wm { font-size: 36px; }
  .hdr-row .hdr-actions { order: 3; margin: 0; justify-self: end; }
  .hdr-row [data-mobile-search] { display: none; }
  .nav { max-width: none; justify-content: center; gap: 6px; height: 54px; border-top: 1px solid var(--line); }
  .nav > a, .nav > .drop > button, .nav > .drop > a { display: inline-flex; align-items: center; position: relative; height: 54px; padding: 0 16px; border-radius: 0; font-weight: 500; font-size: 14.5px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
  .nav > a .ic, .nav > .drop > button .ic, .nav > .drop > a .ic { display: none; }
  .nav > a:hover, .nav > .drop > button:hover, .nav > .drop > a:hover { background: none; }
  .nav > a::after, .nav > .drop > button::after, .nav > .drop > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--primary-dark); transform: scaleX(0); transition: transform .2s ease; }
  .nav > a:hover::after, .nav > a[aria-current]::after, .drop:hover > button::after, .drop:focus-within > button::after, .drop:hover > a::after, .drop:focus-within > a::after { transform: scaleX(1); }
  .nav .season { color: var(--ink); }
  .nav .drop { position: static; }
  .mega, .mega[style] { left: 0; right: 0; top: 100%; min-width: 0 !important; border-radius: 0; border-top: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(29,36,64,.25); padding: 36px var(--gutter) 40px; gap: 64px; justify-content: center; align-items: stretch; }
  .drop:hover .mega, .drop:focus-within .mega { display: flex; }
  .mega-links { flex: 0 1 760px; display: flex; flex-direction: column; }
  .mega-cols { columns: 3 180px; column-gap: 48px; }
  .mega.narrow .mega-cols { columns: 2 220px; }
  .mega a { break-inside: avoid; height: auto; padding: 9px 0; border-radius: 0; font-weight: 400; font-size: 16px; color: var(--ink); background: none; }
  .mega a:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
  .mega a .ic { display: none; }
  .mega a small { margin-top: 2px; }
  .mega-all { margin-top: auto; padding-top: 22px !important; font-weight: 600 !important; font-size: 14.5px !important; letter-spacing: .07em; text-transform: uppercase; }
  .mega-promo { display: block; position: relative; flex: 0 0 260px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); padding: 0 !important; }
  .mega-promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .mega-promo:hover img { transform: scale(1.04); }
  .mega-promo span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 44px 18px 16px; color: #fff; font-weight: 600; font-size: 17px; background: linear-gradient(transparent, rgba(20,24,40,.72)); }
  .mega-promo:hover { text-decoration: none !important; }
  .mega-promo svg { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
}

/* cc-chars:start  characters pages, home strip and menu (built by _build/characters.py) */
.char-page { padding-top: 8px; }
.char-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 640px) { .char-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } }
@media (min-width: 980px) { .char-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.char-card { display: block; text-decoration: none; color: var(--ink); }
.char-card .pic { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--cc, var(--primary)) 25%, var(--cream)); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.char-card:hover .pic { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.char-card .pic > img { width: 100%; height: 100%; object-fit: cover; }
.char-card .clip { position: absolute; right: 8px; bottom: 8px; width: 34%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow-lg); background: #000; }
.char-card .clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.char-card .txt { padding: 10px 2px 0; }
.char-card h2, .char-card h3 { font-size: 19px; margin: 0 0 2px; }
.char-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.char-card.all .pic { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; text-align: center; padding: 16px; }
.char-card.all .pic span { display: inline-flex; align-items: center; gap: 6px; }
.char-rail { margin-bottom: 8px; }
@media (min-width: 980px) { .char-rail { grid-auto-columns: calc(20% - 12px); overflow-x: auto; scrollbar-width: none; } }
.char-sub { margin: 30px 0 14px; }
.char-note { margin-top: 26px; }
.char-hero { display: grid; gap: 26px; align-items: center; padding: 10px 0 0; }
@media (min-width: 860px) { .char-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.char-hero .portrait { border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--cc) 25%, var(--cream)); box-shadow: var(--shadow-lg); }
.char-hero .portrait img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.char-copy h2 { margin: 10px 0 8px; }
.char-copy p { font-size: 17.5px; }
.char-copy h3 { margin: 22px 0 10px; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; }
.char-occ { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.char-occ .chip { text-decoration: none; color: var(--ink); }
.char-occ .chip .ic { width: 18px; height: 18px; }
.char-film { display: grid; gap: 22px; align-items: center; margin-top: 44px; padding: 22px; border-radius: 24px; background: color-mix(in srgb, var(--cc) 14%, var(--cream)); }
@media (min-width: 760px) { .char-film { grid-template-columns: 260px 1fr; gap: 40px; padding: 32px; } }
.char-film .phone { width: min(260px, 70vw); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 6px solid var(--ink); background: #000; box-shadow: var(--shadow-lg); }
.char-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.char-film h2 { margin: 10px 0 8px; }
.mega.mega-chars { min-width: 600px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 980px) { .mega.mega-chars .mega-cols { columns: 3 200px; } .mega.mega-chars a { padding: 7px 0; } }
/* cc-chars:end */
