/* NUTTINBUTT.COM — "Trail Cam"
   Every image is a capture with a burned-in data strip. Colors, fonts and spacing live in :root below.
   Change them there, not further down. */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 780; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Bitcount"; src: url("/fonts/bitcount.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bark: #171a14;          /* main ground: home, shop, product, cart */
  --bark-2: #231f18;        /* raised ground: warm bark-brown for alternating sections, footer */
  --bark-3: #353024;        /* hairlines and control fills on bark */
  --bark-4: #433c2e;        /* hover fill for controls on bark */
  --strip: #0a0b09;         /* burned-in data strip */
  --strip-text: #f4f2ea;
  --text: #e9ece3;          /* body text on bark */
  --text-soft: #d9ddd2;
  --lichen: #b8c2a8;        /* secondary text on bark */
  --tan: #d8b77a;           /* links and "free shipping" on bark */
  --blaze: #ff6a13;         /* the only bright color: actions, count, REC, selected */
  --blaze-hover: #ff7f33;
  --daylight: #eceee6;      /* reading ground */
  --ink: #171a14;           /* text on daylight and on blaze */
  --ink-muted: #4a5243;     /* secondary text on daylight */
  --link-day: #2f5a1e;      /* links on daylight */
  --rule-day: #cdd1c5;
  --white: #fff;
  --error-bg: #3a1a12; --error-line: #8a3a24; --error-text: #ffb4a0;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --stamp: "Bitcount", ui-monospace, "Courier New", monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: clamp(56px, 8vw, 88px);
  --r: 4px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bark-2); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; touch-action: manipulation; }
a, button, input, label { -webkit-tap-highlight-color: transparent; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow-x: clip; margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--text); background: var(--bark); -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
body.daylight { color-scheme: light; color: var(--ink); background: var(--daylight); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tan); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--white); text-decoration-thickness: 2.5px; }
.daylight main a:not(.btn) { color: var(--link-day); }
.daylight main a:not(.btn):hover { color: var(--ink); }
::selection { background: var(--blaze); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.02; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--blaze); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 8px; }
.skip:hover { color: var(--ink); }
mark.todo { background: #ffe27a; color: var(--ink); padding: .05em .3em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.muted { color: var(--lichen); }
.daylight .muted { color: var(--ink-muted); }

/* ---------- type voices ---------- */
.display { font-family: var(--display); font-weight: 780; font-stretch: 80%; letter-spacing: -.015em; }
.stamp { font-family: var(--stamp); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
h1.display { font-size: clamp(2.9rem, 12.5vw, 5.4rem); }
h2.display { font-size: clamp(1.9rem, 5.6vw, 3.2rem); }
.lead { font-size: clamp(1.125rem, 2.3vw, 1.3rem); line-height: 1.5; }

/* ---------- the burned-in data strip ---------- */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; margin: 0; padding: 6px 10px 5px;
  background: var(--strip); color: var(--strip-text); font-family: var(--stamp); font-weight: 500; font-size: .82rem; line-height: 1.2;
  letter-spacing: .05em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.strip > span { white-space: nowrap; }
.moon { width: 12px; height: 12px; vertical-align: -1px; margin-right: 6px; }
@media (max-width: 520px) { .wide-only { display: none; } }
.rec { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--blaze); margin-right: 8px; flex: none; }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px;
  border: 0; border-radius: var(--r); background: var(--blaze); color: var(--ink); cursor: pointer; text-decoration: none;
  font-family: var(--display); font-weight: 780; font-stretch: 85%; font-size: 1.2rem; line-height: 1;
  transition: transform 120ms var(--ease-out); }
.btn:hover { background: var(--blaze-hover); color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.daylight .btn--ghost:hover { background: rgba(0,0,0,.06); }
.btn--dark { background: var(--ink); color: var(--strip-text); }
.btn--dark:hover { background: var(--bark-3); color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn--soldout[disabled] { opacity: 1; cursor: not-allowed; background: transparent; color: var(--lichen); box-shadow: inset 0 0 0 2px var(--bark-3); }
.btn svg { width: 18px; height: 18px; flex: none; }
.textlink { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- promo strip + header ---------- */
.promo { margin: 0; justify-content: center; text-align: center; padding: 7px var(--gutter) 6px; column-gap: 22px; }
.promo > span { white-space: normal; }
.narrow-only { display: none; }
@media (max-width: 520px) { .promo { flex-wrap: nowrap; font-size: .72rem; column-gap: 10px; } .promo .narrow-only { display: inline; } .promo .wide-only { display: none; } }
html:not(.xmas) .xmas-only, html.xmas .xmas-hide { display: none !important; }
.promo strong { color: var(--blaze); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bark); border-bottom: 1px solid var(--bark-3); }
.site-header .bar { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 780; font-stretch: 78%; font-size: clamp(1.35rem, 6vw, 1.7rem); letter-spacing: -.01em; color: var(--strip-text); text-decoration: none; margin-right: auto; }
.wordmark:hover { color: var(--white); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--blaze); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; border-radius: 20px; background: var(--bark-3); color: var(--strip-text); text-decoration: none; font-weight: 700; }
.cart-pill:hover { color: var(--white); background: var(--bark-4); }
.cart-pill svg { width: 18px; height: 18px; }
.cart-pill [data-cart-count] { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--blaze); color: var(--ink); font-size: .85rem; font-variant-numeric: tabular-nums; }
.cart-pill.restamp [data-cart-count] { animation: bump 360ms var(--ease-out); }
@keyframes bump { 0% { transform: scale(1.6); } 100% { transform: none; } }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--strip-text); cursor: pointer; border-radius: var(--r); }
.menu-btn svg { width: 26px; height: 26px; }
.menu-btn[aria-expanded="true"] { background: var(--bark-3); }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--bark); border-bottom: 1px solid var(--bark-3); padding: 8px var(--gutter) var(--space-3); box-shadow: 0 24px 30px -16px rgba(0,0,0,.6); }
.nav.is-open li { border-bottom: 1px solid var(--bark-3); }
.nav.is-open a { display: block; padding: 14px 0; font-family: var(--display); font-weight: 780; font-stretch: 80%; font-size: 1.9rem; }
.nav.is-open a[aria-current="page"] { color: var(--blaze); text-decoration: none; }
@media (min-width: 920px) {
  .menu-btn { display: none; }
  .nav { display: block; margin-right: var(--space-3); }
  .nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
}

/* ---------- captures: a photo with a burned-in strip ---------- */
.shot { position: relative; margin: 0; background: #0d0f0b; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.shot::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--white); opacity: 0; pointer-events: none; }
.shot.flash::after { animation: flash 160ms ease-out; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- hero: Leon's trail cam ---------- */
.hero { padding: clamp(14px, 3vw, 36px) 0 var(--space-6); }
.hero__grid { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hero .shot { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
.hero .shot .strip { font-size: clamp(.72rem, 2.6vw, .95rem); padding: 7px 12px 6px; }
.cam-controls { position: absolute; z-index: 4; top: 10px; right: 10px; display: flex; gap: 8px; }
.cam-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r); cursor: pointer;
  background: rgba(10,11,9,.75); color: var(--strip-text); font-family: var(--stamp); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.cam-btn:hover { background: rgba(10,11,9,.92); }
.cam-btn[aria-pressed="true"] { background: var(--blaze); color: var(--ink); }
.cam-btn svg { width: 14px; height: 14px; }
.hero h1 { margin: 0 0 16px; }
.hero .lead { color: var(--text-soft); margin-bottom: var(--space-3); max-width: 34ch; }
.hero__actions { display: grid; gap: 14px; }
.hero__actions .btn { --h: 58px; font-size: 1.35rem; }
@media (min-width: 640px) { .hero__actions { grid-auto-flow: column; justify-content: start; align-items: center; gap: 24px; } }
@media (min-width: 980px) {
  .hero { padding-block: 32px 48px; }
  .hero__grid { grid-template-columns: 1.6fr 1fr; min-height: min(calc(100svh - 150px), 640px); }
  .hero .shot { aspect-ratio: 4 / 3; max-height: min(calc(100svh - 190px), 600px); width: 100%; margin-inline: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--space-6); }
.section--raised { background: var(--bark-2); }
.section--flush-top { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head p { margin: 0; max-width: 46ch; color: var(--lichen); }
.section__more { margin: clamp(24px, 4vw, 40px) 0 0; }
.on-strip { background: var(--strip); color: var(--text); border-top: 1px solid var(--bark-3); }
.page-head { padding-block: clamp(36px, 7vw, 72px) clamp(20px, 4vw, 36px); }
.page-head p { margin: 14px 0 0; max-width: 52ch; color: var(--lichen); }
.daylight .page-head p { color: var(--ink-muted); }
.page-bottom { padding-bottom: var(--space-6); }

/* ---------- product captures grid ---------- */
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 36px) clamp(12px, 2.4vw, 24px); }
@media (min-width: 760px) { .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the 4-up rows (home picks, "More butts") stay 2-up until 4 fit, so no row is left with orphans */
@media (min-width: 760px) and (max-width: 899px) { .caps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .caps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap { display: flex; flex-direction: column; min-width: 0; }
.cap[hidden] { display: none; }
.cap .shot { aspect-ratio: 1; background: var(--white); }
.cap .shot a { display: block; height: 100%; }
.cap .shot img { transition: transform 500ms var(--ease-out); }
.cap .shot a:hover img { transform: scale(1.04); }
.cap .strip { font-size: .72rem; padding: 5px 8px 4px; }
.cap__name { font-family: var(--body); font-weight: 750; font-size: clamp(1rem, 2.4vw, 1.12rem); line-height: 1.25; margin: 12px 0 4px; }
.cap__name a { color: var(--strip-text); text-decoration: none; }
.cap__name a:hover { text-decoration: underline; color: var(--white); }
.cap__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 12px; font-size: .95rem; color: var(--lichen); }
.cap__price { font-weight: 750; color: var(--strip-text); font-variant-numeric: tabular-nums; }
.free { color: var(--tan); font-weight: 600; }
.cap .btn { margin-top: auto; --h: 44px; font-size: 1.05rem; padding: 0 12px; background: var(--bark-3); color: var(--strip-text); }
@media (min-width: 760px) { .cap .btn { align-self: start; padding: 0 22px; } }
.cap .btn:hover, .cap .btn:focus-visible { background: var(--blaze); color: var(--ink); }
.cap .btn.btn--soldout { background: transparent; color: var(--lichen); }

/* ---------- filters (trail-cam app species tags) ---------- */
.filters { display: grid; gap: 12px; margin-bottom: var(--space-4); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 0; margin: 0; padding: 0; }
.filter-group legend { float: left; min-width: 4.5em; margin-right: 6px; font-weight: 700; font-size: 1rem; color: var(--lichen); }
.chip { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--bark-3); color: var(--text); cursor: pointer; font-weight: 650; font-size: 1rem; transition: transform 120ms var(--ease-out); }
.chip:hover { background: var(--bark-4); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--blaze); color: var(--ink); }
.result-count { margin: 0 0 16px; color: var(--lichen); }
.empty-filter { padding: var(--space-4) 0; }

/* ---------- product page ---------- */
.crumbs { font-size: .95rem; margin: 0; padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--lichen); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #5d6652; }
.crumbs a { color: var(--lichen); }
.product { display: grid; gap: clamp(24px, 5vw, 56px); padding-block: 20px var(--space-6); }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; align-items: start; } .product .shot { position: sticky; top: 84px; } }
.product .shot { aspect-ratio: 1; background: var(--white); }
.product .shot .strip { font-size: .85rem; padding: 7px 12px 6px; }
.product h1 { font-size: clamp(2.2rem, 6.5vw, 3.6rem); margin: 0 0 14px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.price-row .price { font-family: var(--display); font-weight: 780; font-stretch: 85%; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.price-row s { font-size: 1.2rem; color: var(--lichen); }
.free-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r); background: var(--bark-3); color: var(--tan); font-weight: 700; font-size: .95rem; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: var(--space-3) 0; }
.buy-soldout { margin: var(--space-3) 0; padding: 14px 16px; border-radius: var(--r); background: var(--bark-3); font-weight: 700; }
.qty { display: inline-flex; align-items: stretch; height: 52px; border-radius: var(--r); background: var(--bark-3); }
.qty button { display: grid; place-items: center; width: 46px; border: 0; background: transparent; color: var(--strip-text); cursor: pointer; border-radius: var(--r); }
.qty button:hover { background: var(--bark-4); }
.qty svg { width: 16px; height: 16px; }
.qty input { width: 44px; border: 0; text-align: center; background: transparent; color: var(--white); font-weight: 750; font-size: 1.2rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm { height: 40px; } .qty--sm button { width: 36px; } .qty--sm input { width: 34px; font-size: 1.05rem; }
.specs { display: grid; grid-template-columns: auto 1fr; margin: var(--space-3) 0; border-top: 1px solid var(--bark-3); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--bark-3); }
.specs dt { padding: 12px 24px 12px 0; font-weight: 700; color: var(--lichen); }
.product .measure p { color: var(--text-soft); }
.clip { margin: var(--space-4) 0 0; max-width: 320px; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--bark-3); border-radius: 4px; }
.clip figcaption { margin-top: 8px; font-size: .9rem; color: var(--lichen); }
.watch { display: grid; gap: var(--space-4); align-items: center; }
.watch p { max-width: 46ch; color: var(--lichen); }
.clip--home { margin: 0; justify-self: center; width: 100%; }
@media (min-width: 760px) { .watch { grid-template-columns: 1fr 320px; } .clip--home { justify-self: end; } }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { margin: 0; height: 100%; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid #d3d7c8; border-radius: var(--r); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; }
.review p { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.4; }
.review .review-link { font-size: 1rem; }
.review figcaption { margin-top: auto; font-weight: 700; }
.review figcaption span { display: block; font-weight: 400; color: var(--ink-muted); font-size: .95rem; }
.review-more { max-width: 60ch; margin: 24px 0 0; color: var(--ink-muted); }
.common { margin-top: var(--space-4); padding-top: 20px; border-top: 1px solid var(--bark-3); }
.common h2 { font-family: var(--body); font-weight: 750; font-size: 1.05rem; margin: 0 0 10px; color: var(--lichen); }
.common ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.common a { color: var(--tan); }

/* ---------- field captures reel ---------- */
.reel { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 380px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(50% - 50vw); padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  scrollbar-width: thin; scrollbar-color: var(--bark-3) transparent; }
.reel:focus-visible { outline-offset: 4px; }
.reel .shot { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.reel .strip { font-size: .72rem; }

/* ---------- camera settings (ways to save) ---------- */
.settings { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bark-3); }
.settings li { display: grid; grid-template-columns: 1fr; gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--bark-3); }
@media (min-width: 760px) { .settings li { grid-template-columns: 16rem 1fr auto; align-items: baseline; } }
.settings__label { font-weight: 750; font-size: 1.05rem; color: var(--strip-text); }
.settings p { margin: 0; color: var(--text-soft); }
.settings .val { font-family: var(--stamp); font-weight: 600; color: var(--tan); letter-spacing: .06em; text-transform: uppercase; }
.code { font-family: var(--stamp); font-weight: 700; letter-spacing: .08em; background: var(--strip); color: var(--blaze); padding: 2px 8px; border-radius: 3px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.0625rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blaze); outline-offset: 1px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup { display: grid; gap: 10px; max-width: 36rem; }
@media (min-width: 640px) { .signup { grid-template-columns: 1fr auto; } }
.signup input { min-height: 56px; padding: 0 16px; border: 2px solid var(--bark-3); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.1rem; }
.signup .btn { --h: 56px; }
.signup-lead { margin: 12px 0 22px; max-width: 42ch; }
.signup-band { display: grid; gap: 4px 48px; }
@media (min-width: 900px) { .signup-band { grid-template-columns: 1fr minmax(0, 34rem); align-items: center; } .signup-band .signup-lead { margin-bottom: 0; } }
.form-status { min-height: 1.6em; margin: 10px 0 0; font-weight: 700; }
.form-status.is-error { color: #8a1600; }
.on-strip .form-status.is-error { color: var(--error-text); }
.on-strip .form-status { color: var(--tan); }

/* ---------- cart ---------- */
.cart-page { --cart-top: clamp(36px, 7vw, 72px); display: grid; gap: 0 var(--space-4); padding-bottom: var(--space-6); }
.cart-page .page-head { padding-top: var(--cart-top); }
.cart-page [data-cart], .cart { display: contents; }
.cart[hidden] { display: none; }
.cart-page .lines { margin-bottom: var(--space-4); }
.cart-page .summary { margin-top: 0; }
@media (min-width: 900px) {
  .cart-page { grid-template-columns: 1fr 360px; grid-template-rows: auto 1fr; align-items: start; }
  .cart-page .page-head, .cart-page .lines, .cart-page [data-cart-empty], .cart-page .error-box { grid-column: 1; }
  .cart-page .summary { grid-column: 2; grid-row: 1 / span 2; margin-top: var(--cart-top); }
}
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bark-3); }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--bark-3); }
.line img { width: 84px; height: 84px; object-fit: cover; background: var(--white); grid-row: span 2; }
.line__name { font-weight: 750; color: var(--strip-text); text-decoration: none; line-height: 1.3; }
.line__name:hover { text-decoration: underline; color: var(--white); }
.line__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.line__price { margin-left: auto; font-weight: 750; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.remove { border: 0; background: none; padding: 8px 0; min-height: 40px; color: var(--lichen); text-decoration: underline; cursor: pointer; font-size: .95rem; }
.remove:hover { color: var(--white); }
.panel { padding: 22px; border-radius: var(--r); background: var(--bark-2); border: 1px solid var(--bark-3); }
.daylight .panel { background: var(--white); border-color: var(--rule-day); }
.summary h2 { font-size: 1.6rem; margin-bottom: 12px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0 0 18px; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total-row { border-top: 1px solid var(--bark-3); padding-top: 10px; margin-top: 4px; } /* default stretch keeps both halves of the rule on one line */
.summary dt.total-row { font-weight: 700; display: flex; align-items: center; }
.summary .total { font-family: var(--display); font-weight: 780; font-stretch: 85%; font-size: 1.8rem; font-variant-numeric: tabular-nums; color: var(--white); }
.summary p { font-size: .95rem; color: var(--lichen); }
.error-box { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error-text); padding: 12px 14px; border-radius: var(--r); margin-top: 12px; }

/* ---------- reading pages (daylight) ---------- */
.prose { padding-bottom: var(--space-6); }
.prose h2 { font-family: var(--display); font-weight: 780; font-stretch: 82%; font-size: clamp(1.5rem, 4vw, 2rem); margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.qa { border-top: 2px solid var(--ink); }
.qa h3 { font-family: var(--body); font-weight: 800; font-stretch: normal; font-size: clamp(1.15rem, 3vw, 1.35rem); margin: 0; padding-top: 22px; }
.qa p { margin: 8px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--rule-day); }
.qa a, .measure a { color: var(--link-day); }
.daylight .qa a { color: var(--link-day); }
.contact-grid { display: grid; gap: var(--space-4); padding-bottom: var(--space-6); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.direct { display: grid; gap: 4px; }
.daylight main .direct a { font-family: var(--display); font-weight: 780; font-stretch: 82%; font-size: clamp(1.7rem, 6vw, 2.4rem); color: var(--ink); text-decoration-color: var(--blaze); text-decoration-thickness: 3px; }
.wholesale { margin-top: var(--space-3); }
.wholesale h2 { font-size: 1.5rem; margin-bottom: 8px; }
.notice { padding: 22px; border-radius: var(--r); border: 2px dashed var(--ink); max-width: 46rem; }
.notice h2 { font-size: 1.6rem; margin-bottom: 10px; }

/* ---------- gallery ---------- */
.gallery { columns: 2 170px; column-gap: 12px; padding-bottom: var(--space-6); }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 18px; } }
.gallery .shot { break-inside: avoid; margin-bottom: 12px; }
.gallery .shot img { height: auto; }
.gallery .shot .strip { position: static; font-size: .7rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bark-2); color: var(--text); padding-block: var(--space-5) var(--space-3); font-size: .98rem; border-top: 1px solid var(--bark-3); }
.site-footer .grid { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--lichen); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text); text-decoration-color: rgba(255,255,255,.3); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--blaze); }
.site-footer .wordmark { font-size: 1.7rem; margin-bottom: 10px; }
.site-footer .legal { margin: var(--space-4) 0 0; color: var(--lichen); font-size: .9rem; }
.site-footer > .strip { justify-content: center; text-align: center; }
.site-footer > .strip > span { white-space: normal; }

/* ---------- added-to-cart slip ---------- */
.toast { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: min(calc(100% - 24px), 460px); transform: translate(-50%, 160%);
  transition: transform 280ms var(--ease-out); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  background: var(--strip); color: var(--strip-text); border-radius: var(--r); box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); }
.toast.is-on { transform: translate(-50%, 0); }
.toast[hidden] { display: none; }
.toast .stamp { font-size: .9rem; }
.toast a { color: var(--blaze); font-weight: 750; white-space: nowrap; }
.toast__undo { border: 0; background: var(--blaze); color: var(--ink); border-radius: var(--r); min-height: 40px; padding: 0 14px; cursor: pointer; font-weight: 750; }

/* High-contrast mode: keep buttons outlined and the selected filter visible */
@media (forced-colors: active) {
  .btn, .chip, .cam-btn, .qty button, .toast__undo, .menu-btn, .cart-pill, .signup input { border: 1px solid ButtonText; }
  .chip[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .strip, mark.todo { forced-color-adjust: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
