/* rocco · the page behaves like a cushion
   Palette, type and panel language follow the brand mockups. */

:root {
  --milk:    #FAEFEB;   /* page ground */
  --paper:   #FCF5F0;   /* lightest card */
  --cream:   #F7E8E2;   /* pillow card */
  --oat:     #E3D5C5;
  --green:   #1F4633;
  --green-d: #17382A;
  --blush:   #EFBDC5;   /* fabric pink */
  --blush-l: #F5D5D6;
  --ink:     #141A16;
  --pink:    #E0486F;   /* CTAs only */
  --pink-d:  #BF3558;
  --ink-70:  rgba(20, 26, 22, .72);
  --ink-50:  rgba(20, 26, 22, .5);

  --f-d: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-h: "Gochi Hand", "Bradley Hand", cursive;

  --tracking-display: -0.035em;
  --tracking-section: -0.03em;
  --leading-display: 0.94;

  --wrap: 1296px;
  --gut: clamp(16px, 3.4vw, 44px);
  --gap: clamp(72px, 9vw, 136px);

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease:   cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--milk); color: var(--ink);
  font-family: var(--f-m); font-size: 15px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100%, calc(var(--wrap) + 2 * var(--gut))); margin-inline: auto; padding-inline: var(--gut); }
.sec  { padding-top: var(--gap); }

/* ─── type ────────────────────────────────────────────── */
.h-jumbo, .h-display, .h-section, .h-card {
  font-family: var(--f-d); font-weight: 900; color: var(--ink);
  letter-spacing: var(--tracking-display); text-wrap: balance;
}
.h-jumbo   { font-size: clamp(50px, 8.6vw, 132px); line-height: .88; letter-spacing: -0.045em; }
.h-display { font-size: clamp(40px, 6vw, 88px);  line-height: var(--leading-display); }
.h-section { font-size: clamp(30px, 3.9vw, 54px); line-height: 1; letter-spacing: var(--tracking-section); }
.h-card    { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; }
.on-dark, .on-dark .h-jumbo, .on-dark .h-display, .on-dark .h-section, .on-dark .h-card { color: var(--paper); }

.h-jumbo em, .h-display em, .h-section em {
  font-family: inherit; font-style: italic; font-weight: inherit; font-size: inherit;
  letter-spacing: inherit; word-spacing: inherit; line-height: inherit;
  color: var(--pink); margin-inline: -0.08em 0.1em;
}

.mono  { font-family: var(--f-m); font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.caps  { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 500; }
.lead  { font-family: var(--f-m); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: var(--ink-70); max-width: 40ch; }
.on-dark .lead, .on-dark .mono { color: rgba(252, 245, 240, .82); }

/* handwritten notes: marker face, slight tilt, optional swoosh underline */
.hand { font-family: var(--f-h); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.12; color: var(--green); letter-spacing: .01em; transform: rotate(-4deg); display: inline-block; }
.hand--ink { color: var(--ink); }
.hand__u { display: block; width: 62%; height: 9px; margin-top: 3px; color: currentColor; }

/* marker scribble under a word */
.scribble { position: relative; white-space: nowrap; z-index: 0; }
.scribble svg { position: absolute; left: -3%; bottom: -.16em; width: 106%; height: .3em; color: var(--pink); z-index: -1; overflow: visible; }

/* ─── cushions (see cushion.js) ───────────────────────── */
[data-cush] { position: relative; isolation: isolate; background: var(--cf); border-radius: 44px; }
[data-cush].cush-on { background: none; }
.cush { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: -1; pointer-events: none;
        filter: drop-shadow(0 16px 20px var(--csh, rgba(74, 34, 44, .15))) drop-shadow(0 2px 4px var(--csh, rgba(74, 34, 44, .12))); }
.cush--flat .cush, [data-shadow="0"] > .cush { filter: none; }
.cush-fill, .cush-base { fill: var(--cf); }
.cush-tex { mix-blend-mode: soft-light; opacity: var(--ct, .6); }
.cush-lo { fill: none; stroke: var(--clo, rgba(60, 20, 30, .26)); stroke-width: 38px; transform: translate(-2px, -6px); }
.cush-hi { fill: none; stroke: var(--chi, rgba(255, 255, 255, .5)); stroke-width: 26px; transform: translate(3px, 7px); }
.cush-stitch, .cush-stitch-sh { fill: none; stroke-width: 2.3px; stroke-dasharray: 9 7.5; stroke-linecap: round; }
.cush-stitch { stroke: var(--cs, #fff); }
.cush-stitch-sh { stroke: var(--css, rgba(0, 0, 0, .2)); transform: translate(0, 1.5px); }

[data-fill="green"] { --cf: var(--green); --cs: #F3E6DA; --css: rgba(0, 0, 0, .34); --ct: .8;  --clo: rgba(0, 0, 0, .46);      --chi: rgba(255, 255, 255, .16); --csh: rgba(20, 40, 30, .26); }
[data-fill="blush"] { --cf: var(--blush); --cs: #FFF6F1; --css: rgba(140, 60, 80, .3); --ct: .62; --clo: rgba(150, 60, 80, .3);  --chi: rgba(255, 255, 255, .5); }
[data-fill="pink"]  { --cf: var(--pink);  --cs: #FFE3EA; --css: rgba(110, 10, 40, .4); --ct: .5;  --clo: rgba(120, 10, 45, .4);  --chi: rgba(255, 255, 255, .3);  --csh: rgba(190, 40, 80, .3); }
[data-fill="cream"] { --cf: var(--cream); --cs: #EBB3BC; --css: rgba(255, 255, 255, .7); --ct: .3; --clo: rgba(150, 90, 80, .2); --chi: rgba(255, 255, 255, .9); --csh: rgba(110, 60, 60, .13); }
[data-fill="paper"] { --cf: var(--paper); --cs: #E9B9C0; --css: rgba(255, 255, 255, .7); --ct: .22; --clo: rgba(150, 90, 80, .16); --chi: rgba(255, 255, 255, .9); --csh: rgba(110, 60, 60, .12); }
[data-fill="oat"]   { --cf: var(--oat);   --cs: #FFF9F3; --css: rgba(90, 60, 30, .28);  --ct: .8;  --clo: rgba(90, 60, 30, .26); --chi: rgba(255, 255, 255, .5); }
[data-fill="ink"]   { --cf: var(--ink);   --cs: #F3E6DA; --css: rgba(0, 0, 0, .5);      --ct: .5;  --clo: rgba(0, 0, 0, .5);     --chi: rgba(255, 255, 255, .12); }

/* ─── buttons ─────────────────────────────────────────── */
/* tufted pillow: solid ledge that the button presses into, two button dimples */
.btn {
  --b: var(--pink); --bd: var(--pink-d); --bt: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-family: var(--f-d); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--bt);
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 55%),
    var(--b);
  box-shadow: 0 7px 0 var(--bd), 0 16px 22px -6px color-mix(in srgb, var(--bd) 55%, transparent),
              inset 0 -7px 12px rgba(0, 0, 0, .16), inset 0 3px 5px rgba(255, 255, 255, .35);
  transition: transform .16s var(--spring), box-shadow .16s ease-out;
  transform-origin: center bottom; will-change: transform; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 6px; border-radius: 999px; border: 1.6px dashed rgba(255, 255, 255, .55); pointer-events: none; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(5px) scaleX(1.05) scaleY(.92); box-shadow: 0 2px 0 var(--bd), 0 5px 8px -2px color-mix(in srgb, var(--bd) 50%, transparent), inset 0 -3px 8px rgba(0, 0, 0, .2), inset 0 2px 4px rgba(255, 255, 255, .3); transition-duration: .07s; }
.btn--green { --b: var(--green); --bd: #0F2A1E; --bt: var(--paper); }
.btn--cream { --b: var(--paper); --bd: #DDBFC0; --bt: var(--ink); }
.btn--cream::after { border-color: rgba(224, 72, 111, .45); }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 19px; }
.btn--wide { width: 100%; }
.btn .arr { width: 20px; height: 20px; flex: none; }

/* tufts: the two stitched dimples of a pillow button */
.btn--tuft::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 20px 50%, rgba(0, 0, 0, .28) 0 2.4px, rgba(0, 0, 0, 0) 3.4px),
    radial-gradient(ellipse 15px 20px at 20px 50%, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at calc(100% - 20px) 50%, rgba(0, 0, 0, .28) 0 2.4px, rgba(0, 0, 0, 0) 3.4px),
    radial-gradient(ellipse 15px 20px at calc(100% - 20px) 50%, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 70%);
}
.btn--tuft { padding-inline: 44px; }
.btn--tuft::after { display: none; }

/* round arrow button */
.rnd {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; flex: none; color: #fff;
  background: radial-gradient(120% 90% at 30% 12%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 55%), var(--pink);
  box-shadow: 0 6px 0 var(--pink-d), 0 14px 18px -6px rgba(191, 53, 88, .5), inset 0 -6px 10px rgba(0, 0, 0, .16);
  transition: transform .16s var(--spring), box-shadow .16s ease-out; transform-origin: center bottom;
}
.rnd svg { width: 26px; height: 26px; }
a:hover > .rnd, .rnd:hover { transform: translateY(-3px) scale(1.05); }
a:active > .rnd, .rnd:active { transform: translateY(4px) scaleX(1.06) scaleY(.9); box-shadow: 0 2px 0 var(--pink-d), inset 0 -3px 8px rgba(0, 0, 0, .2); transition-duration: .07s; }
.rnd--sm { width: 44px; height: 44px; box-shadow: 0 4px 0 var(--pink-d), inset 0 -4px 8px rgba(0, 0, 0, .16); }
.rnd--sm svg { width: 19px; height: 19px; }

/* text link with a sewn underline */
.stitch-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-m); font-weight: 600; font-size: 16px; color: var(--ink); padding-bottom: 7px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 9px, transparent 9px 16px) left bottom / 100% 2.4px no-repeat; transition: gap .2s var(--ease); }
.stitch-link svg { width: 22px; height: 22px; color: var(--pink); }
.stitch-link:hover { gap: 16px; }

/* woven care-label tag */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 7px;
  background: linear-gradient(#F8EEDF, #EFE2CF); color: var(--ink);
  font-family: var(--f-m); font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 3px 6px rgba(40, 20, 10, .22), inset 0 0 0 1px rgba(255, 255, 255, .6);
  position: relative;
}
.tag::after { content: ""; position: absolute; inset: 3px; border-radius: 5px; border: 1px dashed rgba(90, 60, 30, .32); pointer-events: none; }
.tag--logo { padding: 9px 14px; }
.tag--logo svg { height: 17px; width: auto; }

/* sticker roundel */
.sticker {
  display: grid; place-items: center; text-align: center; width: 118px; aspect-ratio: 1; border-radius: 50%;
  font-family: var(--f-d); font-weight: 800; font-size: 14px; line-height: 1.12; color: #fff; background: var(--pink);
  box-shadow: 0 10px 18px rgba(191, 53, 88, .32), inset 0 -8px 14px rgba(0, 0, 0, .12); transform: rotate(-10deg); position: relative;
}
.sticker::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.6px dashed rgba(255, 255, 255, .6); }
.sticker--cream { background: var(--paper); color: var(--ink); box-shadow: 0 10px 18px rgba(80, 40, 40, .2); }
.sticker--cream::after { border-color: rgba(224, 72, 111, .5); }

/* colour dots */
.dots { display: flex; flex-wrap: wrap; gap: 9px; }
.dots li, .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c) center/170% auto; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), inset 0 -4px 6px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .2); flex: none; }

/* logo */
.logo { display: block; height: 34px; width: auto; fill: currentColor; }
.cush-over { z-index: 3; filter: none; }

/* ─── nav ─────────────────────────────────────────────── */
.nav { position: sticky; top: 12px; z-index: 60; padding-inline: var(--gut); margin-top: 12px; pointer-events: none; }
.nav__bar { pointer-events: auto; width: min(100%, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 76px; padding: 0 30px 0 34px; }
.nav__bar .cush { filter: drop-shadow(0 10px 16px rgba(90, 44, 52, .14)) drop-shadow(0 2px 3px rgba(90, 44, 52, .1)); }
.nav__logo { justify-self: start; display: block; padding: 6px 0; }
.nav__logo .logo { height: 36px; }
.nav__links { display: flex; gap: clamp(20px, 3.2vw, 46px); font-family: var(--f-m); font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 8px 2px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2.2px; background: repeating-linear-gradient(90deg, var(--pink) 0 7px, transparent 7px 12px); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__bag { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; transition: transform .16s var(--spring); }
.nav__bag svg { width: 26px; height: 28px; }
.nav__bag:hover { transform: translateY(-2px) rotate(-6deg); }
.nav__count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font: 600 11px/19px var(--f-m); text-align: center; transform: scale(0); transition: transform .3s var(--spring); }
.nav__count.is-on { transform: scale(1); }
.nav__menu { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; }
.nav__menu i { display: block; width: 22px; height: 2.6px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__menu i + i { margin-top: 6px; }
.is-menu .nav__menu i:first-child { transform: translateY(4.3px) rotate(45deg); }
.is-menu .nav__menu i:last-child  { transform: translateY(-4.3px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav__bar { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 12px 0 22px; }
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .nav__logo .logo { height: 30px; }
}

/* drop-down menu sheet (mobile) */
.sheet { position: fixed; inset: 0 0 auto 0; z-index: 55; padding: 104px var(--gut) 26px; transform: translateY(-104%); transition: transform .45s var(--ease); visibility: hidden; }
.is-menu .sheet { transform: none; visibility: visible; }
.sheet__in { padding: 26px 26px 30px; }
.sheet nav a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; font-family: var(--f-d); font-weight: 900; font-size: clamp(28px, 8vw, 40px); letter-spacing: -0.035em; line-height: 1.05;
  background: repeating-linear-gradient(90deg, #E9B9C0 0 9px, transparent 9px 16px) left bottom / 100% 2px no-repeat; }
.sheet nav a .mono { color: var(--ink-50); font-size: 12px; }
.sheet .btn { margin-top: 24px; }
html.is-menu, html.is-bag { overflow: hidden; }

/* ─── section furniture ───────────────────────────────── */
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.band { position: relative; margin-top: calc(var(--gap) + 26px); padding: clamp(56px, 6.4vw, 92px) 0 clamp(52px, 6vw, 84px); }
.band + .sec, .band + .band { margin-top: 0; }
.cutout { position: absolute; pointer-events: none; z-index: 4; filter: drop-shadow(0 14px 12px rgba(40, 16, 20, .22)); height: auto; }

/* ─── ticker ──────────────────────────────────────────── */
.ticker { overflow: hidden; margin-top: clamp(28px, 4vw, 52px); padding: 15px 0; background: var(--green); color: var(--paper); }
.ticker__t { display: flex; align-items: center; gap: 34px; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker__t, .ticker:focus-within .ticker__t { animation-play-state: paused; }
.ticker span { font-family: var(--f-m); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 30px; height: 15px; flex: none; background: var(--blush); -webkit-mask: url(/assets/img/icon-bone.webp) center/contain no-repeat; mask: url(/assets/img/icon-bone.webp) center/contain no-repeat; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ─── pick your bed ───────────────────────────────────── */
.pick__grid { display: grid; gap: clamp(22px, 2.2vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 800px) { .pick__grid { grid-template-columns: 1fr 1fr; } }
.pick__card { display: grid; grid-template-rows: 1fr auto; min-height: clamp(430px, 40vw, 540px); padding: clamp(26px, 3vw, 42px) clamp(26px, 3.2vw, 48px) clamp(30px, 3vw, 44px); transition: transform .34s var(--spring); }
.pick__card:hover { transform: translateY(-7px); }
.pick__card:active { transform: translateY(2px) scale(.985); transition-duration: .08s; }
.pick__shot { display: grid; place-items: center; padding: 6px 0 22px; min-height: 0; }
.pick__shot img { width: min(84%, 470px); max-height: 100%; object-fit: contain; filter: drop-shadow(0 28px 22px rgba(0, 0, 0, .3)); transition: transform .5s var(--spring); }
.pick__card:hover .pick__shot img { transform: scale(1.05) rotate(-2deg); }
.pick__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.pick__foot .mono { margin: 8px 0 14px; }
.pick__card[data-fill="blush"] .mono { color: var(--ink-70); }

/* ─── how does your dog sleep ─────────────────────────── */
.sleep__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px clamp(30px, 9vw, 150px); margin-bottom: clamp(26px, 3vw, 40px); }
.sleep__note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.sleep__note svg { width: 62px; height: 44px; flex: none; color: var(--green); transform: scaleX(-1) rotate(24deg); margin-top: 20px; }
.sleep__grid { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .sleep__grid { grid-template-columns: repeat(4, 1fr); } }
.sleepcard { display: block; position: relative; transition: transform .34s var(--spring); }
.sleepcard:hover { transform: translateY(-8px) rotate(-1deg); }
.sleepcard:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.sleepcard:active { transform: translateY(2px) scale(.98); transition-duration: .08s; }
.sleepcard__ph { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 36px 36px 0 0;
  -webkit-mask: linear-gradient(#000 62%, rgba(0, 0, 0, 0) 99%); mask: linear-gradient(#000 62%, rgba(0, 0, 0, 0) 99%); }
.sleepcard__foot { padding: 0 clamp(18px, 2vw, 28px) clamp(24px, 2.4vw, 32px); margin-top: -16px; position: relative; }
.sleepcard__foot .mono { display: block; margin-top: 6px; color: var(--ink-70); font-size: 14px; }
.sleepcard__doodle { position: absolute; z-index: 4; top: -16px; right: -10px; width: clamp(68px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); box-shadow: 0 8px 14px rgba(60, 24, 32, .24); transform: rotate(8deg); }
.sleepcard__doodle::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dashed rgba(224, 72, 111, .55); }
.sleepcard__doodle img { width: 70%; max-height: 62%; object-fit: contain; }
.sleepcard:nth-child(even) .sleepcard__doodle { transform: rotate(-7deg); }

/* ─── bolster or paw ──────────────────────────────────── */
.cmp__grid { display: grid; gap: 0 clamp(14px, 1.8vw, 26px); grid-template-columns: minmax(0, .92fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto repeat(6, minmax(66px, auto)) auto; align-items: stretch; }
.cmp__intro { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 30px; position: relative; }
.cmp__note { position: absolute; left: clamp(120px, 15vw, 250px); top: -8px; display: flex; align-items: flex-end; gap: 4px; white-space: nowrap; }
.cmp__note svg { width: 54px; height: 38px; color: var(--ink); transform: rotate(18deg); margin-bottom: -18px; }
.cmp__labels { grid-column: 1; grid-row: 2 / 8; display: grid; grid-template-rows: subgrid; padding: 0 clamp(18px, 2vw, 30px); }
.cmp__labels > div { display: flex; align-items: center; font-family: var(--f-m); font-weight: 500; font-size: clamp(14px, 1.3vw, 18px); }
.cmp__labels > div + div { background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.cmp__col { grid-row: 1 / 9; display: grid; grid-template-rows: subgrid; text-align: center; padding: 0 clamp(16px, 2vw, 30px); position: relative; margin-top: clamp(60px, 7vw, 100px); }
.cmp__col--a { grid-column: 2; }
.cmp__col--b { grid-column: 3; }
.cmp__top { display: grid; place-items: end center; padding-bottom: 14px; }
.cmp__top img { width: min(84%, 330px); margin-top: calc(-1 * clamp(60px, 7vw, 100px)); filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .3)); transition: transform .5s var(--spring); }
.cmp__col:hover .cmp__top img { transform: translateY(-8px) rotate(-2deg); }
.cmp__cell { display: grid; place-items: center; padding: 10px 4px; font-family: var(--f-d); font-weight: 800; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.1; letter-spacing: -0.01em;
  background: repeating-linear-gradient(90deg, var(--cs) 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.cmp__cell small { display: none; }
.cmp__cta { display: grid; place-items: center; padding: 22px 0 30px; background: repeating-linear-gradient(90deg, var(--cs) 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.cmp__col[data-fill="green"] { color: var(--paper); }
.pillbtn { display: inline-flex; align-items: center; gap: 16px; padding: 9px 10px 9px 26px; border-radius: 999px; font-family: var(--f-d); font-weight: 800; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -0.015em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -8px 14px rgba(0, 0, 0, .14), 0 8px 14px rgba(0, 0, 0, .16); outline: 1.8px dashed var(--cs); outline-offset: -6px; transition: transform .16s var(--spring); }
.pillbtn:hover { transform: translateY(-3px) scale(1.02); }
.pillbtn:active { transform: translateY(3px) scaleX(1.04) scaleY(.94); transition-duration: .07s; }
.cmp__col[data-fill="green"] .pillbtn { background: var(--green-d); color: var(--paper); }
.cmp__col[data-fill="blush"] .pillbtn { background: #E9AEB8; color: var(--ink); }
@media (max-width: 820px) {
  .cmp__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto repeat(6, auto) auto; gap: 0 12px; }
  .cmp__intro { grid-column: 1 / -1; padding-bottom: 6px; }
  .cmp__note { position: static; margin-top: 12px; }
  .cmp__note svg { display: none; }
  .cmp__labels { display: none; }
  .cmp__col { grid-row: 2 / 10; padding: 0 12px; }
  .cmp__col--a { grid-column: 1; } .cmp__col--b { grid-column: 2; }
  .cmp__cell { padding: 12px 2px; align-content: center; gap: 3px; min-height: 74px; }
  .cmp__cell small { display: block; font-family: var(--f-m); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
  .pillbtn { padding: 7px 8px 7px 16px; gap: 10px; font-size: 14px; }
  .pillbtn .rnd--sm { width: 34px; height: 34px; }
}

/* ─── anatomy ─────────────────────────────────────────── */
.ana { text-align: center; }
.ana__h { margin-inline: auto; }
.toggle { display: inline-flex; margin-top: clamp(22px, 2.4vw, 32px); padding: 6px; border-radius: 999px; background: var(--blush-l); box-shadow: inset 0 3px 8px rgba(120, 50, 70, .18), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.toggle button { min-height: 48px; padding: 0 28px; border-radius: 999px; font-family: var(--f-d); font-weight: 800; font-size: 16px; transition: background .25s, color .25s, transform .16s var(--spring), box-shadow .25s; }
.toggle button[aria-selected="true"] { background: var(--green); color: var(--paper); box-shadow: 0 4px 0 var(--green-d), inset 0 2px 3px rgba(255, 255, 255, .18); }
.toggle button:active { transform: scaleX(1.04) scaleY(.93); transition-duration: .07s; }
.stage { position: relative; width: min(100%, 1060px); margin: clamp(20px, 3vw, 40px) auto 0; aspect-ratio: 1060 / 560; display: grid; place-items: center; }
.stage__disc { position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--blush); box-shadow: inset 0 -30px 50px rgba(150, 60, 80, .14), inset 0 20px 40px rgba(255, 255, 255, .4); }
.stage__bed { position: relative; width: 56%; filter: drop-shadow(0 34px 26px rgba(40, 16, 20, .28)); transition: transform .5s var(--spring), opacity .25s; }
.stage__bed[hidden] { display: none; }
.stage.is-swap .stage__bed { transform: scale(.9, 1.06); opacity: 0; }
.note { position: absolute; z-index: 2; text-align: left; transform: rotate(-3deg); }
.note svg { position: absolute; width: 74px; height: 50px; color: var(--ink); }
.note--tl { left: 4%; top: 12%; } .note--tl svg { left: 88%; top: 62%; }
.note--bl { left: 5%; bottom: 14%; transform: rotate(3deg); } .note--bl svg { left: 92%; bottom: 58%; transform: scaleY(-1); }
.note--tr { right: 4%; top: 10%; text-align: right; transform: rotate(4deg); } .note--tr svg { right: 88%; top: 66%; transform: scaleX(-1); }
.note--br { right: 3%; bottom: 14%; text-align: right; } .note--br svg { right: 94%; bottom: 60%; transform: scale(-1); }
.notes-m { display: none; }
@media (max-width: 760px) {
  .stage { aspect-ratio: 1 / .78; } .stage__disc { width: 74%; } .stage__bed { width: 92%; }
  .stage .note { display: none; }
  .notes-m { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 18px; }
  .notes-m .hand { transform: rotate(-2deg); font-size: 19px; }
  .notes-m .hand:nth-child(even) { transform: rotate(2deg); }
}

/* ─── made soft on purpose ────────────────────────────── */
.made__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .made__grid { grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 0; } }
.made__ph { min-height: clamp(380px, 46vw, 640px); }
.made__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 44px; }
.made__ph .tag { position: absolute; z-index: 4; left: clamp(34px, 4.4vw, 62px); top: clamp(34px, 4.4vw, 62px); transform: rotate(-3deg); padding: 12px 18px; }
.made__ph .tag svg { height: clamp(22px, 2.6vw, 34px); }
.made__copy { padding: clamp(34px, 4vw, 62px) clamp(28px, 3.6vw, 56px) clamp(36px, 4vw, 58px) clamp(34px, 4.4vw, 68px); display: grid; align-content: center; z-index: 1; }
@media (min-width: 900px) { .made__copy { margin-left: -22px; } }
.made__list { margin: clamp(22px, 2.6vw, 36px) 0 clamp(26px, 3vw, 38px); }
.made__list li { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: clamp(14px, 1.6vw, 20px) 0; font-family: var(--f-m); font-size: clamp(14px, 1.15vw, 16px); }
.made__list li + li { background: repeating-linear-gradient(90deg, #EBA9B4 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.ic { display: block; flex: none; width: clamp(40px, 3.8vw, 54px); aspect-ratio: 1; background: var(--ink); -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.made__copy .btn { justify-self: start; }

/* ─── colour rail ─────────────────────────────────────── */
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3vw, 42px); }
.rail__nav { display: flex; gap: 12px; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 13.4vw, 178px); gap: clamp(14px, 1.7vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--gut) 34px; margin-inline: calc(-1 * var(--gut)); scrollbar-width: none; scroll-padding-inline: var(--gut); }
.rail__track::-webkit-scrollbar { display: none; }
.sw { position: relative; display: block; scroll-snap-align: start; transition: transform .34s var(--spring); }
.sw:hover { transform: translateY(-8px) rotate(-2deg); }
.sw:nth-child(even):hover { transform: translateY(-8px) rotate(2deg); }
.sw:active { transform: scale(.95); transition-duration: .08s; }
.sw__chip { display: block; aspect-ratio: 1; border-radius: 30px; overflow: hidden; position: relative; box-shadow: 0 14px 18px rgba(70, 44, 20, .26), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sw__chip img { width: 100%; height: 100%; object-fit: cover; }
.sw__chip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -16px 24px rgba(0, 0, 0, .18), inset 0 12px 18px rgba(255, 255, 255, .28); }
.sw .tag { position: absolute; left: 10px; bottom: -13px; transform: rotate(-3deg); }
.sw:nth-child(even) .tag { transform: rotate(2deg); }

/* ─── sizes ───────────────────────────────────────────── */
.sizes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 30px; }
.scale { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(6px, 1.4vw, 20px); margin-top: clamp(30px, 4vw, 56px); }
.scale li { display: grid; justify-items: center; gap: clamp(8px, 1vw, 14px); flex: 0 1 auto; min-width: 0; }
.scale__dog { height: calc(var(--s) * clamp(92px, 12vw, 172px)); width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: -6px; }
.pebble { display: grid; place-items: center; width: calc(var(--s) * clamp(96px, 16.6vw, 238px)); aspect-ratio: 1.17; font-family: var(--f-d); font-weight: 900; color: var(--ink); font-size: calc(var(--s) * clamp(26px, 5vw, 70px)); letter-spacing: -0.03em; transition: transform .34s var(--spring); }
.scale li:hover .pebble { transform: scale(1.05, .95); }
.scale .mono { font-size: clamp(12px, 1.15vw, 16px); }
@media (max-width: 700px) {
  .scale { flex-wrap: wrap; justify-content: center; gap: 22px 10px; }
  .scale li { flex: 0 0 30%; }
  .pebble { width: calc((.55 + var(--s) * .45) * 28vw); font-size: calc((.55 + var(--s) * .45) * 8vw); }
  .scale__dog { height: calc((.5 + var(--s) * .5) * 24vw); }
}

/* ─── at home ─────────────────────────────────────────── */
.home__grid { display: grid; gap: clamp(26px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) { .home__grid { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); } }
.home__copy { display: grid; gap: clamp(20px, 2.4vw, 30px); justify-items: start; }
.pile { position: relative; aspect-ratio: 1000 / 600; }
.pile figure { position: absolute; width: 33%; border-radius: clamp(20px, 2.6vw, 36px); overflow: hidden; box-shadow: 0 22px 28px rgba(60, 24, 32, .26), 0 3px 6px rgba(60, 24, 32, .16); transition: transform .4s var(--spring), z-index 0s; }
.pile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pile figure:nth-child(1) { left: 0;    top: 0;   transform: rotate(-4deg); z-index: 1; }
.pile figure:nth-child(2) { left: 17%;  top: 13%; transform: rotate(3deg);  z-index: 2; }
.pile figure:nth-child(3) { left: 34%;  top: 26%; transform: rotate(-3deg); z-index: 3; }
.pile figure:nth-child(4) { left: 51%;  top: 39%; transform: rotate(4deg);  z-index: 4; }
.pile figure:nth-child(5) { left: 67%;  top: 23%; transform: rotate(-2deg); z-index: 5; }
.pile figure:hover { transform: rotate(0) scale(1.08); z-index: 9; }
@media (max-width: 700px) {
  .pile { aspect-ratio: 1 / 1.02; }
  .pile figure { width: 48%; }
  .pile figure:nth-child(1) { left: 0; top: 0; } .pile figure:nth-child(2) { left: 50%; top: 5%; }
  .pile figure:nth-child(3) { left: 24%; top: 28%; } .pile figure:nth-child(4) { left: 2%; top: 51%; } .pile figure:nth-child(5) { left: 51%; top: 55%; }
}

/* ─── good to know ────────────────────────────────────── */
.faq__grid { display: grid; gap: clamp(26px, 3vw, 44px); }
@media (min-width: 940px) { .faq__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; } }
.faq__copy { position: relative; }
.faq__note { margin: clamp(16px, 2vw, 28px) 0 0 clamp(8px, 1.4vw, 20px); display: inline-flex; align-items: flex-end; gap: 8px; }
.faq__note .heart { width: 24px; height: 22px; color: var(--green); margin-bottom: 4px; }
.faq__dog { position: relative; width: clamp(150px, 17vw, 236px); margin: clamp(10px, 2vw, 26px) 0 0 auto; }
.faq__list { display: grid; gap: 14px; }
.q { --cr: 28; }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; padding: 12px 18px 12px 30px; font-family: var(--f-d); font-weight: 800; font-size: clamp(16px, 1.45vw, 20px); letter-spacing: -0.015em; }
.q summary::-webkit-details-marker { display: none; }
.q summary > span { position: relative; }
.q[open] summary > span { background: repeating-linear-gradient(90deg, var(--green) 0 100%) left bottom / 100% 2.6px no-repeat; padding-bottom: 5px; }
.q__p { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blush-l); box-shadow: 0 3px 0 rgba(160, 70, 90, .35), inset 0 2px 3px rgba(255, 255, 255, .7); transition: transform .3s var(--spring); }
.q__p::before, .q__p::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--spring); }
.q__p::after { transform: rotate(90deg); }
.q[open] .q__p::after { transform: rotate(0); }
.q summary:hover .q__p { transform: scale(1.1) rotate(8deg); }
.q__a { margin: 0 12px 14px; padding: 18px 20px; border-radius: 16px; background: var(--paper); font-family: var(--f-m); font-size: 14px; line-height: 1.7; color: var(--ink-70); box-shadow: inset 0 2px 6px rgba(120, 70, 60, .12); }

/* steps and first dibs */
.steps { margin-top: clamp(44px, 5vw, 76px); padding-top: clamp(40px, 4.6vw, 68px); background: repeating-linear-gradient(90deg, #EBA9B4 0 12px, transparent 12px 22px) left top / 100% 2.4px no-repeat; }
.steps__row { display: grid; gap: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 36px); grid-template-columns: 1fr; }
@media (min-width: 880px) { .steps__row { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; } }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px clamp(14px, 1.6vw, 22px); align-items: start; }
.step__n { grid-row: span 2; display: grid; place-items: center; width: clamp(78px, 7.4vw, 104px); aspect-ratio: 1; font-family: var(--f-d); font-weight: 900; font-size: clamp(40px, 4vw, 58px); color: var(--green); }
.step h3 { color: var(--green); align-self: end; padding-top: 6px; }
.step .hand { color: var(--green); font-size: clamp(18px, 1.5vw, 22px); transform: rotate(-3deg); transform-origin: left top; }
.steps__arr { display: none; width: 74px; height: 34px; color: var(--green); margin-top: 34px; }
@media (min-width: 880px) { .steps__arr { display: block; } }
.dibs { width: min(100%, 660px); margin: clamp(34px, 4vw, 56px) auto 0; }
.dibs__pill { display: flex; align-items: center; gap: 10px; min-height: 74px; padding: 9px 9px 9px 28px; }
.dibs__pill > svg:not(.cush) { width: 26px; height: 20px; flex: none; color: var(--green); }
.dibs input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font: 500 16px var(--f-m); color: var(--ink); padding: 14px 4px; }
.dibs input::placeholder { color: var(--ink-50); }
.dibs input:focus { outline: none; }
.dibs__pill:focus-within .cush-stitch { stroke: var(--pink); }
.dibs .btn { flex: none; }
.dibs__msg { margin-top: 14px; text-align: center; min-height: 1.6em; font-family: var(--f-m); font-size: 14px; }
.dibs__msg.is-ok { color: var(--green); } .dibs__msg.is-bad { color: var(--pink-d); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) {
  .dibs__pill { flex-wrap: wrap; padding: 12px 14px 14px 20px; }
  .dibs input { flex-basis: calc(100% - 40px); }
  .dibs .btn { width: 100%; }
}

/* ─── footer ──────────────────────────────────────────── */
.foot { margin-top: calc(var(--gap) + 26px); padding: clamp(60px, 7vw, 104px) 0 clamp(28px, 3vw, 40px); position: relative; }
.foot__grid { display: grid; gap: clamp(34px, 4vw, 56px); align-items: end; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.foot__cta { display: grid; justify-items: start; gap: clamp(22px, 2.6vw, 34px); }
.foot__tag { display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 10px; background: linear-gradient(#FAF1E4, #F0E3D0); font-family: var(--f-d); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px); color: var(--pink-d);
  box-shadow: 0 8px 14px rgba(120, 50, 60, .24), inset 0 0 0 1px rgba(255, 255, 255, .7); position: relative; transform: rotate(-2deg); transition: transform .3s var(--spring); }
.foot__tag::after { content: ""; position: absolute; inset: 5px; border-radius: 7px; border: 1.6px dashed rgba(190, 60, 90, .45); }
.foot__tag svg { width: 22px; height: 22px; }
.foot__tag:hover { transform: rotate(0) translateY(-4px) scale(1.03); }
.foot__tag:active { transform: scale(.95); transition-duration: .08s; }
.foot__side { display: grid; gap: 18px; justify-items: start; padding-left: clamp(0px, 3vw, 44px); }
@media (min-width: 900px) { .foot__side { background: repeating-linear-gradient(180deg, rgba(20, 26, 22, .35) 0 8px, transparent 8px 15px) left top / 2px 100% no-repeat; } }
.foot__side .logo { height: clamp(40px, 4vw, 56px); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-m); font-weight: 500; font-size: 15px; }
.foot__links a:hover { color: var(--pink-d); }
.foot__legal { font-family: var(--f-m); font-size: 13px; color: var(--ink-70); }
.foot__dog { right: 6%; top: -2px; width: clamp(150px, 19vw, 280px); transform: translateY(-62%); }

/* ─── motion ──────────────────────────────────────────── */
@keyframes breathe { 50% { transform: scale(1.018, 1.03); } }
.breathe { animation: breathe 4.2s ease-in-out infinite; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__t { animation: none !important; }
  .btn:active, .rnd:active, .pillbtn:active { transform: none; filter: brightness(.92); }
}

/* ─── small additions ─────────────────────────────────── */
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--f-m); font-size: 14px; }
.skip:focus { top: 12px; }
.rnd--cream { color: var(--ink); background: radial-gradient(120% 90% at 30% 12%, #fff, rgba(255, 255, 255, 0) 60%), var(--paper); box-shadow: 0 5px 0 #CDBBA6, 0 12px 16px -6px rgba(70, 44, 20, .4), inset 0 -5px 9px rgba(120, 90, 50, .14); width: 54px; height: 54px; }
.rnd--cream svg { width: 22px; height: 22px; }
.rnd--cream:active { box-shadow: 0 2px 0 #CDBBA6, inset 0 -3px 8px rgba(120, 90, 50, .2); }
.rnd[disabled] { opacity: .45; pointer-events: none; }
.nav__bag.is-pop { animation: pop .5s var(--spring); }
@keyframes pop { 40% { transform: scale(1.28) rotate(-10deg); } }
.nav__menu span { display: block; }

/* doodle sits straight on the photograph, drawn in cream line */
.sleepcard__doodle { position: absolute; z-index: 4; top: clamp(24px, 2.6vw, 38px); right: clamp(22px, 2.4vw, 34px); width: clamp(62px, 7.2vw, 104px); height: auto; aspect-ratio: auto; border-radius: 0; background: none; box-shadow: none; display: block; transform: rotate(4deg);
  filter: invert(1) sepia(.25) saturate(1.6) drop-shadow(0 1px 2px rgba(0, 0, 0, .65)) drop-shadow(0 0 10px rgba(0, 0, 0, .35)); }
.sleepcard__doodle::after { content: none; }
.sleepcard:nth-child(even) .sleepcard__doodle { transform: rotate(-4deg); }

/* row names stay available to screen readers on wide screens, and show on narrow ones */
.cmp__cell small { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 820px) { .cmp__cell small { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

.rail .sw__chip { aspect-ratio: 4 / 5; }
.rail .sw .tag { left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 11px; padding: 6px 10px; }
.rail .sw:nth-child(even) .tag { transform: translateX(-50%); }
.rail__dog { right: clamp(20px, 9vw, 150px); top: 0; width: clamp(190px, 25vw, 360px); transform: translateY(-78%); }
.rail .h-display { color: var(--green); }
.rail { padding-bottom: clamp(70px, 8vw, 116px); }
.sizes { margin-top: 0; }
button.sw { text-align: inherit; }
.rail__track--fit { grid-auto-columns: minmax(118px, 1fr); }
.rail--pdp .sw.is-on .sw__chip { outline: 3px solid var(--green); outline-offset: 4px; }
.rail--pdp .rail__head .hand { margin-bottom: 14px; }
.pebble { cursor: pointer; }
.pebble.is-on { color: var(--pink-d); }
.pebble.is-on .cush-stitch { stroke: var(--pink); }

.home__panel { padding: clamp(34px, 5vw, 76px) clamp(24px, 4vw, 60px) clamp(48px, 6vw, 92px); }

/* ─── product page ────────────────────────────────────── */
.pdp { padding-top: clamp(14px, 1.6vw, 22px); }
.crumbs { display: flex; align-items: center; gap: 10px; margin: 6px 0 clamp(12px, 1.4vw, 18px) 8px; font-family: var(--f-m); font-size: 13px; color: var(--ink-70); }
.crumbs a:hover { color: var(--pink-d); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs b { font-weight: 500; color: var(--ink); }
.pdp__grid { display: grid; gap: clamp(16px, 1.8vw, 24px); align-items: start; }
@media (min-width: 980px) { .pdp__grid { grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); } .gal { position: sticky; top: 104px; } }
.gal { display: grid; gap: clamp(12px, 1.4vw, 18px); min-width: 0; }
.gal__main { aspect-ratio: 1.42 / 1; display: grid; place-items: center; overflow: hidden; border-radius: 46px; }
.gal__img { transition: opacity .16s ease, transform .4s var(--spring); }
.gal__img.is-cut { width: 78%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 34px 26px rgba(60, 30, 30, .24)); }
.gal__img.is-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 46px; }
.gal__main.is-swap .gal__img { opacity: 0; transform: scale(.97); }
.gal__main.is-photo .cush-stitch { stroke: #FFF6F1; }
.gal__tag { position: absolute; z-index: 4; left: 30px; bottom: 30px; transform: rotate(-2deg); }
.gal__tray { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); padding: clamp(14px, 1.5vw, 20px); }
.thumb { position: relative; aspect-ratio: 1; border-radius: clamp(16px, 1.8vw, 24px); overflow: hidden; display: grid; place-items: center; background: var(--paper);
  box-shadow: 0 5px 10px rgba(110, 60, 60, .14), inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 -8px 12px rgba(150, 90, 80, .08); transition: transform .2s var(--spring); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-cut img { width: 82%; height: 82%; object-fit: contain; }
.thumb:hover { transform: translateY(-3px); }
.thumb:active { transform: scale(.94); }
.thumb[aria-current="true"] { outline: 2.6px solid var(--green); outline-offset: 3px; }

.info { padding: clamp(26px, 3.2vw, 48px) clamp(24px, 3vw, 46px) clamp(28px, 3vw, 44px); min-width: 0; }
.info__h { font-size: clamp(40px, 4.7vw, 70px); }
.info__price { margin-top: clamp(8px, 1vw, 14px); font-family: var(--f-m); font-size: clamp(17px, 1.5vw, 21px); }
.info__desc { margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(14px, 1.1vw, 15.5px); line-height: 1.6; color: var(--ink); max-width: 46ch; }
.opt { margin-top: clamp(20px, 2.2vw, 30px); }
.opt__label { font-family: var(--f-m); font-size: 14.5px; margin-bottom: 14px; }
.opt__label b { font-weight: 600; }
.opt__hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-70); }
.swatches { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.1vw, 14px); }
.swatch { position: relative; width: clamp(44px, 4.1vw, 56px); aspect-ratio: 1; border-radius: 50%; background: var(--c) center / 150% auto;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 -6px 9px rgba(0, 0, 0, .2), inset 0 5px 7px rgba(255, 255, 255, .25), 0 4px 7px rgba(60, 30, 30, .22); transition: transform .2s var(--spring); }
.swatch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2.6px solid var(--green); opacity: 0; transform: scale(.82); transition: opacity .2s, transform .25s var(--spring); }
.swatch[aria-checked="true"]::after { opacity: 1; transform: none; }
.swatch:hover { transform: translateY(-3px) scale(1.05); }
.swatch:active { transform: scale(.9); }

.sizepick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; }
.sizebtn { display: grid; justify-items: center; align-content: end; gap: 3px; padding: 10px 2px 9px; border-radius: 18px; background: var(--paper); min-height: 132px;
  box-shadow: 0 4px 0 #E3C9C6, inset 0 0 0 1px rgba(255, 255, 255, .8); transition: transform .16s var(--spring), box-shadow .16s, background .2s; }
.sizebtn img { height: calc(var(--k) * 74px); width: auto; margin-bottom: 4px; mix-blend-mode: multiply; }
.sizebtn b { font-family: var(--f-d); font-weight: 900; font-size: 17px; letter-spacing: -0.02em; }
.sizebtn small { font-size: 10.5px; color: var(--ink-70); white-space: nowrap; }
.sizebtn:hover { transform: translateY(-3px); }
.sizebtn:active { transform: translateY(3px) scaleX(1.04) scaleY(.94); box-shadow: 0 1px 0 #E3C9C6; transition-duration: .07s; }
.sizebtn[aria-checked="true"] { background: var(--blush); box-shadow: 0 4px 0 #D592A0, inset 0 0 0 2px rgba(255, 255, 255, .55); }
.opt--size.is-need .sizepick { animation: nudge .45s ease; }
.opt--size.is-need [data-size-name] { color: var(--pink-d); }
@keyframes nudge { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } }
@media (max-width: 520px) { .sizepick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sizebtn { min-height: 118px; } }

.addbtn { margin-top: clamp(22px, 2.4vw, 32px); min-height: 72px; font-size: clamp(19px, 1.7vw, 23px); }
.addbtn::after { inset: 8px; border-width: 1.8px; border-color: rgba(243, 230, 218, .7); }
.addbtn__paw { width: 24px; height: 24px; flex: none; }
.info__hold { margin-top: 20px; font-size: 12.5px; color: var(--ink-70); text-align: center; }
.care { margin-top: clamp(24px, 2.6vw, 36px); }
.care li { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.care li + li { background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.care ul { margin-top: 8px; }
.care__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.care__ic svg { width: 24px; height: 24px; }
.care p b { display: block; font-family: var(--f-m); font-weight: 500; font-size: 14.5px; }
.care p small { display: block; font-size: 12px; color: var(--ink-70); margin-top: 2px; }

.ana--pdp .stage { margin-top: clamp(6px, 1vw, 16px); }

/* the other bed */
.cross__card { display: grid; align-items: center; gap: clamp(10px, 3vw, 48px); padding: clamp(30px, 4vw, 56px) clamp(28px, 4.4vw, 68px); transition: transform .34s var(--spring); }
@media (min-width: 860px) { .cross__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 420px; } }
.cross__card:hover { transform: translateY(-6px); }
.cross__card:active { transform: translateY(2px) scale(.99); transition-duration: .08s; }
.cross__shot { display: grid; place-items: center; }
.cross__shot img { width: min(92%, 500px); filter: drop-shadow(0 28px 22px rgba(0, 0, 0, .3)); transition: transform .5s var(--spring); }
.cross__card:hover .cross__shot img { transform: scale(1.05) rotate(-2deg); }
.cross__copy { display: grid; gap: clamp(12px, 1.4vw, 18px); justify-items: start; }
.cross__go { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.cross__card:not(.on-dark) .mono, .cross__card:not(.on-dark) .lead { color: var(--ink-70); }

/* sticky buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0 var(--gut) max(12px, env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(130%); transition: transform .45s var(--ease); }
.buybar.is-on { transform: none; }
.buybar__in { pointer-events: auto; width: min(100%, 720px); margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 10px 12px 12px 18px; }
.buybar__in .cush { filter: drop-shadow(0 -4px 18px rgba(90, 44, 52, .18)) drop-shadow(0 6px 10px rgba(90, 44, 52, .2)); }
.buybar img { width: 62px; height: auto; flex: none; }
.buybar p { flex: 1 1 auto; min-width: 0; display: grid; }
.buybar p b { font-family: var(--f-d); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar p span { font-size: 12px; color: var(--ink-70); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { min-height: 50px; padding: 0 24px; font-size: 16px; }
@media (max-width: 420px) { .buybar img { display: none; } }
.is-bag .buybar { transform: translateY(130%); }

/* ─── bag drawer ──────────────────────────────────────── */
.bag { position: fixed; inset: 0; z-index: 90; }
.bag[hidden] { display: none; }
.bag__scrim { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(23, 56, 42, .46); opacity: 0; transition: opacity .35s ease; cursor: default; }
.is-bag .bag__scrim { opacity: 1; }
.bag__panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(calc(100% - 20px), 470px); display: flex; flex-direction: column; padding: 30px 28px 26px 38px; transform: translateX(108%); transition: transform .42s var(--ease); }
.is-bag .bag__panel { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; }
.bag__x { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--blush-l); box-shadow: 0 3px 0 rgba(160, 70, 90, .35), inset 0 2px 3px rgba(255, 255, 255, .7); transition: transform .2s var(--spring); }
.bag__x::before, .bag__x::after { content: ""; position: absolute; left: 13px; right: 13px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--ink); transform: rotate(45deg); }
.bag__x::after { transform: rotate(-45deg); }
.bag__x:hover { transform: rotate(90deg); }
.bag__list { flex: 1 1 auto; overflow-y: auto; margin-right: -8px; padding-right: 8px; }
.bag__list:empty { display: none; }
.bagitem { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; }
.bagitem + .bagitem { background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.bagitem__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 4px 8px rgba(110, 60, 60, .12); }
.bagitem__img img { width: 84%; }
.bagitem__txt { display: grid; gap: 2px; min-width: 0; }
.bagitem__txt b { font-family: var(--f-d); font-weight: 800; font-size: 17px; letter-spacing: -0.015em; }
.bagitem__txt span { font-size: 12.5px; color: var(--ink-70); }
.bagitem__qty { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--blush-l); box-shadow: inset 0 2px 5px rgba(120, 50, 70, .16); }
.bagitem__qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); font-family: var(--f-d); font-weight: 800; font-size: 17px; line-height: 1; box-shadow: 0 2px 0 rgba(160, 70, 90, .3); }
.bagitem__qty button:active { transform: translateY(2px); box-shadow: none; }
.bagitem__qty b { min-width: 20px; text-align: center; font-family: var(--f-d); font-weight: 800; }
.bag__empty { flex: 1 1 auto; display: grid; align-content: center; justify-items: center; text-align: center; gap: 10px; padding: 10px 0 30px; }
.bag__empty[hidden] { display: none; }
.bag__empty img { width: min(64%, 240px); margin-bottom: 8px; filter: drop-shadow(0 12px 10px rgba(60, 30, 30, .2)); }
.bag__empty .lead { max-width: 28ch; }
.bag__links { display: grid; gap: 16px; margin-top: 16px; width: 100%; }
.bag__foot { padding-top: 18px; background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.bag__foot[hidden] { display: none; }
.bag__hold { text-align: center; }
.bag__hold .hand { font-size: 21px; }
.bag__line { margin: 12px 0 0; text-align: center; color: var(--ink-70); font-size: 13px; }
.dibs--bag { width: 100%; margin-top: 16px; }
.dibs--bag .dibs__pill { flex-wrap: wrap; min-height: 0; padding: 10px 12px 14px 20px; }
.dibs--bag .dibs__pill input { flex-basis: calc(100% - 44px); }
.dibs--bag .dibs__pill .btn { width: 100%; }
.dibs--bag .dibs__pill { border-radius: 30px; }

/* ─── review pass 1 ───────────────────────────────────── */
.hand { position: relative; }
.hand__u { position: absolute; left: 0; top: calc(100% + 2px); margin: 0; }

.sleepcard__doodle { width: auto; height: clamp(38px, 4.3vw, 60px); max-width: 44%;
  filter: invert(1) drop-shadow(0 0 .7px #FFF4E4) drop-shadow(0 0 .7px #FFF4E4) drop-shadow(0 1px 2px rgba(0, 0, 0, .7)) drop-shadow(0 0 12px rgba(0, 0, 0, .4)); }

.cmp__note { left: auto; right: -6px; top: -46px; }
.cmp__note .hand { font-size: clamp(17px, 1.5vw, 21px); transform: rotate(-9deg); text-align: center; }
.cmp__note svg { width: 46px; height: 32px; margin-bottom: -26px; margin-left: 2px; }
.pillbtn { padding: 10px 11px 10px 28px; min-height: 62px; }

.note svg { width: 86px; height: 58px; }
.note--tl svg { left: calc(100% + 6px); top: 40%; }
.note--tr svg { right: calc(100% + 6px); top: 44%; }
.note--bl svg { left: calc(100% + 6px); bottom: 34%; }
.note--br svg { right: calc(100% + 6px); bottom: 40%; }
.note--tl { left: 6%; top: 10%; } .note--tr { right: 7%; top: 8%; }
.note--bl { left: 7%; bottom: 13%; } .note--br { right: 5%; bottom: 13%; }
.stage .hand { font-size: clamp(20px, 2vw, 28px); }

@media (min-width: 900px) { .made__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); } }
.made__copy .h-display { font-size: clamp(38px, 5vw, 74px); }

.sizes__head .lead { max-width: none; }

@media (min-width: 900px) { .home__grid { grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr); } }
.home .h-display { font-size: clamp(38px, 4.4vw, 62px); }
.pile { aspect-ratio: 1000 / 640; }
.pile figure { width: 35%; }
.pile img { aspect-ratio: 4 / 3; }
.pile figure:nth-child(1) { left: 0;   top: 0; }
.pile figure:nth-child(2) { left: 21%; top: 17%; }
.pile figure:nth-child(3) { left: 43%; top: 34%; }
.pile figure:nth-child(4) { left: 65%; top: 51%; }
@media (max-width: 700px) {
  .pile { aspect-ratio: 1 / .96; }
  .pile figure { width: 56%; }
  .pile figure:nth-child(1) { left: 0; top: 0; } .pile figure:nth-child(2) { left: 44%; top: 14%; }
  .pile figure:nth-child(3) { left: 2%; top: 42%; } .pile figure:nth-child(4) { left: 42%; top: 56%; }
}

.q details[open] .q__p::after { transform: rotate(0); }
.q details[open] summary > span { background: linear-gradient(var(--green), var(--green)) left bottom / 100% 2.6px no-repeat; padding-bottom: 5px; }
.faq__aside { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: clamp(14px, 2vw, 26px); }
.faq__note { margin: clamp(10px, 1.6vw, 22px) 0 0 clamp(8px, 1.4vw, 20px); gap: 10px; flex: none; }
.faq__dog { margin: 0; width: clamp(140px, 15.5vw, 214px); filter: drop-shadow(0 16px 12px rgba(40, 16, 20, .2)); }
.step h3 { font-size: clamp(21px, 2.05vw, 28px); }
.steps__row { align-items: start; }

.foot .h-jumbo { font-size: clamp(42px, 6vw, 90px); line-height: .92; }
.foot { padding-bottom: clamp(36px, 4vw, 56px); margin-inline: clamp(0px, .8vw, 12px); margin-bottom: clamp(0px, .8vw, 12px); }

/* ─── review pass 2 ───────────────────────────────────── */
[hidden] { display: none !important; }
.sizes { margin-top: calc(var(--gap) + 26px); }
.band + .sizes { margin-top: 0; }
.swatches { gap: clamp(8px, .8vw, 11px); }
.swatch { width: clamp(40px, 3.4vw, 48px); }
.info__h { font-size: clamp(38px, 4.3vw, 62px); }
.cross .h-display { font-size: clamp(34px, 4.3vw, 62px); }

/* ─── review pass 3: small screens ────────────────────── */
.sleepcard__doodle { height: clamp(46px, 5.4vw, 78px); max-width: 46%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(0, 0, 0, .3)); }
.swatches { flex-wrap: nowrap; }
.swatch { flex: 0 1 48px; width: auto; min-width: 0; }
.rail--pdp .rail__head .hand { flex: none; }
@media (max-width: 700px) {
  .band > .wrap, .foot > .wrap { padding-inline: 36px; }
  .rail__track { margin-inline: -36px; padding-inline: 36px; scroll-padding-inline: 36px; }
  .dots { gap: 7px; } .dots li { width: 25px; height: 25px; }
  .info__desc br { display: none; }
  .rail__head { flex-wrap: wrap; }
  .home__panel { padding-inline: 30px; }
}
@media (max-width: 820px) {
  .cmp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp__cell { font-size: 14px; overflow-wrap: anywhere; }
  .pillbtn { white-space: normal; text-align: left; line-height: 1.04; font-size: 14px; min-height: 52px; padding: 6px 7px 6px 14px; gap: 8px; outline-offset: -5px; }
  .cmp__cta { padding: 16px 0 24px; }
}

/* ─── review pass 4: menu pill, sheet, pick card on phones ─ */
.h-jumbo, .h-display { word-spacing: .05em; }
.nav__menu b { display: none; }
@media (max-width: 860px) {
  .nav__bar { padding-right: 10px; }
  .nav__menu { display: inline-flex; align-items: center; gap: 9px; width: auto; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--green); color: var(--paper);
    box-shadow: 0 4px 0 #0F2A1E, inset 0 -4px 7px rgba(0, 0, 0, .22), inset 0 2px 3px rgba(255, 255, 255, .16); transition: transform .16s var(--spring), box-shadow .16s; }
  .nav__menu:active { transform: translateY(3px); box-shadow: 0 1px 0 #0F2A1E, inset 0 -2px 5px rgba(0, 0, 0, .22); }
  .nav__menu b { display: block; font-family: var(--f-m); font-size: 13px; font-weight: 600; min-width: 4.2ch; text-align: left; }
  .nav__menu i { width: 16px; height: 2.4px; background: currentColor; }
  .nav__menu i + i { margin-top: 5px; }
  .is-menu .nav__menu i:first-child { transform: translateY(3.7px) rotate(45deg); }
  .is-menu .nav__menu i:last-child  { transform: translateY(-3.7px) rotate(-45deg); }
  .nav__end { gap: 4px; }
}
.sheet { padding-top: 96px; }
.sheet nav a { justify-content: space-between; align-items: baseline; gap: 16px; font-size: clamp(25px, 6.8vw, 34px); padding: 14px 0; }
.sheet nav a .mono { white-space: nowrap; flex: none; font-size: 12px; }
.sheet__in { padding: 22px 26px 34px; }
@media (max-width: 700px) {
  .pick__foot { position: relative; display: block; }
  .pick__foot .rnd { position: absolute; right: 0; top: -6px; width: 54px; height: 54px; }
  .pick__foot .rnd svg { width: 22px; height: 22px; }
  .dots li { width: 26px; height: 26px; }
  .pick__card { min-height: 400px; }
}
.sheet nav a { display: grid; gap: 3px; justify-content: start; }
body::after { content: ""; position: fixed; inset: 0; z-index: 54; background: rgba(23, 56, 42, .46); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.is-menu body::after { opacity: 1; pointer-events: auto; }
@media (max-width: 480px) {
  .bag__panel { padding: 24px 22px 22px 32px; }
  .bagitem { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px; }
  .bagitem__img { grid-row: span 2; }
  .bagitem__qty { justify-self: start; margin-top: 4px; }
  .bagitem__txt b { font-size: 16px; }
}

/* ─── 404 ─────────────────────────────────────────────── */
.lost { padding-top: clamp(16px, 2vw, 28px); }
.lost__panel { display: grid; align-items: center; gap: clamp(16px, 4vw, 60px); padding: clamp(40px, 6vw, 92px) clamp(30px, 5vw, 80px) clamp(56px, 7vw, 104px); }
@media (min-width: 860px) { .lost__panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.lost__dog { width: min(100%, 440px); justify-self: center; filter: drop-shadow(0 18px 14px rgba(60, 20, 30, .26)); }
.lost__copy { display: grid; gap: clamp(14px, 1.6vw, 22px); justify-items: start; }
.lost__copy .mono, .lost__copy .lead { color: var(--ink-70); }
.lost .h-jumbo { font-size: clamp(44px, 6.6vw, 96px); }
.lost__go { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 10px; }

/* ─── round 5: Del's notes ────────────────────────────── */
/* smaller wordmark in the header */
.nav__logo .logo { height: 25px; }
.nav__bar { min-height: 66px; }
@media (max-width: 860px) { .nav__logo .logo { height: 22px; } .nav__bar { min-height: 60px; } }

/* ─── size guide ──────────────────────────────────────── */
.fit__panel { padding: clamp(38px, 4.8vw, 70px) clamp(22px, 4.4vw, 64px) clamp(56px, 6vw, 88px); }
.fit__ledge { top: 0; right: clamp(18px, 7vw, 120px); width: clamp(200px, 30vw, 410px); transform: translateY(-44.2%); filter: drop-shadow(0 7px 6px rgba(8, 26, 17, .38)); }
.fit__head { display: grid; gap: 14px; max-width: 760px; }
.fit__head .lead { max-width: 44ch; }
.fit__grid { display: grid; gap: clamp(20px, 2.6vw, 38px); margin-top: clamp(26px, 3.2vw, 44px); align-items: stretch; }
@media (min-width: 980px) { .fit__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); } }

.fit__tools { color: var(--ink); padding: clamp(24px, 2.8vw, 40px) clamp(22px, 2.8vw, 40px) clamp(26px, 2.8vw, 38px); display: grid; gap: clamp(20px, 2.2vw, 30px); align-content: start; }
.fit__step + .fit__step { padding-top: clamp(18px, 2vw, 26px); background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.fit__k { display: flex; align-items: center; gap: 12px; font-family: var(--f-d); font-weight: 800; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; }
.fit__k b { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 900; font-size: 15px; box-shadow: 0 3px 0 var(--pink-d); }
.fit__measure { position: relative; margin-top: 14px; display: grid; grid-template-columns: minmax(0, 300px) 1fr; align-items: center; gap: 6px clamp(14px, 2vw, 26px); }
.fit__measure img { width: 100%; mix-blend-mode: multiply; }
.fit__rule { grid-column: 1; width: 67%; height: 22px; margin-left: 1%; color: var(--pink); }
.fit__mnote { grid-column: 2; grid-row: 1 / span 2; color: var(--green); font-size: clamp(19px, 1.7vw, 23px); transform: rotate(-4deg); max-width: 9em; }

.fit__read { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.fit__num { font-family: var(--f-d); font-weight: 900; font-size: clamp(52px, 5.6vw, 80px); line-height: .9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; min-width: 1.15em; }
.fit__unit { font-family: var(--f-d); font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.fit__like { margin-left: 8px; font-family: var(--f-m); font-size: 13.5px; color: var(--ink-70); }

.fit__tape { --th: 40px; position: relative; margin-top: 4px; }
.fit__lineup { position: relative; height: 96px; }
.fit__pre { position: absolute; bottom: 0; left: calc(var(--th) / 2 + (100% - var(--th)) * var(--pn)); transform: translateX(-50%); padding: 4px 3px 0; border-radius: 12px; opacity: .46; transition: opacity .25s, transform .3s var(--spring); transform-origin: 50% 100%; }
.fit__pre img { height: calc(var(--k) * 86px); width: auto; mix-blend-mode: multiply; }
.fit__pre:hover { opacity: .85; transform: translateX(-50%) translateY(-3px); }
.fit__pre.is-on { opacity: 1; transform: translateX(-50%) scale(1.12); }
.fit__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: var(--th); margin: 0; background: none; cursor: grab; }
.fit__range:active { cursor: grabbing; }
.fit__range::-webkit-slider-runnable-track { height: 24px; border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(20, 26, 22, .62) 0 1.6px, transparent 1.6px) calc(var(--th) / 2 - .8px) 100% / calc((100% - var(--th)) / 4) 12px repeat-x,
    linear-gradient(90deg, rgba(20, 26, 22, .34) 0 1.2px, transparent 1.2px) calc(var(--th) / 2 - .6px) 100% / calc((100% - var(--th)) / 16) 7px repeat-x,
    linear-gradient(90deg, var(--blush) 0 var(--v, 30%), #F8ECD9 var(--v, 30%));
  box-shadow: inset 0 0 0 1.5px rgba(120, 80, 50, .28), inset 0 2px 3px rgba(255, 255, 255, .7), 0 3px 5px rgba(90, 50, 40, .16); }
.fit__range::-moz-range-track { height: 24px; border-radius: 7px; background: linear-gradient(90deg, var(--blush) 0 var(--v, 30%), #F8ECD9 var(--v, 30%)); box-shadow: inset 0 0 0 1.5px rgba(120, 80, 50, .28); }
.fit__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--th); height: var(--th); margin-top: -8px; border-radius: 50%; background: radial-gradient(120% 90% at 30% 14%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 55%), var(--pink); border: 2px dashed rgba(255, 255, 255, .75); background-clip: padding-box; box-shadow: 0 0 0 3px var(--pink), 0 5px 0 2px var(--pink-d), 0 12px 14px rgba(191, 53, 88, .42); transition: transform .16s var(--spring); }
.fit__range::-moz-range-thumb { width: 36px; height: 36px; border-radius: 50%; background: var(--pink); border: 2px dashed rgba(255, 255, 255, .75); box-shadow: 0 0 0 3px var(--pink), 0 5px 0 2px var(--pink-d); }
.fit__range:active::-webkit-slider-thumb { transform: scale(1.08, .94); }
.fit__range:focus-visible { outline: none; }
.fit__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px var(--ink); }
.fit__ticks { position: relative; height: 20px; margin-top: 6px; font-family: var(--f-m); font-size: 11.5px; color: var(--ink-70); }
.fit__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.fit__ticks span:nth-child(1) { left: calc(var(--th) / 2); }
.fit__ticks span:nth-child(2) { left: calc(var(--th) / 2 + (100% - var(--th)) * .25); }
.fit__ticks span:nth-child(3) { left: calc(var(--th) / 2 + (100% - var(--th)) * .5); }
.fit__ticks span:nth-child(4) { left: calc(var(--th) / 2 + (100% - var(--th)) * .75); }
.fit__ticks span:nth-child(5) { left: auto; right: 0; transform: none; }
.fit__step--pose { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.fit__pose { margin-top: 0; }
.toggle button[aria-pressed="true"] { background: var(--green); color: var(--paper); box-shadow: 0 4px 0 var(--green-d), inset 0 2px 3px rgba(255, 255, 255, .18); }
.fit__pose button { min-height: 44px; padding: 0 22px; font-size: 15px; }

.fit__view { display: grid; gap: clamp(16px, 1.8vw, 24px); align-content: space-between; }
.fit__stage { position: relative; width: min(100%, 420px); margin: 0 auto; padding-bottom: 40px; }
.fit__halo { position: absolute; left: 50%; top: 46%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 220, 172, .2), rgba(150, 220, 172, 0) 72%); pointer-events: none; }
.fit__bed { position: relative; width: 100%; filter: drop-shadow(0 26px 20px rgba(0, 0, 0, .42)); }
.fit__pup { position: absolute; left: 50%; top: 49.5%; transform: translate(-50%, -50%) rotate(-10deg); width: 50%; height: auto; max-width: none; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .38)); transition: width .5s var(--spring); }
.fit__pup[data-fit-pup="sprawl"] { transform: translate(-50%, -50%) rotate(-24deg); }
.fit__across { position: absolute; left: 2%; right: 2%; bottom: 0; display: flex; align-items: center; gap: 12px; font-family: var(--f-m); font-size: 13px; font-weight: 500; color: var(--paper); white-space: nowrap; }
.fit__across i { flex: 1; height: 12px; background: repeating-linear-gradient(90deg, rgba(252, 245, 240, .8) 0 7px, transparent 7px 13px) center / 100% 2px no-repeat; }
.fit__across i:first-child { border-left: 2px solid rgba(252, 245, 240, .85); } .fit__across i:last-child { border-right: 2px solid rgba(252, 245, 240, .85); }
.fit__verdict { position: absolute; left: -6%; top: 2%; color: var(--blush-l); font-size: clamp(19px, 1.8vw, 24px); transform: rotate(-8deg); white-space: nowrap; }
.fit__stage[data-grade="tight"] .fit__verdict { color: #FF9DB5; }
.fit__stage[data-grade="tight"] .fit__pup { filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .38)) drop-shadow(0 0 0 #000) saturate(.9); }

.fit__sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, .7vw, 10px); }
.fit__sz { display: grid; justify-items: center; gap: 1px; padding: 11px 2px 9px; border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 4px 0 rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .8); transition: transform .16s var(--spring), background .2s, opacity .2s, box-shadow .16s; }
.fit__sz b { font-family: var(--f-d); font-weight: 900; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -0.02em; line-height: 1.1; }
.fit__sz small { font-family: var(--f-m); font-size: 10.5px; color: var(--ink-70); white-space: nowrap; }
.fit__sz em { margin-top: 5px; font-style: normal; font-family: var(--f-m); font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.fit__sz[data-grade="tight"] { opacity: .56; } .fit__sz[data-grade="tight"] em { color: var(--pink-d); }
.fit__sz[data-grade="roomy"] em { color: var(--ink-50); }
.fit__sz.is-best em { color: #fff; background: var(--pink); padding: 2px 6px; border-radius: 5px; margin-top: 3px; }
.fit__sz:hover { transform: translateY(-3px); opacity: 1; }
.fit__sz:active { transform: translateY(3px) scaleX(1.04) scaleY(.94); box-shadow: 0 1px 0 rgba(0, 0, 0, .34); transition-duration: .07s; }
.fit__sz[aria-checked="true"] { background: var(--blush); opacity: 1; box-shadow: 0 4px 0 rgba(0, 0, 0, .34), inset 0 0 0 2.5px #fff; }

.fit__result { color: var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px clamp(14px, 1.8vw, 24px); padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); }
.fit__pick { display: grid; justify-items: start; gap: 2px; }
.fit__pick .mono { color: var(--ink-70); font-size: 10.5px; }
.fit__big { font-family: var(--f-d); font-weight: 900; font-size: clamp(40px, 4vw, 58px); line-height: .86; letter-spacing: -0.045em; min-width: 1.6em; }
.fit__why { font-family: var(--f-m); font-size: 13.5px; line-height: 1.5; }
.fit__go { min-height: 52px; padding: 0 22px; font-size: 15.5px; }
.fit__fine { margin-top: clamp(20px, 2.4vw, 30px); font-family: var(--f-m); font-size: 12.5px; color: rgba(252, 245, 240, .72); }
@media (max-width: 1180px) and (min-width: 980px), (max-width: 620px) {
  .fit__result { grid-template-columns: auto minmax(0, 1fr); }
  .fit__go { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 700px) {
  .fit__panel { padding-inline: 20px; }
  .fit__ledge { right: 14px; width: min(58vw, 250px); }
  .fit__measure { grid-template-columns: 1fr; } .fit__mnote { grid-column: 1; grid-row: auto; max-width: none; }
  .fit__lineup { height: 78px; } .fit__pre img { height: calc(var(--k) * 66px); }
  .fit__sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fit__stage { width: min(100%, 320px); }
  .fit__verdict { left: 0; top: -2%; }
  .fit__like { margin-left: 0; flex-basis: 100%; }
}

/* ─── at home: a gallery with no dead space ───────────── */
.home2__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 24vw, 340px); gap: clamp(12px, 1.4vw, 20px); }
.home2__head { grid-column: span 4; display: grid; align-content: space-between; gap: 18px; padding: clamp(26px, 3vw, 42px) clamp(30px, 3.4vw, 48px) clamp(26px, 3vw, 40px) clamp(26px, 3vw, 42px); z-index: 1; }
.home2__head .h-display { font-size: clamp(36px, 4.1vw, 60px); }
.home2__foot { display: grid; gap: 16px; justify-items: start; }
.home2__foot .lead { color: var(--ink-70); font-size: clamp(14px, 1.1vw, 16px); max-width: 26ch; }
.shot { display: block; overflow: hidden; border-radius: 40px; transition: transform .34s var(--spring); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 40px; transition: transform .7s var(--ease); }
.shot:hover { transform: translateY(-6px); }
.shot:hover img { transform: scale(1.05); }
.shot:active { transform: translateY(2px) scale(.99); transition-duration: .08s; }
.shot .cush-stitch { stroke: #FFF6F1; } .shot .cush-stitch-sh { stroke: rgba(0, 0, 0, .28); }
.shot .tag { position: absolute; z-index: 4; left: clamp(22px, 2.2vw, 30px); bottom: clamp(22px, 2.2vw, 30px); transform: rotate(-2deg); transition: transform .3s var(--spring); }
.shot:hover .tag { transform: rotate(1deg) translateY(-3px); }
.shot--a { grid-column: span 5; } .shot--b { grid-column: span 3; }
.shot--c { grid-column: span 3; } .shot--d { grid-column: span 4; } .shot--e { grid-column: span 5; }
@media (max-width: 980px) {
  .home2__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 36vw, 320px); }
  .home2__head { grid-column: span 6; grid-row: auto; min-height: 0; }
  .shot--a { grid-column: span 6; } .shot--b, .shot--c, .shot--d, .shot--e { grid-column: span 3; }
}
@media (max-width: 560px) {
  .home2__grid { grid-auto-rows: 46vw; }
  .home2__head { grid-row: span 1; grid-auto-rows: auto; }
  .shot--a { grid-row: span 1; } .shot, .shot img { border-radius: 28px; }
  .shot .tag { left: 16px; bottom: 16px; font-size: 10.5px; padding: 6px 9px; }
}

/* FAQ: headline column centred against the list, as in the mockup */
@media (min-width: 940px) { .faq__grid { align-items: center; } }
.faq__copy { display: grid; justify-items: start; }

/* the other-bed card gets a napper on its top edge */
.cross__ledge { top: 0; left: clamp(20px, 8vw, 130px); width: clamp(190px, 25vw, 340px); transform: translateY(-67.4%); filter: drop-shadow(0 7px 6px rgba(40, 16, 20, .3)); }
.cross { padding-top: calc(var(--gap) + 40px); }
.fit__left { display: grid; gap: clamp(22px, 2.6vw, 36px); align-content: start; min-width: 0; }
.fit__grid { margin-top: 0; align-items: start; }
.fit__view { padding-top: clamp(0px, 2vw, 30px); align-content: start; }
@media (min-width: 980px) { .fit__view { position: sticky; top: 100px; } .fit__stage { width: min(100%, 460px); } }
.fit__rule { width: 88%; margin-left: 2%; }
.fit__result { grid-template-columns: auto minmax(0, 1fr); }
.fit__go { grid-column: 1 / -1; width: 100%; }
.fit__verdict { left: -4%; top: -3%; }
.home2__head .h-display { font-size: clamp(32px, 3.5vw, 50px); }
.fit__posewrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.fit__posewrap .fit__k { color: var(--paper); }
.fit__pose button { white-space: nowrap; }
.fit__view { padding-top: clamp(0px, 1vw, 14px); }
.fit__stage { margin-top: clamp(6px, 1.4vw, 20px); }
@media (max-width: 700px) {
  .fit__panel { padding-inline: 30px; }
  .fit__tools { margin-inline: -8px; padding-inline: 20px; }
  .fit__posewrap { display: grid; justify-content: stretch; }
  .fit__pose { display: grid; grid-template-columns: 1fr 1fr; }
  .fit__pose button { padding: 0 10px; }
  .fit__result { margin-inline: -8px; }
  .fit__sizes { margin-inline: -8px; }
}
.fit__pose button { color: var(--ink); }
.fit__pose button[aria-pressed="true"] { color: var(--paper); }
@media (max-width: 980px) { .home2__grid { grid-template-rows: auto; } .home2__head { gap: 22px; } }
.opt__hint a, .q__a a { color: var(--ink); font-weight: 600; background: repeating-linear-gradient(90deg, var(--pink) 0 6px, transparent 6px 10px) left bottom / 100% 2px no-repeat; padding-bottom: 3px; }

/* ─── round 6: my own look-around ─────────────────────── */
:root { --gap: clamp(60px, 7.2vw, 104px); }
/* size guide: both columns end together */
@media (min-width: 980px) { .fit__grid { align-items: stretch; } .fit__left { grid-template-rows: auto 1fr; } .fit__view { position: static; } }
.fit__tools { align-content: space-between; }
.fit__tips ul { display: grid; gap: 9px; margin-top: 14px; }
.fit__tips li { position: relative; padding-left: 22px; font-family: var(--f-m); font-size: 13.5px; line-height: 1.5; color: var(--ink-70); }
.fit__tips li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blush); box-shadow: inset 0 0 0 2px var(--pink); }
.fit__k b svg { width: 16px; height: 16px; }
.fit__fine { margin-top: 2px; text-align: center; }
/* FAQ: a photograph fills the headline column */
.faq__copy { gap: clamp(18px, 2.2vw, 30px); }
.faq__ph { position: relative; width: 100%; aspect-ratio: 16 / 9.4; border-radius: 36px; overflow: visible; }
.faq__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.faq__ph .cush-stitch { stroke: #FFF6F1; } .faq__ph .cush-stitch-sh { stroke: rgba(0, 0, 0, .28); }
.faq__ph .faq__note { position: absolute; z-index: 5; right: -10px; top: -26px; margin: 0; padding: 12px 16px 16px 18px; border-radius: 18px; background: var(--paper); box-shadow: 0 8px 14px rgba(90, 44, 52, .2); transform: rotate(4deg); align-items: flex-end; }
.faq__ph .faq__note .hand { transform: none; font-size: clamp(17px, 1.5vw, 21px); }
@media (min-width: 940px) { .faq__grid { align-items: start; } }
@media (max-width: 939px) { .faq__ph { aspect-ratio: 16 / 8; } }
.step h3 { font-size: clamp(19px, 1.75vw, 25px); text-wrap: balance; }
/* anatomy: notes sit closer to the bed */
@media (min-width: 761px) {
  .stage { width: min(100%, 960px); aspect-ratio: 960 / 500; margin-top: clamp(10px, 1.6vw, 24px); }
  .stage__bed { width: 57%; }
  .note--tl { left: 8%; } .note--tr { right: 9%; } .note--bl { left: 9%; } .note--br { right: 7%; }
}
@media (max-width: 760px) { .stage { margin-top: 22px; } }
/* product gallery a little taller so the two columns sit closer in height */
.gal__main { aspect-ratio: 1.3 / 1; }

/* ─── round 7: review findings ────────────────────────── */
/* header pill fits inside the bar's stitch */
@media (max-width: 860px) {
  .nav__bar { padding-right: 16px; }
  .nav__menu { position: relative; height: 38px; padding: 0 14px 0 12px; box-shadow: 0 3px 0 #0F2A1E, inset 0 -3px 6px rgba(0, 0, 0, .22), inset 0 2px 3px rgba(255, 255, 255, .16); }
  .nav__menu::before { content: ""; position: absolute; inset: -5px; }
}
body::after, .bag__scrim { background: rgba(20, 26, 22, .5); }
.bag__scrim { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* pick your bed */
.pick__card.on-dark .pick__shot { background: radial-gradient(58% 52% at 50% 46%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 72%); }
.pick__card.on-dark .pick__shot img { filter: brightness(1.13) saturate(1.05) drop-shadow(0 30px 24px rgba(0, 0, 0, .5)); }
.pick__shot img { width: min(92%, 540px); }
.pick__card .h-card { font-size: clamp(26px, 3vw, 42px); }
.pick__foot .mono { font-size: 15px; margin: 8px 0 16px; }
@media (min-width: 640px) { .pick__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 701px) and (max-width: 940px) {
  .pick__card { min-height: clamp(340px, 50vw, 500px); padding: 22px 24px 28px; }
  .dots { gap: 6px; } .dots li { width: 22px; height: 22px; }
  .pick__foot .rnd { width: 50px; height: 50px; }
}

/* sleep cards: cropped photographs, a go arrow, even titles */
.sleepcard__phw { display: block; overflow: hidden; aspect-ratio: 5 / 6; border-radius: 36px 36px 0 0; -webkit-mask: linear-gradient(#000 62%, rgba(0, 0, 0, 0) 99%); mask: linear-gradient(#000 62%, rgba(0, 0, 0, 0) 99%); }
.sleepcard__ph { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; -webkit-mask: none; mask: none; }
.sleepcard__foot { padding-right: clamp(60px, 6vw, 78px); }
.sleepcard__foot .rnd { position: absolute; right: clamp(16px, 1.8vw, 26px); bottom: clamp(22px, 2.2vw, 30px); }
.sleepcard:hover .rnd { transform: translateY(-3px) scale(1.05); }
.br-m { display: none; }
@media (max-width: 899px) {
  .br-m { display: inline; }
  .sleepcard .h-card { font-size: clamp(19px, 5.4vw, 24px); }
  .sleepcard__foot { padding-right: 46px; padding-bottom: 20px; }
  .sleepcard__foot .rnd { width: 34px; height: 34px; right: 14px; bottom: 20px; }
  .sleepcard__foot .rnd svg { width: 16px; height: 16px; }
  .sleep__head { gap: 6px 0; margin-bottom: 18px; }
}

/* comparison */
.cmp__labels { grid-row: 2 / 9; }
.cmp__the { font-style: normal; }
.cmp__cell { text-wrap: balance; }
@media (max-width: 820px) {
  .cmp__the { display: none; }
  .pillbtn { white-space: nowrap; font-size: 14px; padding: 6px 6px 6px 14px; gap: 8px; min-height: 44px; }
  .pillbtn .rnd--sm { width: 30px; height: 30px; }
  .cmp__cell, .cmp__cta { background-position: center top; background-size: calc(100% - 26px) 2px; }
  .cmp__cell { overflow-wrap: normal; align-content: start; padding-top: 14px; }
  .cmp__cell small { font-size: 11px; opacity: .88; }
}
@media (min-width: 600px) and (max-width: 820px) {
  .cmp__the { display: inline; }
  .cmp__cell { font-size: 18px; min-height: 84px; } .cmp__cell small { font-size: 12px; }
  .pillbtn { font-size: 16px; min-height: 54px; padding: 8px 9px 8px 20px; }
  .pillbtn .rnd--sm { width: 38px; height: 38px; }
}

/* anatomy: stitched disc, arrows that land, pins on phones */
.stage__disc { background: none; box-shadow: none; }
.pin { display: none; }
.notes-m { list-style: none; counter-reset: pin; }
@media (min-width: 761px) {
  .note svg { width: 124px; height: 80px; }
  .note--tl { left: 11%; top: 13%; } .note--tl svg { left: calc(100% - 4px); top: 62%; }
  .note--tr { right: 10%; top: 10%; } .note--tr svg { right: calc(100% - 2px); top: 66%; }
  .note--bl { left: 10%; bottom: 17%; } .note--bl svg { left: calc(100% - 2px); bottom: 42%; }
  .note--br { right: 9%; bottom: 17%; } .note--br svg { right: calc(100% + 2px); bottom: 44%; }
  .stage__bed[data-bed="paw"] { width: 47%; }
  .stage[data-bed="paw"] .note--tl { left: 12%; top: 9%; }
  .stage[data-bed="paw"] .note--tr { right: 12%; top: 13%; }
  .stage[data-bed="paw"] .note--bl { left: 19%; bottom: 5%; } .stage[data-bed="paw"] .note--bl svg { bottom: 50%; }
  .stage[data-bed="paw"] .note--br { right: 8%; bottom: 20%; } .stage[data-bed="paw"] .note--br svg { width: 170px; height: 96px; }
}
@media (max-width: 760px) {
  .stage__bed[data-bed="paw"] { width: 80%; }
  .pin { display: grid; place-items: center; position: absolute; z-index: 3; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--pink); color: #fff; font: normal 900 13px/1 var(--f-d); box-shadow: 0 0 0 2px #fff, 0 3px 6px rgba(0, 0, 0, .3); }
  .pin--0 { left: 34%; top: 46%; } .pin--1 { left: 53%; top: 41%; } .pin--2 { left: 21%; top: 69%; } .pin--3 { left: 79%; top: 70%; }
  .stage[data-bed="paw"] .pin--0 { left: 35%; top: 26%; } .stage[data-bed="paw"] .pin--1 { left: 83%; top: 50%; }
  .stage[data-bed="paw"] .pin--2 { left: 50%; top: 81%; } .stage[data-bed="paw"] .pin--3 { left: 50%; top: 52%; }
  .notes-m li { counter-increment: pin; position: relative; padding-left: 30px; text-align: left; }
  .notes-m li::before { content: counter(pin); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; font: normal 900 12px/1 var(--f-d); }
  .notes-m .hand, .notes-m .hand:nth-child(even) { transform: none; }
  .notes-m { justify-items: start; padding-inline: 6px; }
}

/* made soft */
@media (min-width: 900px) { .made__copy { margin-left: -10px; } }
@media (max-width: 899px) {
  .made__grid { gap: 0; }
  .made__ph { min-height: 0; aspect-ratio: 5 / 4; } .made__ph img { object-position: 50% 72%; }
  .made__copy { margin-top: -18px; }
}
.made__list li { text-wrap: balance; }
.made__list { margin-bottom: clamp(20px, 2.2vw, 28px); }
@media (max-width: 760px) { .ic { width: 34px; } .made__list li { gap: 12px; } }
.facts { margin: clamp(18px, 2.2vw, 30px) 0 clamp(24px, 2.6vw, 34px); }
.facts li { display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.facts li + li { background: repeating-linear-gradient(90deg, #EBA9B4 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.facts p b { display: block; font-family: var(--f-d); font-weight: 800; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.015em; }
.facts p small { display: block; margin-top: 3px; font-family: var(--f-m); font-size: 13.5px; color: var(--ink-70); }
.facts .care__ic { width: 50px; height: 50px; }

/* product page: the two columns end together */
@media (min-width: 980px) and (max-width: 1099px) { .pdp__grid { grid-template-columns: minmax(0, 1fr); } .gal { position: static; } }
@media (min-width: 1100px) {
  .pdp__grid { align-items: stretch; }
  .gal { position: static; display: flex; flex-direction: column; }
  .gal__main { flex: 1 1 auto; aspect-ratio: auto; min-height: 430px; }
  .info__h { font-size: clamp(34px, 3.5vw, 52px); white-space: nowrap; }
}
@media (max-width: 1099px) { .info__h { font-size: clamp(36px, 6vw, 54px); text-wrap: balance; } }
.care--card { margin-top: 0; padding: clamp(22px, 2.2vw, 30px) clamp(24px, 2.6vw, 36px) clamp(16px, 1.8vw, 22px); }
.gal__tray { gap: clamp(8px, 1vw, 14px); padding: clamp(18px, 1.7vw, 22px) clamp(20px, 1.9vw, 24px); }
.sizepick { align-items: stretch; }
.sizebtn { min-height: 132px; align-content: end; }
.sizebtn img { height: calc(var(--k) * 70px); }
@media (max-width: 520px) { .sizebtn { min-height: 124px; } }
.swatch { flex-basis: 54px; box-shadow: 0 0 0 1px rgba(20, 26, 22, .16), 0 3px 0 rgba(20, 26, 22, .1), inset 0 -6px 9px rgba(0, 0, 0, .16), inset 0 3px 4px rgba(255, 255, 255, .45); }
.opt--size.is-need .sizepick { outline: 2px dashed var(--pink); outline-offset: 6px; border-radius: 22px; }
.addbtn__paw { width: 22px; height: 22px; color: var(--paper); }
.opt__hint, .info__hold { text-wrap: balance; }
@media (max-width: 1199px) { .info__desc br { display: none; } .info__desc { text-wrap: pretty; } }
@media (max-width: 700px) { .info { padding-inline: 26px; } }
.cross .h-display { font-size: clamp(32px, 3.9vw, 56px); }
@media (max-width: 859px) { .cross__card:has(.cross__ledge) { padding-top: 76px; } }

/* size guide */
.fit__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 44px; max-width: none; margin-bottom: clamp(24px, 3vw, 40px); }
.fit__head .lead { max-width: 34ch; }
.fit__posewrap .fit__k { color: var(--ink); }
.fit__view { padding-top: 0; }
.fit__stage { margin-top: 0; }
.fit__sz[data-grade="best"] em { color: #fff; background: var(--pink); padding: 2px 6px; border-radius: 5px; margin-top: 3px; }
.fit__sz[data-grade="roomy"] em { color: var(--green); }
.fit__sz[data-grade="vroomy"] em { color: var(--ink-50); }
@media (max-width: 700px) {
  .fit__panel { padding-top: 84px; }
  .fit__ledge { width: min(54vw, 232px); right: 6px; }
  .fit__verdict { left: 12%; top: -5%; }
}

/* bag hugs its contents */
.bag__panel { bottom: auto; max-height: calc(100dvh - 20px); }
.bag__list { flex: 0 1 auto; }
.bag__empty { flex: 0 0 auto; padding: 22px 0 12px; }
.bag__sum { display: flex; justify-content: space-between; padding-bottom: 14px; font-family: var(--f-m); font-size: 13.5px; font-weight: 500; }
.bagitem { grid-template-columns: 104px 1fr auto; }
.bagitem__txt b { font-size: 18px; }
.bagitem__rm { justify-self: start; margin-top: 5px; padding-bottom: 3px; font: 500 12px var(--f-m); color: var(--ink-70); background: repeating-linear-gradient(90deg, var(--pink) 0 5px, transparent 5px 9px) left bottom / 100% 1.5px no-repeat; }
.bagitem__rm:hover { color: var(--pink-d); }
@media (max-width: 480px) { .bagitem { grid-template-columns: 76px minmax(0, 1fr); } }

/* 404 */
.lost .lead { max-width: 30ch; text-wrap: balance; }
@media (max-width: 560px) { .lost .h-jumbo { font-size: clamp(38px, 11vw, 46px); } }

/* ─── round 8: flow, first dibs, footer, size guide ───── */
/* comparison: slimmer label card, bigger beds */
@media (min-width: 821px) {
  .cmp__grid { grid-template-columns: minmax(0, .66fr) minmax(0, 1fr) minmax(0, 1fr); }
  .cmp .h-display { font-size: clamp(38px, 4.8vw, 70px); }
  .cmp__note { right: auto; left: clamp(150px, 17vw, 250px); top: -34px; }
}

/* first dibs: one stitched panel, heading and form beside the three steps */
.dibsbox { margin-top: clamp(44px, 5vw, 72px); display: grid; gap: clamp(26px, 3.4vw, 56px); padding: clamp(40px, 4.6vw, 66px) clamp(26px, 4.4vw, 64px) clamp(34px, 4vw, 56px); align-items: center; }
@media (min-width: 940px) { .dibsbox { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.dibsbox__lead { display: grid; gap: clamp(12px, 1.4vw, 18px); justify-items: start; }
.dibsbox__lead .lead { max-width: 38ch; color: var(--ink-70); }
.dibsbox .dibs { width: 100%; max-width: 560px; margin: clamp(8px, 1vw, 14px) 0 0; }
.dibsbox .dibs__msg { text-align: left; padding-left: 8px; }
.dibsbox__steps { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.dibsbox__steps .step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.dibsbox__steps .step + .step { padding-top: clamp(14px, 1.6vw, 22px); background: repeating-linear-gradient(90deg, #EBB3BC 0 9px, transparent 9px 16px) left top / 100% 2px no-repeat; }
.dibsbox__steps .step__n { grid-row: auto; width: clamp(62px, 5.6vw, 78px); font-size: clamp(30px, 3vw, 42px); }
.dibsbox__steps .step h3 { padding-top: 0; font-size: clamp(19px, 1.7vw, 24px); text-wrap: balance; }
.dibsbox__steps .step .hand { display: block; margin-top: 4px; transform: none; font-size: clamp(17px, 1.4vw, 20px); color: var(--green); }

/* at home: the title tile shares a row with the first photograph on tablets */
@media (min-width: 561px) and (max-width: 980px) { .home2__head { grid-column: span 3; } .shot--a { grid-column: span 3; } }
@media (max-width: 560px) { .shot .tag { font-size: 9.5px; padding: 4px 7px; left: 12px; bottom: 12px; } .shot .cush-stitch, .shot .cush-stitch-sh { stroke-width: 1.5px; } }

/* FAQ note reads as a stitched label */
.faq__ph .faq__note::after { content: ""; position: absolute; inset: 5px; border-radius: 13px; border: 1.5px dashed rgba(224, 72, 111, .5); pointer-events: none; }

/* footer: the cockapoo sits behind the panel edge, only its paws come over */
.foot__peek { display: contents; }
.foot__dog { position: absolute; right: 6%; top: 0; width: clamp(150px, 19vw, 280px); height: auto; pointer-events: none; transform: translateY(-80%); }
.foot__dog--body { z-index: -2; }
.foot__dog--paws { z-index: 4; clip-path: polygon(16% 72%, 47% 72%, 47% 100%, 16% 100%, 16% 72%, 59% 72%, 91% 72%, 91% 100%, 59% 100%, 59% 72%); filter: drop-shadow(0 5px 4px rgba(120, 40, 60, .3)); }
@media (min-width: 900px) { .foot__grid { align-items: stretch; } .foot__side { align-content: space-between; } }
.foot { padding-bottom: clamp(44px, 5vw, 70px); }
.foot__links { flex-wrap: wrap; gap: 8px 20px; } .foot__links a { white-space: nowrap; }

/* size guide */
.fit__view { overflow-x: clip; }
.fit__measure { grid-template-columns: minmax(0, 280px) 1fr; }
.fit__rule { width: 74%; margin-left: 5%; }
.fit__read { position: relative; }
.fit__mini { display: none; }
.fit__why { text-wrap: balance; max-width: 36ch; }
.fit__big { min-width: 0; }
.fit__sz small { font-size: 12px; } .fit__sz em { font-size: 10.5px; letter-spacing: .05em; }
.fit__sz[data-grade="roomy"] em, .fit__sz[data-grade="vroomy"] em { color: var(--ink-70); }
.fit__pick .mono { font-size: 11.5px; }
.fit__sz[data-grade="tight"] { opacity: 1; background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(252, 245, 240, .42); }
.fit__sz[data-grade="tight"] small { color: rgba(252, 245, 240, .66); }
.fit__sz[data-grade="tight"] em { color: var(--blush-l); }
.fit__sz[data-grade="tight"][aria-checked="true"] { background: var(--blush); color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .34), inset 0 0 0 2.5px #fff; }
.fit__sz[data-grade="tight"][aria-checked="true"] small, .fit__sz[data-grade="tight"][aria-checked="true"] em { color: var(--ink); }
.fit__stage[data-grade="tight"] .fit__verdict { color: var(--blush-l); }
.fit__pup[data-fit-pup="sprawl"] { transform: translate(-50%, -50%) rotate(-26deg); }
.fit__pre { min-width: 34px; display: grid; align-items: end; justify-items: center; }
@media (max-width: 1100px) { .fit__measure { grid-template-columns: 1fr; } .fit__mnote { grid-column: 1; grid-row: auto; max-width: none; } .fit__sz em { font-size: 9.5px; letter-spacing: .02em; } }
@media (max-width: 979px) {
  /* phones and tablets: tips step aside, and a small live bed rides beside the readout */
  .fit__tips { display: none; }
  .fit__read { padding-right: 104px; min-height: 92px; align-content: center; }
  .fit__mini { display: block; position: absolute; right: 0; top: 50%; width: 92px; aspect-ratio: 1; transform: translateY(-50%); }
  .fit__mini > img:first-child { width: 100%; height: auto; filter: drop-shadow(0 6px 6px rgba(90, 50, 40, .3)); }
  .fit__minipup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); max-width: none; height: auto; transition: width .4s var(--spring); }
  .fit__mini b { position: absolute; right: -4px; bottom: -4px; min-width: 30px; height: 30px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: var(--pink); color: #fff; font: normal 900 13px/1 var(--f-d); box-shadow: 0 3px 0 var(--pink-d); }
}
@media (max-width: 700px) {
  .fit__measure { grid-template-columns: 46% 1fr; align-items: center; } .fit__measure .fit__mnote { grid-column: 2; grid-row: 1 / span 2; font-size: 17px; }
  .fit__verdict { left: 16px; top: -2%; font-size: 18px; }
  .fit__result { padding-inline: 22px; }
}

/* ─── round 9: code review and second look ────────────── */
html { scrollbar-gutter: stable; }
.on-dark :focus-visible, [data-fill="green"] :focus-visible { outline-color: var(--paper); }
[data-fill="green"] [data-fill="cream"] :focus-visible, [data-fill="green"] [data-fill="blush"] :focus-visible { outline-color: var(--ink); }
.dibs__pill:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 40px; }
.fit__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px var(--ink); }
.sheet { transition: transform .45s var(--ease), visibility 0s .45s; }
.is-menu .sheet { transition-delay: 0s; }

/* white on the brand pink only at large sizes; small badges take the darker pink */
.btn { font-size: 19px; }
.btn--lg { font-size: 20px; }
.buybar .btn { font-size: 17px; }
.fit__k b, .pin, .notes-m li::before, .fit__mini b, .nav__count, .fit__sz[data-grade="best"] em { background: var(--pink-d); }
.fit__k b { box-shadow: 0 3px 0 #8E2440; }

/* sleep cards: equal columns, every title on two lines */
.sleep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sleep__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .sleepcard .h-card { font-size: clamp(16px, 4.7vw, 22px); }
  .sleepcard__foot { padding: 0 40px 18px 14px; }
  .sleepcard__foot .rnd { right: 10px; bottom: 16px; width: 30px; height: 30px; }
  .sleepcard__foot .mono { font-size: 12.5px; }
}

/* comparison: five rows and the buttons */
.cmp__grid { grid-template-rows: auto repeat(5, minmax(66px, auto)) auto; }
.cmp__labels { grid-row: 2 / 8; }
.cmp__col { grid-row: 1 / 8; }
.cmp__intro { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
.cmp__note { position: static; margin: 0 0 0 4px; }
.cmp__note svg { margin: 0 0 -14px 6px; transform: rotate(34deg); }
@media (max-width: 820px) {
  .cmp__grid { grid-template-rows: auto auto repeat(5, auto) auto; }
  .cmp__col { grid-row: 2 / 9; }
  .cmp__intro { flex-direction: column; } .cmp__note { margin-top: 10px; }
  .pillbtn { max-width: 100%; }
}
@media (max-width: 380px) { .pillbtn { font-size: 13px; padding: 6px 5px 6px 11px; gap: 6px; } .pillbtn .rnd--sm { width: 26px; height: 26px; } }

/* size guide */
.fit__head { display: grid; justify-content: start; gap: 12px; }
.fit__head .h-display { font-size: clamp(36px, 5.2vw, 76px); }
.fit__head .lead { max-width: 46ch; }
.fit__ledge { right: clamp(14px, 4.4vw, 78px); }
.fit__readrow { position: relative; }
.fit__pup, .fit__minipup { transition: none; }
.fit.is-live .fit__pup { transition: width .5s var(--spring); }
.fit.is-live .fit__minipup { transition: width .4s var(--spring); }
.fit__minipup { width: 44%; }
.fit__sz em { font-size: 11px; letter-spacing: 0; }
@media (max-width: 1100px) { .fit__sz em { font-size: 11px; letter-spacing: 0; } }
@media (max-width: 979px) {
  .fit__read { padding-right: 0; min-height: 0; }
  .fit__readrow { padding-right: 108px; min-height: 96px; display: grid; align-content: center; }
  .fit__mini { top: 0; transform: none; }
}
@media (max-width: 700px) {
  .fit__pre { min-width: 0; padding: 4px 0 0; }
  .fit__pre:nth-child(2), .fit__pre:nth-child(4) { display: none; }
}

/* at home */
.shot .tag { max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .shot .tag { font-size: 11px; padding: 5px 8px; } }

/* footer: room for the dog above the panel, tidy links */
.foot { margin-top: clamp(150px, 16.5vw, 240px); }
.foot__dog { transform: translateY(-79%); }
.foot__links { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 28px; }

/* product page: two columns from 900px, gallery stretches to the buy panel */
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
  .gal { position: static; display: flex; flex-direction: column; }
  .gal__main { flex: 1 1 auto; aspect-ratio: auto; min-height: 380px; }
  .info__h { white-space: normal; font-size: clamp(32px, 3.9vw, 52px); text-wrap: balance; }
}
@media (min-width: 1240px) { .info__h { white-space: nowrap; } }
@media (max-width: 899px) { .gal__main { aspect-ratio: auto; height: min(70vw, 56svh); } }
.gal__tray { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.thumb__sw { position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--c) center / 170% auto; box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(0, 0, 0, .3); }
.gal__tag { left: 28px; bottom: 28px; }
@media (max-width: 560px) {
  .swatches { flex-wrap: wrap; gap: 10px; }
  .swatch { flex: 0 0 calc((100% - 30px) / 4); max-width: 56px; }
}
.buybar { visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.buybar.is-on { visibility: visible; transition-delay: 0s; }
.bagitem__qty button { width: 36px; height: 36px; }

/* sleep cards on phones: label and arrow sit inside the stitch */
@media (max-width: 899px) {
  .sleepcard__foot { padding: 0 52px 22px 22px; }
  .sleepcard__foot .rnd { right: 20px; bottom: 22px; }
  .sleepcard .h-card { font-size: clamp(16px, 4.5vw, 21px); }
}
/* footer dog: only the two paws come over the edge, with soft fur edges */
.foot__dog--paws { clip-path: none;
  -webkit-mask: radial-gradient(ellipse 16.5% 14.5% at 31% 87.5%, #000 78%, rgba(0, 0, 0, 0) 100%), radial-gradient(ellipse 17% 13.5% at 76% 88%, #000 78%, rgba(0, 0, 0, 0) 100%);
          mask: radial-gradient(ellipse 16.5% 14.5% at 31% 87.5%, #000 78%, rgba(0, 0, 0, 0) 100%), radial-gradient(ellipse 17% 13.5% at 76% 88%, #000 78%, rgba(0, 0, 0, 0) 100%); }
@media (min-width: 761px) {
  .stage[data-bed="paw"] .note--br svg { width: 200px; height: 104px; }
  .stage[data-bed="paw"] .note--bl { left: 22%; }
}
@media (max-width: 760px) { .stage[data-bed="paw"] .pin--2 { left: 64%; top: 82%; } }

/* ─── Del: photographed breeds instead of the line drawings ─ */
.fit__pre img, .sizebtn img, .fit__measure img { mix-blend-mode: normal; }
.fit__pre img { height: calc(var(--k) * 92px); filter: drop-shadow(0 3px 3px rgba(60, 30, 20, .25)); }
.fit__lineup { height: 104px; }
.fit__measure img { width: 100%; filter: drop-shadow(0 4px 4px rgba(60, 30, 20, .22)); }
.fit__rule { width: 80%; margin-left: 1%; }
.sizebtn img { height: calc(var(--k) * 72px); filter: drop-shadow(0 2px 2px rgba(60, 30, 20, .22)); }
@media (max-width: 700px) { .fit__lineup { height: 84px; } .fit__pre img { height: calc(var(--k) * 72px); } }
.fit__pre img, .sizebtn img { width: auto; max-width: none; }
@media (max-width: 700px) { .fit__pre img { height: calc(var(--k) * 62px); } .fit__lineup { height: 74px; } }

/* ─── Del: one label rule for every photograph ────────── */
/* a woven tag naming the bed and colour sits top left of every lifestyle photo, tilted the same way */
.sleepcard__tag, .made__ph .tag, .faq__tag, .gal__tag, .shot .tag { position: absolute; z-index: 4; transform: rotate(-2deg); font-size: 12px; padding: 7px 13px; }
.sleepcard__tag { left: clamp(18px, 2vw, 26px); top: clamp(18px, 2vw, 26px); }
.made__ph .tag { left: clamp(28px, 3vw, 40px); top: clamp(28px, 3vw, 40px); }
.faq__tag { left: 24px; bottom: 24px; }
.gal__tag { left: 30px; bottom: 30px; }
.shot .tag { left: clamp(22px, 2.2vw, 30px); bottom: clamp(22px, 2.2vw, 30px); }
.shot:hover .tag { transform: rotate(-2deg) translateY(-3px); }
.sleepcard__foot { padding-top: 2px; }
@media (max-width: 899px) { .sleepcard__tag { left: 16px; top: 16px; font-size: 11px; padding: 5px 9px; } .faq__tag { left: 16px; bottom: 16px; } }
@media (max-width: 560px) { .shot .tag { font-size: 11px; padding: 5px 8px; left: 12px; bottom: 12px; } .sleepcard__tag { font-size: 10.5px; padding: 4px 8px; left: 14px; top: 14px; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; } }
.tag__bed { font-weight: inherit; }
@media (max-width: 560px) { .sleepcard__tag .tag__bed, .shot .tag__bed { display: none; } }

/* ─── Del: the two Made soft panels no longer overlap ──── */
@media (min-width: 900px) { .made__grid { gap: clamp(16px, 1.6vw, 24px); } .made__copy { margin-left: 0; } }

/* ─── Del: footer dog with complete paws ──────────────── */
/* the chin line of the cutout sits just inside the panel's top edge, so the head is always behind the fabric
   and the two forelegs, the only thing below that line, hang over the front */
.foot__dog { width: clamp(150px, 15.5vw, 230px); right: 7%; transform: translateY(calc(-57.6% + 5px)); }
.foot__dog--paws { clip-path: none; -webkit-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55.5%, #000 58.5%); mask: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55.5%, #000 58.5%); filter: drop-shadow(0 6px 5px rgba(120, 40, 60, .28)); }
.foot { margin-top: clamp(120px, 12.5vw, 180px); }
@media (max-width: 700px) { .foot__dog { width: 150px; right: 16px; } .foot { margin-top: 110px; } }
@media (max-width: 700px) { .foot { padding-top: 112px; } }
/* footer paws: a pre-cut image with the fade in its alpha, no CSS mask (Chrome painted the masked layer as a solid block at 2x) */
.foot__dog--paws { -webkit-mask: none; mask: none; clip-path: none; transform: translateY(calc(-4.71% + 5px)); }
/* footer: logo column starts below the dangling paws */
@media (min-width: 900px) { .foot__side { padding-top: clamp(48px, 4.6vw, 66px); } }
/* footer dog: one image, entirely in front of the panel; the chest line rests 16px below the box top, under every wave trough, so the legs hang over the edge with nothing covering them */
.foot__dog { z-index: 4; -webkit-mask: none; mask: none; clip-path: none; transform: translateY(calc(-58.56% + 16px)); filter: drop-shadow(0 6px 5px rgba(120, 40, 60, .28)); }
/* phone header: everything sits inside the stitch; bag glyph matched to the logo height */
@media (max-width: 860px) {
  .nav__bar { min-height: 68px; padding: 0 18px 0 22px; }
  .nav__menu { height: 34px; padding: 0 13px 0 11px; gap: 8px; box-shadow: 0 2px 0 #0F2A1E, inset 0 -3px 5px rgba(0, 0, 0, .2), inset 0 2px 3px rgba(255, 255, 255, .16); }
  .nav__menu:active { transform: translateY(2px); box-shadow: 0 0 0 #0F2A1E, inset 0 -2px 4px rgba(0, 0, 0, .2); }
  .nav__menu b { font-size: 12.5px; }
  .nav__menu i { width: 15px; }
  .nav__bag { width: 40px; height: 40px; }
  .nav__bag svg { width: 21px; height: 23px; }
  .nav__count { top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10px; line-height: 17px; }
  .nav__end { gap: 6px; }
}
/* header links: bolder, each stitched underneath like the stitch links elsewhere */
.nav__links { font-weight: 600; }
.nav__links a { padding: 8px 1px 9px; }
.nav__links a::after { bottom: 3px; height: 2.4px; background: repeating-linear-gradient(90deg, var(--pink) 0 9px, transparent 9px 16px); transform: scaleX(1); }
.nav__links a:hover { color: var(--pink-d); }
.nav__links a[aria-current="page"] { color: var(--pink-d); }
