/* ==========================================================================
   Sat Market - stylesheet
   Market stall: striped awning, crates, hanging price tags, chalkboard basket.
   System fonts only. No external assets. Light scheme only.
   ========================================================================== */

:root {
  color-scheme: light;

  /* brand colours (text-safe versions flagged) */
  --tangerine: #C2410C;          /* text-safe on cream: 4.8:1 */
  --tangerine-art: #F26A1B;      /* art / large decoration only */
  --tangerine-deep: #9A3412;     /* hover / pressed: white 7.3:1 */
  --teal: #0F7C86;               /* text-safe on cream: 4.6:1 */
  --teal-deep: #0A5159;
  --cream: #FFF6E4;
  --cream-deep: #FBE6BE;
  --paper: #FFFBF2;
  --ink: #231A12;
  --ink-soft: #4A3A2D;           /* muted text: 10:1 on cream */
  --butter: #FFD36B;
  --butter-deep: #F0B73A;

  /* wood + chalk */
  --wood: #A8703A;
  --wood-light: #C48A4F;
  --wood-dark: #6B4220;
  --chalk-bg: #1F2D2B;
  --chalk-bg-2: #17211F;
  --chalk-ink: #F4F0E3;
  --chalk-muted: #C9D6CF;

  /* feedback */
  --error-bg: #FDE8E6;
  --error-ink: #7F1D1D;
  --error-edge: #9F1239;
  --ok-bg: #DDF1EE;
  --ok-ink: #0A3F45;
  --warn-bg: #FFF0BF;

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  --radius: 0.9rem;
  --radius-s: 0.55rem;

  --font-head: "Arial Rounded MT Bold", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --fs-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.95rem);
  --fs-h1: clamp(2.25rem, 1.2rem + 4.8vw, 4.6rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 0 rgba(35, 26, 18, 0.12), 0 14px 24px -16px rgba(35, 26, 18, 0.45);
  --wrap: 72rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(107, 66, 32, 0.07) 1px, transparent 1.4px),
    radial-gradient(rgba(107, 66, 32, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 17px;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 var(--s-3);
  color: var(--ink);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
a { color: var(--tangerine); text-underline-offset: 0.2em; text-decoration-thickness: 0.1em; }
a:hover { color: var(--tangerine-deep); text-decoration-thickness: 0.18em; }
strong { font-weight: 700; }
em { font-style: italic; }
abbr { text-decoration: underline dotted; cursor: help; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--cream-deep); padding: 0.1em 0.35em; border-radius: 0.3em; }

/* focus: double ring, ink outside + butter inside works on any background */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--butter);
  border-radius: 0.3rem;
}
.chalk :focus-visible,
.chalkboard :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--butter);
  box-shadow: 0 0 0 3px var(--chalk-bg-2);
}
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-2); z-index: 100;
  background: var(--butter); color: var(--ink); font-family: var(--font-head);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-s); border: 3px solid var(--ink);
  transform: translateY(-250%); text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 50rem); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: linear-gradient(transparent 55%, var(--butter) 55%);
  padding: 0 0.25em;
  margin-bottom: var(--s-3);
}

/* --------------------------------------------------------------------------
   Awning header
   -------------------------------------------------------------------------- */
.site-header { position: relative; z-index: 5; }

.awning {
  display: block;
  width: 100%;
  height: 82px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 4px 0 rgba(35, 26, 18, 0.16)) drop-shadow(0 12px 8px rgba(35, 26, 18, 0.18));
}

.bar {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  padding: 34px 0 var(--s-3);
  background: var(--paper);
  border-bottom: 3px solid var(--wood-dark);
  box-shadow: 0 6px 0 -3px var(--wood), 0 14px 18px -14px rgba(35, 26, 18, 0.5);
}
.bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
}

.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-head); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  color: var(--ink); text-decoration: none; min-height: 44px;
}
.brand:hover { color: var(--tangerine-deep); }
.brand-mark { width: 40px; height: 40px; flex: none; transform-origin: 50% 8%; }
.brand:hover .brand-mark { animation: swing-once 1.4s ease-out 1; }

.nav-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  font-family: var(--font-head); font-size: 1rem; color: var(--ink); text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; position: relative;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.site-nav a:hover { background: var(--cream-deep); border-color: var(--wood); color: var(--ink); transform: translateY(-1px); }
.site-nav a[aria-current="page"] {
  background: var(--butter); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink);
}
.site-nav a[aria-current="page"]::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--tangerine);
  border: 2px solid var(--ink); margin-right: 0.5rem; flex: none;
}

@media (max-width: 52rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);
    font-family: var(--font-head); font-size: 1rem; color: var(--ink); background: var(--butter);
    border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 3px 0 var(--ink); cursor: pointer;
  }
  .js .nav-toggle:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; padding-top: var(--s-2); }
  .js .site-nav a { width: 100%; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--tangerine); --btn-ink: #fff; --btn-edge: var(--tangerine-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0.55rem 1.3rem;
  font-family: var(--font-head); font-size: 1.05rem; line-height: 1.15; text-align: center;
  color: var(--btn-ink); background: var(--btn-bg);
  border: 0; border-radius: 0.8rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-edge), 0 10px 14px -6px rgba(35, 26, 18, 0.5);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.18s ease;
}
.btn:hover { background: var(--btn-hover, var(--tangerine-deep)); color: var(--btn-ink); transform: translateY(-2px); box-shadow: 0 7px 0 var(--btn-edge), 0 12px 16px -6px rgba(35, 26, 18, 0.5); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn-teal { --btn-bg: var(--teal); --btn-edge: var(--teal-deep); --btn-hover: var(--teal-deep); }
.btn-butter { --btn-bg: var(--butter); --btn-ink: var(--ink); --btn-edge: var(--butter-deep); --btn-hover: #FFE19A; }
.btn-ghost { --btn-bg: var(--paper); --btn-ink: var(--ink); --btn-edge: var(--wood-dark); --btn-hover: var(--cream-deep); border: 2px solid var(--ink); }
.btn-small { min-height: 44px; padding: 0.35rem 1rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-3); align-items: center; }
.btn[disabled] { --btn-bg: #E6D9C0; --btn-ink: #4A3A2D; --btn-edge: #CDBB9A; cursor: not-allowed; transform: none; }

.chalkboard .btn-ghost { --btn-bg: var(--chalk-bg-2); --btn-ink: var(--chalk-ink); --btn-edge: #000; --btn-hover: #2c403c; border-color: var(--chalk-muted); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
legend {
  font-family: var(--font-head); font-size: 1.25rem; padding: 0; margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: var(--s-3);
}
.field { display: grid; gap: 0.3rem; margin-bottom: var(--s-4); min-width: 0; }
.field label, .label { font-weight: 700; font-size: 0.98rem; }
.hint { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field-row { align-items: start; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: 0 var(--s-4); }

input[type="text"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem;
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: var(--radius-s);
  box-shadow: inset 0 2px 0 rgba(35, 26, 18, 0.08);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #6B5A4B; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--teal-deep); }
input[aria-invalid="true"] { border-color: var(--error-edge); background: #fff8f7; border-style: dashed; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%; background-size: 0.4rem 0.4rem; background-repeat: no-repeat; }
input[type="checkbox"] { width: 1.45rem; height: 1.45rem; accent-color: var(--teal-deep); flex: none; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: 44px; padding: 0.35rem 0; cursor: pointer; }
.check span { padding-top: 0.1rem; }

.msg {
  margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--radius-s);
  border-left: 8px solid var(--teal); background: var(--ok-bg); color: var(--ok-ink); font-size: 1rem;
}
.msg:empty { display: none; }
.msg-error { background: var(--error-bg); color: var(--error-ink); border-left-color: var(--error-edge); border-left-style: double; }
.msg-warn { background: var(--warn-bg); color: var(--ink); border-left-color: var(--tangerine); border-left-style: dashed; }
.msg strong:first-child { font-family: var(--font-head); font-weight: 400; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero { padding: var(--s-7) 0 var(--s-6); }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-7); } }
.hero h1 { margin-bottom: var(--s-4); }
.hero h1 .pop {
  display: inline-block; color: var(--tangerine); position: relative; white-space: nowrap;
}
.hero h1 .pop::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 0.16em; border-radius: 99px;
  background: repeating-linear-gradient(90deg, var(--butter) 0 0.5em, var(--teal) 0.5em 1em);
}
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); max-width: 38rem; }
.fine { font-size: var(--fs-small); color: var(--ink-soft); max-width: 36rem; margin-top: var(--s-4); }
.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(35, 26, 18, 0.25)); }
.hero-art figcaption { font-size: var(--fs-small); color: var(--ink-soft); text-align: center; margin-top: var(--s-2); }

.page-hero { padding: var(--s-7) 0 var(--s-5); }
.page-hero .lede { margin-bottom: 0; }
.page-hero-grid { display: grid; gap: var(--s-5); align-items: end; }
@media (min-width: 56rem) { .page-hero-grid { grid-template-columns: 1.4fr 0.6fr; } }

.section { padding: var(--s-7) 0; }
.section-head { max-width: 46rem; margin-bottom: var(--s-6); }
.section-head p:last-child { margin-bottom: 0; }

/* bunting divider */
.bunting { display: block; width: 100%; height: 56px; }

/* --------------------------------------------------------------------------
   Hanging tags + rail
   -------------------------------------------------------------------------- */
.rail { position: relative; padding-top: 1.1rem; }
.rail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.9rem; border-radius: 0.5rem; z-index: 0;
  background:
    repeating-linear-gradient(92deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 11px),
    linear-gradient(var(--wood-light), var(--wood) 55%, var(--wood-dark));
  box-shadow: 0 4px 0 rgba(35, 26, 18, 0.18), 0 16px 18px -10px rgba(35, 26, 18, 0.5);
}
.hang-list {
  list-style: none; margin: 0; padding: 0 0 var(--s-4); position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s-5) var(--s-4);
  justify-items: center;
}
.hang-list > li { position: relative; display: flex; justify-content: center; }
.hang-list > li::before {
  content: ""; position: absolute; top: -0.25rem; left: 50%; width: 0.8rem; height: 0.8rem; margin-left: -0.4rem; z-index: 2;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F5E3B5, #8C8579 55%, #4a4a4a);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.hang {
  --string: 54px; --dur: 5.4s; --delay: 0s;
  position: relative; display: block; padding-top: var(--string); width: 11rem;
  color: var(--ink); text-decoration: none;
  transform-origin: 50% 0;
  filter: drop-shadow(0 8px 6px rgba(35, 26, 18, 0.28));
}
.hang::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 3px; margin-left: -1.5px; height: calc(var(--string) + 1.4rem);
  background: repeating-linear-gradient(180deg, #E5C58A 0 4px, #B88C4E 4px 7px);
  border-radius: 2px;
}
.swing { animation: swing var(--dur) ease-in-out var(--delay) infinite alternate; }
.hang:hover, .hang:focus-visible { animation-play-state: paused; color: var(--ink); }
.hang:focus-visible { outline-offset: 6px; }
.hang:hover .hang-body { transform: scale(1.04); }
.hang-list > li:nth-child(1) .hang { --string: 46px; --dur: 5.2s; --delay: -1.2s; }
.hang-list > li:nth-child(2) .hang { --string: 78px; --dur: 6.3s; --delay: -3.1s; }
.hang-list > li:nth-child(3) .hang { --string: 58px; --dur: 5.7s; --delay: -0.4s; }
.hang-list > li:nth-child(4) .hang { --string: 88px; --dur: 6.9s; --delay: -2.2s; }

.hang-body {
  position: relative; display: block; min-height: 12.5rem; padding: 2.7rem 1.1rem 1.2rem;
  clip-path: polygon(16% 0, 84% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
  -webkit-mask-image: radial-gradient(circle at 50% 1.4rem, transparent 0.42rem, #000 0.45rem);
  mask-image: radial-gradient(circle at 50% 1.4rem, transparent 0.42rem, #000 0.45rem);
  background: var(--butter); text-align: center;
  transition: transform 0.2s ease;
}
.hang-body::before {
  content: ""; position: absolute; left: 50%; top: 0.85rem; width: 1.1rem; height: 1.1rem; margin-left: -0.55rem; border-radius: 50%;
  border: 3px solid rgba(35, 26, 18, 0.45);
}
.hang-body::after {
  content: ""; position: absolute; inset: 2.3rem 0.5rem 0.5rem; border: 2px dashed currentColor; border-radius: 0.5rem; pointer-events: none;
}
.tone-butter { background: var(--butter); color: var(--ink); }
.tone-tangerine { background: var(--tangerine); color: #fff; }
.tone-teal { background: var(--teal); color: #fff; }
.tone-paper { background: var(--paper); color: var(--ink); }
.hang-no { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: var(--s-2); }
.hang-title { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; margin-bottom: var(--s-2); }
.hang-text { display: block; font-size: 0.95rem; line-height: 1.35; }
.hang-go { display: inline-block; margin-top: var(--s-3); font-family: var(--font-head); font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.25em; }

@keyframes swing {
  from { transform: rotate(-3.6deg); }
  to { transform: rotate(3.6deg); }
}
@keyframes swing-once {
  0% { transform: rotate(9deg); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(4deg); }
  60% { transform: rotate(-2.4deg); }
  80% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}
.settle { animation: swing-once 1.6s ease-out 1; transform-origin: 50% 0; }

@media (max-width: 40rem) {
  .hang-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .hang { width: 9.6rem; }
  .hang-title { font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   Crates + paper cards
   -------------------------------------------------------------------------- */
.crate-grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.crate {
  position: relative; border-radius: var(--radius); padding: 0.7rem 0.7rem 1.9rem;
  background:
    repeating-linear-gradient(94deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 13px),
    linear-gradient(var(--wood-light), var(--wood));
  box-shadow: inset 0 0 0 3px var(--wood-dark), 0 3px 0 var(--wood-dark), 0 22px 26px -18px rgba(35, 26, 18, 0.7);
  display: flex; flex-direction: column;
}
.crate::after {
  content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 1.6rem; border-radius: 0 0 calc(var(--radius) - 3px) calc(var(--radius) - 3px);
  background: repeating-linear-gradient(180deg, transparent 0 0.5rem, var(--wood-dark) 0.5rem 0.58rem), linear-gradient(var(--wood), var(--wood-light));
  border-top: 3px solid var(--wood-dark);
}
.crate-label {
  align-self: flex-start; margin: -1.4rem 0 var(--s-2) 0.4rem; position: relative; z-index: 1;
  background: var(--butter); color: var(--ink); font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border: 2px solid var(--ink); border-radius: 0.3rem; box-shadow: 0 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.crate-card {
  flex: 1; background: var(--paper); border: 2px solid var(--wood-dark); border-radius: 0.45rem; padding: var(--s-5);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.9);
  display: flex; flex-direction: column;
}
.crate-card h3 { margin-bottom: var(--s-2); }
.crate-card p:last-child { margin-bottom: 0; }
.crate-card .btn-row { margin-top: auto; padding-top: var(--s-3); }
.produce { width: 100%; height: 5.5rem; margin-bottom: var(--s-3); }

.panel {
  position: relative; background: var(--paper); border-radius: var(--radius); padding: var(--s-5);
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--wood-dark), 0 22px 30px -20px rgba(35, 26, 18, 0.6);
}
.panel::before {
  content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(107, 66, 32, 0.45); border-radius: calc(var(--radius) - 5px); pointer-events: none;
}
.panel > * { position: relative; }
.panel-teal { background: var(--teal); color: #fff; border-color: var(--ink); }
.panel-teal h2, .panel-teal h3 { color: #fff; }

/* --------------------------------------------------------------------------
   Chalkboard
   -------------------------------------------------------------------------- */
.chalkboard, .chalk {
  position: relative; color: var(--chalk-ink);
  background-color: var(--chalk-bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 18% 8%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 30% at 85% 92%, rgba(255, 255, 255, 0.05), transparent 70%),
    repeating-linear-gradient(8deg, rgba(255, 255, 255, 0.015) 0 3px, transparent 3px 9px);
  border-radius: 0.5rem;
}
.chalkboard {
  padding: var(--s-5);
  border: 14px solid var(--wood);
  border-image: none;
  box-shadow: 0 0 0 3px var(--wood-dark), inset 0 0 0 3px rgba(0, 0, 0, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.45), 0 26px 30px -18px rgba(35, 26, 18, 0.8);
  outline: 0;
}
.chalkboard::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -26px; height: 10px; z-index: -1;
  background: var(--wood-dark); border-radius: 0 0 8px 8px;
}
.chalk { padding: var(--s-6) var(--s-5); border: 12px solid var(--wood); box-shadow: 0 0 0 3px var(--wood-dark), inset 0 0 0 3px rgba(0, 0, 0, 0.35), inset 0 0 40px rgba(0, 0, 0, 0.45), 0 24px 28px -18px rgba(35, 26, 18, 0.8); }
.chalkboard h2, .chalkboard h3, .chalk h2, .chalk h3 { color: var(--chalk-ink); text-shadow: 0 0 1px rgba(255, 255, 255, 0.5); }
.chalkboard a, .chalk a { color: var(--butter); }
.chalkboard a:hover, .chalk a:hover { color: #fff; }
.chalk-rule { border: 0; height: 6px; margin: var(--s-4) 0; opacity: 0.85;
  background: repeating-linear-gradient(90deg, var(--chalk-muted) 0 12px, transparent 12px 18px); border-radius: 4px; }
.chalk-muted { color: var(--chalk-muted); }
.chalkboard label { font-weight: 700; }
.chalkboard .hint { color: var(--chalk-muted); }
.chalkboard select, .chalkboard input[type="text"], .chalkboard input[type="number"] {
  background-color: var(--chalk-bg-2); color: var(--chalk-ink); border-color: var(--chalk-muted); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.chalkboard select { background-image: linear-gradient(45deg, transparent 50%, var(--chalk-ink) 50%), linear-gradient(135deg, var(--chalk-ink) 50%, transparent 50%); }
.chalkboard input:hover, .chalkboard select:hover { border-color: var(--butter); }
.chalkboard input::placeholder { color: var(--chalk-muted); }
.chalkboard .msg { background: #0f1716; color: var(--chalk-ink); border-left-color: var(--butter); }
.chalkboard .msg-error { background: #3a1517; color: #FFE1DD; border-left-color: #FF8F80; }
.chalkboard .msg-warn { background: #3a3012; color: #FFF0BF; border-left-color: var(--butter); }

.tally { margin: 0; display: grid; gap: 0; }
.tally > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding: 0.45rem 0; border-bottom: 2px dashed rgba(201, 214, 207, 0.45); }
.tally dt { color: var(--chalk-muted); }
.tally dd { margin: 0; font-family: var(--font-head); text-align: right; overflow-wrap: anywhere; }
.tally .big { border-bottom: 0; padding-top: var(--s-3); flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.tally .big dt { font-family: var(--font-head); color: var(--butter); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; }
.tally .big dd { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); line-height: 1.05; text-align: left; color: var(--chalk-ink); }
.tally .big dd small { font-size: 0.4em; color: var(--chalk-muted); letter-spacing: 0.1em; margin-left: 0.2em; }
.tally .sub { border-bottom: 0; }
.tally .sub dd { font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Price tag component (preview + sheet + print)
   -------------------------------------------------------------------------- */
.tag-wrap { position: relative; display: inline-block; padding-top: 3.2rem; transform-origin: 50% 0; }
.tag-wrap::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 3px; margin-left: -1.5px; height: calc(3.2rem + 1.3em); font-size: var(--tag-fs, 1rem);
  background: repeating-linear-gradient(180deg, #E5C58A 0 4px, #B88C4E 4px 7px); border-radius: 2px;
}
.tag-wrap::after {
  content: ""; position: absolute; top: -0.4rem; left: 50%; width: 1.1rem; height: 0.7rem; margin-left: -0.55rem; border-radius: 0 0 0.6rem 0.6rem;
  background: var(--wood-dark); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.tag-stage { filter: drop-shadow(0 10px 8px rgba(35, 26, 18, 0.3)); }

.price-tag {
  --tag-fs: 1rem;
  position: relative; font-size: var(--tag-fs); width: 12em; min-height: 15em; padding: 3em 1.2em 1.4em; text-align: center;
  background: var(--butter); color: var(--ink);
  clip-path: polygon(15% 0, 85% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
  -webkit-mask-image: radial-gradient(circle at 50% 1.3em, transparent 0.42em, #000 0.45em);
  mask-image: radial-gradient(circle at 50% 1.3em, transparent 0.42em, #000 0.45em);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.15em;
  overflow-wrap: anywhere;
}
.price-tag::before {
  content: ""; position: absolute; top: 0.78em; left: 50%; width: 1em; height: 1em; margin-left: -0.5em; border-radius: 50%; border: 0.18em solid rgba(35, 26, 18, 0.45);
}
.price-tag::after {
  content: ""; position: absolute; inset: 2.3em 0.55em 0.55em; border: 2px dashed currentColor; border-radius: 0.5em; pointer-events: none;
}
.price-tag[data-size="sm"] { --tag-fs: 0.78rem; }
.price-tag[data-size="md"] { --tag-fs: 1rem; }
.price-tag[data-size="lg"] { --tag-fs: 1.3rem; }
.price-tag[data-tone="butter"] { background: var(--butter); color: var(--ink); }
.price-tag[data-tone="tangerine"] { background: var(--tangerine); color: #fff; }
.price-tag[data-tone="teal"] { background: var(--teal); color: #fff; }
.price-tag[data-tone="paper"] { background: var(--paper); color: var(--ink); }
.price-tag p { margin: 0; position: relative; z-index: 1; max-width: 100%; }
.pt-stall { font-size: 0.76em; text-transform: uppercase; letter-spacing: 0.16em; }
.pt-item { font-family: var(--font-head); font-size: 1.3em; line-height: 1.12; }
.pt-price { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-top: 0.15em !important; }
.pt-num { font-family: var(--font-head); font-size: 2.7em; line-height: 1; letter-spacing: -0.01em; }
.pt-num[data-len="l1"] { font-size: 2.1em; }
.pt-num[data-len="l2"] { font-size: 1.5em; }
.pt-num[data-len="l3"] { font-size: 1.1em; }
.pt-sats { font-family: var(--font-head); font-size: 1.05em; text-transform: uppercase; letter-spacing: 0.22em; margin-top: 0.2em; }
.pt-per { font-size: 0.95em; }
.pt-local { font-size: 0.85em; }
.pt-note { font-size: 0.8em; }
.price-tag.is-empty { opacity: 1; }
.price-tag.is-empty .pt-num { font-size: 1.6em; }

/* --------------------------------------------------------------------------
   Tag maker page
   -------------------------------------------------------------------------- */
.workbench { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 62rem) { .workbench { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.preview-pane { position: sticky; top: var(--s-4); }
@media (max-width: 61.99rem) { .preview-pane { position: static; } }
.stage {
  display: grid; justify-items: center; padding: var(--s-5) var(--s-4) var(--s-6); border-radius: var(--radius); border: 2px solid var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 7rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 22px),
    var(--teal-deep);
  box-shadow: 6px 6px 0 var(--wood-dark);
  min-height: 24rem; align-content: start; overflow: hidden;
}
.stage-label { justify-self: stretch; margin: 0 0 var(--s-2); color: #fff; font-family: var(--font-head); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; }
.result-line { margin: var(--s-4) 0 0; font-size: 1rem; }
.result-line strong { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.sheet-head h2 { margin-bottom: 0; }
.sheet-board {
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(15, 124, 134, 0.14) 31px 32px), var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s-6) var(--s-5) var(--s-5); box-shadow: 6px 6px 0 var(--wood-dark);
  min-height: 12rem;
}
.sheet-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-5); justify-content: center; }
.sheet-grid > li { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); break-inside: avoid; page-break-inside: avoid; }
.sheet-grid .tag-wrap { padding-top: 2rem; }
.sheet-grid .tag-wrap::before { height: calc(2rem + 1.3em); }
.sheet-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center; }
.empty {
  text-align: center; padding: var(--s-6) var(--s-4); border: 3px dashed var(--wood); border-radius: var(--radius); background: rgba(255, 246, 228, 0.7);
}
.empty svg { margin: 0 auto var(--s-3); width: 7rem; height: auto; }
.empty p { max-width: 32rem; margin-inline: auto; }
.print-only { display: none; }

/* accordions */
.notes { display: grid; gap: var(--s-3); }
details.note {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); box-shadow: 4px 4px 0 var(--wood-dark);
}
details.note summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: 0.55rem var(--s-4);
  font-family: var(--font-head); font-size: 1.1rem;
}
details.note summary::-webkit-details-marker { display: none; }
details.note summary::before {
  content: "+"; flex: none; width: 1.7rem; height: 1.7rem; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--butter); border: 2px solid var(--ink); font-size: 1.1rem; line-height: 1;
}
details.note[open] summary::before { content: "\2212"; background: var(--tangerine); color: #fff; }
details.note .note-body { padding: 0 var(--s-4) var(--s-4) calc(var(--s-4) + 2.45rem); }
details.note .note-body > :last-child { margin-bottom: 0; }
details.note summary:hover { background: var(--cream-deep); }
@media (max-width: 30rem) { details.note .note-body { padding-left: var(--s-4); } }

/* --------------------------------------------------------------------------
   Basket page
   -------------------------------------------------------------------------- */
.basket-layout { display: grid; gap: var(--s-7) var(--s-6); align-items: start; }
@media (min-width: 62rem) { .basket-layout { grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem); } }
.basket-main > section { margin-bottom: var(--s-6); }
.step-no {
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; flex: none;
  background: var(--teal); color: #fff; font-family: var(--font-head); font-size: 1.1rem; border: 2px solid var(--ink);
}
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.line {
  display: grid; gap: var(--s-3) var(--s-4); align-items: center; padding: var(--s-4);
  grid-template-columns: 1fr; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s);
  box-shadow: 4px 4px 0 var(--wood-dark);
  border-left: 12px solid var(--tangerine-art);
}
.line[data-unit="sats"] { border-left-color: var(--teal); }
@media (min-width: 40rem) { .line { grid-template-columns: minmax(0, 1.6fr) auto minmax(7rem, auto) auto; } }
.line-name { font-family: var(--font-head); font-size: 1.15rem; overflow-wrap: anywhere; }
.line-meta { display: block; font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button {
  width: 44px; height: 44px; border: 0; background: var(--butter); color: var(--ink); font-family: var(--font-head); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.stepper button:hover { background: var(--butter-deep); }
.stepper button[disabled] { background: #E6D9C0; color: #4A3A2D; cursor: not-allowed; }
.stepper output { min-width: 3.2rem; text-align: center; font-family: var(--font-head); padding: 0 var(--s-2); }
.line-total { font-family: var(--font-head); font-size: 1.2rem; text-align: left; }
@media (min-width: 40rem) { .line-total { text-align: right; } }
.line-total small { display: block; font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink-soft); }
.link-btn {
  min-height: 44px; min-width: 44px; padding: 0 var(--s-3); background: transparent; border: 2px solid transparent; border-radius: var(--radius-s);
  color: var(--error-ink); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer;
}
.link-btn:hover { background: var(--error-bg); border-color: var(--error-edge); }
.line-actions { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.link-btn.neutral { color: var(--teal-deep); }
.link-btn.neutral:hover { background: var(--ok-bg); border-color: var(--teal); }

.chalk-col { position: relative; }
@media (min-width: 62rem) { .chalkboard { position: sticky; top: var(--s-4); } }
.chalkboard h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.chalk-scribble { width: 3.2rem; height: auto; flex: none; }
.mini-total { display: none; }
@media (max-width: 61.99rem) {
  .mini-total {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: 56px; padding: 0.4rem 1rem;
    background: var(--chalk-bg-2); color: var(--chalk-ink); text-decoration: none;
    border-top: 5px solid var(--wood); box-shadow: 0 -8px 18px rgba(35, 26, 18, 0.3);
  }
  .mini-total:hover { color: var(--chalk-ink); background: #22332f; }
  .mini-total strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; }
  .mini-total span:last-child { color: var(--butter); text-decoration: underline; text-underline-offset: 0.2em; }
  body[data-page="basket"] { padding-bottom: 64px; }
  .mini-total:focus-visible { outline-color: var(--butter); box-shadow: 0 0 0 3px var(--chalk-bg-2); outline-offset: -6px; }
}

/* --------------------------------------------------------------------------
   Stall guide
   -------------------------------------------------------------------------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.guide-body { min-width: 0; }
@media (min-width: 64rem) { .guide-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--s-7); } }
.stall-map { position: sticky; top: var(--s-4); }
@media (max-width: 63.99rem) { .stall-map { position: static; } }
.stall-map h2 { font-size: 1.25rem; }
.stall-map ol { list-style: none; counter-reset: stop; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.stall-map li { counter-increment: stop; }
.stall-map a {
  display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: 0.2rem var(--s-2); color: var(--ink); text-decoration: none; border-radius: var(--radius-s);
  font-size: 0.98rem; line-height: 1.25;
}
.stall-map a::before {
  content: counter(stop); flex: none; width: 1.8rem; height: 1.8rem; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); font-family: var(--font-head); font-size: 0.9rem;
}
.stall-map a:hover { background: var(--butter); }
.stall-map a:hover::before { background: var(--tangerine); color: #fff; }
@media (max-width: 63.99rem) { .stall-map ol { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

.stop { position: relative; padding: 0 0 var(--s-7) var(--s-6); border-left: 4px dotted var(--wood); margin-left: 1.1rem; }
.stop:last-of-type { border-left-color: transparent; padding-bottom: var(--s-5); }
@media (max-width: 40rem) { .stop { padding-left: var(--s-5); margin-left: 0.6rem; } }
.stop-flag {
  position: absolute; left: -1.6rem; top: -0.1rem; width: 3rem; height: 3rem; display: grid; place-items: center;
  background: var(--tangerine); color: #fff; font-family: var(--font-head); font-size: 1.3rem; border: 3px solid var(--ink); border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
}
@media (max-width: 40rem) { .stop-flag { left: -1.5rem; width: 2.6rem; height: 2.6rem; font-size: 1.1rem; } }
.stop h2 { padding-top: 0.15rem; }
.stop > :not(.stop-flag):not(h2) { max-width: 46rem; }
.say {
  position: relative; margin: var(--s-4) 0; padding: var(--s-4) var(--s-5); background: var(--butter); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink); font-family: var(--font-head); font-size: 1.1rem; line-height: 1.35;
}
.say small { display: block; margin-top: var(--s-2); font-family: var(--font-body); font-size: var(--fs-small); }
.worked { background: var(--paper); border: 2px dashed var(--teal-deep); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin: var(--s-4) 0; }
.worked h3 { font-size: 1.1rem; margin-bottom: var(--s-2); }
.worked p:last-child { margin-bottom: 0; }

.clipboard {
  position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s-7) var(--s-5) var(--s-5);
  box-shadow: 6px 6px 0 var(--wood-dark); margin-bottom: var(--s-6);
}
.clipboard::before {
  content: ""; position: absolute; top: -1rem; left: 50%; width: 9rem; height: 2.4rem; margin-left: -4.5rem; border-radius: 0.5rem; border: 2px solid var(--ink);
  background: linear-gradient(#d8d2c4, #8f897a);
}
.clipboard::after {
  content: ""; position: absolute; top: 0.15rem; left: 50%; width: 3rem; height: 1rem; margin-left: -1.5rem; border-radius: 0.5rem; background: var(--ink);
}
.checklist { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; gap: var(--s-1); }
.checklist .check { border-bottom: 2px dotted rgba(107, 66, 32, 0.5); padding: 0.45rem 0; }
.checklist input:checked + span { text-decoration: line-through; text-decoration-thickness: 0.12em; color: var(--ink-soft); }
.check-done { font-family: var(--font-head); margin-left: auto; flex: none; opacity: 0; }
.checklist input:checked ~ .check-done { opacity: 1; color: var(--teal-deep); }
progress { width: 100%; height: 1.1rem; accent-color: var(--teal); border-radius: 99px; }
.progress-line { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.progress-line p { margin: 0; font-weight: 700; }
.progress-line progress { flex: 1 1 10rem; }

.table-scroll { overflow-x: auto; max-width: 100%; }
table.ladder { width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); min-width: 28rem; }
table.ladder caption { text-align: left; font-family: var(--font-head); padding: var(--s-2) 0; }
table.ladder th, table.ladder td { padding: 0.65rem 0.8rem; text-align: right; border-bottom: 2px dotted rgba(107, 66, 32, 0.5); }
table.ladder th:first-child, table.ladder td:first-child { text-align: left; }
table.ladder thead th { background: var(--ink); color: var(--cream); font-family: var(--font-head); font-weight: 400; border-bottom: 0; }
table.ladder tbody th { font-weight: 700; }

.glossary { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 0; }
.glossary > div { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-s); padding: var(--s-4); box-shadow: 4px 4px 0 var(--wood-dark); }
.glossary dt { font-family: var(--font-head); font-size: 1.15rem; color: var(--tangerine); margin-bottom: var(--s-1); }
.glossary dd { margin: 0; font-size: 0.98rem; }

.stall-map .extras { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.stall-map .extras a::before { content: "+"; background: var(--butter); }
@media (max-width: 63.99rem) { .stall-map .extras { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--s-7) var(--s-6); align-items: start; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.notepad {
  position: relative; background:
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(15, 124, 134, 0.2) 33px 34px),
    #FFFDF5;
  border: 2px solid var(--ink); border-radius: 0.5rem; padding: var(--s-7) var(--s-5) var(--s-5) var(--s-6);
  box-shadow: 6px 6px 0 var(--wood-dark), 0 24px 30px -20px rgba(35, 26, 18, 0.6);
  transform: rotate(-0.6deg);
}
.notepad::before { /* red margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 2.1rem; width: 2px; background: rgba(194, 65, 12, 0.5);
}
.peg {
  position: absolute; top: -1.4rem; left: 50%; width: 2.2rem; height: 4.2rem; margin-left: -1.1rem; border-radius: 0.4rem; border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--wood-light), var(--wood) 45%, var(--wood-dark)); box-shadow: 0 5px 8px rgba(35, 26, 18, 0.35);
}
.peg::after { content: ""; position: absolute; left: 50%; top: 1.6rem; height: 2rem; width: 2px; margin-left: -1px; background: var(--ink); opacity: 0.55; }
.notepad .field { margin-bottom: var(--s-4); }
.notepad .field input, .notepad .field select, .notepad .field textarea { background: rgba(255, 255, 255, 0.92); }
.mail-out { margin-top: var(--s-4); }
.mail-out textarea { min-height: 7rem; font-size: 0.95rem; }
.big-mail { font-family: var(--font-head); font-size: clamp(1.15rem, 0.9rem + 1.3vw, 1.7rem); overflow-wrap: anywhere; }
.tick-list { margin: 0 0 var(--s-4); padding-left: 0; list-style: none; display: grid; gap: var(--s-3); }
.tick-list li { padding-left: 2.2rem; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--butter); border: 2px solid var(--ink);
}
.tick-list li::after { content: ""; position: absolute; left: 0.5rem; top: 0.38rem; width: 0.35rem; height: 0.7rem; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.stored-list { margin: 0 0 var(--s-4); padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.stored-list li { display: flex; justify-content: space-between; gap: var(--s-3); border-bottom: 2px dashed rgba(201, 214, 207, 0.45); padding-bottom: var(--s-2); }
.stored-list strong { font-family: var(--font-head); font-weight: 400; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--s-8); color: var(--cream); position: relative;
}
.footer-awning { display: block; width: 100%; height: 40px; margin-bottom: -1px; }
.footer-body { background: var(--ink); padding: 0 0 var(--s-6); }
.footer-grid { display: grid; gap: var(--s-6); padding-top: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-footer h2 { font-size: 1.1rem; color: var(--butter); text-transform: uppercase; letter-spacing: 0.12em; }
.site-footer a { color: var(--butter); }
.site-footer a:hover { color: #fff; }
.site-footer p { color: var(--cream); }
.footer-brand { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin-bottom: var(--s-2); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-nav a, .footer-mail { display: inline-flex; align-items: center; min-height: 44px; }
.footer-honest { border-top: 2px dashed rgba(255, 246, 228, 0.35); margin-top: var(--s-6); padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.footer-honest p { margin: 0; max-width: 46rem; font-size: var(--fs-small); }
.motion-toggle {
  min-height: 44px; padding: 0 var(--s-4); font: inherit; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); background: var(--butter);
  border: 2px solid var(--cream); border-radius: 999px; cursor: pointer;
}
.motion-toggle:hover { background: #fff; }
.motion-toggle[aria-pressed="true"] { background: var(--cream-deep); }
.motion-note { margin: 0; font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.two-col { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 56rem) { .two-col { grid-template-columns: 1fr 1fr; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.facts { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: var(--s-5) 0 0; }
.facts > div { padding: var(--s-4); border: 2px dashed rgba(201, 214, 207, 0.6); border-radius: var(--radius-s); }
.facts dt { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); color: var(--butter); line-height: 1.2; margin-bottom: var(--s-1); overflow-wrap: anywhere; }
.facts dd { margin: 0; color: var(--chalk-ink); font-size: 0.98rem; }
.promise-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.promise-grid li { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s-4) var(--s-5); box-shadow: 4px 4px 0 var(--ink); }
.promise-grid strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; color: var(--tangerine); margin-bottom: var(--s-1); }
.band { background: var(--butter); border-block: 3px solid var(--ink); }
.quick-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 56rem) { .quick-grid { grid-template-columns: 1.1fr 0.9fr; } }
.quick-stage { display: grid; justify-items: center; }

/* --------------------------------------------------------------------------
   Print: tag sheets print clean on white; other pages lose chrome
   -------------------------------------------------------------------------- */
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { background-image: none !important; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .no-print, .mini-total, .awning { display: none !important; }
  .print-only { display: block !important; }
  .section, .page-hero, .hero { padding: 0 !important; }
  .sheet-board { border: 0 !important; box-shadow: none !important; background: #fff !important; padding: 0 !important; }
  .sheet-grid { gap: 8mm !important; justify-content: flex-start !important; }
  .sheet-grid .tag-wrap { padding-top: 0 !important; }
  .tag-wrap::before, .tag-wrap::after { display: none !important; }
  .tag-stage { filter: none !important; }
  .price-tag, .price-tag[data-tone] {
    clip-path: none !important; -webkit-mask-image: none !important; mask-image: none !important;
    background: #fff !important; color: #000 !important; border: 1.6px solid #000; border-radius: 3mm;
    -webkit-print-color-adjust: economy; print-color-adjust: economy;
  }
  .price-tag::before { border-color: #000 !important; }
  .price-tag::after { border-color: #000 !important; }
  .sheet-grid > li { break-inside: avoid; }
  a { color: #000 !important; }
  body[data-page="tag-maker"] .page-hero { display: none !important; }
  .print-title { font-family: var(--font-head); font-size: 14pt; margin: 0 0 6mm; }
}

/* --------------------------------------------------------------------------
   Reduced motion: no animation, no transition, final static state
   -------------------------------------------------------------------------- */
html[data-motion="off"] .swing,
html[data-motion="off"] .settle,
html[data-motion="off"] .brand:hover .brand-mark { animation: none !important; }
html[data-motion="off"] .btn,
html[data-motion="off"] .hang-body,
html[data-motion="off"] .site-nav a { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .swing, .settle { animation: none !important; transform: none !important; }
  .btn:hover, .btn:active, .site-nav a:hover, .hang:hover .hang-body { transform: none !important; }
}
