
/* Cheekys Creations sparkle/workshop storefront layer */
:root {
  --cc-pink-50: #FFF3FA;
  --cc-pink-100: #F9D2E7;
  --cc-pink-300: #F9B7D9;
  --cc-pink-400: #F49CC4;
  --cc-pink-500: #E95A96;
  --cc-pink-600: #D64C8E;
  --cc-pink-700: #BC5989;
  --cc-ink: #12070D;
  --cc-soft: #FFF4FA;
  --cc-wine: #5B253A;
}

.magical-glitter-layer,
.sparkle-station-shell::before,
.sparkle-impact-lane::before {
  background: linear-gradient(135deg, #FFF4FA 0%, #F9D2E7 25%, #E95A96 50%, #D64C8E 75%, #12070D 100%);
  background-size: 300% 300%;
  animation: shimmer-flow 7s ease infinite;
}

@keyframes shimmer-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sparkle-twinkle {
  0%, 100% { opacity: .28; transform: scale(.72) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(90deg); filter: drop-shadow(0 0 8px rgba(233,90,150,.72)); }
}

@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.storybook-text-glow { text-shadow: 0 2px 8px rgba(91, 37, 58, .22); }

.glitter-text {
  background: linear-gradient(90deg, #F9B7D9, #FFF4FA, #E95A96, #D64C8E, #F9B7D9);
  background-size: 320% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 5.5s linear infinite;
}

.sparkle-station {
  width: min(100%, 1120px);
  margin: 34px auto;
  padding: 0 16px;
}

.sparkle-station-shell {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  border: 3px solid var(--cc-ink);
  background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.9), transparent 31%), linear-gradient(180deg, #fff7fb 0%, #ffe5f2 62%, #fff4fa 100%);
  box-shadow: 10px 10px 0 var(--cc-ink), 0 28px 70px rgba(0,0,0,.28);
  padding: clamp(20px, 3.4vw, 42px);
  color: var(--cc-ink);
}

.sparkle-station-shell::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: .085;
  pointer-events: none;
  transform: rotate(-12deg);
}

.sparkle-station-shell::after {
  content: "✦ ✧ ✦ ✧ ✦ ✧ ✦";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 18px;
  color: rgba(233,90,150,.22);
  letter-spacing: 2.1rem;
  font-size: 1rem;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

.sparkle-station-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}

.sparkle-station-kicker {
  margin: 0 0 8px;
  color: var(--cc-pink-700);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
  font-size: .78rem;
}

.sparkle-station-title {
  margin: 0;
  font-family: "Fredoka Local", system-ui, sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: .88;
  letter-spacing: -.04em;
}

.sparkle-station-lede {
  margin: 14px auto 0;
  color: var(--cc-wine);
  font-weight: 760;
  font-size: clamp(1rem, 2vw, 1.17rem);
  max-width: 680px;
}

.creation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.creation-preview-card {
  position: sticky;
  top: 18px;
  min-height: 540px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 28px;
  border: 3px solid var(--cc-ink);
  background: radial-gradient(circle at 50% 14%, rgba(255,255,255,.88), transparent 31%), linear-gradient(180deg, #FFF3FA 0%, #F9D2E7 100%);
  box-shadow: 6px 6px 0 var(--cc-ink), inset 0 0 0 1px rgba(255,255,255,.4);
  overflow: hidden;
  padding: 22px;
}

.creation-preview-card .sparkle-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: sparkle-twinkle 2.2s ease-in-out infinite;
  opacity: .8;
}
.creation-preview-card .sparkle-dot.one { top: 28px; left: 32px; }
.creation-preview-card .sparkle-dot.two { top: 70px; right: 48px; animation-delay: .65s; }
.creation-preview-card .sparkle-dot.three { bottom: 122px; left: 48px; animation-delay: 1.2s; }

.pen-preview-stage {
  position: relative;
  width: 180px;
  height: 410px;
  display: grid;
  justify-items: center;
  align-content: center;
  animation: soft-float 4.5s ease-in-out infinite;
}

.preview-companion {
  width: 84px;
  height: 84px;
  z-index: 4;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 3px solid var(--cc-ink);
  background: linear-gradient(180deg, #fff, #F9D2E7);
  box-shadow: 4px 4px 0 var(--cc-ink);
  font-size: 2.65rem;
  transition: transform .22s ease, background .22s ease;
}

.preview-beads {
  z-index: 3;
  display: grid;
  gap: 0;
  margin: -2px 0 -4px;
}

.preview-bead {
  width: 52px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cc-ink);
  background: linear-gradient(180deg, #fff, #ffeaf5);
  color: var(--cc-ink);
  font-family: "Fredoka Local", system-ui, sans-serif;
  font-weight: 950;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 2px 0 0 rgba(255,255,255,.75) inset;
  position: relative;
}
.preview-bead + .preview-bead { margin-top: -2px; }
.preview-bead::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(249,183,217,.75);
}

.preview-shaft {
  width: 26px;
  height: 210px;
  border-left: 3px solid var(--cc-ink);
  border-right: 3px solid var(--cc-ink);
  border-bottom: 3px solid var(--cc-ink);
  border-radius: 0 0 10px 10px;
  background: var(--cc-pink-500);
  box-shadow: 4px 0 0 rgba(255,255,255,.2) inset, 4px 4px 0 rgba(18,7,13,.22);
  position: relative;
  transition: background-color .22s ease;
}
.preview-shaft::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 32px;
  border: 3px solid var(--cc-ink);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #fff, #f5bfd7);
}

.preview-toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 2px solid var(--cc-ink);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  padding: 12px;
  text-align: center;
  color: var(--cc-pink-700);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.creation-controls { display: grid; gap: 18px; }
.workshop-panel {
  border: 3px solid var(--cc-ink);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 5px 5px 0 var(--cc-ink);
  padding: clamp(16px, 2.4vw, 24px);
}
.workshop-panel-head { display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.step-dot {
  width: 28px;
  height: 28px;
  display:grid;
  place-items:center;
  border:2px solid var(--cc-ink);
  border-radius:999px;
  background: var(--cc-pink-500);
  color:#fff;
  font-weight:950;
  box-shadow:2px 2px 0 var(--cc-ink);
}
.workshop-panel h3 {
  margin: 0;
  font-family: "Fredoka Local", system-ui, sans-serif;
  color: var(--cc-ink);
  font-size: 1.26rem;
  line-height: 1.05;
}
.option-grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.option-grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.workshop-choice {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 86px;
  padding: 12px;
  border: 2px solid var(--cc-ink);
  border-radius: 18px;
  background: #fff4fa;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--cc-ink);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.workshop-choice:hover { transform: translateY(-2px); background: #fff; box-shadow: 4px 4px 0 var(--cc-ink); }
.workshop-choice input { position:absolute; opacity:0; pointer-events:none; }
.choice-title { display:flex; align-items:center; gap:8px; color:var(--cc-ink); font-weight:950; font-size:.84rem; line-height:1.05; }
.choice-copy { color:var(--cc-pink-700); font-size:.73rem; line-height:1.25; font-weight:700; }
.choice-swatch { width:22px; height:22px; border-radius:999px; border:2px solid var(--cc-ink); box-shadow:1px 1px 0 rgba(18,7,13,.24); flex:0 0 auto; }
.choice-emoji { font-size:1.65rem; filter: drop-shadow(1px 1px 0 var(--cc-ink)); }
.workshop-choice:has(input:checked) {
  background: linear-gradient(180deg, #fff, #ffe0f0);
  outline: 3px solid var(--cc-pink-500);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.workshop-input-wrap { position: relative; }
.workshop-name-input {
  width: 100%;
  min-height: 54px;
  border: 3px solid var(--cc-ink);
  border-radius: 16px;
  background: #fff4fa;
  color: var(--cc-ink);
  box-shadow: 3px 3px 0 var(--cc-ink);
  font-family: "Fredoka Local", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 13px 70px 13px 16px;
  outline: none;
}
.workshop-name-input:focus { background:#fff; box-shadow: 4px 4px 0 var(--cc-ink), 0 0 0 4px rgba(233,90,150,.22); }
.char-counter {
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color: var(--cc-pink-700);
  font-weight:950;
  font-size:.78rem;
}
.design-summary {
  border:2px dashed rgba(91,37,58,.38);
  border-radius:16px;
  padding:12px;
  background:rgba(255,244,250,.78);
  color:var(--cc-wine);
  font-size:.84rem;
  font-weight:760;
}
.checkout-ribbon {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:16px;
  align-items:center;
  border:3px solid var(--cc-ink);
  border-radius:24px;
  background:linear-gradient(135deg,#12070D,#3b1029 58%,#E95A96 140%);
  box-shadow:5px 5px 0 var(--cc-ink);
  color:#fff4fa;
  padding:18px;
}
.checkout-ribbon small { color:#ffd2e8; font-weight:900; text-transform:uppercase; letter-spacing:.16em; }
.checkout-price { font-family:"Fredoka Local",system-ui,sans-serif; font-size:clamp(1.8rem,4vw,2.8rem); font-weight:950; line-height:1; margin-top:4px; }
.donation-estimate { color:#ffe3f1; font-size:.9rem; margin-top:6px; font-weight:800; }
.copy-confirm { min-height: 18px; color:#fff; font-size:.78rem; font-weight:900; margin-top:8px; }
.creation-checkout-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:54px;
  padding:14px 22px;
  border-radius:16px;
  border:2px solid var(--cc-ink);
  background:linear-gradient(180deg,#ff7ac7 0%,#E95A96 62%,#D64C8E 100%);
  color:#fff;
  font-weight:950;
  text-decoration:none;
  box-shadow:4px 4px 0 #000;
  text-transform:uppercase;
  letter-spacing:.04em;
  transition: transform .18s ease;
  white-space:nowrap;
}
.creation-checkout-button:hover { transform: translateY(-2px); }
.creation-checkout-button:active { transform: translateY(1px); }

.sparkle-impact-lane {
  position: relative;
  overflow: hidden;
  width: min(100%, 1120px);
  margin: 34px auto;
  border: 3px solid var(--cc-pink-500);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(18,7,13,.98), rgba(39,9,28,.98));
  color: var(--cc-soft);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  padding: clamp(22px, 3vw, 34px);
}
.sparkle-impact-lane::before {
  content:"";
  position:absolute;
  inset:-50%;
  opacity:.11;
  pointer-events:none;
}
.impact-content { position:relative; z-index:1; display:grid; grid-template-columns: 1fr 1.05fr; gap:24px; align-items:center; }
.impact-kicker { margin:0 0 8px; color:#F9B7D9; font-weight:950; letter-spacing:.18em; text-transform:uppercase; font-size:.76rem; }
.impact-title { margin:0; font-family:"Fredoka Local",system-ui,sans-serif; font-size:clamp(2rem,4vw,3.6rem); line-height:.95; }
.impact-copy { color:#ffe1f0; font-weight:760; line-height:1.55; }
.impact-metrics { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.impact-metric { border:2px solid rgba(249,183,217,.7); border-radius:20px; background:rgba(255,244,250,.08); padding:14px; text-align:center; box-shadow:2px 2px 0 rgba(233,90,150,.45); }
.impact-metric strong { display:block; font-family:"Fredoka Local",system-ui,sans-serif; font-size:clamp(1.45rem,3vw,2.25rem); color:#fff; }
.impact-metric span { display:block; margin-top:4px; color:#F9B7D9; font-size:.7rem; font-weight:950; letter-spacing:.12em; text-transform:uppercase; }
.giving-feed { margin-top:14px; display:grid; gap:8px; }
.giving-entry { display:flex; justify-content:space-between; gap:12px; border:1px solid rgba(249,183,217,.32); border-radius:16px; background:rgba(255,244,250,.06); padding:10px 12px; color:#ffe9f4; font-size:.82rem; font-weight:800; }
.giving-entry b { color:#fff; }
.giving-entry em { color:#F9B7D9; font-style:normal; }

.creation-mini-cta {
  width:min(100%,1120px);
  margin: 28px auto;
  padding: 0 16px;
}
.creation-mini-cta-inner {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:16px;
  align-items:center;
  border:2px solid rgba(249,183,217,.42);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,244,250,.98),rgba(249,210,231,.98));
  color:var(--cc-ink);
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
  padding:22px;
}
.creation-mini-cta h2 { margin:0 0 4px; font-family:"Fredoka Local",system-ui,sans-serif; font-size:clamp(1.65rem,3vw,2.55rem); }
.creation-mini-cta p { margin:0; color:var(--cc-wine); font-weight:760; }

@media (max-width: 960px) {
  .creation-grid,
  .impact-content,
  .creation-mini-cta-inner { grid-template-columns: 1fr; }
  .creation-preview-card { position:relative; top:auto; min-height: 500px; }
  .checkout-ribbon { grid-template-columns:1fr; }
  .creation-checkout-button { width:100%; }
}

@media (max-width: 720px) {
  .sparkle-station { padding:0 10px; margin:24px auto; }
  .sparkle-station-shell { border-radius:28px; box-shadow:6px 6px 0 var(--cc-ink); padding:18px 12px; }
  .creation-preview-card { min-height:440px; }
  .pen-preview-stage { transform: scale(.85); transform-origin:center; height:360px; animation:none; }
  .option-grid-3,
  .option-grid-2,
  .impact-metrics { grid-template-columns:1fr; }
  .sparkle-impact-lane { width:calc(100% - 20px); border-radius:26px; padding:20px 14px; }
  .creation-mini-cta { padding:0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .magical-glitter-layer,
  .sparkle-station-shell::before,
  .sparkle-impact-lane::before,
  .glitter-text,
  .sparkle-dot,
  .pen-preview-stage { animation:none!important; }
}


/* Sparkle Supply Lane selected giving organizations */
.impact-content-expanded { align-items:start; }
.impact-disclaimer {
  margin: 12px 0 0;
  color: rgba(255,244,250,.76);
  font-size: .82rem;
  font-weight: 780;
  line-height: 1.45;
}
.giving-org-grid {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.giving-org-card {
  border: 1px solid rgba(249,183,217,.34);
  border-radius: 18px;
  background: rgba(255,244,250,.075);
  padding: 14px;
  color: #ffe9f4;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 2px 0 rgba(233,90,150,.24);
}
.giving-locale {
  align-self: flex-start;
  display: inline-flex;
  border: 1px solid rgba(249,183,217,.48);
  border-radius: 999px;
  color: #12070D;
  background: #F9D2E7;
  font-size: .68rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 7px;
  margin-bottom: 10px;
}
.giving-org-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-family: "Fredoka Local", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}
.giving-org-name {
  margin: 0 0 8px;
  color: #F9B7D9;
  font-weight: 950;
  line-height: 1.2;
}
.giving-org-card p:not(.giving-org-name) {
  margin: 0 0 12px;
  color: rgba(255,233,244,.86);
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.38;
}
.giving-org-card a {
  margin-top: auto;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(249,183,217,.72);
  text-underline-offset: 3px;
  font-size: .76rem;
  font-weight: 950;
}
.giving-org-card a:hover { color: #F9D2E7; }

@media (max-width: 960px) {
  .giving-org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .giving-org-grid { grid-template-columns: 1fr; }
  .giving-org-card { min-height: auto; }
}


/* V5 sparkle revival: global storefront shimmer, client-facing and lightweight */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, .18) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(249, 183, 217, .24) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 72%, rgba(255, 244, 250, .18) 0 1.5px, transparent 3px),
    radial-gradient(circle at 88% 82%, rgba(233, 90, 150, .18) 0 2px, transparent 4px),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.045) 34%, transparent 62%);
  background-size: 180px 180px, 240px 240px, 210px 210px, 260px 260px, 100% 100%;
  mix-blend-mode: screen;
  opacity: .9;
}
.site-header,
.statement-header,
.main-flow,
.page-main,
.statement-main,
.statement-footer,
.site-footer,
.mobile-quickbar { position: relative; z-index: 1; }
.statement-header { overflow: hidden; }
.statement-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -90px;
  width: min(900px, 94vw);
  height: 180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 116, 196, .26), rgba(255, 255, 255, .06) 38%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.statement-header::after {
  content: "✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧";
  position: absolute;
  inset-inline: 0;
  top: 12px;
  text-align: center;
  color: rgba(255, 244, 250, .24);
  letter-spacing: clamp(.8rem, 4vw, 2.5rem);
  font-size: .95rem;
  pointer-events: none;
  animation: sparkle-twinkle 3.4s ease-in-out infinite;
}
.hero-title-accent,
.ornament-title,
.page-hero h1,
.sparkle-station-title,
.impact-title {
  text-shadow: 0 0 18px rgba(233, 90, 150, .28), 0 2px 0 rgba(18, 7, 13, .28);
}
.cta-slab,
.creation-checkout-button,
.product-card,
.option-card,
.workshop-panel,
.giving-org-card,
.language-switcher {
  position: relative;
  overflow: hidden;
}
.cta-slab::before,
.creation-checkout-button::before,
.product-card::before,
.option-card::before,
.workshop-panel::before,
.giving-org-card::before,
.language-switcher::before {
  content: "";
  position: absolute;
  inset: -120% -60%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.08) 36%, rgba(255,244,250,.42) 48%, rgba(249,183,217,.22) 55%, transparent 70%);
  transform: translateX(-36%) rotate(8deg);
  transition: transform .75s ease;
  pointer-events: none;
}
.cta-slab:hover::before,
.creation-checkout-button:hover::before,
.product-card:hover::before,
.option-card:hover::before,
.workshop-panel:hover::before,
.giving-org-card:hover::before,
.language-switcher:hover::before {
  transform: translateX(36%) rotate(8deg);
}
.product-card img,
.hero-product-stage-centered img,
.creation-preview-card,
.giving-org-card {
  filter: drop-shadow(0 16px 28px rgba(233, 90, 150, .16));
}
.language-switcher {
  background: linear-gradient(135deg, #FFF4FA 0%, #F9D2E7 48%, #FFF4FA 100%) !important;
  box-shadow: 2px 2px 0 var(--cc-ink), 0 0 24px rgba(233,90,150,.2) !important;
}
.language-switcher-label::before { content: "✨ "; }
.language-switcher-label::after { content: " ✨"; }
.giving-org-card { background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,244,250,.94)); }
.sparkle-impact-lane { box-shadow: 8px 8px 0 var(--cc-ink), 0 30px 70px rgba(233,90,150,.22); }
@media (prefers-reduced-motion: reduce) {
  body::before,
  .statement-header::after,
  .glitter-text,
  .magical-glitter-layer,
  .sparkle-station-shell::before,
  .sparkle-impact-lane::before,
  .sparkle-dot,
  .sparkle-orbit { animation: none !important; }
}


/* V8 mobile + desktop + installed-app polish */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(88px + env(safe-area-inset-top));
  background: #FFF3FA;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  overscroll-behavior-x: none;
}
img, video, canvas, svg { max-width: 100%; height: auto; }
.site-header,
.statement-header {
  padding-top: calc(18px + env(safe-area-inset-top));
}
.site-nav a,
.language-switcher a,
.cta-slab,
.ghost-slab,
button,
input,
select,
textarea,
.pwa-install-action,
.pwa-install-close {
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(233, 90, 150, .18);
}
.cta-slab,
.ghost-slab,
.mega-button {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.18);
}
.cta-slab::after,
.mega-button::after,
.language-switcher a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.24) 42%, transparent 68%);
  transform: translateX(-115%);
  transition: transform .65s ease;
  z-index: -1;
}
.cta-slab:hover::after,
.cta-slab:focus-visible::after,
.mega-button:hover::after,
.mega-button:focus-visible::after,
.language-switcher a:hover::after,
.language-switcher a:focus-visible::after { transform: translateX(115%); }
.surface-wide,
.home-shell-centered,
.about-world,
.sparkle-station,
.statement-home-showcase,
.footer-inner,
.site-footer > * {
  max-width: min(100%, 1480px);
}
.best-grid,
.collection-grid,
.product-grid,
.cards-grid,
.about-orbit-grid,
.giving-grid {
  min-width: 0;
}
.language-switcher {
  max-width: min(100%, 1180px);
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.language-switcher a {
  white-space: nowrap;
}
.pwa-install-tray {
  position: fixed;
  z-index: 9999;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 24px;
  border: 2px solid #12070D;
  background: linear-gradient(135deg, rgba(255,244,250,.96), rgba(249,210,231,.96) 48%, rgba(255,255,255,.96));
  color: #12070D;
  box-shadow: 6px 6px 0 #12070D, 0 18px 54px rgba(18,7,13,.28);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
  backdrop-filter: blur(14px);
}
.pwa-install-tray.is-visible { transform: translateY(0); opacity: 1; }
.pwa-install-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 2px solid #12070D;
  display: grid;
  place-items: center;
  background: #E95A96;
  color: #fff;
  box-shadow: 2px 2px 0 #12070D;
  font-size: 1.35rem;
}
.pwa-install-copy { display: grid; gap: 2px; min-width: 0; }
.pwa-install-copy strong { font-family: "Fredoka Local", system-ui, sans-serif; line-height: 1.05; }
.pwa-install-copy span,
.pwa-ios-steps { font-size: .86rem; color: #5B253A; font-weight: 700; margin: 0; }
.pwa-install-action,
.pwa-install-close {
  border-radius: 16px;
  border: 2px solid #12070D;
  font-weight: 950;
  cursor: pointer;
}
.pwa-install-action {
  padding: 10px 14px;
  background: linear-gradient(180deg, #ff7fc3, #E95A96);
  color: #fff;
  box-shadow: 2px 2px 0 #12070D;
}
.pwa-install-close {
  width: 44px;
  height: 44px;
  background: #FFF4FA;
  color: #12070D;
  font-size: 1.25rem;
}
.pwa-offline-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 20%, rgba(233,90,150,.28), transparent 38%), #FFF3FA;
}
.pwa-offline-card {
  width: min(100%, 680px);
  padding: clamp(24px, 6vw, 56px);
  border-radius: 34px;
  border: 3px solid #12070D;
  background: linear-gradient(180deg, #fff, #FFF3FA);
  box-shadow: 10px 10px 0 #12070D;
  text-align: center;
}
.pwa-offline-card img { width: min(100%, 360px); margin: 0 auto 16px; display: block; }
.pwa-offline-card h1 { font-family: "Fredoka Local", system-ui, sans-serif; font-size: clamp(2rem, 7vw, 4rem); line-height: .95; margin: 8px 0 12px; }
.pwa-offline-card p { color: #5B253A; font-weight: 750; }
@media (min-width: 960px) {
  .pwa-install-tray {
    left: auto;
    right: max(24px, env(safe-area-inset-right));
    width: min(520px, calc(100vw - 48px));
  }
}
@media (max-width: 860px) {
  .site-header,
  .statement-header { padding-inline: 14px; }
  .hero-wordmark img { max-height: 96px; object-fit: contain; }
  .site-nav,
  .statement-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .site-nav a { width: 100%; padding-inline: 10px; font-size: .9rem; }
  .language-switcher { justify-content: flex-start; padding: 8px 2px 12px; gap: 8px; }
  .language-switcher-label { flex: 0 0 auto; }
  .home-shell,
  .home-shell-centered { width: 100%; border-radius: 28px; }
  .home-showcase,
  .statement-home-showcase { padding-inline: 10px; }
  .hero-core,
  .hero-stack,
  .page-hero,
  .section,
  .panel { padding-inline: clamp(14px, 4vw, 24px); }
  .hero-title { font-size: clamp(2.35rem, 12vw, 4.2rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions,
  .button-row,
  .surface-actions,
  .center-row { width: 100%; }
  .hero-actions .cta-slab,
  .hero-actions .ghost-slab,
  .button-row .cta-slab,
  .button-row .ghost-slab,
  .surface-actions .mega-button { width: 100%; }
  .best-grid,
  .collection-grid,
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .creation-grid,
  .about-hero-big,
  .about-orbit-grid { grid-template-columns: 1fr; }
  .creation-preview-card { position: relative; top: auto; min-height: 420px; }
  .pwa-install-tray { grid-template-columns: auto minmax(0, 1fr) auto; }
  .pwa-install-action { grid-column: 2 / -1; width: 100%; }
  .pwa-install-close { grid-column: 3; grid-row: 1; }
}
@media (max-width: 420px) {
  .best-grid,
  .collection-grid,
  .product-grid { grid-template-columns: 1fr; }
  .pwa-install-tray { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; border-radius: 20px; }
  .pwa-install-icon { width: 40px; height: 40px; }
  .pwa-install-copy span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-install-tray,
  .cta-slab::after,
  .mega-button::after,
  .language-switcher a::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (display-mode: standalone) {
  body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: env(safe-area-inset-top);
    background: #E95A96;
    z-index: 10000;
    pointer-events: none;
  }
}
