/* ==========================================================================
   KloPoKitchen — shared by index.html, shop.html and about.html.

   The look is "printed by hand, not rendered". Three rules keep it from
   drifting back into template territory:

     1. No true circles and no straight rules. Discs are blob border-radii,
        dividers and torn band edges are drawn SVG. The wobble is deliberate.
     2. Nothing is perfectly aligned. Cards carry a --tilt set per item in
        js/site.js. Tilts stay under 2deg and are never randomised.
     3. One accent colour for clicks (--rose) and nothing else uses it.
   ========================================================================== */

:root {
  --paper:        #FDF6EE;
  --paper-deep:   #F8EADC;
  --blush:        #FBE6E9;
  --white:        #FFFDFB;

  --ink:          #2E1F19;
  --ink-soft:     #6B544A;
  --ink-faint:    #6E5A50;   /* clears AA on paper-deep too; don't lighten */

  --pink:         #E6809D;   /* the logo's pink — drawn artwork only */
  --rose:         #B44068;   /* the click colour — buttons and links only */
  --rose-dark:    #93304F;

  --line:         #E4D2C4;

  --display: "Fraunces", Georgia, serif;
  --sans:    "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --script:  "Sacramento", cursive;

  --gap:    clamp(1rem, 3vw, 1.75rem);
  --bleed:  clamp(1.25rem, 5vw, 3rem);
  --sect:   clamp(4.5rem, 9vw, 7.5rem);

  --lift:  0 1px 2px rgba(46,31,25,.05), 0 14px 34px -14px rgba(46,31,25,.18);
  --cast:  drop-shadow(0 24px 20px rgba(88,52,36,.22));

  /* Hand-drawn rules. Both wander a pixel or two across their length; the
     deckle path opens and closes at the same y so the tile shows no seam. */
  --rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='10'%3E%3Cpath d='M2 6C30 3.4 56 8.2 84 5.6 112 3 140 8.4 168 5.4 196 2.6 224 7.8 252 5.2 280 2.8 302 7 318 5' fill='none' stroke='%23E4D2C4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='16' preserveAspectRatio='none'%3E%3Cpath d='M4 11.5C38 3.4 72 12.6 106 6.2 132 1.3 158 9.4 178 6 186 4.6 192 6.4 196 8' fill='none' stroke='%23E6809D' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --deckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='14'%3E%3Cpath d='M0 14V6.8c11-3.4 21 2.8 32 1.1s19-5.6 31-3.2 23 6.1 35 4 26-7 42-1.9V14Z' fill='%23F8EADC'/%3E%3C/svg%3E");
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem;
  /* hold the scrollbar's track open even when the page does not scroll, so locking
     the page behind the product sheet cannot shift the layout under it */
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url("../assets/paper.png") repeat;
  font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* several live-shop blocks are flex or grid and are toggled with [hidden];
   without this their display would win and they would stay on screen */
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 600; line-height: 1.1;
  margin: 0; letter-spacing: -.015em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--rose); text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2.5px solid var(--rose); outline-offset: 3px; border-radius: 6px;
}

.wrap { width: min(100% - var(--bleed) * 2, 1180px); margin-inline: auto; }
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 90;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 999px;
}

.script { font-family: var(--script); font-weight: 400; color: var(--pink); line-height: 1; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem;
  border: 1.5px solid var(--btn-line);
  /* a pill, but with four different corner radii so it never reads as machined */
  border-radius: 1.7rem 1.35rem 1.8rem 1.45rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), background-color .18s, border-color .18s, color .18s;
}
.btn:hover  { transform: translateY(-1px) rotate(-.5deg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--rose); --btn-fg: #fff; --btn-line: var(--rose); }
.btn--primary:hover { --btn-bg: var(--rose-dark); --btn-line: var(--rose-dark); }
.btn--ghost:hover { --btn-line: var(--ink); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:disabled:hover { transform: none; }
.btn--lg    { padding: .95rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ── header ──────────────────────────────────────────────────────────────── */
.head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
}
/* a drawn rule instead of a border, so the header edge is never straight */
.head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 10px;
  background: var(--rule) repeat-x; opacity: 0;
  transition: opacity .25s; pointer-events: none;
}
.head.is-stuck::after { opacity: 1; }

.head__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: auto; transform: rotate(-4deg); }
.brand__name {
  font-family: var(--display); font-weight: 600; font-size: 1.0625rem;
  letter-spacing: .06em; text-transform: uppercase;
}

.nav { display: flex; gap: 1.75rem; margin-inline: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: .25rem 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -5px; height: 8px;
  background: var(--swash) no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.2,.8,.3,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.head__cta { display: flex; align-items: center; gap: .6rem; }
.bag {
  position: relative; display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; padding: 0; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 1.15rem .95rem 1.25rem 1rem;
  background: transparent; cursor: pointer; transition: border-color .18s;
}
.bag:hover { border-color: var(--ink); }
.bag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bag__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 1.2rem; height: 1.2rem; padding: 0 .25rem;
  display: grid; place-items: center;
  background: var(--rose); color: #fff; border-radius: 999px;
  font-size: .6875rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transform: scale(0); transition: transform .2s cubic-bezier(.2,1.5,.4,1);
}
.bag__count.is-on { transform: scale(1); }

.burger { display: none; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 20px; height: 1.6px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }

/* ── section headers ─────────────────────────────────────────────────────── */
.sect { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.sect--left { margin-inline: 0; text-align: left; }
.sect__eyebrow { font-size: 1.9rem; margin: 0 0 .1em; transform: rotate(-2deg); }
.sect__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.sect__lede { color: var(--ink-soft); margin-top: .9rem; }

/* ── home: hero ──────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--sect); }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__script { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0 0 -.3em .12em; transform: rotate(-2.5deg); transform-origin: left; }
.hero__title { font-size: clamp(3rem, 8vw, 5.75rem); letter-spacing: -.03em; margin: 0 0 1.1rem; }

/* the drawn underline sits under one word, not the whole line */
.swash { position: relative; display: inline-block; }
.swash::after {
  content: ""; position: absolute; left: -.04em; right: -.06em; bottom: -.06em; height: .12em;
  background: var(--swash) no-repeat center / 100% 100%;
}

.hero__lede { max-width: 38ch; color: var(--ink-soft); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.hero__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
/* a drawn blob, not a circle */
.blob {
  position: absolute; inset: 4% 6% 7% 4%;
  background: var(--blush);
  border-radius: 67% 33% 58% 42% / 38% 62% 38% 62%;
  transform: rotate(-11deg);
}
.hero__cookie { position: relative; width: 76%; filter: var(--cast); --spin: -7deg; transform: rotate(-7deg); animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-13px) rotate(var(--spin, 0deg)); } }

/* ── home: collection preview ────────────────────────────────────────────── */
.collection { padding-bottom: clamp(3rem, 6vw, 5rem); }
.tiles { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(9rem, 45%), 1fr)); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(5, 1fr); } }

.tile { transform: rotate(var(--tilt, 0deg)); transition: transform .3s cubic-bezier(.2,.8,.3,1); }
.tile:hover { transform: rotate(0deg) translateY(-5px); }
.tile a {
  display: grid; gap: .25rem; justify-items: center;
  text-decoration: none; color: var(--ink);
  background: var(--tint, var(--blush));
  border-radius: 26px 20px 28px 22px;
  padding: 1rem 1rem 1.2rem;
}
.tile__pic { display: block; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.tile__pic img {
  width: 92%; filter: drop-shadow(0 16px 14px rgba(88,52,36,.22));
  transform: rotate(var(--spin, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.tile:hover .tile__pic img { transform: rotate(calc(var(--spin, 0deg) * -1)) scale(1.05); }
.tile__name { font-family: var(--display); font-weight: 600; font-size: .875rem; text-align: center; line-height: 1.25; }

.collection__foot { text-align: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
/* order first, browse-aid second — the two sit slightly off each other's line */
.collection__foot--pair { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; }
.collection__foot--pair .btn--ghost { transform: rotate(.6deg); }
.collection__foot--pair .btn--ghost:hover { transform: translateY(-1px) rotate(-.5deg); }

/* ── home: about teaser ──────────────────────────────────────────────────── */
.teaser { position: relative; background: var(--paper-deep); padding: var(--sect) 0; text-align: center; }
.teaser::before, .teaser::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: var(--deckle) repeat-x;
}
/* the tile's ink sits in its lower half, so the strip must hang OUTSIDE the
   band — put it inside and the torn shapes land on the band's own colour */
.teaser::before { top: -13px; }
.teaser::after  { bottom: -13px; transform: scaleY(-1); }
.teaser__in { max-width: 40rem; margin-inline: auto; }
.teaser p { color: var(--ink-soft); margin: 1.1rem 0 1.6rem; }

/* ── shop ────────────────────────────────────────────────────────────────── */
.shop { padding: clamp(2.5rem, 6vw, 4rem) 0 var(--sect); }
.shop__head { margin-bottom: 1.5rem; }
.shop__location {
  margin: .45rem 0 0; font-family: var(--sans); font-size: .9375rem;
  line-height: 1.5; color: var(--ink-soft);
}
.shop__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding-bottom: .9rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--rule) repeat-x bottom;
  font-size: .8125rem; color: var(--ink-faint);
}

.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.collections { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.collection-group__head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: .35rem 1.5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.collection-group__copy { min-width: min(100%, 28rem); }
.collection-group__head h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.collection-group--classics { padding-top: clamp(1.5rem, 3vw, 2.25rem); background: var(--swash) repeat-x top; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--tint, var(--blush));
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 26px 20px 28px 22px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
  scroll-margin-top: 7rem;
}
.card:hover { transform: rotate(0deg) translateY(-5px); }
.card__pic { position: relative; aspect-ratio: 1; margin: -.25rem 0 1rem; display: grid; place-items: center; }
.card__pic img {
  width: 92%; filter: drop-shadow(0 18px 15px rgba(88,52,36,.24));
  transform: rotate(var(--spin, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.card:hover .card__pic img { transform: rotate(calc(var(--spin, 0deg) * -1)) scale(1.05); }
.card__name { font-size: 1.125rem; line-height: 1.25; margin-bottom: .5rem; }
.card__desc { font-size: .875rem; color: var(--ink-soft); margin-bottom: 1.2rem; flex: 1; }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card__price { font-weight: 700; font-variant-numeric: tabular-nums; }

.step { display: flex; align-items: center; gap: .1rem; background: var(--white); border-radius: 999px; padding: .2rem; }
.step button {
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 1.05rem; line-height: 1; color: var(--ink); transition: background-color .15s;
}
.step button:hover { background: var(--paper-deep); }
.step output { min-width: 1.2rem; text-align: center; font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; }

.card__add {
  padding: .55rem 1.1rem; font-size: .8125rem; font-weight: 500;
  border: 1.5px solid var(--ink); background: transparent; cursor: pointer;
  border-radius: 1.25rem 1rem 1.35rem 1.1rem;
  transition: background-color .18s, color .18s;
}
.card__add:hover { background: var(--ink); color: var(--paper); }

/* The Full Collection Box has no cutout of its own, so it shows a pile of the
   five real ones instead — it is literally one of each. Offsets and per-image
   rotations are hand-set in js/site.js; nothing here lines up on a grid. */
.stack { position: relative; display: block; aspect-ratio: 1; }
.stack img {
  position: absolute; width: 46%;
  filter: drop-shadow(0 14px 12px rgba(88,52,36,.22));
  transform: rotate(var(--r, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.card:hover .card__pic.stack img { transform: rotate(calc(var(--r, 0deg) * -1)) scale(1.06); }
.line__pic { width: 2.75rem; }

/* ── about ───────────────────────────────────────────────────────────────
   Kept short on purpose: the socials below should show a sliver above the
   fold on a laptop, so this section must not fill the viewport on its own. */
.about { padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem); }
.about__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
/* a print in a paper mount, pinned on slightly crooked */
.about__pic {
  margin: 0; max-width: 22rem; background: var(--white); padding: .8rem .8rem 2.7rem;
  border-radius: 6px 5px 7px 4px; transform: rotate(-1.6deg); box-shadow: var(--lift);
  position: relative;
}
.about__slot {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: var(--paper-deep); border-radius: 3px;
  color: var(--ink-faint); font-size: .875rem;
}
/* The real print. 4:5 matches the asset, so the photo fills the mount with no
   letterboxing and no second crop happening in CSS where nobody can see it. */
.about__photo {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: 3px; background: var(--paper-deep);
}
.about__pic figcaption {
  position: absolute; left: 0; right: 0; bottom: .75rem;
  text-align: center; font-family: var(--script); font-size: 1.3rem; color: var(--ink-faint);
  transform: rotate(-1deg);
}
.about__copy p { color: var(--ink-soft); max-width: 46ch; margin-bottom: .8em; }
.about__copy .sect__title { margin-bottom: .9rem; }

/* ── socials ─────────────────────────────────────────────────────────────── */
.socials { position: relative; background: var(--paper-deep); padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 var(--sect); }
.socials .sect { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.socials::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
  background: var(--deckle) repeat-x;
}
.socials__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }

/* --brand tints the hover border; --pill is the same colour darkened enough to
   carry white text at AA. True YouTube red fails, so only the logo mark uses it. */
.social { --brand: var(--ink); --pill: var(--ink); }
.social--fb { --brand: #1877F2; --pill: #0B5FCC; }
.social--ig { --brand: #D62976; --pill: #C0246A; }
.social--tt { --brand: #010101; --pill: #010101; }
.social--yt { --brand: #FF0000; --pill: #C40000; }

/* the <li> stretches to the tallest card in the row, so the <a> — which is the
   card people actually see — has to fill it, or a wrapped handle makes one card taller */
.social { display: grid; }
.social a {
  display: grid; justify-items: center; align-content: center; height: 100%;
  gap: .35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem;
  background: var(--white); border-radius: 26px 20px 28px 22px;
  text-decoration: none; color: var(--ink);
  border: 1.5px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s;
}
.social:nth-child(1) a { transform: rotate(-.8deg); }
.social:nth-child(3) a { transform: rotate(.9deg); }
.social a:hover { transform: rotate(0deg) translateY(-5px); border-color: var(--brand); }
.social__mark { width: clamp(52px, 6vw, 64px); margin-bottom: .5rem; }
.social__name { font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.social__handle { font-size: .875rem; color: var(--ink-faint); }
.social__go {
  margin-top: .7rem; padding: .4rem 1.1rem;
  border-radius: 1.1rem .9rem 1.2rem 1rem;
  background: var(--pill); color: #fff;
  font-size: .8125rem; font-weight: 500;
}

/* ── footer ──────────────────────────────────────────────────────────────── */
.foot { position: relative; background: var(--paper-deep); padding: calc(var(--sect) + 1rem) 0 2.5rem; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: var(--deckle) repeat-x; }
/* the socials band is already paper-deep, so no torn seam between them */
.socials + .foot::before { display: none; }
.foot__in { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.foot__brand img { width: min(300px, 70%); transform: rotate(-1.2deg); }
.foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.foot h3 { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .8rem; }
.foot li { margin-bottom: .5rem; font-size: .9375rem; color: var(--ink-soft); }
/* footer links read as links: underlined in ink, never in the click colour, which stays reserved for buttons */
.foot li a {
  color: var(--ink-soft); text-decoration: underline;
  text-decoration-thickness: 1px; text-decoration-color: rgba(126, 103, 92, .45);
  text-underline-offset: .2em;
}
.foot li a:hover { color: var(--rose); text-decoration-color: currentColor; }

/* the Follow column carries the platform marks, drawn in ink so they sit with the
   rest of the footer instead of dragging four brand palettes into it */
.foot__social a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.foot__social a svg { width: 1rem; height: 1rem; flex: none; color: var(--ink-faint); }
.foot__social a span {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: rgba(126, 103, 92, .45); text-underline-offset: .2em;
}
.foot__social a:hover svg, .foot__social a:hover span { color: var(--rose); }
.foot__social a:hover span { text-decoration-color: currentColor; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; padding-top: 1.75rem; background: var(--rule) repeat-x top; font-size: .8125rem; color: var(--ink-faint); margin: 0; }

/* ── box drawer ──────────────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(46,31,25,.35); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.drawer.is-open::before { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(24rem, 100%); background: var(--paper) url("../assets/paper.png") repeat;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.2,.8,.3,1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gap); background: var(--rule) repeat-x bottom; }
.drawer__head h2 { font-size: 1.25rem; }
.drawer__x { border: 0; background: none; font-size: 1.75rem; line-height: 1; cursor: pointer; padding: 0 .25rem; color: var(--ink-soft); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--gap); display: grid; gap: .5rem; align-content: start; }
.drawer__foot { padding: var(--gap); background: var(--rule) repeat-x top; }
.drawer__note { font-size: .75rem; color: var(--ink-faint); margin: .8rem 0 0; text-align: center; }

.line {
  display: grid; grid-template-columns: 2.75rem 1fr auto; gap: .85rem; align-items: center;
  padding: .7rem; border-radius: 18px 14px 16px 20px;
  background: var(--white); border: 1px solid var(--line);
}
/* only the plain thumbnail: the bundle pile is `.stack img` at 46%, and an unscoped
   `.line img` rule beats that and blows the pile out of the row. */
.line > img { width: 2.75rem; height: auto; }
.line > div:not(.step) { min-width: 0; }
.line__name { font-family: var(--display); font-weight: 600; font-size: .875rem; line-height: 1.25; overflow-wrap: anywhere; }
.line__price { font-size: .75rem; color: var(--ink-faint); }
.order__empty { padding: 2rem 1rem; text-align: center; color: var(--ink-faint); border: 1.5px dashed var(--line); border-radius: 22px 18px 24px 20px; }
.order__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: .9rem; margin-bottom: .9rem;
  font-family: var(--display); font-size: 1.25rem; font-weight: 600;
}

/* ── reveal on scroll ────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* tilted things must keep their tilt when revealed, or they snap square */
.tile[data-reveal], .card[data-reveal] { transform: translateY(18px) rotate(var(--tilt, 0deg)); }
.tile[data-reveal].is-in, .card[data-reveal].is-in { transform: rotate(var(--tilt, 0deg)); }
.about__pic[data-reveal] { transform: translateY(18px) rotate(-1.6deg); }
.about__pic[data-reveal].is-in { transform: rotate(-1.6deg); }

/* ── responsive ──────────────────────────────────────────────────────────── */
/* four cards need more room than three; two-up before the single column */
@media (max-width: 1040px) and (min-width: 861px) {
  .socials__grid { grid-template-columns: repeat(2, 1fr); max-width: 44rem; margin-inline: auto; }
}

@media (max-width: 980px) {
  .hero__in, .about__in { grid-template-columns: 1fr; }
  .hero__in { text-align: center; }
  .hero__copy { order: 2; }
  .hero__art  { order: 1; width: min(23rem, 74vw); margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .about__pic { order: 2; max-width: 26rem; margin-inline: auto; }
  .about__copy p { max-width: none; }
  .sect--left { text-align: center; margin-inline: auto; }
  .shop__bar { justify-content: center; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .head__in { min-height: 4rem; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); padding: .5rem var(--bleed) 1.25rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; background: var(--rule) repeat-x bottom; font-size: 1rem; }
  .nav a::after { display: none; }
  .socials__grid { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; }
  .social a, .social:nth-child(1) a, .social:nth-child(3) a { transform: none; }
}

@media (max-width: 620px) {
  /* the header carries brand + Order + box + menu on one line down here, so
     everything in it gets a size down; without this the row runs off the page */
  .head__in { gap: .6rem; }
  .brand img { width: 26px; }
  .brand__name { font-size: .9375rem; letter-spacing: .04em; }
  .head__cta .btn { padding: .5rem .95rem; font-size: .8125rem; }
  .bag, .burger { width: 2.3rem; height: 2.3rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.1rem 1.1rem 1.25rem; }
  .foot__legal { flex-direction: column; }
}

/* ==========================================================================
   Live ordering: the drop banner, the checkout, the order page.

   Same three rules as everything above. Four different corner radii on every
   card and button, small hand-set tilts, and --rose still only ever marks
   something you can click. Sold-out and low-stock flags are drawn in ink and
   in the logo pink, never in the click colour.
   ========================================================================== */

.wrap--narrow { width: min(100% - var(--bleed) * 2, 46rem); }

/* ── drop banner ─────────────────────────────────────────────────────────── */
.drop__headline {
  font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink); margin: .4rem 0 0; max-width: 40ch;
}
.drop__state {
  padding-top: .35rem; font-size: .9375rem; color: var(--ink-soft);
  margin: 0; font-variant-numeric: tabular-nums;
}
.drop__state:empty { display: none; }

.facts {
  display: grid; gap: .55rem 2rem; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 1.1rem 1.25rem;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 24px 18px 26px 20px;
  transform: rotate(-.4deg);
}
.facts--panel { transform: rotate(.4deg); margin-bottom: 1.5rem; }
.facts__row { display: grid; grid-template-columns: 7rem 1fr; gap: .2rem .9rem; }
@media (max-width: 560px) { .facts__row { grid-template-columns: 1fr; } }
.facts dt {
  min-width: 7rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); padding-top: .2rem;
}
.facts dd { margin: 0; font-size: .9375rem; color: var(--ink); }

.shop__msg {
  padding: 1.1rem 1.25rem; margin: 0 0 1.5rem;
  background: var(--paper-deep); border-radius: 22px 26px 18px 24px;
  color: var(--ink); transform: rotate(.3deg);
}

/* ── email capture ───────────────────────────────────────────────────────── */
.signup {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); padding: 1.25rem;
  background: var(--blush); border-radius: 26px 20px 28px 22px; transform: rotate(-.5deg);
  max-width: 34rem;
}
.signup > label { display: block; font-weight: 500; margin-bottom: .6rem; }
.signup__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.signup__row input { flex: 1 1 12rem; }
/* With nothing else in the band — an empty shop, or the home page — the
   capture is the only thing there, so it stops hugging the left edge. */
.signup--center { margin-inline: auto; text-align: center; transform: rotate(.5deg); }
.signup--center .signup__row { justify-content: center; }
.teaser .signup { margin-bottom: 0; }
.signup__msg, .field__msg { font-size: .8125rem; color: var(--ink-faint); margin: .55rem 0 0; }
.signup__msg:empty, .field__msg:empty { display: none; }
.is-err { color: var(--rose-dark); }

/* ── inputs ──────────────────────────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: .7rem .9rem;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 16px 12px 18px 14px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink-soft); }

/* ── live cards ──────────────────────────────────────────────────────────── */
.card__flag {
  position: absolute; top: -.6rem; left: 1rem; z-index: 2;
  padding: .25rem .7rem; font-size: .75rem; font-weight: 700;
  background: var(--ink); color: var(--paper);
  border-radius: 12px 9px 13px 10px; transform: rotate(-1.6deg);
}
.card__flag--low { background: var(--pink); color: var(--ink); }
.card__tagline { font-size: .8125rem; color: var(--ink-faint); margin: -.2rem 0 .6rem; }
.card__allergens { font-size: .75rem; color: var(--ink-faint); margin: 0 0 .9rem; }
.card.is-out { opacity: .72; }
.card.is-out .card__pic img { filter: grayscale(.55) drop-shadow(0 18px 15px rgba(88,52,36,.18)); }
.card__pic--bare { background: rgba(255,255,255,.45); border-radius: 22px 18px 24px 20px; }
.line__pic--bare { display: block; width: 2.75rem; aspect-ratio: 1; background: var(--paper-deep); border-radius: 14px 10px 12px 16px; }
.step button:disabled { opacity: .35; cursor: not-allowed; }

.minbar {
  margin: 0 0 1.25rem; padding: .7rem 1rem;
  font-size: .875rem; color: var(--ink);
  background: var(--paper-deep); border-radius: 18px 22px 15px 20px;
  transform: rotate(-.3deg);
}
.minbar.is-met { background: var(--blush); }

/* ── sticky box bar, phones ──────────────────────────────────────────────── */
.cartbar { display: none; }
@media (max-width: 860px) {
  .cartbar {
    position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 80;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .7rem .8rem .7rem 1.1rem;
    background: var(--white); border: 1.5px solid var(--line);
    border-radius: 24px 19px 26px 21px; box-shadow: var(--lift);
  }
  .cartbar[hidden] { display: none; }
  .cartbar__sum { display: grid; line-height: 1.2; }
  .cartbar__sum strong { font-size: .875rem; }
  .cartbar__sum span { font-size: .8125rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
  .shop { padding-bottom: 6rem; }
}

/* ── the drop's promo artwork ────────────────────────────────────────────── */
.drop__hero {
  width: 100%; margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  border-radius: 30px 22px 26px 20px;
  transform: rotate(-.4deg); box-shadow: var(--lift);
}

/* ── product sheet ───────────────────────────────────────────────────────
   Mobile first: a sheet off the bottom edge, so the Add to box action sits
   under a thumb. From 720px up it becomes a centred dialog. */
html.is-locked, html.is-locked body { overflow: hidden; }
/* no scrollbar-gutter (Safari before 18.2): stand in the measured bar width */
@supports not (scrollbar-gutter: stable) {
  html.is-locked { padding-right: var(--sbw, 0px); }
}

.card__open {
  display: block; width: 100%; text-align: left;
  font: inherit; color: inherit; letter-spacing: inherit;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.card__open:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .16em; }
/* only a card that has a sheet behind it reads as clickable; the offline
   fallback grid draws no opener and keeps the default cursor */
.card:has(.card__open) { cursor: pointer; }
.card__buy, .card__flag { cursor: auto; }

.sheet { position: fixed; inset: 0; z-index: 110; }
.sheet::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(46,31,25,.42); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s;
}
.sheet.is-open::before { opacity: 1; }

.sheet__panel {
  position: absolute; inset-inline: 0; bottom: 0;
  max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--paper) url("../assets/paper.png") repeat;
  /* flush with the bottom edge on a phone, so only the top corners are drawn */
  border-radius: 30px 24px 0 0;
  box-shadow: var(--lift);
  transform: translateY(100%); transition: transform .34s cubic-bezier(.2,.8,.3,1);
}
.sheet.is-open .sheet__panel { transform: none; }

.sheet__x {
  position: absolute; top: .7rem; right: .7rem; z-index: 3;
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--ink);
  background: color-mix(in srgb, var(--white) 82%, transparent);
  /* a blob, not a disc */
  border-radius: 48% 52% 44% 56%;
}
.sheet__x:hover { background: var(--white); }

.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; }

.sheet__banner {
  position: relative; background: var(--tint, var(--blush));
  display: grid; place-items: center;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 30px 24px 0 0;
}
.sheet__banner .card__flag { top: auto; bottom: .6rem; left: 1.1rem; }
.sheet__pic { width: min(56%, 11rem); aspect-ratio: 1; display: grid; place-items: center; }
.sheet__pic img { width: 100%; filter: drop-shadow(0 18px 15px rgba(88,52,36,.24)); transform: rotate(var(--spin, 0deg)); }
/* the bundle's pile: same hand-set offsets as the card, so the five cutouts
   stay small and scattered instead of inheriting the single-photo width */
.sheet__pic.stack { width: min(74%, 15rem); }
.sheet__pic.stack img { width: 46%; filter: drop-shadow(0 14px 12px rgba(88,52,36,.22)); transform: rotate(var(--r, 0deg)); }
.sheet__pic--bare { width: min(56%, 11rem); background: rgba(255,255,255,.45); border-radius: 22px 18px 24px 20px; }
.sheet__panel.is-out .sheet__banner img { filter: grayscale(.6) drop-shadow(0 18px 15px rgba(88,52,36,.18)); }

.sheet__copy { padding: 1.15rem var(--gap) 1.4rem; }
.sheet__name { font-size: 1.3rem; line-height: 1.2; margin-bottom: .45rem; }
.sheet__tagline { font-size: .875rem; color: var(--ink-faint); margin: 0 0 .8rem; }
.sheet__desc { font-size: .9375rem; color: var(--ink-soft); margin: 0 0 .9rem; }
.sheet__allergens { font-size: .8125rem; color: var(--ink-faint); margin: 0 0 .4rem; }

.sheet__sub {
  font-family: var(--sans); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  margin: 1.35rem 0 .85rem;
}
.minis { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(6.1rem, 1fr)); }
.mini {
  background: var(--tint, var(--blush));
  border-radius: 20px 15px 22px 17px;
  padding: .5rem .45rem .6rem; text-align: center;
  transform: rotate(var(--tilt, 0deg));
}
.mini img { width: 78%; margin-inline: auto; transform: rotate(var(--spin, 0deg)); filter: drop-shadow(0 10px 9px rgba(88,52,36,.2)); }
.mini__bare { display: block; width: 78%; margin-inline: auto; aspect-ratio: 1; background: rgba(255,255,255,.5); border-radius: 18px 13px 20px 15px; }
.mini__name {
  display: block; margin-top: .45rem;
  font-family: var(--display); font-weight: 600; font-size: .7rem; line-height: 1.2;
}

.sheet__foot {
  padding: .9rem var(--gap) calc(.9rem + env(safe-area-inset-bottom));
  background: var(--rule) repeat-x top;
}
.sheet__act { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .7rem; }
.step--lg button { width: 2.4rem; height: 2.4rem; font-size: 1.2rem; }
.step--lg output { min-width: 1.8rem; font-size: 1rem; }
.sheet__each { font-size: .875rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.sheet__each--only { margin: 0; text-align: center; }
.sheet__gone { margin: 0 0 .7rem; font-size: .875rem; color: var(--ink-soft); text-align: center; }
.sheet__add { justify-content: space-between; padding-inline: 1.25rem; }
.sheet__total { font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 720px) {
  .sheet__panel {
    inset-inline: auto; left: 50%; top: 50%; bottom: auto;
    width: min(33rem, calc(100% - 3rem));
    max-height: min(88dvh, 46rem);
    /* off the bottom edge now, so all four corners are drawn and none match */
    border-radius: 30px 24px 28px 22px;
    transform: translate(-50%, calc(-50% + 1.25rem)); opacity: 0;
    transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .3s;
  }
  .sheet.is-open .sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet__banner { border-radius: 30px 24px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet__panel { transition: none; }
}

/* ── panels, checkout ────────────────────────────────────────────────────── */
.panel {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 26px 20px 28px 22px; padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: var(--gap);
}
.panel__title { font-size: 1.125rem; margin-bottom: .9rem; }
.panel--summary { transform: rotate(-.4deg); }
.co { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .co { grid-template-columns: 1fr 1.05fr; } }
.co__lines { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.co__lines .line { background: var(--paper); }
.co__back { margin: .9rem 0 0; font-size: .875rem; }
.order__total--sm { font-family: var(--sans); font-size: .9375rem; font-weight: 500; padding-bottom: .5rem; margin-bottom: .5rem; }
.order__total strong { font-variant-numeric: tabular-nums; }

.form { transform: rotate(.3deg); }
.field { border: 0; padding: 0; margin: 0 0 1.1rem; }
.field > label, .field legend { display: block; font-weight: 500; margin-bottom: .4rem; font-size: .9375rem; }
.field__hint { color: var(--ink-faint); font-weight: 400; font-size: .8125rem; }
.field__row { display: flex; gap: .6rem; }
.field__row input { flex: 1; }
.field--check { display: flex; align-items: center; gap: .6rem; }
.field--check input { width: 1.15rem; height: 1.15rem; accent-color: var(--rose); }
.field--check label { margin: 0; font-weight: 400; }

.slots { display: grid; gap: 1.1rem; max-height: 22rem; overflow-y: auto; padding-right: .2rem; }
.slots__title { font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .5rem; }
.slots__zone { text-transform: none; letter-spacing: 0; font-weight: 400; }
.slots__grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.slot {
  position: relative;
  display: grid; gap: .1rem; padding: .6rem .75rem; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 17px 13px 19px 15px;
}
.slot:nth-child(even) { transform: rotate(.4deg); }
.slot:nth-child(odd)  { transform: rotate(-.35deg); }
.slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.slot__time { font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.slot__left { font-size: .75rem; color: var(--ink-faint); }
.slot:has(input:checked) { border-color: var(--rose); background: var(--blush); box-shadow: inset 0 0 0 1px var(--rose); }
.slot:has(input:focus-visible) { outline: 2.5px solid var(--rose); outline-offset: 3px; }
.slot.is-full { opacity: .5; cursor: not-allowed; }

.err {
  margin: 0 0 1rem; padding: .8rem 1rem;
  background: var(--blush); color: var(--rose-dark);
  border: 1.5px solid var(--rose); border-radius: 18px 14px 20px 16px;
  font-size: .9375rem;
}

/* ── order page ──────────────────────────────────────────────────────────── */
.ocode {
  background: var(--blush); border-radius: 28px 22px 26px 20px;
  padding: clamp(1.25rem, 4vw, 2rem); text-align: center;
  margin-bottom: var(--gap); transform: rotate(-.5deg);
}
.ocode__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 .5rem; }
.ocode__code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: clamp(2rem, 9vw, 3.25rem); font-weight: 700; letter-spacing: .06em;
  margin: 0; line-height: 1.1; word-break: break-all;
}
.ocode__status { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: .9rem 0 0; }
.pill {
  padding: .3rem .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: var(--ink); color: var(--paper);
  border-radius: 13px 10px 14px 11px;
}
.pill--quiet { background: var(--white); color: var(--ink-soft); text-transform: none; letter-spacing: .02em; font-weight: 500; }

.olines { display: grid; gap: .6rem; margin-bottom: 1.1rem; }
.olines__row { display: grid; grid-template-columns: 2rem 1fr auto; gap: .75rem; align-items: baseline; }
.olines__qty { font-weight: 700; font-variant-numeric: tabular-nums; }
.olines__name { font-size: .9375rem; }
.olines__name small { display: block; font-size: .75rem; color: var(--ink-faint); }
.olines__amt { font-variant-numeric: tabular-nums; font-weight: 500; }
.onote { font-size: .875rem; color: var(--ink-soft); margin: 1rem 0 0; }
.onote span { font-weight: 700; }
.pay { margin: 0; white-space: pre-line; }
.ohelp { font-size: .875rem; }
.oacts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.btn--warn { --btn-line: var(--line); color: var(--ink-soft); }
.btn--warn:hover { --btn-line: var(--rose); color: var(--rose-dark); }
.ocancel { margin: .9rem 0 0; font-size: .875rem; color: var(--ink-soft); }
.ocancel:empty { display: none; }
.unsub { margin: 0 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .tile[data-reveal], .card[data-reveal] { transform: rotate(var(--tilt, 0deg)); }
}

/* ── order conversation ──────────────────────────────────────────────────────
   The customer's side of the thread on their order. Same hand-drawn rules as
   everything else: four different corner radii per bubble, a hair of rotation,
   nothing perfectly aligned. Their own messages sit right on the blush tint;
   the kitchen's sit left on paper, so which side of the conversation you are
   reading is legible before you read a word. */
.othread { display: grid; gap: .75rem; margin-bottom: 1.1rem; max-height: 26rem; overflow-y: auto; }
.omsg { display: flex; }
.omsg--mine { justify-content: flex-end; }
.omsg--shop { justify-content: flex-start; }
.omsg__b {
  max-width: 85%; padding: .7rem .95rem;
  border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 20px 15px 22px 16px;
}
.omsg--mine .omsg__b { background: var(--blush); border-color: var(--pink); transform: rotate(.35deg); }
.omsg--shop .omsg__b { transform: rotate(-.3deg); }
.omsg__t { margin: 0; font-size: .9375rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.omsg__m { margin: .35rem 0 0; font-size: .75rem; color: var(--ink-faint); }
.omsg__tag { display: block; font-size: .75rem; color: var(--ink-faint); margin-bottom: .25rem; }
.othread__empty { margin: 0 0 1.1rem; font-size: .875rem; color: var(--ink-faint); }
.osend { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-start; }
.osend textarea { min-height: 4.5rem; }
.omsg__err { margin: .55rem 0 0; font-size: .8125rem; color: var(--rose-dark); }
.omsg__err:empty { display: none; }
