:root {
  --paper: #f1ebdd;
  --paper-2: #e7dfcc;
  --paper-3: #dcd2bb;
  --ink: #1a2316;
  --ink-2: #3c4636;
  --ink-muted: #5d6656;
  --line: rgba(26, 35, 22, 0.14);
  --forest: #1c2818;
  --forest-2: #2f4426;
  --cream: #f1ebdd;
  --cream-muted: rgba(241, 235, 221, 0.72);
  --verm: #b03a22;
  --verm-hover: #962f1a;
  --pink: #f06cc0;

  --font-display: 'Boska', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --text-hero: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--verm); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: radial-gradient(120% 140% at 50% 0%, #141414 0%, var(--forest-2) 100%);
  color: var(--cream);
  padding-top: env(safe-area-inset-top);
}
.topbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s6);
  min-height: 56px;
}
.brand img { height: 30px; width: auto; }
.desknav { display: none; gap: var(--s6); font-size: var(--text-sm); font-weight: 500; letter-spacing: .01em; }
.desknav a { text-decoration: none; opacity: .78; padding: 8px 2px; border-bottom: 1.5px solid transparent; transition: opacity .2s, border-color .2s; }
.desknav a:hover { opacity: 1; }
.desknav a[aria-current="page"] { opacity: 1; border-color: var(--pink); }
.iconbtn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px;
  background: rgba(241, 235, 221, .08); border: 1px solid rgba(241, 235, 221, .16); cursor: pointer;
  transition: background .2s;
}
.iconbtn:hover { background: rgba(241, 235, 221, .16); }
.iconbtn--ink { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
.iconbtn--ink:hover { background: var(--paper-3); }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 45;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(28, 40, 24, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(241, 235, 221, .1);
}
.tabbar a {
  display: grid; place-items: center; align-content: center; gap: 3px;
  color: var(--cream-muted); text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .02em;
  transition: color .2s;
}
.tabbar svg { width: 22px; height: 22px; stroke-width: 1.6; }
.tabbar a[aria-current="page"] { color: var(--cream); }
.tabbar a[aria-current="page"] svg { color: var(--pink); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .desknav { display: flex; }
  .brand img { height: 34px; }
}

/* ---------- View transitions ---------- */
#view { outline: none; min-height: 70vh; }
.page { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page, .sheet[open] { animation: none !important; } html { scroll-behavior: auto; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(36px, 6vw, 72px); }
.section--tight { padding-block: clamp(24px, 4vw, 44px); }
.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verm); }
.dark .eyebrow { color: var(--cream-muted); }
.dark .eyebrow::before { background: var(--pink); }
.h-section { font-family: var(--font-display); font-size: var(--text-xl); margin-top: 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.textlink { font-size: var(--text-sm); font-weight: 600; color: var(--verm); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-height: 44px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.textlink svg { width: 16px; height: 16px; }
.muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .15s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--verm); color: #fff8ee; }
.btn--primary:hover { background: var(--verm-hover); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.dark .btn--ghost { border-color: rgba(241,235,221,.28); color: var(--cream); }
.dark .btn--ghost:hover { background: rgba(241,235,221,.1); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero ---------- */
.dark { background: var(--forest); color: var(--cream); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.95); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,20,.35) 0%, rgba(28,40,24,.55) 45%, rgba(28,40,24,.97) 100%);
}
.hero__inner { padding-top: clamp(120px, 26vw, 260px); padding-bottom: clamp(28px, 5vw, 56px); }
.hero h1 { font-family: var(--font-display); font-size: var(--text-hero); font-weight: 500; letter-spacing: -.01em; max-width: 14ch; }
.hero h1 em { font-style: italic; color: #f7c6e4; }
.hero p.lede { margin-top: var(--s4); max-width: 46ch; color: var(--cream-muted); font-size: var(--text-lg); }

.nextshow {
  margin-top: var(--s8);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center;
  background: rgba(241,235,221,.07); border: 1px solid rgba(241,235,221,.16); border-radius: var(--r-lg);
  padding: var(--s5); backdrop-filter: blur(6px); max-width: 640px;
}
.nextshow .btn-row { grid-column: 1 / -1; }
@media (min-width: 640px) { .nextshow { grid-template-columns: auto 1fr auto; } .nextshow .btn-row { grid-column: auto; } }
.datebox {
  width: 68px; text-align: center; border-radius: var(--r-md); padding: 8px 0 10px;
  background: var(--cream); color: var(--ink);
}
.datebox__m { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--verm); }
.datebox__d { font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-top: 2px; font-weight: 500; }
.datebox__w { font-size: 11px; font-weight: 500; color: var(--ink-muted); margin-top: 2px; }
.nextshow__meta { min-width: 0; }
.nextshow__venue { font-weight: 600; font-size: var(--text-base); }
.nextshow__sub { color: var(--cream-muted); font-size: var(--text-sm); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--pink); color: #2a0b1e; margin-bottom: 6px;
}
.pill--soft { background: var(--paper-2); color: var(--ink-2); }
.pill--verm { background: var(--verm); color: #fff8ee; }

/* ---------- Release feature ---------- */
.feature {
  display: grid; gap: var(--s6); align-items: center;
}
@media (min-width: 820px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s12); } }
.feature__art { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 18px 40px -18px rgba(26,35,22,.45); aspect-ratio: 1; background: var(--paper-2); }
.feature__art img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-family: var(--font-display); font-size: var(--text-2xl); margin-top: 8px; }
.feature .meta { color: var(--ink-muted); font-size: var(--text-sm); margin-top: 6px; }
.feature .blurb { margin-top: var(--s4); max-width: 48ch; color: var(--ink-2); }
.player { margin-top: var(--s5); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); min-height: 120px; }
.player iframe { display: block; width: 100%; border: 0; }

/* ---------- Rails & grids ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: var(--s4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(220px, 34%); } }
@media (min-width: 1000px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }

.grid-merch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s6) var(--s4); }
@media (min-width: 900px) { .grid-merch { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s10) var(--s6); } }

.product { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; display: block; width: 100%; color: inherit; text-decoration: none; }
.product__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.035); }
.product__tag { position: absolute; top: 10px; left: 10px; }
.product__name { margin-top: 10px; font-weight: 600; font-size: var(--text-sm); line-height: 1.3; }
.product__row { display: flex; justify-content: space-between; gap: 8px; font-size: var(--text-sm); color: var(--ink-muted); margin-top: 2px; }
.product__price { color: var(--ink); font-variant-numeric: tabular-nums; }
.stock-out .product__img img { filter: grayscale(.6) opacity(.75); }

.grid-music { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s6) var(--s4); }
@media (min-width: 640px) { .grid-music { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1000px) { .grid-music { grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--s8) var(--s5); } }
.release { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; width: 100%; }
.release__art { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); box-shadow: 0 10px 22px -16px rgba(26,35,22,.6); }
.release__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.release:hover .release__art img { transform: scale(1.04); }
.release__title { margin-top: 10px; font-weight: 600; font-size: var(--text-sm); line-height: 1.3; }
.release__meta { font-size: var(--text-xs); color: var(--ink-muted); margin-top: 2px; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s6); }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: var(--text-sm); font-weight: 500; white-space: nowrap; transition: background .2s, color .2s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Page headers ---------- */
.pagehead { padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(16px, 3vw, 28px); }
.pagehead h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-top: 10px; }
.pagehead p { margin-top: 10px; max-width: 54ch; color: var(--ink-2); }
.banner { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
@media (max-width: 640px) { .banner { aspect-ratio: 4 / 3; } }
@media (min-width: 1000px) { .banner { aspect-ratio: 21 / 8; } }

/* ---------- Shows ---------- */
.shows { display: grid; gap: var(--s4); }
.show {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: start;
  padding: var(--s5); border-radius: var(--r-lg); background: #f7f2e7; border: 1px solid var(--line);
}
.show .datebox { background: var(--forest); color: var(--cream); }
.show .datebox__m { color: var(--pink); }
.show .datebox__w { color: var(--cream-muted); }
.show h3 { font-size: var(--text-lg); font-weight: 600; font-family: var(--font-body); line-height: 1.25; }
.show__sub { color: var(--ink-muted); font-size: var(--text-sm); margin-top: 4px; }
.show__note { margin-top: 8px; font-size: var(--text-sm); color: var(--ink-2); }
.show .btn-row { margin-top: var(--s4); }
@media (max-width: 520px) { .show .btn-row { grid-column: 1 / -1; } .show .btn-row .btn { flex: 1 1 auto; } }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.timeline time { font-size: var(--text-sm); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.timeline strong { display: block; font-weight: 600; }
.timeline span { font-size: var(--text-sm); color: var(--ink-muted); }

.empty {
  border: 1px dashed var(--paper-3); border-radius: var(--r-lg); padding: var(--s8) var(--s6); text-align: center; color: var(--ink-2);
}
.empty > svg { width: 36px; height: 36px; color: var(--verm); margin: 0 auto var(--s3); animation: sway 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------- Press ---------- */
.quote-band { position: relative; overflow: hidden; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-2xl); font-style: italic; line-height: 1.15; max-width: 22ch; }
.quote-band cite { display: block; margin-top: var(--s5); font-style: normal; font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; color: var(--cream-muted); }
.quote-dots { display: flex; gap: 6px; margin-top: var(--s6); }
.quote-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.quote-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(241,235,221,.3); transition: background .2s, transform .2s; }
.quote-dots button[aria-current="true"]::before { background: var(--pink); transform: scale(1.25); }
.fade-swap { transition: opacity .35s var(--ease); }

.presslist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pressitem {
  display: grid; gap: 8px; padding: var(--s6) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
@media (min-width: 820px) { .pressitem { grid-template-columns: 220px 1fr auto; gap: var(--s8); align-items: baseline; } }
.pressitem__outlet { font-weight: 600; }
.pressitem__kind { font-size: var(--text-xs); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .12em; display: block; margin-top: 2px; }
.pressitem q { font-family: var(--font-display); font-size: var(--text-xl); font-style: italic; line-height: 1.2; quotes: "\201C" "\201D"; }
.pressitem__title { display: block; font-size: var(--text-sm); color: var(--ink-muted); margin-top: 8px; }
.pressitem__go { color: var(--verm); font-size: var(--text-sm); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.pressitem__go svg { width: 16px; height: 16px; }
.pressitem:hover q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s10); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s16); } }
.prose { font-size: var(--text-lg); line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ink); margin: 1.4em 0 .4em; }
.prose em { font-style: italic; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: var(--text-sm); }
.facts dt, .facts .k { color: var(--ink-muted); }
.facts .v { color: var(--ink); font-weight: 500; }
.contact-card { margin-top: var(--s8); padding: var(--s6); border-radius: var(--r-lg); background: var(--forest); color: var(--cream); }
.contact-card h3 { font-family: var(--font-display); font-size: var(--text-xl); }
.contact-card p { color: var(--cream-muted); font-size: var(--text-sm); margin: 6px 0 var(--s4); }

/* ---------- Journal ---------- */
.posts { display: grid; gap: var(--s8); }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s10) var(--s8); } }
.post-card { text-decoration: none; color: inherit; display: block; }
.post-card__img { aspect-ratio: 3 / 2; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__meta { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: var(--text-xs); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.post-card h3 { font-family: var(--font-display); font-size: var(--text-xl); margin-top: 6px; }
.post-card p { margin-top: 6px; color: var(--ink-2); font-size: var(--text-sm); }
.posts--feature .post-card:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .posts--feature .post-card:first-child { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s8); align-items: center; }
  .posts--feature .post-card:first-child .post-card__meta { margin-top: 0; }
  .posts--feature .post-card:first-child h3 { font-size: var(--text-2xl); }
}
.article { max-width: 720px; margin: 0 auto; }
.article__img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s8); background: var(--paper-2); }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-family: var(--font-display); font-size: var(--text-2xl); margin-top: 10px; }
.article .prose { margin-top: var(--s8); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); text-decoration: none; min-height: 44px; }
.back svg { width: 18px; height: 18px; }

/* ---------- More ---------- */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 64px;
}
.menu-list .t { font-family: var(--font-display); font-size: var(--text-xl); }
.menu-list .d { font-size: var(--text-sm); color: var(--ink-muted); display: block; }
.menu-list svg { width: 20px; height: 20px; color: var(--ink-muted); flex: none; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: var(--text-sm); font-weight: 500;
}
.social:hover { background: var(--paper-2); }
.social img { width: 18px; height: 18px; }
.dark .social { border-color: rgba(241,235,221,.2); }
.dark .social:hover { background: rgba(241,235,221,.08); }

/* ---------- Newsletter / footer ---------- */
.signup { display: grid; gap: var(--s6); }
@media (min-width: 820px) { .signup { grid-template-columns: 1fr 1fr; align-items: end; } }
.signup h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.signup p { color: var(--cream-muted); margin-top: 6px; font-size: var(--text-sm); }
.field { display: flex; gap: 8px; background: rgba(241,235,221,.08); border: 1px solid rgba(241,235,221,.2); border-radius: 999px; padding: 4px; }
.field input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--cream); padding: 0 14px; font: inherit; font-size: var(--text-base); min-height: 44px;
}
.field input::placeholder { color: rgba(241,235,221,.55); }
.field input:focus { outline: none; }
.field:focus-within { border-color: var(--pink); }
.form-msg { font-size: var(--text-sm); margin-top: 10px; min-height: 1.4em; color: var(--cream-muted); }
.form-msg.ok { color: #c9e8b8; }
.form-msg.err { color: #ffb4a1; }
.footer { padding-block: var(--s10) calc(var(--s10)); }
.footer__bottom { margin-top: var(--s10); padding-top: var(--s6); border-top: 1px solid rgba(241,235,221,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); font-size: var(--text-xs); color: var(--cream-muted); }
.footer__bottom img { height: 22px; width: auto; }

/* ---------- Sheet ---------- */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 92dvh;
  background: var(--paper); color: var(--ink); border-radius: 22px 22px 0 0; overflow: auto;
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.5);
}
.sheet::backdrop { background: rgba(14, 20, 12, .62); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheetup .38s var(--ease); }
@keyframes sheetup { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) { .sheet { margin: auto; border-radius: 22px; max-height: 88vh; } .sheet__grab { display: none; } }
.sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: var(--paper-3); margin: 10px auto 0; }
.sheet__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; }
.sheet__close svg { width: 20px; height: 20px; }
.sheet__body { padding: var(--s6) var(--s6) calc(var(--s8) + env(safe-area-inset-bottom)); clear: both; }
.sheet__hero { display: grid; grid-template-columns: 120px 1fr; gap: var(--s5); align-items: end; margin-top: -8px; }
.sheet__hero img { border-radius: var(--r-sm); aspect-ratio: 1; object-fit: cover; width: 120px; box-shadow: 0 12px 26px -16px rgba(26,35,22,.6); }
.sheet h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.sheet .meta { font-size: var(--text-sm); color: var(--ink-muted); margin-top: 4px; }
.sheet .prod-img { aspect-ratio: 4/5; max-height: 52dvh; width: 100%; object-fit: cover; border-radius: var(--r-md); margin-top: -8px; }
.sheet .desc { margin-top: var(--s4); color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Misc ---------- */
.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper-3) 50%, var(--paper-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.split { display: grid; gap: var(--s8); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s12); } }
.stamp { font-size: var(--text-xs); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-size: var(--text-sm); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); z-index: 60; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 24px; } }
