/* Squishy Says — brand tokens */
:root {
  --ink: #2A1640;
  --ink-soft: #5B4670;
  --pink: #C2186F;      /* text-safe pink */
  --purple: #6A2FC0;
  --aqua-ink: #0B5F64;
  --ground: #FFF8FC;
  --blush: #FFE3F1;
  --lilac: #F1E8FF;
  --sun: #FFD23F;
  --aqua-tint: #DDF7F8;
  --sun-tint: #FFF4CC;
  --radius: 28px;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ground); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
a:hover { color: #8E0F50; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; }
h2 { font-size: clamp(34px, 5vw, 48px); }
h3 { font-size: 28px; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 12px; z-index: 10; }
:focus-visible { outline: 3px solid #22C3C9; outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.center { align-items: center; text-align: center; }
.center-text { text-align: center; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split.reverse { flex-wrap: wrap-reverse; }
section > .wrap.stack { padding-top: 80px; padding-bottom: 80px; }

.c-pink { color: var(--pink); }
.c-purple { color: var(--purple); }
.lead { font-size: 20px; max-width: 540px; }
.body { font-size: 18px; line-height: 1.6; }
.fine { font-size: 15px; color: var(--ink-soft); }
.link-strong { font-weight: 800; font-size: 18px; }

.pill { align-self: flex-start; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.pill-yellow { background: var(--sun); color: var(--ink); }
.pill-aqua { background: var(--aqua-tint); color: var(--aqua-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-weight: 800; font-size: 18px; padding: 14px 30px; border-radius: 999px; border: none; cursor: pointer; font-family: var(--body); transition: transform .15s ease; align-self: flex-start; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: 16px; padding: 10px 22px; min-height: 44px; }
.btn-lg { font-family: var(--display); font-weight: 700; font-size: 22px; padding: 16px 34px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-yellow { background: var(--sun); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); }
.center .btn { align-self: center; }

/* header */
.site-header { background: #fff; border-bottom: 3px solid #FFD6EC; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 700; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--pink); }

/* bands */
.hero { background: var(--blush); }
.band-white { background: #fff; }
.band-lilac { background: var(--lilac); }
.band-yellow { background: var(--sun); }
.band-purple { background: var(--purple); color: #fff; }
.card-img { width: 100%; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px rgba(106, 47, 192, .18); }

/* demo */
.label { font-weight: 800; font-size: 15px; }
.input { font: inherit; font-size: 18px; padding: 16px 18px; border: 3px solid #E9D7F7; border-radius: 16px; color: var(--ink); background: #FFFBFE; width: 100%; }
.input:focus { outline: 3px solid #22C3C9; outline-offset: 2px; }
.demo { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ball-btn { background: none; border: none; padding: 0; cursor: pointer; border-radius: 50%; }
.ball { position: relative; display: block; width: min(300px, 78vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,.35) 22%, rgba(220,235,255,.25) 60%, rgba(180,200,240,.35) 100%);
  border: 3px solid rgba(160,180,220,.55);
  box-shadow: inset -14px -18px 40px rgba(140,160,210,.25), 0 24px 40px rgba(42,22,64,.14); }
.ball::after { content: ""; position: absolute; left: 22%; top: 12%; width: 26%; height: 14%; border-radius: 50%; background: rgba(255,255,255,.7); filter: blur(2px); z-index: 6; pointer-events: none; }
.ball.squish { animation: squish .5s ease; }
@keyframes squish { 0% { transform: scale(1,1); } 30% { transform: scale(1.18,.78); } 55% { transform: scale(.92,1.1); } 75% { transform: scale(1.05,.96); } 100% { transform: scale(1,1); } }
.dot { position: absolute; width: 31%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.15);
  transition: left .45s cubic-bezier(.34,1.56,.64,1), top .45s cubic-bezier(.34,1.56,.64,1), width .45s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.dot.picked { width: 50%; z-index: 5; }
.dot.dim { opacity: .55; }
.result { min-height: 96px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.hint { font-size: 17px; color: var(--ink-soft); font-weight: 700; padding-top: 24px; }
.asked { font-size: 15px; color: var(--ink-soft); font-weight: 700; }
.fortune { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 4vw, 34px); line-height: 1.1; padding: 10px 22px; border-radius: 999px; border: 3px solid; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .ball.squish { animation: none; } .dot { transition: none; } html { scroll-behavior: auto; } }

/* answers */
.answer-grid { list-style: none; margin: 18px auto 0; padding: 0; width: 100%; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
@media (max-width: 900px) { .answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; } }
@media (max-width: 560px) { .answer-grid { grid-template-columns: 1fr; max-width: 420px; } }
.answer { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 24px; padding: 20px 22px; border: 3px solid transparent; box-shadow: 0 8px 20px rgba(106,47,192,.08); transition: border-color .2s; }
.swatch { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; }
.answer-text { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.answer-color { font-size: 14px; color: var(--ink-soft); font-weight: 700; }

/* steps */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.step-pink { background: var(--blush); }
.step-aqua { background: var(--aqua-tint); }
.step-yellow { background: var(--sun-tint); }
.num { width: 56px; height: 56px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.num-aqua { background: #0E7C82; }
.num-ink { background: var(--ink); }

/* footer */
.site-footer { background: var(--ink); color: #F3E9FF; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; }
.footer-row img { height: 72px; width: auto; }

@media (max-width: 640px) {
  .split { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  section > .wrap.stack { padding-top: 56px; padding-bottom: 56px; }
  .brand img { height: 52px; }
  .nav { gap: 6px 16px; font-size: 15px; }
}

/* ===== Multi-page additions ===== */
.nav a[aria-current="page"] { color: var(--pink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #F3E9FF; }
.footer-row p { margin: 0; }

/* home: two paths */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding-top: 80px; padding-bottom: 80px; }
.path { display: flex; flex-direction: column; gap: 10px; padding: 36px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.path:hover { transform: translateY(-3px); color: var(--ink); }
.path-pink { background: var(--blush); }
.path-aqua { background: var(--aqua-tint); }
.path-kicker { font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.path-title { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1.05; }
.path-body { font-size: 17px; }
.path-cta { font-weight: 800; color: var(--pink); margin-top: 6px; }

/* shop */
.band-blush-soft { background: linear-gradient(#FFE3F1, #FFF8FC 70%); }
.product { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; padding-bottom: 80px; align-items: flex-start; }
.gallery { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery-main { aspect-ratio: 1 / 1; object-fit: cover; }
.thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb { width: 84px; height: 84px; padding: 0; border: 3px solid transparent; border-radius: 16px; background: #fff; overflow: hidden; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--pink); }
.product-info { flex: 1 1 380px; min-width: 0; }
.product-title { font-size: clamp(40px, 6vw, 60px); }
.price { font-family: var(--display); font-weight: 600; font-size: 30px; }
.btn-block { align-self: stretch; width: 100%; }
.btn-outline { background: #fff; color: var(--ink); border: 3px solid var(--ink); }
.btn-outline:hover { color: var(--ink); }
.is-disabled { background: #D9CBE6; color: #4A3560; cursor: default; pointer-events: none; }
.details { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 22px; border-top: 2px solid #F0DDEB; }
.h-sm { font-size: 22px; margin-top: 8px; }
.ticks { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.mini-answers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; font-size: 15px; font-weight: 700; }
.mini-answers li { display: flex; align-items: center; gap: 10px; }
.mini-swatch { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; }

/* wholesale */
.hero-aqua { background: var(--aqua-tint); }
.pill-white { background: #fff; color: var(--aqua-ink); }
.h1-md { font-size: clamp(40px, 6vw, 62px); line-height: 1.02; }
.specs { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.spec { background: var(--ground); border: 2px solid #F0DDEB; border-radius: 20px; padding: 18px 20px; }
.spec dt { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.spec dd { margin: 4px 0 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.step-white { background: #fff; }
.inquire { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.inquire-intro { flex: 1 1 300px; min-width: 0; }
.form { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row > .field { flex: 1 1 220px; }
.field label { font-weight: 800; font-size: 15px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.opt { font-weight: 600; color: var(--ink-soft); }
textarea.input { resize: vertical; }
select.input { appearance: auto; }
.form-error { margin: 0; color: #A3133F; font-weight: 800; }

/* inquiry form: spam trap + thank-you */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.thanks { flex: 2 1 460px; min-width: 0; background: var(--aqua-tint); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; align-self: flex-start; }
.thanks:focus { outline: none; }
[hidden] { display: none !important; }

/* social links */
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #F3E9FF; background: rgba(255,255,255,.12); transition: background .15s ease; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--pink); color: #fff; }
.link-light { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* home: centered founders' story */
.story-center { align-items: center; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.story-center .card-img { max-width: 440px; width: 100%; margin: 0 auto; }

/* Faire wholesale ordering card */
.faire-card { max-width: 720px; margin: 0 auto; padding: 48px 32px; text-align: center; background: var(--aqua-tint); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.faire-card .btn { align-self: center; }
.faire-card .body { max-width: 540px; }
#order { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 480px) { .faire-card { padding: 36px 20px; } .faire-btn { font-size: 19px; padding: 14px 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
