/* Luna Sparkles, version 4
   Pink mist page (no bright white). Tall thin capitals (Saira Extra Condensed, the nearest free web font to Donau),
   outline capitals that fill with rainbow under the mouse or finger, holographic foil on her photos.
   Her photos are never cropped: every one shows whole at its own shape.
   Corners: 2px on everything, 10px on the holo cards.
   Layers: page 0, sparks 3, prism light 30, bar 50, dialogs use the top layer. */

:root {
  --paper: #fbf2f6;
  --paper-2: #f6e8f0;
  --panel: #fdf6f9;
  --ink: #141217;
  --ink-2: #2a2630;
  --soft: #57525f;
  --line: #e4e1ea;
  --field: #8a8594;
  --err: #a8201a;
  --r1: #ff9ad5; --r2: #c9a2ff; --r3: #8fd0ff; --r4: #8ff3df; --r5: #b8f59a; --r6: #ffe38a;
  --spectrum: linear-gradient(90deg, var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6));
  --rainbow: linear-gradient(90deg, #ff9ad5, #c9a2ff, #8fd0ff, #8ff3df, #b8f59a, #ffe38a, #ff9ad5);
  /* softened holo foil: the rainbow mixed towards pink-white, like the approved holo cards */
  --foil: linear-gradient(115deg, #ffc8e6 0%, #e4cfff 16%, #c7e4ff 32%, #c9f6ea 48%, #def8cc 64%, #fff0c4 80%, #ffc8e6 100%);
  /* her sparkles: silver, with the soft rainbow glow from behind her logo */
  --silver: linear-gradient(135deg, #f4f4f8 0%, #b9b8c6 45%, #ffffff 55%, #9c9aab 100%);
  --display: "Playfair Display", Georgia, "Times New Roman", serif; /* her pick 30 Nov (option 2), was Fredoka */
  --script: "Playfair Display", Georgia, serif; /* 1 Dec, her ask: every font Playfair Display (was Sacramento) */
  --body: "Playfair Display", Georgia, "Times New Roman", serif; /* 1 Dec, her ask (was Jost) */
  --gut: clamp(16px, 4.5vw, 64px);
  --bar: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 2px;
  --shadow: 0 30px 60px -34px rgba(52, 30, 82, .42);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html { background: var(--paper); }
body { font: 400 17px/1.6 var(--body); color: var(--ink); background: transparent; overflow-x: clip; -webkit-font-smoothing: antialiased; }
/* Pink mist, soft fluorescent glows in the corners (pick 2). One fixed layer, never repainted on scroll. */
.mist { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 0% 0%, rgba(255, 43, 214, .20), transparent 70%), radial-gradient(55% 50% at 100% 100%, rgba(43, 255, 177, .16), transparent 70%), radial-gradient(120% 90% at 20% 10%, #fde3ef, rgba(253, 227, 239, 0) 60%), #fbf2f6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:focus-visible, .card-open:focus-visible, .way:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.skip { position: fixed; left: 12px; top: 12px; z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius); text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }

/* Tall thin capitals, like Donau */
.display, .hero-title, .lockup .caps, .sheet-title, .card-name, .way-name, .gift-body h2, .done-title, .brand-name, .line-title {
  font-family: var(--display); text-transform: uppercase; font-weight: 300; letter-spacing: .02em;
}
.display { font-weight: 200; font-size: clamp(54px, 8.6vw, 150px); line-height: .86; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font: 500 15px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .12s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* A rainbow edge runs round the button under a mouse, a finger or the keyboard */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.btn::before {
  content: ""; position: absolute; inset: 0; padding: 2.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--spin), var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before, .btn.lit::before { opacity: 1; animation: spin 2.2s linear infinite; }
.btn > * { position: relative; }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-line { background: rgba(255, 250, 252, .6); color: var(--ink); }
.btn-line:hover { background: var(--panel); }
/* Shop the makes and Name it: lighter (thinner words, softer line) */
.btn.btn-light { font-weight: 400; letter-spacing: .1em; border-width: 1px; }
.btn-line.btn-light { border-color: rgba(20, 18, 23, .42); }
.btn-line.btn-light:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Main buttons only: white, a thin line, a soft rainbow glow underneath (Aaron's picture, kept lighter) */
.btn.btn-glow {
  overflow: visible;
  background: #fff; color: var(--ink);
  border: 1px solid #d6d3de;
  box-shadow:
    -30px 16px 26px -10px rgba(255, 220, 110, .62),
    -10px 18px 26px -10px rgba(170, 238, 135, .55),
     12px 18px 26px -10px rgba(120, 196, 255, .62),
     32px 16px 26px -10px rgba(190, 150, 255, .55),
     0 1px 2px rgba(20, 18, 23, .06);
  transition: box-shadow .45s var(--ease), border-color .3s var(--ease), transform .12s var(--ease);
}
/* the coloured edge along the bottom */
.btn.btn-glow::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--r6), var(--r5), var(--r3), var(--r2), transparent);
  opacity: .85; transition: left .45s var(--ease), right .45s var(--ease), opacity .3s;
}
.btn.btn-glow::before { display: none; }
.btn.btn-glow:hover, .btn.btn-glow:focus-visible, .btn.btn-glow.lit {
  background: #fff; border-color: #c4c0ce;
  box-shadow:
    -36px 20px 30px -8px rgba(255, 220, 110, .75),
    -12px 22px 30px -8px rgba(170, 238, 135, .7),
     14px 22px 30px -8px rgba(120, 196, 255, .75),
     38px 20px 30px -8px rgba(190, 150, 255, .7),
     0 1px 2px rgba(20, 18, 23, .06);
}
.btn.btn-glow:hover::after, .btn.btn-glow:focus-visible::after, .btn.btn-glow.lit::after { left: 4%; right: 4%; opacity: 1; }
.btn.btn-glow:focus-visible { box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--ink); }
.btn.btn-glow .twinkles { opacity: 0; transition: opacity .3s var(--ease); }
.btn.btn-glow:hover .twinkles, .btn.btn-glow:focus-visible .twinkles, .btn.btn-glow.lit .twinkles { opacity: 1; }

/* Heart pointer over the whole page, beating over her makes (mouse only; phones and reduced motion keep the normal pointer) */
.heart-pointer { position: fixed; left: 0; top: 0; z-index: 70; width: 26px; height: 24px; margin: -12px 0 0 -13px; pointer-events: none; opacity: 0; transition: opacity .18s var(--ease); will-change: transform; }
.heart-pointer svg { display: block; width: 100%; height: 100%; fill: #ec4a98; filter: drop-shadow(0 2px 4px rgba(236, 74, 152, .35)); transform-origin: 50% 60%; transition: transform .14s var(--ease); }
.heart-on .heart-pointer { opacity: 1; }
.heart-on, .heart-on *:not(input):not(textarea):not(select) { cursor: none !important; }
@media (prefers-reduced-motion: no-preference) { .heart-make .heart-pointer svg { animation: beat 1.1s ease-in-out infinite; } }
.heart-pointer.press svg { transform: scale(.72); animation: none; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(.96); } 45% { transform: scale(1.12); } }

/* Twinkling stars round the big words (Aaron's "Magic UI" picture). Colours from her logo's rainbow glow. */
.has-twinkles { position: relative; }
.twinkles { position: absolute; inset: -.18em -.12em; pointer-events: none; z-index: 2; }
.btn .twinkles { inset: -10px -8px; font-size: 16px; }
.tw {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  color: var(--c); opacity: 0; transform: scale(0);
  animation: twinkle var(--d) var(--dl) ease-in-out infinite;
}
.tw svg { display: block; width: 100%; height: 100%; fill: url(#silver-fill); filter: drop-shadow(0 0 1px rgba(60, 56, 72, .45)) drop-shadow(0 0 4px var(--c)); }
.twinkles:not(.tw-on) .tw { animation-play-state: paused; }
@keyframes twinkle {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(80deg); }
  100% { opacity: 0; transform: scale(0) rotate(170deg); }
}

/* ---------- Bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gut);
  background: rgba(251, 240, 246, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(228, 225, 234, .8);
}
@media (prefers-reduced-transparency: reduce) { .bar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; min-width: 44px; }
.brand-mark { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.brand-mark img { width: 100%; height: 100%; mix-blend-mode: multiply; }
.brand-name { position: relative; font-size: 26px; font-weight: 400; letter-spacing: .14em; line-height: 1; white-space: nowrap; padding: 8px 0; }
/* Polished silver letters; a flash of light runs across; they lift under a mouse or a finger */
.brand-name .bl {
  display: inline-block; transform-origin: 50% 80%;
  background: linear-gradient(180deg, #4a4556 0%, #b9b5c6 38%, #2a2630 52%, #8a8598 78%, #3a3544 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.brand-name .bl.up { transform: translateY(-6px) scale(1.18) rotate(-5deg); filter: drop-shadow(0 0 4px rgba(185, 162, 255, .9)); transition-duration: .18s; }
.brand-name::after {
  content: ""; position: absolute; inset: 0 -20%; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%);
  mix-blend-mode: screen; transform: translateX(-100%); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) { .brand-name.shine::after { animation: shine 1.3s var(--ease); } }
@keyframes shine { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 1; } }

/* Rhinestone chain along the bar and the footer (only shows once her chain picture is in) */
.trim { position: absolute; left: 0; right: 0; height: 14px; display: none; pointer-events: none; background: var(--chain) repeat-x 0 50% / auto 100%; }
.has-chain .trim { display: block; }
.trim-bar { bottom: -8px; }
.trim-foot { top: -8px; }
.glint::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; }
.glint.go::after { animation: glint 1.1s var(--ease) forwards; }
@keyframes glint { to { transform: translateX(120%); } }
/* Computers: a soft holo glow slides along behind the word under the mouse or keyboard (menu pick 4) */
.links { position: relative; display: none; gap: 2px; }
.links a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 44px; padding: 0 clamp(8px, .8vw, 13px); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.links a:focus-visible { outline-offset: -2px; }
.links .slab { position: absolute; top: 8px; left: 0; height: 28px; width: 0; z-index: 0; border-radius: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, #ffd1ea, #e3d3ff, #cde9ff, #d3fbef, #fff3c4); box-shadow: 0 6px 16px -8px rgba(201, 162, 255, .9);
  transition: transform .4s var(--ease), width .4s var(--ease), opacity .25s; }
.links .slab.on { opacity: 1; }
.bar-end { display: flex; gap: 8px; }
.btn-bar { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: transparent; font: 500 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.btn-bar:hover { background: rgba(20, 18, 23, .05); }
/* Basket and Menu: white, a thin line, a soft rainbow glow underneath */
.btn-bar.btn-soft { position: relative; background: #fff; border: 1px solid #d6d3de; font-weight: 400; letter-spacing: .08em;
  box-shadow: -14px 8px 14px -8px rgba(255, 220, 110, .6), 0 10px 14px -8px rgba(120, 196, 255, .6), 14px 8px 14px -8px rgba(190, 150, 255, .55), 0 1px 2px rgba(20, 18, 23, .05);
  transition: box-shadow .4s var(--ease), border-color .3s var(--ease); }
.btn-bar.btn-soft::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 1.5px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--r6), var(--r5), var(--r3), var(--r2), transparent); opacity: .8; transition: left .4s var(--ease), right .4s var(--ease); }
.btn-bar.btn-soft:hover, .btn-bar.btn-soft:focus-visible { background: #fff; border-color: #c4c0ce;
  box-shadow: -18px 10px 16px -7px rgba(255, 220, 110, .72), 0 12px 16px -7px rgba(120, 196, 255, .72), 18px 10px 16px -7px rgba(190, 150, 255, .66), 0 1px 2px rgba(20, 18, 23, .05); }
.btn-bar.btn-soft:hover::after, .btn-bar.btn-soft:focus-visible::after { left: 4%; right: 4%; }
.count { font-variant-numeric: tabular-nums; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (min-width: 1200px) { .links { display: flex; } .menu-btn { display: none; } }
@media (max-width: 400px) { .brand-name { font-size: 20px; letter-spacing: .1em; } .btn-bar { padding: 0 10px; } }
@media (max-width: 350px) { .brand-name { display: none; } }

/* ---------- Prism light ---------- */
.prism { position: fixed; inset: 0; z-index: 30; pointer-events: none; overflow: hidden; mix-blend-mode: multiply; }
.prism-band { position: absolute; top: -30%; left: 0; width: 44vw; height: 160%; background: linear-gradient(90deg, transparent, var(--r1) 18%, var(--r2) 32%, var(--r3) 46%, var(--r4) 60%, var(--r5) 74%, var(--r6) 86%, transparent); filter: blur(26px); opacity: 0; transform: translateX(-70vw) rotate(14deg); }
.prism-spots span { position: absolute; width: 74px; height: 20px; border-radius: 50%; background: var(--spectrum); filter: blur(2px); opacity: 0; }
.prism.wash .prism-spots span { opacity: .55; transition: opacity 1.2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(22px, 3.4vh, 40px);
  padding: calc(var(--bar) + 28px) var(--gut) clamp(28px, 6vh, 64px);
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-light { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .5; }
/* his light picture sits under a veil of the pink mist, so nothing is bright white */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 236, 244, .55), rgba(251, 242, 246, .2) 60%, rgba(251, 242, 246, .75)); }
.caustic { position: absolute; border-radius: 50%; mix-blend-mode: multiply; filter: blur(40px); opacity: .45; }
.c1 { width: 46vw; height: 14vw; right: -4vw; top: 54%; background: var(--spectrum); transform: rotate(-12deg); }
.c2 { width: 30vw; height: 9vw; left: -6vw; bottom: 8%; background: linear-gradient(90deg, var(--r4), var(--r6), var(--r1)); transform: rotate(8deg); opacity: .35; }
.has-light .caustic { opacity: .16; }
@media (prefers-reduced-motion: no-preference) { .c1 { animation: drift 16s ease-in-out infinite alternate; } .c2 { animation: drift 21s ease-in-out infinite alternate-reverse; } }
@keyframes drift { to { translate: -5vw 2vh; } }

.hero-title {
  position: relative; z-index: 2;
  font-weight: 200; font-size: clamp(64px, 11.4vw, 210px); line-height: .84; letter-spacing: .004em;
  max-width: min(11em, 72vw);
}
.hero-title .ch { display: inline-block; }
/* Her ask (30 Nov): every word starts with a capital, the rest small */
.hero-title { text-transform: none; }
.hero-title .ow-hero { font-weight: 300; --r: 1.1em; }
.hero-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.hero-sub { max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
/* silver star with a soft rainbow glow, like the light round her logo */
.spark { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.spark::before { content: ""; position: absolute; inset: 0; background: var(--silver); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.spark { filter: drop-shadow(0 0 1px rgba(60, 56, 72, .5)) drop-shadow(0 0 4px var(--c, #c9a2ff)); }

.hang { position: absolute; top: 0; right: clamp(24px, 12vw, 240px); z-index: 4; }
.crystal { display: flex; flex-direction: column; align-items: center; width: clamp(110px, 10.5vw, 170px); padding: 0; border: 0; background: none; transform-origin: 50% 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.crystal:focus-visible { outline: none; }
.crystal:focus-visible .crystal-pic { outline: 2px solid var(--ink); outline-offset: 6px; }
.chain { display: block; width: 1.5px; height: calc(var(--bar) - 8px); background: linear-gradient(#d9d8e0, #9b99a8 60%, #c9c8d2); }
.crystal-pic { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(52, 30, 82, .16)); user-select: none; -webkit-user-drag: none; }
.crystal.is-logo { width: clamp(150px, 19vw, 280px); }
.crystal.is-logo .chain { height: calc(var(--bar) + 12vh); }
.crystal.is-logo .crystal-pic { border-radius: 50%; aspect-ratio: 1; object-fit: cover; filter: none; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) { .crystal.idle { animation: sway 5.5s ease-in-out infinite alternate; } }
@keyframes sway { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }
/* Her make at the top (pull and swing, app.js). Bigger than the old crystal, hanging into the space above the words */
.hang { display: flex; align-items: flex-start; gap: clamp(8px, 1.6vw, 28px); right: clamp(16px, 3vw, 60px); }
.crystal.make, .crystal-small { flex: none; touch-action: pan-y; cursor: grab; }
.crystal.make.held, .crystal-small.held { cursor: grabbing; }
.crystal.make { width: clamp(180px, 17vw, 300px); }
.crystal.make .chain { height: calc(var(--bar) + 2vh); }
.crystal.make .crystal-pic { filter: drop-shadow(0 18px 22px rgba(52, 30, 82, .22)); }
.crystal.make .crystal-pic, .crystal-small .crystal-pic { transform-origin: 50% 0; will-change: transform; }
.crystal-small { width: clamp(70px, 6.5vw, 110px); }
.crystal-small .chain { height: calc(var(--bar) - 8px); }
.pull-hint { position: absolute; right: 100%; top: calc(var(--bar) + 2vh + 18%); margin-right: 6px; white-space: nowrap; font-size: 14px; letter-spacing: .06em; color: var(--ink-2);
  transition: opacity .6s var(--ease); pointer-events: none; }
.pull-hint::after { content: ""; display: inline-block; width: 26px; height: 1px; margin-left: 8px; vertical-align: middle; background: currentColor; }
.hang.played .pull-hint { opacity: 0; }
@media (max-width: 760px) {
  .hero-title { max-width: none; font-size: min(19vw, 120px); }
  .hero-light { object-position: 82% 30%; }
  .hang { right: 6vw; }
  .crystal { width: clamp(70px, 20vw, 100px); }
  .crystal.is-logo { width: clamp(120px, 40vw, 170px); }
  .chain { height: 4vh; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .c1 { width: 90vw; height: 26vw; top: 30%; }
}

/* ---------- Ticker: two lines going opposite ways (pick B), holographic stars between ---------- */
.ticker { overflow: hidden; padding: clamp(10px, 1.4vw, 18px) 0; border-block: 1px solid rgba(20, 18, 23, .1); background: rgba(255, 244, 250, .45); user-select: none; -webkit-user-select: none; }
.ticker-track { display: flex; align-items: center; width: max-content; will-change: transform; font: 200 clamp(42px, 6.5vw, 90px)/1.12 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker-track .item { padding: 0 .3em; }
.tk-outline { font-weight: 300; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
@property --hue { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes turn { to { --hue: 360deg; } }
.sw { display: inline-flex; align-self: center; margin: 0 .22em; filter: drop-shadow(0 0 1px rgba(20, 18, 23, .5)) drop-shadow(0 0 6px rgba(201, 162, 255, .7)); }
.sw i { display: block; width: .5em; height: .5em; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  background: conic-gradient(from var(--hue), #ff9ad5, #c9a2ff, #8fd0ff, #8ff3df, #b8f59a, #ffe38a, #ff9ad5); }
@media (prefers-reduced-motion: no-preference) { .ticker.on .sw i { animation: turn 2.4s linear infinite; } }

/* ---------- Split words ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .08em; margin: -.04em -.02em -.08em; white-space: nowrap; }
.split .ch { display: inline-block; will-change: transform; }

/* Star sparkles over the whole page */
.sparks-page { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }

/* ---------- Sections ---------- */
.sec { max-width: 1400px; margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--gut); }
.lead { color: var(--soft); font-size: clamp(17px, 1.3vw, 19px); max-width: 46ch; margin-top: 16px; }

.lockup { --sh: clamp(140px, 17vw, 280px); display: flex; flex-direction: column; align-items: flex-start; }
.lockup .ow-sec { font-size: clamp(64px, 9.5vw, 160px); line-height: .9; letter-spacing: .03em; --r: 1em; }
.lockup .caps {
  position: relative; z-index: 1; font-weight: 200; font-size: clamp(84px, 14.5vw, 250px); line-height: .8; letter-spacing: .01em; margin-top: -.04em;
}

/* Aaron's Flow pictures used as backdrops (these may crop; her photos never do) */
.cover { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards: her photos, whole ---------- */
.card { min-width: 0; }
.card-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.card-pic {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card-pic img { width: 100%; height: auto; }
.glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .9), transparent 42%),
    linear-gradient(115deg, rgba(255, 154, 213, .8), rgba(201, 162, 255, .8) 25%, rgba(143, 208, 255, .8) 45%, rgba(143, 243, 223, .8) 62%, rgba(255, 227, 138, .8) 80%, rgba(255, 154, 213, .8));
  background-size: 100% 100%, 240% 240%; background-position: 0 0, var(--gx, 50%) var(--gy, 50%);
}
.card-open.tilt .card-pic { transition: transform .12s linear, box-shadow .6s var(--ease); box-shadow: 0 46px 80px -34px rgba(52, 30, 82, .6); }
.card-open.tilt .glare { opacity: 1; }
.card-open.tilt .card-pic img { filter: saturate(1.12) contrast(1.04); }
.card-pic img { transition: filter .4s var(--ease); }
/* A tap sends a sweep of holo light across the photo */
@media (prefers-reduced-motion: no-preference) { .card-open.flash .glare { animation: sweep .9s var(--ease); } }
@keyframes sweep { 0% { opacity: 0; background-position: 0 0, 0% 0%; } 30% { opacity: 1; } 100% { opacity: 0; background-position: 0 0, 100% 100%; } }
.card-open:active .card-pic { transform: scale(.99); }
.card-name { display: block; margin-top: 14px; font-size: clamp(24px, 2vw, 30px); font-weight: 400; line-height: 1; letter-spacing: .04em; }
.card-price { display: block; margin-top: 6px; font-size: 14px; color: var(--soft); }

/* Phone cases: his picture, then her two sets stepping down */
.cases-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.cover-cases { aspect-ratio: 4 / 5; }
.cover-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-drop { margin-top: clamp(40px, 8vw, 140px); }
@media (max-width: 860px) {
  .cases-row { grid-template-columns: 1fr 1fr; }
  .cover-cases { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .cover-cases.cover-video { aspect-ratio: 4 / 5; width: min(100%, 420px); justify-self: center; }
}
@media (max-width: 520px) {
  .cases-row { grid-template-columns: 1fr; gap: 40px; }
  .cases-row .card { width: 88%; }
  .card-drop { margin: 0 0 0 auto; }
}

/* Keyrings: a row you flick along; every photo at its own shape */
.rail {
  --rh: clamp(300px, 27vw, 420px);
  display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(32px, 4vw, 56px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px 4px 24px; scrollbar-width: thin; scrollbar-color: #b9b8c4 transparent;
}
.rail > * { scroll-snap-align: start; flex: none; }
.rail .card-pic img { height: var(--rh); width: auto; max-width: none; }
.rail .card { width: max-content; }
.rail .card-name { max-width: calc(var(--rh) * .75); }
.cover-keys { height: var(--rh); aspect-ratio: 4 / 5; }
.rail:focus-visible { outline-offset: 6px; }
@media (max-width: 1000px) { .rail { --rh: min(62vh, 400px, 96vw); margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); scroll-padding-inline: var(--gut); } }
@media (max-width: 520px) { .rail { --rh: min(56vh, 100vw); } }

/* Suncatchers: his window light, her suncatcher whole */
.sec-sun { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 10vw, 150px) var(--gut); }
.sun-wash { position: absolute; inset: 0; z-index: -1; }
.sun-wash img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; opacity: .6; }
.sun-wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 242, 246, .95) 30%, rgba(251, 242, 246, .6)); }
.sun-grid { max-width: 1400px; margin: 0 auto; display: grid; gap: clamp(28px, 4vw, 56px); }
.sun-copy { max-width: 760px; }
.sun-copy .btn { margin-top: 24px; }
/* Doubles, then singles, then spirals (her ask); side by side on a computer, stacked on a phone */
.sun-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.sun-label { font: 300 clamp(22px, 2vw, 28px)/1 var(--display); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sun-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.card-sun { width: 100%; }
.card-sun .card-name { font-size: clamp(21px, 1.6vw, 26px); }
/* glitter stays on the foil frame, off the wallpaper and her makes */
.card-sun .card-pic::before { padding: 10px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* on a computer the heading and words sit side by side, so the makes come up sooner */
@media (min-width: 1001px) {
  .sun-copy { max-width: none; display: grid; grid-template-columns: auto minmax(0, 520px); column-gap: clamp(40px, 6vw, 110px); align-items: end; }
  .sun-copy h2 { grid-row: span 2; }
  .sun-copy .lead { margin: 0; }
  .sun-copy .btn { justify-self: start; }
}
@media (max-width: 1000px) { .sun-groups { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .sun-wash::after { background: rgba(251, 242, 246, .84); } }

/* Her rose wallpaper behind every suncatcher: one backdrop, one light, one size */
.wall { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; isolation: isolate; background: #cfc9c3; }
.wall::before { content: ""; position: absolute; inset: -6px; z-index: -2; background: url(pictures/rose-wallpaper.webp) center / cover; filter: blur(1.5px); }
.wall::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
    radial-gradient(50% 40% at 50% 42%, rgba(255, 248, 238, .55), transparent 72%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(60, 45, 38, .32) 100%),
    linear-gradient(100deg, transparent 64%, rgba(255, 120, 150, .13) 66%, rgba(255, 220, 120, .15) 67.5%, rgba(120, 230, 170, .13) 69%, rgba(120, 170, 255, .15) 70.5%, transparent 72%); }
.card-pic .wall img { box-shadow: none; border-radius: 0; }
/* her own photo taken on the wallpaper: fills the card (same 3:4 shape, nothing cut off) */
.card-pic .wall-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* a cut-out hung from a hook, swaying a little */
.wall-hang .hook { position: absolute; top: 0; left: 50%; width: 2px; height: 6%; margin-left: -1px; background: linear-gradient(#bcb6bf, #8f8a96); }
.card-pic .wall-hang img.hung { position: absolute; left: 50%; top: 5%; width: auto; height: 88%; max-width: none; translate: -50% 0; transform-origin: 50% 0;
  filter: drop-shadow(0 10px 12px rgba(40, 25, 20, .3)); animation: hangsway 6s ease-in-out infinite; }
@keyframes hangsway { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
/* an older photo shown whole, propped on the wallpaper, until she sends one taken on it */
.card-pic .wall-print img { position: absolute; left: 50%; top: 50%; width: auto; height: auto; max-width: 78%; max-height: 80%; translate: -50% -50%; rotate: -1.5deg;
  border-radius: 2px; box-shadow: 0 0 0 5px #fff, 0 16px 24px -10px rgba(40, 25, 20, .5); }
.card-sun:nth-child(2) .wall-print img { rotate: 1.5deg; }
/* 30 Nov: her ask, one same background on every photo. The wallpaper is gone; every suncatcher sits on the
   same soft rainbow as the rest of the site (the photos already carry it, from backdrop.py). */
.wall { background: linear-gradient(135deg, #ffd6ec, #e6d9ff 50%, #d4ecff); border-radius: 0; }
.wall::before, .wall::after { content: none; }
.card-pic .wall-print img, .card-sun:nth-child(2) .wall-print img { inset: 0; left: 0; top: 0; translate: none; rotate: none; width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: contain; border-radius: 0; box-shadow: none; }
.card-pic .wall-hang img.hung { filter: drop-shadow(0 10px 12px rgba(60, 30, 80, .22)); }

/* Strap charms */
.sec-straps { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.card-strap { width: min(100%, 460px); justify-self: end; }
.note { margin-top: 28px; font-size: 17px; }
.note a { font-weight: 500; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
@media (max-width: 860px) { .sec-straps { grid-template-columns: 1fr; } .card-strap { justify-self: start; width: min(100%, 420px); } }

/* More makes: masonry, nothing cropped */
.masonry { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); }
.masonry .card { break-inside: avoid; margin-bottom: clamp(28px, 3vw, 40px); }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 14px; } .masonry .card-name { font-size: 21px; } }

/* Contact */
.contact { padding: clamp(80px, 11vw, 160px) max(var(--gut), calc((100% - 1400px) / 2 + var(--gut))); background: transparent; }
.contact { position: relative; isolation: isolate; overflow: hidden; }
.float3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.contact .display { max-width: 9em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 6vw, 96px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.ways li + li { border-top: 1px solid var(--line); }
.way { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; text-decoration: none; position: relative; }
.way-name { font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1; }
.way-detail { color: var(--soft); font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.way::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.way:hover::after, .way:focus-visible::after { transform: scaleX(1); }
.post { margin-top: 36px; color: var(--soft); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .way { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 12px 0; } .way-detail { text-align: left; } }

/* Name it */
.name-it { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 160px) var(--gut); text-align: center; }
.name-inner { max-width: 1200px; margin: 0 auto; }
.name-it .display { margin: 0 auto; max-width: 10em; }
.name-it .lead { margin-left: auto; margin-right: auto; }
.stage { position: relative; display: grid; place-items: center; min-height: clamp(190px, 26vw, 330px); margin: clamp(20px, 3vw, 40px) auto 8px; padding-bottom: clamp(40px, 6vw, 90px); overflow: hidden; }
.name-field { max-width: 420px; margin: 0 auto; text-align: left; }

/* Name tiles: her photos, whole. The picked one lifts, gets a rainbow edge and shows the name in stones */
.tiles {
  --th: clamp(190px, 17vw, 240px);
  display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin-top: 40px;
  padding: 24px 4px 20px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b9b8c4 transparent; overscroll-behavior-x: contain;
}
.tile {
  flex: none; position: relative; padding: 0; text-align: center; border-radius: 4px;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--line), var(--line)) border-box;
  box-shadow: var(--shadow); transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.tile-pic { display: block; overflow: hidden; border-radius: 2px 2px 0 0; }
.tile-pic img { height: var(--th); width: auto; max-width: none; transition: transform .8s var(--ease); }
.tile-name { display: grid; place-items: center; height: 56px; padding: 0 10px; overflow: hidden; }
.tile-label { display: block; padding: 0 12px 14px; font: 400 22px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.tile:hover { transform: translateY(-6px); }
.tile:hover .tile-pic img { transform: scale(1.04); }
.tile[aria-pressed="true"] {
  transform: translateY(-18px);
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--spin), var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1)) border-box;
  box-shadow: 0 46px 70px -30px rgba(52, 30, 82, .6);
}
@media (prefers-reduced-motion: no-preference) { .tile[aria-pressed="true"] { animation: spin 3s linear infinite; } }
.make-it { margin-top: 18px; }
@media (max-width: 1160px) { .tiles { justify-content: flex-start; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); } }
@media (max-width: 520px) { .tiles { --th: 230px; } }

/* Footer: rub the big name to make it sparkle */
.rub { position: relative; max-width: 1400px; margin: 0 auto; touch-action: pan-y; cursor: crosshair; overflow: hidden; }
.rub-word { font-size: clamp(34px, 8vw, 170px); line-height: 1; letter-spacing: .04em; white-space: nowrap; padding: .04em 0; }
@media (max-width: 760px) { .rub-word { font-size: 12vw; } }   /* phones keep it big; computers smaller so the whole footer shows (her ask, 30 Nov 20:38) */
.rub-hint { margin: 6px 0 36px; font-size: 14px; color: var(--soft); }

/* ---------- Fields ---------- */
.field { display: grid; gap: 8px; margin-top: 20px; }
.field label, .field .legend { font-weight: 500; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 17px; background: #fff; border: 1.5px solid var(--field); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 18, 23, .14); }
.field [aria-invalid="true"] { border-color: var(--err); }
.help { font-size: 14px; color: var(--soft); }
.err { font-size: 14px; color: var(--err); }
.err:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; display: inline-flex; }
.choices input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.choices span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: var(--radius); font-weight: 400; font-size: 15px; background: #fff; }
.choices input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choices input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
fieldset.field { border: 0; }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(28, 22, 38, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.x { position: relative; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; flex: none; }
.x::before, .x::after { content: ""; position: absolute; left: 12px; right: 12px; top: 21px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.x:hover { background: rgba(20, 18, 23, .06); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-title { font-size: 34px; line-height: 1; }

/* Phones: full-screen pink mist menu, big outline words that fill with rainbow when touched (menu pick 5) */
.sheet { width: 100vw; height: 100dvh; margin: 0; padding: 14px var(--gut) 40px; overflow: auto;
  background: radial-gradient(70% 50% at 90% 0%, rgba(255, 43, 214, .18), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(43, 255, 177, .14), transparent 70%), #fbf1f6; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet .x { background: #fff; border: 1px solid #d6d3de; width: 48px; height: 48px; }
.sheet .x::before, .sheet .x::after { left: 13px; right: 13px; top: 22px; }
.sheet-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 20px; }
.sheet-links a { position: relative; display: inline-flex; align-items: center; min-height: 48px; font: 300 clamp(44px, 12.5vw, 84px)/1.04 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: transparent; -webkit-text-stroke: 1.2px var(--ink); white-space: nowrap; }
.sheet-links a::after { content: attr(data-t); position: absolute; left: 0; top: 50%; translate: 0 -50%; color: transparent; -webkit-text-stroke: 0; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.sheet-links a:hover::after, .sheet-links a:focus-visible::after, .sheet-links a.tap::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: no-preference) { .sheet[open] .sheet-links a { animation: rise .5s var(--ease) both; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Item panel, opens like a gift */
.gift { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: 0 40px 90px -30px rgba(40, 20, 70, .5); }
.gift[open] { display: block; }
.gift-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
.gift .x { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(253, 246, 249, .88); }
.gift-pic { background: var(--paper-2); position: sticky; top: 0; align-self: start; display: grid; place-items: center; min-height: 0; }   /* height set by fitPic() in app.js: the panel's visible height, so a long form never leaves a gap above the photo */
.gift-pic img { width: 100%; height: auto; max-height: calc(100dvh - 32px); object-fit: contain; }
.gift-body { padding: clamp(24px, 3.4vw, 44px); padding-top: 56px; }
.gift-body h2 { font-size: clamp(40px, 4vw, 60px); line-height: .9; padding-right: 30px; }
.gift-line { margin-top: 14px; color: var(--soft); }
.gift-price { margin-top: 12px; font-weight: 500; }
.gift-preview { display: grid; place-items: center; min-height: 120px; margin-top: 18px; padding: 14px 12px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .5), var(--paper-2)); border-radius: var(--radius); }
.qty { margin-top: 22px; }
.qty-label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.qty-row { display: inline-flex; align-items: center; border: 1.5px solid var(--field); border-radius: var(--radius); }
.qty-btn { width: 46px; height: 46px; border: 0; background: transparent; font-size: 22px; line-height: 1; }
.qty-btn:hover { background: rgba(20, 18, 23, .06); }
.qty-btn[disabled] { opacity: .35; cursor: not-allowed; }
.qty-row output { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.gift-msg-note { margin-top: 20px; padding: 14px 16px; background: var(--paper-2); border-radius: var(--radius); font-size: 15px; }
.gift-actions { display: grid; gap: 10px; margin-top: 26px; }
.gift-actions .btn { width: 100%; }
.added { margin-top: 12px; font-size: 15px; min-height: 1.4em; }
.added button { border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; min-height: 44px; padding: 0 4px; }
.gift-lid { position: absolute; inset: 0; z-index: 5; pointer-events: none; display: none; background: linear-gradient(160deg, var(--panel), var(--paper-2)); }
.gift-lid.on { display: block; }
.ribbon-h, .ribbon-v { position: absolute; background: linear-gradient(90deg, #cfced8, #f6f6fa 40%, #a9a7b6 60%, #e4e3ea); }
.ribbon-h { left: 0; right: 0; top: calc(50% - 5px); height: 10px; }
.ribbon-v { top: 0; bottom: 0; left: calc(50% - 5px); width: 10px; background: linear-gradient(180deg, #cfced8, #f6f6fa 40%, #a9a7b6 60%, #e4e3ea); }
@media (max-width: 760px) {
  .gift { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  /* phones: photo on top, then the form, simply stacked (a grid here squashed the photo row and the form slid over the picture) */
  .gift-inner { display: block; max-height: 100dvh; height: 100%; }
  .gift-pic { position: relative; display: block; text-align: center; min-height: 0; padding: 12px 0; }
  .gift-pic img { display: inline-block; vertical-align: top; max-height: 52vh; width: auto; max-width: 100%; }
  .gift-body { padding-top: 26px; padding-bottom: 40px; }
  /* the close button stays in the corner while the panel scrolls */
  .gift .x { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; }
}

/* Basket drawer */
.drawer { width: min(480px, 100vw); height: 100dvh; margin: 0 0 0 auto; background: var(--panel); box-shadow: -30px 0 80px -40px rgba(40, 20, 70, .5); }
.drawer[open] { display: block; }
.drawer-inner { height: 100%; overflow: auto; overscroll-behavior: contain; padding: 14px clamp(18px, 4vw, 32px) 40px; }
.empty { margin-top: 28px; color: var(--soft); }
.lines { margin-top: 18px; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line img { width: 64px; height: 80px; object-fit: contain; border-radius: var(--radius); background: var(--paper-2); }
.line-title { font-size: 24px; line-height: 1; }
.line-opts { font-size: 14px; color: var(--soft); margin-top: 6px; overflow-wrap: anywhere; }
.line-price { font-size: 14px; margin-top: 4px; }
.line-ctl { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.line-ctl .qty-row { border-width: 1px; }
.line-ctl .qty-btn { width: 44px; height: 44px; font-size: 20px; }
.remove { border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; min-height: 44px; padding: 0 6px; color: var(--soft); }
.remove:hover { color: var(--ink); }
.sums { margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--ink); display: grid; gap: 6px; }
.sums p { display: flex; justify-content: space-between; gap: 12px; }
.sums p span:last-child { color: var(--soft); text-align: right; }
.drawer-actions { display: grid; gap: 10px; margin-top: 24px; }
.drawer-actions .btn { width: 100%; }
.keep { width: 100%; margin-top: 10px; border-color: transparent; }
.done { text-align: center; padding-top: 30px; }
.done:focus { outline: none; }
.done-title { font-size: 40px; line-height: .95; margin-top: 6px; }
.done-title .ow-done { display: block; width: max-content; font-size: clamp(64px, 20vw, 96px); margin: 0 auto 6px; --r: 1.4em; }
.done .btn { margin-top: 28px; width: 100%; }

/* ---------- Footer ---------- */
.foot { position: relative; padding: 64px var(--gut) 56px; text-align: center; border-top: 1px solid rgba(20, 18, 23, .1); }
.foot-logo { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; mix-blend-mode: multiply; }
.foot-line { margin-top: 12px; font: 400 clamp(36px, 5vw, 56px)/1 var(--script); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 22px; }
.foot-links a { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-small { margin-top: 18px; font-size: 14px; color: var(--soft); }

/* ---------- Reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .prism-band, .sparks, .sparks-page { display: none; }
  .card-pic { transform: none !important; }
  /* a few stars stay still, so the words keep their sparkle without movement */
  .tw { animation: none !important; opacity: .9; transform: scale(.85) rotate(20deg); }
}

/* =====================================================================
   Version 4 parts
   ===================================================================== */

/* Outline capitals; rainbow fills where the mouse or finger is (name pick 3).
   --mx/--my are set by app.js. With nobody pointing, a soft sweep runs across now and then. */
.ow {
  position: relative; display: inline-block; font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: .03em;
  color: transparent; -webkit-text-stroke: 1.3px var(--ink); --r: 110px;
}
.ow::after {
  content: attr(data-t); position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-stroke: 0; white-space: inherit;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text;
  -webkit-mask: radial-gradient(circle var(--r) at var(--mx, -999px) var(--my, -999px), #000 30%, transparent 100%);
          mask: radial-gradient(circle var(--r) at var(--mx, -999px) var(--my, -999px), #000 30%, transparent 100%);
}
@supports not (-webkit-text-stroke: 1px #000) { .ow { color: var(--ink); } }

/* Name it: thin outline capitals, mirror gloss (3B) made stronger: glassy top, bright glint on the edges, mirror underneath */
.nm { position: relative; display: inline-block; max-width: 100%; }
.nm-word { display: block; font-size: var(--fs, clamp(64px, 12vw, 170px)); line-height: 1; white-space: nowrap; -webkit-text-stroke-width: 1.6px; --r: 120px; }
.nm-word::before {
  content: attr(data-t); position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .7) 22%, rgba(178, 170, 200, .8) 47%, rgba(255, 255, 255, 0) 50%, rgba(214, 206, 230, .55) 74%, rgba(255, 255, 255, .25) 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(20, 18, 23, .12));
}
.nm-glint {
  position: absolute; inset: 0; pointer-events: none; font-family: var(--display); font-weight: 300; font-size: var(--fs, clamp(64px, 12vw, 170px)); line-height: 1;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 2.6px #fff;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px rgba(255, 255, 255, .95)) drop-shadow(0 0 3px #c9a2ff) drop-shadow(0 0 2px #8fd0ff);
  -webkit-mask: linear-gradient(105deg, transparent calc(var(--g, -30%) - 9%), #000 var(--g, -30%), transparent calc(var(--g, -30%) + 9%));
          mask: linear-gradient(105deg, transparent calc(var(--g, -30%) - 9%), #000 var(--g, -30%), transparent calc(var(--g, -30%) + 9%));
}
.nm-mirror {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: 2px; transform: scaleY(-1); transform-origin: 50% 50%; opacity: .5; pointer-events: none;
  -webkit-mask: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .5) 30%, transparent 62%); mask: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .5) 30%, transparent 62%);
}
.nm-mirror .nm-word { -webkit-text-stroke-color: #57525f; }
/* the glass the name stands on */
.stage::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: calc(clamp(40px, 6vw, 90px) + 2px); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95) 30%, rgba(201, 162, 255, .6) 50%, rgba(255, 255, 255, .95) 70%, transparent); }
.nm.empty .nm-word, .nm.empty .nm-glint { opacity: .5; }
.nm-small { --fs: clamp(40px, 7vw, 64px); }
.nm-small .nm-word { --r: 70px; }

/* Holo foil frames round her photos (photos stay clear and whole) */
.card-pic, .tile-pic.foil {
  padding: 10px; border-radius: 10px;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 4px), var(--foil);
  background-size: 100% 100%, 260% 260%; background-position: 0 0, var(--gx, 30%) var(--gy, 30%);
  box-shadow: 0 26px 48px -28px rgba(80, 30, 90, .5), 0 0 0 1px rgba(255, 255, 255, .7) inset;
}
.card-pic::before, .tile-pic.foil::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; mix-blend-mode: overlay; opacity: .6;
  background-image: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 40% 80%, #fff 0 .8px, transparent 1.3px);
  background-size: 13px 17px, 19px 11px, 23px 29px;
}
.card-pic img, .tile-pic.foil img { position: relative; border-radius: 4px; box-shadow: 0 0 0 3px #fff; }
.card-open.tilt .card-pic::before { opacity: .95; }
.glare { border-radius: 10px; z-index: 2; }
.tile-pic.foil { position: relative; overflow: hidden; }
.tile { border-radius: 12px; padding: 6px; background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(var(--line), var(--line)) border-box; }
.tile-pic.foil img { height: calc(var(--th) - 20px); }
/* 30 Nov: a tall photo (the phone case) left a gap beside it. Now every tile picture sits in the middle on the
   same rainbow as the photos, so a narrow one blends into the tile with no gap. */
.tile-pic.foil { display: flex; justify-content: center; background: linear-gradient(135deg, #ffd6ec, #e6d9ff 50%, #d4ecff); }
.tile-pic.foil img { box-shadow: none; border-radius: 0; }
.tile-name .tn { font: 300 clamp(26px, 2.2vw, 32px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.tile[aria-pressed="true"] .tn { -webkit-text-stroke: 0; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(20, 18, 23, .35)); }
.tile[aria-pressed="true"] { background: linear-gradient(var(--panel), var(--panel)) padding-box, conic-gradient(from var(--spin), var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1)) border-box; }

/* More makes: her photos glide past as holo cards in one WebGL canvas, on a slight curve that hugs inwards */
.holo-row { position: relative; width: var(--pw, 100vw); margin: clamp(28px, 4vw, 48px) 0 0 calc(50% - var(--pw, 100vw) / 2); height: clamp(340px, 50vh, 480px); }
.holo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.holo-row.on-card .holo-canvas { cursor: pointer; }
.heart-on .holo-row.on-card .holo-canvas { cursor: none; }
.holo-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-top: 18px; }
.holo-list li { display: flex; align-items: center; }
.holo-list button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: 2px; background: none; font: 400 20px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.holo-list button:hover, .holo-list button:focus-visible { background: linear-gradient(115deg, #ffd1ea, #e3d3ff, #cde9ff, #d3fbef, #fff3c4); }
.holo-list li + li::before { content: ""; width: 7px; height: 7px; background: var(--silver); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 2px #c9a2ff); }
.holo-row:not([hidden]) ~ .masonry { display: none; }

/* Her sparkle WhatsApp logo on the WhatsApp line and the WhatsApp order buttons */
.wa-ico { display: inline-block; width: 34px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(60, 160, 120, .25)); }
.btn .wa-ico { width: 30px; margin: -8px 4px -8px -8px; }
.way .wa-ico { width: 46px; margin-right: 12px; }

/* Contact signs: round white signs with her rainbow glow underneath; no number or handle shown */
.signs { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 34px); align-items: center; padding: 8px 0 18px; }
.sign {
  --sz: clamp(68px, 7vw, 92px);
  position: relative; display: grid; place-items: center; width: var(--sz); height: var(--sz); border-radius: 50%;
  color: var(--ink-2); border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#dcd9e3, #dcd9e3) border-box;
  box-shadow: -12px 12px 20px -8px rgba(255, 220, 110, .6), -4px 14px 20px -8px rgba(170, 238, 135, .5),
               6px 14px 20px -8px rgba(120, 196, 255, .6), 14px 12px 20px -8px rgba(190, 150, 255, .55), 0 1px 2px rgba(20, 18, 23, .06);
  transition: transform .35s var(--ease), box-shadow .45s var(--ease);
}
.sign svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.sign svg .dot { fill: currentColor; stroke: none; }
.sign .sign-pic { width: 62%; height: auto; filter: drop-shadow(0 2px 4px rgba(60, 160, 120, .25)); }
/* under the mouse or a finger: it lifts and the edge turns to a turning holo foil ring */
.sign:hover, .sign:focus-visible, .sign.lit {
  transform: translateY(-4px) rotate(-4deg);
  background: linear-gradient(#fff, #fff) padding-box,
              conic-gradient(from var(--ang), #ff9ad5, #c9a2ff, #8fd0ff, #8ff3df, #b8f59a, #ffe38a, #ff9ad5) border-box;
  animation: sign-turn 3s linear infinite;
}
.sign:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
@media (max-width: 360px) { .signs { gap: 12px; } .sign { --sz: 60px; } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sign-turn { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .sign { transition: none; animation: none !important; } .sign:hover, .sign:focus-visible, .sign.lit { transform: none; } }
.way-name { display: inline-flex; align-items: center; }

/* the silver used for every sparkle, as an SVG fill */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  /* a still rainbow in the outline words instead of a moving one */
  .ow::after { -webkit-mask: linear-gradient(100deg, transparent 20%, rgba(0, 0, 0, .55) 45%, transparent 75%); mask: linear-gradient(100deg, transparent 20%, rgba(0, 0, 0, .55) 45%, transparent 75%); }
  .nm-glint { -webkit-mask: linear-gradient(105deg, transparent 20%, #000 32%, transparent 44%); mask: linear-gradient(105deg, transparent 20%, #000 32%, transparent 44%); }
}
.rub-word.rubbed::after { -webkit-mask: var(--trail); mask: var(--trail); }

/* =====================================================================
   Spacing pass (judges' changes 1-6, her OK 29 Nov 2026): less empty space,
   words higher on the first screen, tighter Name it, two phone cases side by side
   on a phone, smaller strap charm photo, bigger and darker prices.
   ===================================================================== */
.sec, .sec-sun { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.name-it, .contact { padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(48px, 7vw, 100px); }
.hero { min-height: min(100svh, 700px); }
.lockup .ow-sec { font-size: clamp(50px, 7vw, 118px); }
.lockup .caps { font-size: clamp(66px, 10.5vw, 180px); }
.lead { margin-top: 10px; }
.cases-row, .rail, .masonry, .holo-row { margin-top: clamp(20px, 2.4vw, 36px); }
.card-drop { margin-top: clamp(24px, 4vw, 70px); }
.stage { min-height: clamp(150px, 20vw, 240px); margin-top: 12px; padding-bottom: clamp(24px, 4vw, 56px); }
.tiles { margin-top: 24px; }
.card-name { margin-top: 10px; }
.card-price { font-size: 17px; font-weight: 600; color: #2a2a2a; margin-top: 6px; letter-spacing: .01em; }
.card-strap { width: min(100%, 360px); }
.rub-hint { margin: 6px 0 24px; }
.foot { padding-top: 40px; padding-bottom: 32px; }
@media (max-width: 860px) { .card-strap { width: min(100%, 260px); } }
@media (max-width: 520px) {
  .cases-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cases-row .card { width: 100%; }
  .card-drop { margin: 0; }
  .rail { --rh: min(46vh, 380px); padding-bottom: 12px; }
  .tiles { --th: 190px; }
  .card-name { font-size: 21px; }
}
/* the hanging pieces on a phone */
@media (max-width: 760px) {
  .hang { right: 4vw; --mw: min(34vw, 150px); }
  .crystal.make { width: var(--mw); }
  .crystal-small { width: clamp(50px, 13vw, 76px); }
  .crystal.make .chain { height: calc(var(--bar) + 1vh); }
  /* keep the words clear of her make: room at the top = chain + the make's height (picture is 900 x 1226) */
  .hero { padding-top: calc(var(--bar) + 1vh + min(34vw, 150px) * 1.362 + 18px); }
  .pull-hint { font-size: 13px; }
}

/* ===== Filling the space (29 Nov): everything here helps a buyer choose and order ===== */

/* Gift finder under the sliding line */
.gifts { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--gut) 0; }
.gifts-title { font: 200 clamp(34px, 4.4vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.chip {
  min-height: 52px; padding: 0 22px 0 8px; display: inline-flex; align-items: center; gap: 12px; border-radius: 999px;
  border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#dcd9e3, #dcd9e3) border-box;
  font: 400 16px/1.2 var(--body); color: var(--ink); text-decoration: none;
  box-shadow: 0 8px 18px -12px rgba(120, 90, 160, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chip img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: var(--paper-2); flex: none; }
.chip:hover, .chip:focus-visible { transform: translateY(-3px); background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; box-shadow: 0 12px 22px -12px rgba(120, 90, 160, .55); }
.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* How it works */
.how { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut) clamp(24px, 4vw, 56px); }
.how-title { font: 200 clamp(34px, 4.4vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .55); }
.steps li { padding: 26px 22px 24px; position: relative; }
.steps li + li { border-left: 1px solid var(--line); }
.steps svg { width: 38px; height: 38px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.steps .n { position: absolute; top: 14px; right: 18px; font: 200 44px/1 var(--display); color: transparent; -webkit-text-stroke: 1px #c3bdcd; }
.steps h3 { font: 400 26px/1 var(--display); text-transform: uppercase; margin-top: 14px; }
.steps p { color: var(--soft); font-size: 15px; margin-top: 6px; }
.steps li::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.steps li:hover::after { transform: scaleX(1); }
.how-go { margin-top: 26px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 400px) { .steps li { padding: 20px 14px 18px; } .steps h3 { font-size: 22px; } .steps p { font-size: 14px; } .steps .n { font-size: 34px; right: 12px; } }

/* Her own words, a slim band between sections */
.words { position: relative; text-align: center; padding: clamp(28px, 4vw, 44px) var(--gut); max-width: 1000px; margin: 0 auto; }
.words q { quotes: none; font: 400 clamp(36px, 4.8vw, 62px)/1.15 var(--script); color: var(--ink-2); }
.words::before, .words::after { content: ""; position: absolute; left: 50%; width: min(420px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #c9a2ff, #8fd0ff, #ffe38a, transparent); }
.words::before { top: 0; } .words::after { bottom: 0; }
.w-star { display: inline-block; width: 14px; height: 14px; margin: 0 14px; vertical-align: middle; background: var(--silver); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); filter: drop-shadow(0 0 3px #c9a2ff); }
@media (max-width: 560px) { .w-star { display: none; } }

/* Beside each section heading: number, the craft, what you choose, makes and price */
.sec-cases, .sec-keys, .sec-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 5vw, 80px); }
.sec-cases > *, .sec-keys > *, .sec-more > * { grid-column: 1 / -1; }
.sec-cases > .lockup, .sec-keys > .lockup, .sec-more > .lockup, .sec-cases > .lead, .sec-keys > .lead, .sec-more > .lead { grid-column: 1; }
.sec-info { grid-column: 2 !important; grid-row: 1 / span 2; align-self: end; justify-self: end; display: grid; justify-items: end; gap: 10px; text-align: right; max-width: 420px; }
.si-n { font: 200 clamp(90px, 12vw, 190px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1px #c9c3d3; }
.si-craft { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--script); color: var(--ink-2); }
.si-pick { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; font-size: 14px; color: var(--soft); }
.si-pick b { font-weight: 400; color: var(--ink); padding: 4px 12px; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--foil) border-box; border: 1px solid transparent; }
.si-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 0; font: 500 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.si-meta span + span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px; vertical-align: 1px; background: var(--silver); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); filter: drop-shadow(0 0 2px #c9a2ff); }
/* in the suncatchers and strap charms, where the heading already shares its row, it sits under the words */
.sec-info.si-inline { grid-row: auto; justify-items: start; text-align: left; margin-top: 22px; max-width: none; }
.si-inline .si-n { display: none; }
.si-inline .si-pick, .si-inline .si-meta { justify-content: flex-start; }
@media (max-width: 760px) {
  .sec-cases, .sec-keys, .sec-more { grid-template-columns: 1fr; }
  .sec-info { grid-column: 1 !important; grid-row: auto; justify-self: stretch; justify-items: start; text-align: left; margin-top: 18px; max-width: none; position: relative; }
  .sec-info .si-n { position: absolute; right: 0; top: -6px; font-size: 64px; }
  .si-pick, .si-meta { justify-content: flex-start; }
  .si-craft { padding-right: 70px; }
}

/* ===== Design your case (beside Phone cases). Drawn with code until real blank photos arrive ===== */
.designer { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
  margin-top: clamp(36px, 5vw, 72px); padding: clamp(18px, 3vw, 44px); border-radius: 10px; border: 1px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .62)) padding-box, var(--foil) border-box; }
.ds-stage { position: relative; display: grid; place-items: center; min-height: 460px; touch-action: pan-y; }
.ds-case { --bg: #f4f1f6; --nc: #fff; width: 220px; height: 440px; border-radius: 36px; position: relative; overflow: hidden; background: var(--bg);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55), 0 34px 54px -28px rgba(70, 40, 90, .6); transition: transform .25s var(--ease), background-color .4s; }
.ds-clear { background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(235, 228, 245, .55)), repeating-linear-gradient(45deg, #ede8f3 0 8px, #f7f4fa 8px 16px); }
.ds-glitter { background: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 2px) 0 0 / 9px 9px, radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 2px) 0 0 / 13px 13px, var(--bg); }
.ds-case::before { content: ""; position: absolute; top: 16px; left: 16px; width: 78px; height: 78px; border-radius: 22px; background: rgba(20, 18, 23, .82); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .12); }
.ds-case::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, transparent 60%); transform: translateX(var(--gx, -60%)); transition: transform .25s var(--ease); }
.ds-charm { position: absolute; left: 50%; top: 46%; width: 124px; transform: translate(-50%, -50%); }
.ds-char { position: absolute; left: 50%; top: 44%; width: 132px; height: 160px; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; padding: 14px;
  border: 1.5px dashed rgba(120, 100, 140, .55); border-radius: 50% 50% 46% 46%; font: 400 26px/1.05 var(--script); color: var(--ink-2); background: rgba(255, 255, 255, .5); }
.ds-char[hidden] { display: none; }
.ds-name { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; padding: 0 12px; font: 400 46px/1 var(--script); color: var(--nc); text-shadow: 0 1px 2px rgba(0, 0, 0, .2); overflow-wrap: anywhere; }
.ds-name.is-empty { color: #a9a2b6; text-shadow: none; }
.ds-tilt { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); white-space: nowrap; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #d6d3de; background: #fff; font: 400 14px var(--body); color: var(--ink); cursor: pointer; }
.ds-ctl { display: grid; gap: 18px; min-width: 0; }
.ds-title { font: 200 clamp(38px, 4.4vw, 64px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ds-lead { color: var(--soft); margin-top: -8px; }
.ds-lab { display: block; margin-bottom: 8px; font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
#ds-input { width: 100%; min-height: 48px; border: 1px solid #d6d3de; border-radius: 6px; padding: 0 14px; font: 400 18px var(--body); background: #fff; color: var(--ink); }
.ds-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-pill { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font: 400 15px var(--body); color: var(--ink);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#dcd9e3, #dcd9e3) border-box; transition: transform .2s var(--ease); }
.ds-pill[aria-pressed="true"] { background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; }
.ds-pill:hover { transform: translateY(-2px); }
.ds-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-sw { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px #d6d3de; transition: transform .2s var(--ease); }
.ds-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); transform: scale(1.06); }
.ds-pill:focus-visible, .ds-sw:focus-visible, .ds-tilt:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ds-sum { font-size: 15px; color: var(--ink-2); background: #fff; border: 1px dashed #d6d3de; border-radius: 6px; padding: 10px 12px; }
#ds-order { justify-self: start; }
@media (max-width: 860px) { .designer { grid-template-columns: 1fr; } .ds-stage { min-height: 420px; } }
@media (max-width: 400px) { .ds-case { width: 190px; height: 380px; } .ds-name { font-size: 40px; bottom: 54px; } .ds-stage { min-height: 400px; } }
@media (prefers-reduced-motion: reduce) { .ds-case, .ds-case::after, .ds-pill, .ds-sw { transition: none; } }

/* =====================================================================
   DARK THEME (29 Nov, Aaron): light stays exactly as it was; dark = near-black with a thin fluorescent tint glowing through (pink, mint, violet, sky), not plum.
   Turned on by the moon button in the bar (html[data-theme="dark"]), remembered on that device.
   ===================================================================== */
html[data-theme="dark"] {
  --paper: #0e0c12; --paper-2: #1a1720; --panel: #15121a;
  --ink: #f2f0f5; --ink-2: #dedae4; --soft: #b0abb8; --line: rgba(255, 255, 255, .13); --field: #8a8594; --err: #ff9a9a;
  --surface: #1c1922;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .75);
  color-scheme: dark;
}
html[data-theme="dark"] .mist {
  background:
    radial-gradient(55% 45% at 0% 0%, rgba(255, 43, 214, .16), transparent 70%),
    radial-gradient(50% 45% at 100% 100%, rgba(43, 255, 177, .10), transparent 70%),
    radial-gradient(45% 40% at 100% 20%, rgba(140, 80, 255, .12), transparent 70%),
    radial-gradient(40% 35% at 10% 75%, rgba(80, 200, 255, .07), transparent 70%),
    linear-gradient(170deg, #121016 0%, #0d0b10 55%, #0a090d 100%);
}
/* the bar, buttons and boxes that were white become soft purple glass */
html[data-theme="dark"] .bar { background: rgba(14, 12, 18, .8); border-bottom-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .brand-mark img, html[data-theme="dark"] .foot-logo, html[data-theme="dark"] .crystal.is-logo .crystal-pic { mix-blend-mode: normal; }
html[data-theme="dark"] .brand-name .bl { background: linear-gradient(180deg, #ffffff 0%, #cfc8de 38%, #ffffff 52%, #a89fbb 78%, #ece6f5 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="dark"] .links .slab { background: linear-gradient(115deg, rgba(255, 154, 213, .38), rgba(201, 162, 255, .38), rgba(143, 208, 255, .36), rgba(143, 243, 223, .3), rgba(255, 227, 138, .3)); }
html[data-theme="dark"] .btn-bar:hover { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .btn-bar.btn-soft, html[data-theme="dark"] .btn-bar.btn-soft:hover, html[data-theme="dark"] .btn-bar.btn-soft:focus-visible,
html[data-theme="dark"] .btn.btn-glow, html[data-theme="dark"] .btn.btn-glow:hover, html[data-theme="dark"] .btn.btn-glow.lit {
  background: var(--surface); border-color: rgba(255, 255, 255, .24); }
html[data-theme="dark"] .btn.btn-glow:focus-visible { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--ink); }
html[data-theme="dark"] .btn-line { background: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .btn-line.btn-light { border-color: rgba(255, 255, 255, .42); }
html[data-theme="dark"] .ticker { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
/* light from the crystal: on a dark page it adds light instead of darkening */
html[data-theme="dark"] .prism, html[data-theme="dark"] .caustic { mix-blend-mode: screen; }
html[data-theme="dark"] .caustic { opacity: .28; }
html[data-theme="dark"] .sun-wash::after { background: linear-gradient(90deg, rgba(14, 12, 18, .95) 30%, rgba(14, 12, 18, .72)); }
@media (max-width: 860px) { html[data-theme="dark"] .sun-wash::after { background: rgba(14, 12, 18, .86); } }
html[data-theme="dark"] .tile,
html[data-theme="dark"] .tile[aria-pressed="true"] { background-color: var(--surface); }
html[data-theme="dark"] .tile { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(var(--line), var(--line)) border-box; }
html[data-theme="dark"] .tile[aria-pressed="true"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--spin), var(--r1), var(--r2), var(--r3), var(--r4), var(--r5), var(--r6), var(--r1)) border-box; }
html[data-theme="dark"] .nm-mirror .nm-word { -webkit-text-stroke-color: #8a7d9c; }
html[data-theme="dark"] .holo-list button:hover, html[data-theme="dark"] .holo-list button:focus-visible { color: #141217; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { background: var(--surface); }
/* 30 Nov check: prices on the cards and the choice buttons in the make panel were dark on dark / white on white */
html[data-theme="dark"] .card-price { color: var(--ink); }
html[data-theme="dark"] .choices span { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .choices input:checked + span { background: #fff; border-color: #fff; color: #141217; }
html[data-theme="dark"] .sheet { background: radial-gradient(70% 50% at 90% 0%, rgba(255, 43, 214, .16), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(43, 255, 177, .1), transparent 70%), linear-gradient(170deg, #121016, #0a090d); }
html[data-theme="dark"] .sheet .x { background: var(--surface); border-color: rgba(255, 255, 255, .22); }
html[data-theme="dark"] .gift .x { background: rgba(21, 18, 26, .88); }
html[data-theme="dark"] .gift-preview { background: linear-gradient(180deg, rgba(255, 255, 255, .06), var(--paper-2)); }
html[data-theme="dark"] .foot { border-top-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .sign, html[data-theme="dark"] .chip, html[data-theme="dark"] .ds-pill {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)) border-box; }
html[data-theme="dark"] .sign:hover, html[data-theme="dark"] .sign:focus-visible, html[data-theme="dark"] .sign.lit {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--ang), #ff9ad5, #c9a2ff, #8fd0ff, #8ff3df, #b8f59a, #ffe38a, #ff9ad5) border-box; }
html[data-theme="dark"] .chip:hover, html[data-theme="dark"] .chip:focus-visible, html[data-theme="dark"] .ds-pill[aria-pressed="true"] {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--rainbow) border-box; }
html[data-theme="dark"] .si-pick b { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--foil) border-box; }
html[data-theme="dark"] .steps { background: rgba(255, 255, 255, .05); }
html[data-theme="dark"] .steps .n, html[data-theme="dark"] .si-n { -webkit-text-stroke-color: rgba(255, 255, 255, .3); }
html[data-theme="dark"] .designer { background: linear-gradient(rgba(28, 25, 34, .8), rgba(28, 25, 34, .8)) padding-box, var(--foil) border-box; }
html[data-theme="dark"] #ds-input, html[data-theme="dark"] .ds-sum, html[data-theme="dark"] .ds-tilt { background: var(--surface); border-color: rgba(255, 255, 255, .22); }
html[data-theme="dark"] .ds-char { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
html[data-theme="dark"] .ds-name.is-empty { color: #8a7d9c; }
html[data-theme="dark"] .words q { color: var(--ink-2); }

/* The light/dark switch in the bar */
.theme-btn { display: inline-grid; place-items: center; padding: 0; width: 44px; }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
html[data-theme="dark"] .theme-btn .i-moon { display: none; }
/* dark: the light picture behind the opening sits under a purple veil instead of the pink one */
html[data-theme="dark"] .hero-light { opacity: .25; }
html[data-theme="dark"] .hero-bg::after { background: linear-gradient(180deg, rgba(13, 11, 16, .85), rgba(13, 11, 16, .7) 60%, rgba(13, 11, 16, .92)); }

/* phones: the switch moves from the bar into the Menu, so Luna Sparkles keeps its room */
.theme-btn-menu { display: none; }
@media (max-width: 760px) {
  .bar .theme-btn { display: none; }
  .theme-btn-menu { display: inline-flex; align-items: center; gap: 10px; width: auto; padding: 0 18px; margin-top: 28px; align-self: flex-start; }
}

/* =====================================================================
   Squishy writing (Aaron picked Fredoka, 29 Nov 2026): soft rounded letters, no black,
   colours mixed. Letters near the mouse or finger puff up and get pushed aside like a pillow
   (app.js sets --w, --tx, --ty, --sx, --sy). Uses translate/scale, so the GSAP intro is untouched.
   ===================================================================== */
:root { --h-plum: #4a3a5c; --h-rose: #c2407e; --h-violet: #6b4fc8; --h-teal: #2f8f9d; }
html[data-theme="dark"] { --h-plum: #ebe4f3; --h-rose: #ff8cc6; --h-violet: #b9a2ff; --h-teal: #7fe0e8; }
.display, .hero-title, .lockup .caps, .gifts-title, .how-title, .ds-title, .ow, .nm-glint {
  font-family: var(--display); text-transform: none; font-weight: 400; letter-spacing: -.005em;
}
.hero-title { font-size: clamp(48px, 7.4vw, 128px); line-height: 1; color: var(--h-plum); max-width: min(12em, 74vw); }
.hero-title .w:nth-child(5), .hero-title .w:nth-child(6) { color: var(--h-teal); }
.display { font-size: clamp(44px, 6.2vw, 104px); line-height: 1; color: var(--h-violet); }
.lockup .ow-sec { font-size: clamp(40px, 5.4vw, 92px); line-height: 1; letter-spacing: 0; }
.lockup .caps { font-size: clamp(54px, 7.8vw, 136px); line-height: .95; margin-top: -.02em; color: var(--h-rose); }
#keys-title .caps { color: var(--h-violet); }
#sun-title .caps { color: var(--h-teal); }
.gifts-title, .how-title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; color: var(--h-plum); }
.ds-title { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; color: var(--h-rose); }
/* the sparkly words: filled with her pink-violet-blue instead of a black outline */
.ow-hero, .ow-sec, .ow-done {
  font-weight: 500; color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(90deg, #ec4a98, #a86bff 55%, #4fb6ff); -webkit-background-clip: text; background-clip: text;
}
html[data-theme="dark"] .ow-hero, html[data-theme="dark"] .ow-sec, html[data-theme="dark"] .ow-done { background-image: linear-gradient(90deg, #ff7ac8, #c3a2ff 55%, #7cc8ff); }
/* pillow letters */
.pl { display: inline-block; font-variation-settings: "wght" var(--w, 400); translate: var(--tx, 0) var(--ty, 0); scale: var(--sx, 1) var(--sy, 1); transform-origin: 50% 85%;
  transition: font-variation-settings .35s var(--ease), translate .35s var(--ease), scale .35s var(--ease); }
@media (max-width: 760px) {
  .hero-title { max-width: none; font-size: min(13.5vw, 84px); }
  .lockup .caps { font-size: min(15vw, 92px); }
  .lockup .ow-sec { font-size: min(11vw, 64px); }
  .display { font-size: min(12vw, 72px); }
}
.hero-title .ow-hero { font-weight: 500; }
/* Fredoka is wider than the old tall font: the name in the bar keeps its room */
.brand-name { font-size: 22px; letter-spacing: .08em; }
@media (max-width: 400px) { .brand-name { font-size: 16px; letter-spacing: 0; text-transform: none; } }

/* Design your case: "You, drawn by Luna" shows her real character case (cut from her own photo, with the phone's camera showing through) */
.ds-case.ds-real { width: 240px; height: 440px; border-radius: 34px; background: url("work/character-case.webp") center / 100% 100% no-repeat;
  box-shadow: 0 30px 50px -24px rgba(60, 30, 80, .55), 0 6px 14px -6px rgba(60, 30, 80, .35); }
.ds-case.ds-real::before { display: none; }
.ds-case.ds-real .ds-name { bottom: 26px; }
@media (max-width: 400px) { .ds-case.ds-real { width: 207px; height: 380px; } }
/* real phone shape: tall and slim (about 1 wide to 2.1 high), her photo was taken at a slant so it is stretched back up */
.ds-case.ds-real { width: 240px; height: 505px; border-radius: 36px; }
.ds-stage:has(.ds-real) { min-height: 560px; }
@media (max-width: 400px) { .ds-case.ds-real { width: 200px; height: 420px; } .ds-stage:has(.ds-real) { min-height: 470px; } }

/* Cold cups: the name preview follows the Lettering pick (Script = her flowing script, Bold = big bold letters), solid like her vinyl */
#gift-show.f-script .nm-word, #gift-show.f-bold .nm-word { color: var(--ink); -webkit-text-stroke: 0; text-transform: none; letter-spacing: 0; }
#gift-show.f-script .nm-word::before, #gift-show.f-bold .nm-word::before, #gift-show.f-script .nm-glint, #gift-show.f-bold .nm-glint { display: none; }
#gift-show.f-script .nm-word { font-family: 'Sacramento', cursive; font-weight: 400; line-height: 1.25; padding: 0 .15em; }
#gift-show.f-bold .nm-word { font-family: 'Anton', 'Arial Black', sans-serif; font-weight: 400; }

/* More photos of a make (baby sets): little pictures under the main photo */
.gift-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 12px 0; }
.thumb { flex: none; }
.gift-pic:has(.gift-thumbs:not([hidden])) { align-content: start; padding: 24px 0 16px; }
.gift-thumbs[hidden] { display: none; }
.thumb { width: 56px; height: 56px; padding: 0; border: 2px solid #fff; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(40, 20, 60, .18); cursor: pointer; opacity: .75; transition: opacity .2s, transform .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--ink); transform: translateY(-2px); }
.thumb:hover, .thumb:focus-visible { opacity: 1; }
.choices + .help { margin-top: 6px; }
@media (max-width: 760px) {
  .gift-thumbs { padding-top: 10px; }
  .thumb { width: 52px; height: 52px; }
}

/* Sideways rows gliding on their own: no snapping, so nothing jumps when it stops (app.js adds .gliding) */
.rail.gliding { scroll-snap-type: none; scrollbar-width: none; padding-bottom: 4px; }
.rail.gliding::-webkit-scrollbar { display: none; }

/* Her asks 30 Nov: "love" in the headline in red with a little beating heart */
:root { --love: #e3173e; }
html[data-theme="dark"] { --love: #ff4d6d; }
.hero-title .w.love { color: var(--love); white-space: nowrap; }
.love-heart { display: inline-block; width: .42em; height: .4em; margin-left: .08em; vertical-align: .55em; }
.love-heart svg { display: block; width: 100%; height: 100%; fill: var(--love); filter: drop-shadow(0 2px 6px rgba(227, 23, 62, .35)); transform-origin: 50% 60%; }
@media (prefers-reduced-motion: no-preference) { .love-heart svg { animation: beat 1.6s ease-in-out infinite; } }
/* Name it: the typed name shows in capitals (script and bold cups keep their own lettering) */
.nm:not(.f-script):not(.f-bold) .nm-word, .nm:not(.f-script):not(.f-bold) .nm-glint { text-transform: uppercase; }

/* Playfair Display (her pick 30 Nov): sparkles in the headline in italic, like the pick page */
.hero-title .ow-hero { font-style: italic; }

/* Design your case: Your photo (30 Nov). The photo sits on the back of the case, under the camera and the name. */
.ds-photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; cursor: grab; touch-action: none; }
.ds-photo[hidden] { display: none; }
.ds-photo:active { cursor: grabbing; }
.ds-photo img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.ds-case::before { z-index: 2; }
.ds-case::after { z-index: 3; }
.ds-charm { z-index: 1; }
.ds-name { z-index: 4; }
.ds-case.ds-has-photo .ds-charm { display: none; }
.ds-photo-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ds-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ds-pick { display: inline-flex; align-items: center; background: linear-gradient(#fff, #fff) padding-box, var(--rainbow) border-box; }
.ds-file:focus-visible + .ds-zoom, .ds-pick:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.ds-zoom { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ds-zoom[hidden] { display: none; }
.ds-zoom input { width: 140px; accent-color: #ec4a98; min-height: 44px; }
.ds-help { margin-top: 8px; font-size: 14px; color: var(--soft); }
.ds-text { width: 100%; min-height: 48px; border: 1px solid #d6d3de; border-radius: 6px; padding: 0 14px; font: 400 18px var(--body); background: #fff; color: var(--ink); }
html[data-theme="dark"] .ds-text { background: var(--surface); border-color: rgba(255, 255, 255, .22); }
html[data-theme="dark"] .ds-pick { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--rainbow) border-box; }

/* Phone model picker (photo cases): a button that opens Apple / Samsung / Other and a list of round model buttons */
.mp { position: relative; }
.mp-btn { display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; font: 400 16px var(--body); overflow: hidden; }
.mp-make { align-self: stretch; display: grid; place-items: center; padding: 0 18px; border-right: 1px solid #d6d3de; font-weight: 500; }
.mp-model { flex: 1; padding: 0 12px; text-align: center; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-btn.is-empty .mp-model { color: var(--soft); font-weight: 400; }
.mp-arrow { width: 12px; height: 8px; margin-right: 18px; transition: transform .2s var(--ease); }
.mp-btn[aria-expanded="true"] .mp-arrow { transform: rotate(180deg); }
.mp-panel { margin-top: 8px; padding: 12px; border-radius: 22px; background: #f1edf4; box-shadow: inset 0 0 0 1px #e4dfe9; }
.mp-panel[hidden] { display: none; }
.mp-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.mp-tab { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #ddd7e3; background: #fff; color: var(--ink); font: 500 15px var(--body); cursor: pointer; }
.mp-tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mp-list { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.mp-list[hidden] { display: none; }
.mp-item { min-height: 46px; border-radius: 999px; border: 1.5px solid transparent; background: #fbf9fc; color: var(--ink-2); font: 400 16px var(--body); cursor: pointer; }
.mp-item:hover { border-color: #d6d3de; }
.mp-item[aria-pressed="true"] { border-color: var(--ink); background: #fff; color: var(--ink); font-weight: 600; }
.mp-btn:focus-visible, .mp-tab:focus-visible, .mp-item:focus-visible, .mp-done:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.mp-other { display: grid; gap: 10px; }
.mp-other[hidden] { display: none; }
.mp-done { justify-self: start; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 500 15px var(--body); cursor: pointer; }
html[data-theme="dark"] .mp-btn { background: var(--surface); border-color: rgba(255, 255, 255, .5); }
html[data-theme="dark"] .mp-make { border-color: rgba(255, 255, 255, .2); }
html[data-theme="dark"] .mp-panel { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
html[data-theme="dark"] .mp-tab, html[data-theme="dark"] .mp-item { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--ink); }
html[data-theme="dark"] .mp-tab[aria-pressed="true"], html[data-theme="dark"] .mp-done { background: #fff; color: #141217; }
html[data-theme="dark"] .mp-item[aria-pressed="true"] { border-color: #fff; background: rgba(255, 255, 255, .16); }

/* Design your case = her blank (30 Nov): edge colour all round, the print panel inside, and the camera cut-out
   (the phone's own camera shows through it). Photo, background colour and name all sit on the panel. */
.ds-case:not(.ds-real) { background: var(--edge, #141217); box-shadow: 0 30px 50px -24px rgba(60, 30, 80, .5), 0 6px 14px -6px rgba(60, 30, 80, .3); }
.ds-case:not(.ds-real)::before { top: 9px; left: 9px; width: 94px; height: 94px; border-radius: 26px; z-index: 2;
  background: radial-gradient(circle at 32% 30%, #1c1b21 0 13px, #4a4752 14px 16px, transparent 17px),
              radial-gradient(circle at 32% 72%, #1c1b21 0 13px, #4a4752 14px 16px, transparent 17px),
              radial-gradient(circle at 74% 51%, #1c1b21 0 13px, #4a4752 14px 16px, transparent 17px),
              radial-gradient(circle at 76% 22%, #f6f0d8 0 3px, transparent 4px), #2d2b33;
  box-shadow: 0 0 0 7px var(--edge, #141217); }
.ds-insert { position: absolute; inset: 9px; border-radius: 28px; overflow: hidden; background: var(--bg, #ffffff); z-index: 0; }
.ds-real .ds-insert { display: none; }
.ds-cam { display: none; }
.ds-insert .ds-charm { z-index: 1; }
.ds-case.ds-has-photo .ds-charm { display: none; }
.ds-photo { z-index: 0; }
@media (max-width: 400px) { .ds-case:not(.ds-real)::before { width: 82px; height: 82px; border-radius: 22px; } .ds-insert { inset: 8px; border-radius: 24px; } }

/* Each phone model gets its own size and camera cut-out (30 Nov). app.js sets the case size and draws the cut-out. */
.ds-case:not(.ds-real)::before { display: none; }
.ds-case:not(.ds-real) .ds-cam { display: block; }
.ds-cam { position: absolute; z-index: 2; background: #2d2b33; box-shadow: 0 0 0 6px var(--edge, #141217); }
.ds-lens { position: absolute; border-radius: 50%; background: radial-gradient(circle, #1c1b21 0 62%, #4a4752 64% 78%, #2d2b33 80%); transform: translate(-50%, -50%); }
.ds-case:not(.ds-real) { transition: width .35s var(--ease), height .35s var(--ease), background-color .4s; }
.ds-stage:has(.ds-case:not(.ds-real)) { min-height: 500px; }
@media (max-width: 400px) { .ds-stage:has(.ds-case:not(.ds-real)) { min-height: 430px; } }

/* Your photos: 1 to 6 spaces on the case (her answer, 30 Nov). White lines between them. */
.ds-has-photo .ds-insert { background: #ffffff; }
.ds-photo { cursor: default; }
.ds-slot { position: absolute; overflow: hidden; cursor: grab; touch-action: none; outline: none; }
.ds-slot:active { cursor: grabbing; }
.ds-slot img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.ds-slot img[hidden] { display: none; }
.ds-slot.is-empty { cursor: pointer; background: #f3eff8; display: grid; place-items: center; }
.ds-num { display: none; width: 34px; height: 34px; border-radius: 50%; place-items: center; font: 500 15px/1 var(--body); color: var(--ink); background: #fff; box-shadow: 0 2px 10px rgba(60, 30, 90, .15); }
.ds-slot.is-empty .ds-num { display: grid; }
.ds-slot.is-target::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #ec4a98; background: rgba(236, 74, 152, .12); pointer-events: none; }
.ds-slot.is-on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #ec4a98; pointer-events: none; }
.ds-slot:focus-visible::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ink); pointer-events: none; }
/* Collage (her yes, 30 Nov 19:00): layout buttons with a little drawing, a tray of their photos to drag onto the case */
.ds-layouts { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-lay { display: inline-flex; align-items: center; flex-direction: column; justify-content: center; gap: 5px; height: auto; min-width: 72px; padding: 8px 8px 7px; border-radius: 14px; font-size: 12px; line-height: 1.1; }
.ds-lay svg { width: 26px; height: 45px; fill: #ffc2dd; }
.ds-lay[aria-pressed="true"] svg { fill: #ec4a98; }
.ds-tray { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.ds-tray[hidden] { display: none; }
.ds-thumb { position: relative; width: 60px; height: 60px; padding: 0; border: 2px solid #fff; border-radius: 12px; overflow: hidden; cursor: grab; touch-action: none; box-shadow: 0 0 0 1px #d6d3de; background: #f3eff8; }
.ds-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.ds-thumb.is-used { box-shadow: 0 0 0 2px #ec4a98; }
.ds-thumb-n { position: absolute; right: 3px; bottom: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font: 500 11px/18px var(--body); color: #fff; background: #ec4a98; }
.ds-thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ds-ghost { position: fixed; left: 0; top: 0; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; pointer-events: none; z-index: 9999; opacity: .9; box-shadow: 0 8px 24px rgba(40, 20, 60, .3); }
.ds-takeout { font-size: 14px; }

/* Her ask (30 Nov, 18:56): "Type a name. Watch it sparkle." in black */
#name-title { color: var(--ink); }

/* Reviews (her ask, 30 Nov): her customers' words only, in the page's own fonts. Cards flow in columns as more are added. */
.reviews { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.review { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: 22px; border: 2px solid transparent; background: linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)) padding-box, var(--rainbow) border-box; box-shadow: 0 18px 50px rgba(60, 30, 90, .10); }
.rv-mark { display: block; height: .42em; font: italic 300 clamp(80px, 8vw, 120px)/1 var(--display); color: var(--h-rose); }
.review blockquote { margin: 0; }
.review blockquote p { font: italic 300 clamp(22px, 2.1vw, 30px)/1.3 var(--display); color: var(--ink); }
.rv-who { margin-top: 20px; font: 500 13px/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.rv-who span { color: var(--soft); }
html[data-theme="dark"] .review { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--rainbow) border-box; }

/* Magic wand pointer (her ask, 30 Nov), in place of the heart. The star's middle sits on the mouse point,
   so the sparkle trail comes straight off the star. Over a make the wand waves; a click gives it a flick. */
.wand-pointer { width: 36px; height: 36px; margin: -8.5px 0 0 -8.5px; }
.wand-pointer svg { fill: none; filter: drop-shadow(0 2px 5px rgba(236, 74, 152, .45)); animation: none; }
.wand-pointer svg { transform-origin: 30px 30px; }   /* waves from the handle end */
@keyframes wand-wave { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-14deg); } 65% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: no-preference) { .heart-make .wand-pointer svg { animation: wand-wave 1.1s ease-in-out infinite; } }
.wand-pointer.press svg { transform: rotate(-22deg) scale(.92); animation: none; }
html[data-theme="dark"] .wand-stick { stroke: #d9d6e0; }

/* the photo column keeps its colour all the way down when the form is long */
@media (min-width: 761px) { .gift-inner { background: linear-gradient(90deg, var(--paper-2) 50%, transparent 50%); } }

/* 30 Nov (Aaron): thinner holo frame and a soft 10% holo shine moving through every photo in phone cases, keyrings
   and suncatchers. The bottom holo row (#more-makes) is left exactly as it was. */
.sec-cases .card-pic, .sec-keys .card-pic, .sec-sun .card-pic { padding: 5px; }
.card-sun .card-pic::before { padding: 5px; }
.sec-cases .card-pic::after, .sec-keys .card-pic::after, .sec-sun .card-pic::after {
  content: ""; position: absolute; inset: 5px; border-radius: 4px; pointer-events: none; z-index: 1; opacity: .1;
  background: linear-gradient(115deg, #ff9ad5, #c9a2ff 18%, #8fd0ff 34%, #8ff3df 50%, #ffe38a 66%, #ff9ad5 82%, #c9a2ff);
  background-size: 300% 300%; background-position: 0% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .sec-cases .card-pic::after, .sec-keys .card-pic::after, .sec-sun .card-pic::after { animation: holo-drift 9s ease-in-out infinite alternate; }
}
@keyframes holo-drift { to { background-position: 100% 50%; } }
.card-open.tilt .card-pic::after { opacity: .16; }

/* 30 Nov (Aaron): the case video and the crystals picture get the same thin holo frame as the cards, so they aren't sat in the middle of nowhere */
.cover-cases {
  border-radius: 10px;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 4px), var(--foil);
  background-size: 100% 100%, 260% 260%; background-position: 0 0, 30% 30%;
  box-shadow: 0 26px 48px -28px rgba(80, 30, 90, .5), 0 0 0 1px rgba(255, 255, 255, .7) inset;
}
.cover-video video { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 4px; box-shadow: 0 0 0 3px #fff; }
.cover-cases:not(.cover-video) { padding: 5px; }
.cover-cases:not(.cover-video) img { border-radius: 4px; box-shadow: 0 0 0 3px #fff; }

/* 30 Nov: her own suncatcher videos in the Circle, Long spiral and Mini spiral cards (whole make in view, soft blur at the sides) */
.card-pic .wall-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* 30 Nov (Aaron): the specks fill the whole window behind everything, just above the pink mist */
.float3d.float-page { position: fixed; inset: 0; z-index: -1; }

/* 1 Dec (Luna): every font is Playfair Display. The lines that were handwritten (Sacramento) are Playfair italic now.
   The phone case designer keeps the script for the name ON the case, as that shows her product, not the site's lettering. */
.foot-line, .words q, .si-craft { font-style: italic; }
.ds-name { font-family: "Sacramento", "Segoe Script", cursive; }

/* 1 Dec (Luna): the price while designing a case, and the total to pay in the basket */
.ds-price { margin: 10px 0 14px; font: 400 26px/1.1 var(--display); color: var(--ink); }
.sums .sum-pay { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.1em; }
.sums .sum-pay span:last-child { color: var(--ink); }
.sums .sum-note span:last-child { text-align: left; font-size: 15px; }

/* 1 Dec (Luna): the heart sits inside the o of Love */
.hero-title .love .ch-o { position: relative; }
.hero-title .love .ch-o .love-heart { position: absolute; left: 50%; top: 66%; width: .22em; height: .2em; margin: 0; vertical-align: 0; transform: translate(-50%, -50%); }

/* 1 Dec (Luna): a sparkle in the o of Love instead of the heart */
.hero-title .love .ch-o .love-spark { width: .3em; height: .3em; top: 64%; }
.love-spark svg { fill: none; filter: drop-shadow(0 0 4px rgba(167, 123, 255, .55)); animation: none; }
@media (prefers-reduced-motion: no-preference) { .love-spark svg { animation: love-twinkle 2.2s ease-in-out infinite; } }
@keyframes love-twinkle { 0%, 100% { transform: scale(.82) rotate(0deg); opacity: .85; } 50% { transform: scale(1.12) rotate(45deg); opacity: 1; } }
/* 1 Dec: order number and receipt button after checkout */
.done-ref { margin-top: 26px; font-size: 15px; letter-spacing: .04em; }
.done-ref b { letter-spacing: .08em; }
.done .done-ref + .btn { margin-top: 12px; }

/* ===== Design your frame (Photo frames), 1 Dec: an A4 print in a black or white frame, drawn on a canvas ===== */
.sec-frames .designer { align-items: start; grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1fr); }
.a4-stage { position: sticky; top: 96px; display: grid; place-items: center; min-width: 0; }
.a4-canvas { display: block; max-width: 100%; cursor: pointer; border-radius: 4px; }
.a4-canvas.has-photo { touch-action: none; cursor: grab; }
.a4-canvas:active { cursor: grabbing; }
.a4-canvas:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.a4-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.a4-inline .ds-text { width: 9.5em; flex: 0 1 auto; text-transform: uppercase; letter-spacing: .12em; }
.a4-area { padding: 12px 14px; min-height: 84px; line-height: 1.4; resize: vertical; }
.a4-photos { margin-top: 12px; }
.a4-sent p { margin-bottom: 10px; }
.a4-send { display: flex; flex-wrap: wrap; gap: 10px; }
.a4-sent:empty { display: none; }
html[data-theme="dark"] .a4 .ds-text { background: var(--surface); color: var(--ink); border-color: rgba(255, 255, 255, .3); }
@media (max-width: 860px) {
  .sec-frames .designer { grid-template-columns: 1fr; }
  /* phones: the frame stays at the top while they pick, with a soft panel behind it so the choices slide under */
  .a4-stage { top: 62px; z-index: 5; margin: 0 -8px; padding: 6px 0; border-radius: 10px; background: rgba(253, 246, 249, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  html[data-theme="dark"] .a4-stage { background: rgba(22, 19, 27, .9); }
}
.a4-talk { margin: -6px 0 14px; font-size: 15px; color: var(--soft); }   /* 1 Dec, Luna: she can work on quotes, message or email her */
.a4-talk a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 12px 2px; }   /* bigger tap area without spreading the lines */
