/* ==========================================================================
   DANNIE'S COZY ESSENTIALS — styles
   See tokens.css for the palette and the binding composition contract.
   ========================================================================== */

/* --- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a, button, summary, [role="button"] { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.04;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--size-hero); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p  { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: var(--measure-text); }

.eyebrow {
  display: inline-block;
  font-size: var(--size-micro);
  font-weight: 800;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bb-berry);
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .6rem 1.2rem; border-radius: 10px;
}
.skip-link:focus { left: 8px; }

/* --- measures ------------------------------------------------------------ */
.wrap      { width: min(100% - 3rem, var(--measure-wide)); margin-inline: auto; }
.wrap-mid  { width: min(100% - 3rem, var(--measure-mid));  margin-inline: auto; }
.wrap-text { width: min(100% - 3rem, var(--measure-text)); margin-inline: auto; }

section { padding-block: 13vh; position: relative; }
.section-tight { padding-block: 9vh; }

/* --- patchwork devices ---------------------------------------------------- */
.checker {
  background:
    repeating-conic-gradient(var(--c1, var(--bb-tint-pink)) 0 25%, var(--c2, var(--bb-cream-0)) 0 50%);
  background-size: 30px 30px;
}
.scallop {
  height: 26px;
  background-image: radial-gradient(circle 15px at 15px 15px, var(--sc, var(--bg)) 14.4px, rgba(0,0,0,0) 15px);
  background-size: 30px 26px;
  background-repeat: repeat-x;
  background-position: 0 11px;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.scallop-flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: .85rem 1.7rem;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: var(--offset-shadow) var(--btn-bg-shadow);
  text-decoration: none;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background var(--dur-ui) var(--ease-out);
  will-change: transform;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-bg-shadow); }
.btn:active { transform: translateY(3px) scale(.985); box-shadow: 0 1px 0 var(--btn-bg-shadow); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-peach { --btn-bg: var(--accent-2); --btn-bg-shadow: var(--accent-2-deep); }
.btn-wa    { --btn-bg: var(--wa);       --btn-bg-shadow: var(--wa-deep); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-2);
}
.btn-ghost:hover  { box-shadow: inset 0 0 0 2px var(--accent); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(2px) scale(.985); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --- loader: "the crest stamps onto the parcel" --------------------------- */
#loader {
  position: fixed; inset: 0; z-index: 120;
  display: none;
  background: var(--bb-cream-1);
  align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out);
}
html.js #loader { display: flex; }
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-crest {
  width: clamp(110px, 16vw, 170px); margin-inline: auto;
  animation: stamp .9s var(--ease-out) both;
  filter: drop-shadow(0 12px 26px rgba(59,42,34,.22));
}
.loader-ring {
  position: absolute; inset: 0; margin: auto;
  width: clamp(110px, 16vw, 170px); aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  animation: ripple 1.1s .35s var(--ease-out) both;
  pointer-events: none;
}
.loader-word {
  margin-top: 1.4rem;
  font-size: var(--size-micro); font-weight: 800;
  letter-spacing: var(--track-micro); text-transform: uppercase;
  color: var(--muted);
}
.loader-bar {
  width: 150px; height: 2px; margin: 1rem auto 0;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: fill 1.6s var(--ease-out) both;
}
@keyframes stamp  { 0% { transform: scale(1.6); opacity: 0; } 55% { transform: scale(.96); opacity: 1; } 100% { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes fill   { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* --- nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 248, 243, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.4rem;
}
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.nav-logo img { width: 46px; height: 46px; }
.nav-logo strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.1;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a {
  font-weight: 800; font-size: .98rem; text-decoration: none; color: var(--ink);
  padding: .35rem 0; border-bottom: 3px solid transparent;
  transition: border-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a[aria-current="page"] { border-color: var(--accent); }
.nav-cta { margin-left: .4rem; }
.nav .btn { padding: .6rem 1.25rem; font-size: .98rem; }

.basket-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--card-bg); color: var(--ink);
  transition: transform var(--dur-micro) var(--ease-out), border-color var(--dur-ui);
}
.basket-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.basket-btn:active { transform: scale(.94); }
.basket-btn svg { width: 22px; height: 22px; }
.basket-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding-inline: 5px;
  border-radius: 999px; background: var(--accent); color: var(--btn-fg);
  font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center;
  transform: scale(0); transition: transform var(--dur-micro) var(--ease-out);
}
.basket-count.show { transform: scale(1); }

.nav-inner > .basket-btn { flex: none; }
.nav-burger {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  border: 2px solid var(--line-2); background: var(--card-bg); color: var(--ink);
}
.nav-burger svg { width: 22px; height: 22px; }

/* mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bb-tint-pink);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  color: var(--ink); text-decoration: none;
}
#mobile-menu .btn { font-size: 1.15rem; }
.menu-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line-2);
  background: var(--card-bg); color: var(--ink);
}
.menu-close svg { width: 20px; height: 20px; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  min-height: 88vh;
  display: grid; align-content: center;
  padding-block: 8vh 10vh;
  background:
    radial-gradient(60% 48% at 12% 8%, rgba(255, 180, 201, .35), rgba(0,0,0,0) 70%),
    radial-gradient(52% 44% at 92% 82%, rgba(255, 200, 154, .38), rgba(0,0,0,0) 70%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  margin: .2em 0 .35em;
  color: var(--ink);
}
.hero h1 .tilt { display: inline-block; color: var(--accent); transform: rotate(-2.2deg); }
.hero .lede { font-size: 1.28rem; }
.hero-note { color: var(--muted); font-size: .95rem; margin-top: 1.6rem; }

.hero-media { position: relative; }
.hero-card {
  border-radius: var(--radius);
  border: 10px solid var(--sticker-edge);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: rotate(2deg);
  aspect-ratio: 4 / 3;
  background: var(--bb-tint-peach);
}
.hero-card video, .hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker {
  position: absolute; width: clamp(90px, 10vw, 150px);
  filter: drop-shadow(0 10px 18px rgba(59,42,34,.25));
  animation: bob 5.5s ease-in-out infinite;
}
.hero-sticker.cat   { left: -10%; bottom: -6%; transform: rotate(-8deg); }
.hero-sticker.badge { right: -7%; top: -8%; transform: rotate(9deg); animation-delay: -2.6s; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -12px; }
}

/* --- marquee (full-bleed container break) ---------------------------------- */
.marquee {
  --c1: var(--bb-tint-pink); --c2: var(--bb-cream-0);
  padding-block: 1.05rem;
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 2.8rem;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--bb-berry);
  display: inline-flex; align-items: center; gap: 2.8rem;
}
.marquee svg { width: 18px; height: 18px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- two worlds ------------------------------------------------------------ */
.worlds { background: var(--bg); }
.world {
  display: grid; grid-template-columns: 1fr 1.618fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 4rem);
  margin-top: 3.2rem;
}
.world.flip { grid-template-columns: 1.618fr 1fr; }
.world.flip .world-media { order: 2; }
.world-yarn  { background: var(--world-yarn); }
.world-dough { background: var(--world-dough); }
.world-media { position: relative; }
.world-media > img.photo {
  border-radius: var(--radius-sm);
  border: 8px solid var(--sticker-edge);
  box-shadow: var(--shadow-soft);
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.world-mark {
  position: absolute; right: -1.6rem; bottom: -1.8rem;
  width: clamp(110px, 12vw, 168px);
  filter: drop-shadow(0 10px 20px rgba(59,42,34,.28));
  transform: rotate(-6deg);
}
.world-copy h2 { color: var(--ink); }
.world-copy .price-note { color: var(--faint); font-size: .95rem; }
.world-yarn  .eyebrow { color: var(--bb-pink-deep); }
.world-dough .eyebrow { color: var(--accent-2-deep); }

/* --- catalog / sticker cards ------------------------------------------------ */
.shelf-head { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.shelf-head .lede { margin-bottom: .35rem; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.1rem 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.card:nth-child(3n+1) { transform: rotate(-1.1deg); }
.card:nth-child(3n)   { transform: rotate(1.1deg); }
.card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: var(--shadow-lift); }
.card-img {
  border-radius: calc(var(--radius) - 10px);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bb-cream-2);
  margin-bottom: .7rem;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.045); }
.card h3 { margin: 0; font-size: 1.28rem; }
.card .desc { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .9rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--bb-berry); }
.add-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  padding: .5rem 1.05rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--btn-fg);
  box-shadow: 0 3px 0 var(--accent-deep);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background var(--dur-ui);
}
.world-dough-page .add-btn, .card[data-world="dough"] .add-btn { background: var(--accent-2); box-shadow: 0 3px 0 var(--accent-2-deep); }
.add-btn:hover  { transform: translateY(-2px); }
.add-btn:active { transform: translateY(2px) scale(.96); box-shadow: 0 1px 0 var(--accent-deep); }
.add-btn svg { width: 1em; height: 1em; }
.add-btn.added { background: var(--wa); box-shadow: 0 3px 0 var(--wa-deep); }
.card-custom {
  align-items: flex-start; justify-content: center;
  background: var(--bb-tint-pink);
  border: 2px dashed var(--line-2);
}
.card-custom.peach { background: var(--bb-tint-peach); border-color: rgba(224, 123, 60, .45); }
.card-custom .hand { font-size: 1.9rem; margin-bottom: .2rem; }

.sample-note { margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }

/* --- how it works ----------------------------------------------------------- */
.how { background: var(--bg-raised); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.how-step {
  background: var(--card-bg);
  border-radius: var(--radius); border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  position: relative;
}
.how-step .num {
  font-family: var(--font-hand); font-weight: 600; font-size: 2.6rem;
  color: var(--accent); line-height: 1;
}
.how-step h3 { margin-top: .5rem; }
.how-step p { color: var(--muted); margin: 0; }

/* --- story ------------------------------------------------------------------- */
.story-grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story-img {
  border-radius: var(--radius);
  border: 10px solid var(--sticker-edge);
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- faq ---------------------------------------------------------------------- */
.faq-list { margin-top: 2.6rem; display: grid; gap: 1rem; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex: none; color: var(--accent-deep); transition: transform var(--dur-ui) var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* --- cta band ------------------------------------------------------------------ */
.cta-band {
  --c1: var(--bb-tint-peach); --c2: var(--bb-cream-0);
  text-align: center;
  padding-block: 12vh;
}
.cta-band .hand { font-size: 2rem; }
.cta-band h2 { margin-inline: auto; max-width: 18ch; }
.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }

/* --- footer --------------------------------------------------------------------- */
footer {
  background: var(--bb-cocoa);
  color: #F6E9DF;
  padding: 5.5rem 0 2.5rem;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.6rem; }
.foot-brand img { width: 92px; margin-bottom: 1.1rem; }
.foot-brand p { color: rgba(246, 233, 223, .72); max-width: 34ch; }
footer h3 {
  font-family: var(--font-body);
  font-size: var(--size-micro); font-weight: 800;
  letter-spacing: var(--track-micro); text-transform: uppercase;
  color: rgba(246, 233, 223, .75); margin: 0 0 1.1rem;
}
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
footer a { color: #F6E9DF; text-decoration: none; }
footer a:hover { color: var(--bb-peach); }
.foot-base {
  margin-top: 4rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 233, 223, .16);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: rgba(246, 233, 223, .7); font-size: .88rem;
}
.foot-base a { color: rgba(246, 233, 223, .75); }

/* --- basket drawer ---------------------------------------------------------------- */
#basket-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
  width: min(430px, 94vw);
  background: var(--bb-cream-0);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 50px rgba(59, 42, 34, .18);
  transform: translateX(105%);
  transition: transform .45s var(--ease-out);
  display: flex; flex-direction: column;
}
#basket-drawer.open { transform: translateX(0); }
#basket-overlay {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(59, 42, 34, .32);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
#basket-overlay.show { opacity: 1; pointer-events: auto; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.drawer-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.basket-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.basket-empty img { width: 120px; margin: 0 auto 1rem; opacity: .9; }
.b-item {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem;
  padding: .85rem 0; border-bottom: 1px dashed var(--line);
}
.b-item strong { font-family: var(--font-display); font-weight: 700; }
.b-item .b-world { font-size: .8rem; color: var(--muted); }
.b-qty { display: inline-flex; align-items: center; gap: .6rem; }
.b-qty button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--card-bg); color: var(--ink);
  font-weight: 800; font-size: 1rem; line-height: 1;
  transition: transform var(--dur-micro) var(--ease-out), border-color var(--dur-micro);
}
.b-qty button:hover { border-color: var(--accent); }
.b-qty button:active { transform: scale(.9); }
.b-remove {
  border: 0; background: none; color: var(--faint);
  font-size: .82rem; text-decoration: underline; padding: 0; justify-self: end;
}
.b-remove:hover { color: var(--accent-deep); }

/* --- order page -------------------------------------------------------------------- */
.order-grid { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.order-panel {
  background: var(--card-bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 800; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(253, 93, 143, .16);
}
.field .hint { font-size: .84rem; color: var(--muted); }

/* --- sub-page heroes ------------------------------------------------------------------ */
.page-hero {
  padding-block: 12vh 9vh;
  overflow: hidden;
}
.page-hero .hero-grid { grid-template-columns: 3fr 2fr; }
.page-hero h1 { font-size: clamp(2.8rem, 6.5vw, 6.4rem); }
.page-hero-yarn  { background: linear-gradient(180deg, var(--world-yarn), var(--bg)); }
.page-hero-dough { background: linear-gradient(180deg, var(--world-dough), var(--bg)); }
.page-hero .mark { width: clamp(220px, 26vw, 380px); margin-inline: auto; filter: drop-shadow(0 16px 30px rgba(59,42,34,.2)); }

/* --- utility band ------------------------------------------------------------------ */
.note-band {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
  font-size: .98rem; color: var(--muted);
}
.note-band .wrap-mid { display: flex; gap: .8rem; align-items: center; }
.note-band svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); }
.note-band p { margin: 0; }

/* --- thank you / 404 -------------------------------------------------------------- */
.hero-center { text-align: center; align-items: center; min-height: 74vh; display: grid; align-content: center; }
.hero-center .cat-img { width: clamp(150px, 18vw, 230px); margin: 0 auto 1.6rem; }
.hero-center .btn-row { justify-content: center; }

/* --- reveals ------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--rd, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* --- toast --------------------------------------------------------------------------- */
#toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 130;
  transform: translate(-50%, 80px);
  background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  box-shadow: var(--shadow-lift);
  opacity: 0; transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
  pointer-events: none;
  max-width: 90vw; text-align: center;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }

/* --- responsive ----------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media { max-width: 480px; }
  .hero-sticker.cat { left: -4%; }
  .hero-sticker.badge { right: -3%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .shelf-head { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 440px; }
  .order-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner > .basket-btn { margin-left: auto; }
  .world, .world.flip { grid-template-columns: 1fr; }
  .world.flip .world-media { order: 0; }
  .world-mark { right: .4rem; bottom: -1.2rem; }
}
@media (max-width: 620px) {
  section { padding-block: 9vh; }
  .card-grid { grid-template-columns: 1fr; }
  .card:nth-child(3n+1), .card:nth-child(3n) { transform: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .wrap, .wrap-mid { width: min(100% - 2.2rem, var(--measure-wide)); }
}

/* --- reduced motion --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .marquee-track { animation: none; }
  .hero-sticker { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 (2026-12-03): Dan's Dough shop + the sticker crew
   Signature: the kraft ribbon banner from Danielle's stickers, and the real
   die-cut stickers themselves, pulled past their panels.
   ========================================================================== */
.nav-logo .lk { display: grid; line-height: 1.05; }
.nav-logo .lk b { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; }
.nav-logo .lk small { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.ribbon {
  --rb: var(--st-kraft);
  position: relative; display: inline-block;
  font-family: var(--font-display); font-weight: 800; color: var(--st-brown);
  background: linear-gradient(180deg, var(--st-kraft-2), var(--rb));
  padding: .18em 1.1em .1em;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(107,74,46,.22), 0 3px 0 rgba(107,74,46,.18);
  outline: 2px dashed rgba(107,74,46,.35); outline-offset: -8px;
  transform: rotate(-1.5deg);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 22%; width: .9em; height: 76%;
  background: var(--rb); z-index: -1;
  box-shadow: inset 0 0 0 2px rgba(107,74,46,.18);
}
.ribbon::before { left: -.65em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 35% 50%); }
.ribbon::after  { right: -.65em; clip-path: polygon(0 0, 100% 0, 65% 50%, 100% 100%, 0 100%); }

/* hero v2 */
.hero-v2 h1 { margin: .15em 0 .3em; }
.hero-v2 h1 .tilt { color: var(--accent); }
.hero-stickers { position: relative; min-height: 420px; }
.hero-stickers .big {
  position: relative; z-index: 2; width: 100%;
  transform: rotate(-3deg);
  filter: drop-shadow(0 22px 34px rgba(59,42,34,.24));
  animation: peel 1.1s var(--ease-out) both .2s;
}
.hero-stickers .mini {
  position: absolute; z-index: 3; width: clamp(110px, 13vw, 190px);
  filter: drop-shadow(0 12px 20px rgba(59,42,34,.22));
}
.hero-stickers .mini.a { right: -5%; bottom: -16%; transform: rotate(8deg); animation: bob 6s ease-in-out infinite; }
.hero-stickers .mini.b { left: -4%; bottom: -14%; transform: rotate(-9deg); animation: bob 6.5s ease-in-out infinite -3s; }
@keyframes peel { from { opacity: 0; transform: rotate(-12deg) translateY(30px) scale(.92); } to { opacity: 1; transform: rotate(-3deg); } }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 18px; height: 18px; color: var(--st-wheat); }

/* the crew (signature section) */
.crew { background: var(--st-kraft-2); overflow: hidden; }
.crew-head { text-align: center; max-width: 760px; margin: 0 auto 3.4rem; }
.crew-head h2 { font-size: var(--size-h2); }
.crew-head .lede { margin-inline: auto; }
.crew-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.crew-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  text-decoration: none; color: var(--ink);
  transition: transform var(--dur-ui) var(--ease-out);
}
.crew-card img { width: 112%; max-width: none; margin: 0 -6% .6rem; filter: drop-shadow(0 14px 22px rgba(59,42,34,.2)); transition: transform .5s var(--ease-out); }
.crew-card:nth-child(odd) img { transform: rotate(-3deg); }
.crew-card:nth-child(even) img { transform: rotate(3deg); }
.crew-card:hover img { transform: rotate(0) translateY(-8px) scale(1.03); }
.crew-card .who { font-family: var(--font-hand); font-size: 2.1rem; font-weight: 600; color: var(--st-brown); line-height: 1; }
.crew-card .job { font-weight: 800; }
.crew-card .shop { margin-top: .4rem; font-weight: 800; font-size: .92rem; color: var(--accent-deep); display: inline-flex; align-items: center; gap: .3rem; }
.crew-card .shop svg { width: 1em; height: 1em; transition: transform var(--dur-ui) var(--ease-out); }
.crew-card:hover .shop svg { transform: translateX(4px); }
.crew-note { text-align: center; margin-top: 2.6rem; color: var(--muted); font-weight: 700; }

/* seasonal band */
.season { background: linear-gradient(120deg, #FFE4EB, #FFF1E9 60%, #FFEBD8); }
.season-grid { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.season-img { border-radius: var(--radius); border: 10px solid var(--sticker-edge); box-shadow: var(--shadow-lift); transform: rotate(2deg); overflow: hidden; aspect-ratio: 1; }
.season-img img { width: 100%; height: 100%; object-fit: cover; }

/* shop */
.shop-top { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.chips-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; }
.chip-f {
  font: inherit; font-weight: 800; font-size: .95rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--line-2); background: var(--card-bg); color: var(--ink);
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color var(--dur-ui), background var(--dur-ui), transform var(--dur-micro) var(--ease-out);
}
.chip-f img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.chip-f:hover { border-color: var(--accent); }
.chip-f:active { transform: scale(.97); }
.chip-f[aria-pressed="true"] { background: var(--bb-tint-pink); border-color: var(--accent); }
.p-card .card-img { position: relative; overflow: visible; }
.p-card .card-img > img { border-radius: calc(var(--radius) - 10px); }
.p-card .pet { position: absolute; right: 10px; bottom: -18px; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--card-bg); box-shadow: 0 4px 10px rgba(59,42,34,.2); object-fit: cover; }
.p-card .meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-size: .85rem; color: var(--muted); font-weight: 700; }
.p-card .meta span { display: inline-flex; align-items: center; gap: .3rem; }
.p-card .meta svg { width: 15px; height: 15px; }
.p-card .badge-s { position: absolute; left: 10px; top: 10px; background: var(--card-bg); color: var(--accent-deep); font-weight: 800; font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(59,42,34,.15); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line-2); border-radius: 999px; background: var(--card-bg); }
.qty button { width: 36px; height: 36px; border: 0; background: none; color: var(--ink); font-size: 1.2rem; font-weight: 800; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: var(--bb-tint-pink); }
.qty button:active { transform: scale(.9); }
.qty output { min-width: 2ch; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.shop-empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.shop-empty img { width: 220px; margin: 0 auto 1rem; }

.basket-bar {
  position: fixed; left: 50%; bottom: 18px; z-index: 80;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 1rem;
  width: min(560px, calc(100% - 24px));
  padding: .7rem .7rem .7rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 18px 40px rgba(59,42,34,.35);
  transition: transform .45s var(--ease-out);
}
.basket-bar.show { transform: translate(-50%, 0); }
.basket-bar .sum { flex: 1; font-weight: 700; line-height: 1.2; }
.basket-bar .sum small { display: block; opacity: .75; font-weight: 600; font-size: .82rem; }
.basket-bar .btn { --btn-bg: var(--accent); --btn-bg-shadow: var(--accent-deep); padding: .7rem 1.3rem; }

/* checkout */
.co-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.co-step { margin-bottom: 1.6rem; }
.co-step h2 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.co-step h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--btn-fg); display: grid; place-items: center; font-size: 1rem; flex: none; }
.date-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.date-chip { font: inherit; padding: .65rem .3rem; border-radius: 14px; border: 2px solid var(--line-2); background: var(--card-bg); color: var(--ink); text-align: center; line-height: 1.15; transition: border-color var(--dur-ui), background var(--dur-ui), transform var(--dur-micro) var(--ease-out); }
.date-chip b { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.date-chip small { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }
.date-chip:hover { border-color: var(--accent); }
.date-chip:active { transform: scale(.96); }
.date-chip[aria-pressed="true"] { background: var(--bb-tint-pink); border-color: var(--accent); }
.seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.seg2 label { display: block; padding: .8rem 1rem; border-radius: 14px; border: 2px solid var(--line-2); background: var(--card-bg); font-weight: 800; cursor: pointer; }
.seg2 label small { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.seg2 input:checked + label { border-color: var(--accent); background: var(--bb-tint-pink); }
.seg2 input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.field select { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.field .err { color: #B8322A; font-size: .88rem; font-weight: 700; }
.field [aria-invalid="true"] { border-color: #B8322A; }
.sum-card { position: sticky; top: calc(var(--nav-h) + 16px); }
.sum-line { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line-2); align-items: center; }
.sum-line .nm { font-weight: 800; }
.sum-line .nm small { display: block; font-weight: 600; color: var(--muted); }
.sum-line .ctl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.sum-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; padding-top: .8rem; }
.sum-note { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; justify-content: center; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--bb-tint-peach); font-weight: 700; }
.ty-card { max-width: 640px; margin: 0 auto; text-align: left; }
.ty-ref { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--accent-deep); letter-spacing: .02em; }
.ty-steps { counter-reset: s; list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; }
.ty-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: start; }
.ty-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--st-kraft); color: var(--st-brown); font-weight: 800; display: grid; place-items: center; }

@media (max-width: 1080px) {
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .season-grid, .shop-top, .co-grid { grid-template-columns: 1fr; }
  .sum-card { position: static; }
  .hero-stickers { min-height: 0; max-width: 560px; margin: 1rem auto 0; }
}
@media (max-width: 620px) {
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem; }
  .crew-card .who { font-size: 1.7rem; }
  .crew-card .job { font-size: .9rem; }
  .date-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg2 { grid-template-columns: 1fr; }
  .hero-stickers .mini { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stickers .big, .hero-stickers .mini { animation: none; }
}
.basket-bar:not(.show) { visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; }
.i14 { width: 14px; height: 14px; vertical-align: -2px; }
.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; }
.chips-row { flex-wrap: nowrap; overflow-x: auto; min-height: 58px; padding: 4px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip-f { flex: none; white-space: nowrap; }
.card.ph { opacity: .55; }
.card.ph .ph-lines { height: 168px; }
@media (max-width: 620px) {
  .page-hero.section-tight { padding-block: 5vh 2vh; }
  .shop-top { gap: .4rem; margin-bottom: .6rem; }
  .shop-top .lede { font-size: 1.05rem; margin-bottom: 0; }
}

/* v2.1: kind words + share */
.kind { background: var(--bg); }
.kind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.kind-card { margin: 0; padding: 1.6rem 1.6rem 1.3rem; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); position: relative; }
.kind-card:nth-child(3n+1) { transform: rotate(-1deg); } .kind-card:nth-child(3n) { transform: rotate(1deg); }
.kind-card blockquote { margin: 0 0 .9rem; font-size: 1.08rem; line-height: 1.55; }
.kind-card blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: .3rem; }
.kind-card figcaption { color: var(--muted); font-size: .95rem; }
.kind-card figcaption b { color: var(--ink); font-family: var(--font-hand); font-size: 1.45rem; font-weight: 600; }
.foot-acts { display: inline-flex; gap: .45rem; align-items: center; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card-bg); color: var(--ink); display: grid; place-items: center; transition: border-color var(--dur-ui), transform var(--dur-micro) var(--ease-out); }
.share-btn:hover { border-color: var(--accent); }
.share-btn:active { transform: scale(.92); }
.share-btn svg { width: 17px; height: 17px; }
@media (max-width: 1080px) { .kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .kind-grid { grid-template-columns: 1fr; } .kind-card { transform: none !important; } }
