/* Reset: figures never carry the browser's default 1em 40px margin (live QA 2026-09-24: mobile overflow on Home and Plans photos). */
figure { margin: 0; }
/* Addabill shared stylesheet. Loaded on every page after tokens.css.
   Sections: 1 base, 2 layout system, 3 type, 4 buttons and links, 5 header, 6 kit (motif, seal,
   dividers, icons, numerals), 7 components (cards, tables, accordion, bubbles, chips, forms,
   stamps), 8 reveal system, 9 hover treatments, 10 loader, 11 cart drawer, 12 footer and SMS
   block, 13 media grade, 14 view transitions and reduced motion, 15 utilities. */

/* 1. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: var(--ui);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--marigold-soft); }
main { display: block; }
hr { border: 0; border-top: 1px solid var(--hair); margin: var(--sp-5) 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }

/* 2. Layout system (fill the page addendum) ---------------------------------- */
.band { position: relative; width: 100%; padding-block: var(--band-y); }
.band--tight { padding-block: var(--sp-6); }
.band--flush { padding-block: 0; }
.band--oat { background: var(--oat); }
.band--paper { background: var(--paper); }
.band--cream { background: var(--cream); }
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap-max));
  margin-inline: auto;
}
.wrap--flush { width: min(100%, var(--wrap-max)); }
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 6rem); }
  .spread--wide-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .spread--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .spread--flip > :first-child { order: 2; }
}
.measure { max-width: var(--measure); }
.grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(var(--cols-md, var(--cols, 2)), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(var(--cols-lg, var(--cols-md, var(--cols, 3))), minmax(0, 1fr)); } }
.stack > * + * { margin-top: var(--sp-4); }
.stack--tight > * + * { margin-top: var(--sp-2); }
.stack--loose > * + * { margin-top: var(--sp-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.section-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 6rem); } }
.section-head .lead { margin: 0; }

/* 3. Type ------------------------------------------------------------------ */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'wght' var(--wght, 600), 'SOFT' var(--soft, 100), 'opsz' var(--opsz, 144), 'WONK' var(--wonk, 0);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1, .h1 { font-size: var(--fs-h1); --opsz: 144; }
h2, .h2 { font-size: var(--fs-h2); --opsz: 120; line-height: 1.06; }
h3, .h3 { font-size: var(--fs-h3); --opsz: 72; line-height: 1.12; }
h4, .h4 { font-size: var(--fs-h4); --opsz: 36; line-height: 1.2; font-family: var(--ui); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--graphite); }
.small, small { font-size: var(--fs-sm); }
.muted { color: var(--shadow); }
.eyebrow {
  font-family: var(--ui);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shadow);
  margin: 0 0 var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ''; width: 10px; height: 10px; border: 1.5px solid var(--graphite); border-radius: 2px; display: inline-block; }
.num, .tabular { font-variant-numeric: tabular-nums; }
.display { font-family: var(--display); font-variation-settings: 'wght' 600, 'SOFT' 100, 'opsz' 144, 'WONK' 0; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
.plain { list-style: none; margin: 0; padding: 0; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2, .prose h3 { margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: var(--sp-2); }
.prose blockquote { margin: 0; }
.dropcap::first-letter {
  font-family: var(--display);
  font-variation-settings: 'wght' 600, 'SOFT' 100, 'opsz' 144, 'WONK' 0;
  font-size: 3.6em;
  float: left;
  line-height: 0.8;
  padding: 0.12em 0.12em 0 0;
  color: var(--graphite);
}
.pull-quote {
  font-family: var(--display);
  font-variation-settings: 'wght' 500, 'SOFT' 100, 'opsz' 144, 'WONK' 0;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* The Settled Numeral (TYP-003): starts written by hand (WONK 1) and settles printed. */
.settle-num {
  font-family: var(--display);
  --wonk: 1; --opsz: 48; --soft: 100; --wght: 600;
  font-variation-settings: 'wght' var(--wght), 'SOFT' var(--soft), 'opsz' var(--opsz), 'WONK' var(--wonk);
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.settle-num.is-settled, .rm .settle-num { --wonk: 0; --opsz: 144; }
.numeral-index { font-size: var(--fs-numeral); }
.cell-numeral {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 2.2em;
  justify-self: start;
  aspect-ratio: 1;
  border: 1.5px solid var(--graphite);
  border-radius: var(--r-cell);
  font-family: var(--display);
  font-size: var(--fs-h3);
  --opsz: 72;
  padding: 0.1em 0.2em;
  position: relative;
  background: var(--paper);
}
.cell-numeral::after { content: ''; position: absolute; top: 0.28em; right: 0.28em; width: 0.18em; height: 0.5em; border-radius: 0.1em; background: var(--marigold); }
.price { font-family: var(--display); font-size: var(--fs-price); font-variation-settings: 'wght' 600, 'SOFT' 100, 'opsz' 144, 'WONK' 0; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.price .cur { font-size: 0.6em; vertical-align: 0.45em; margin-right: 0.04em; }
.price .per { font-family: var(--ui); font-size: 0.3em; font-weight: 500; color: var(--shadow); letter-spacing: 0; margin-left: 0.3em; vertical-align: 0.2em; }

/* 4. Buttons and links ------------------------------------------------------- */
.tag-btn {
  --tag-bg: var(--marigold);
  --tag-fg: var(--graphite);
  --tag-line: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 3.1em;
  padding: 0.85em 1.5em 0.85em 1.35em;
  border-radius: var(--r-tag);
  background: var(--tag-bg);
  color: var(--tag-fg);
  border: 1.5px solid var(--tag-line);
  font-family: var(--ui);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transform: translateY(0);
  transition: transform var(--t-fast) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup), background-color var(--t-fast) var(--ease-headsup);
  animation: tag-breathe 6s var(--ease-headsup) infinite;
  isolation: isolate;
  white-space: nowrap;
}
/* folded top right corner */
.tag-btn::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 0.95em; height: 0.95em;
  background: linear-gradient(225deg, var(--cream) 0 49%, rgba(43, 38, 34, 0.28) 50%, rgba(43, 38, 34, 0.08) 100%);
  border-bottom-left-radius: 3px;
  transition: width var(--t-fast) var(--ease-headsup), height var(--t-fast) var(--ease-headsup);
  z-index: 1;
}
/* the tiny due dot that rolls left to right on hover */
.tag-btn::after {
  content: '';
  position: absolute;
  left: 0.55em; bottom: 0.42em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transform: translateX(0);
  transition: transform var(--t-base) var(--ease-headsup), opacity var(--t-fast);
}
.tag-btn .lbl { position: relative; display: inline-block; overflow: hidden; line-height: 1.15; }
.tag-btn .lbl > span { display: block; transition: transform var(--t-base) var(--ease-headsup); }
.tag-btn .lbl > span + span { position: absolute; inset: 0; transform: translateY(115%); }
.tag-btn:hover, .tag-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  animation: none;
}
.tag-btn:hover::before, .tag-btn:focus-visible::before { width: 1.2em; height: 1.2em; }
.tag-btn:hover::after, .tag-btn:focus-visible::after { transform: translateX(calc(var(--tag-w, 160px) - 1.6em)); }
.tag-btn:hover .lbl > span:first-child, .tag-btn:focus-visible .lbl > span:first-child { transform: translateY(-115%); }
.tag-btn:hover .lbl > span + span, .tag-btn:focus-visible .lbl > span + span { transform: translateY(0); }
.tag-btn:active, .tag-btn.is-pressed {
  transform: translateY(1px);
  box-shadow: 0 0 0 rgba(43, 38, 34, 0), 0 1px 2px rgba(43, 38, 34, 0.08);
  transition-duration: var(--t-fast);
}
.tag-btn:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; }
.tag-btn--secondary { --tag-bg: var(--paper); --tag-fg: var(--graphite); --tag-line: var(--graphite); }
.tag-btn--secondary::before { background: linear-gradient(225deg, var(--cream) 0 49%, var(--graphite) 50%, rgba(43, 38, 34, 0.35) 100%); }
.tag-btn--small { min-height: 2.5em; padding: 0.55em 1.1em 0.55em 1em; font-size: var(--fs-sm); }
.tag-btn--block { width: 100%; }
.tag-btn[disabled], .tag-btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; animation: none; }
.tag-btn .icon { width: 1.1em; height: 1.1em; flex: none; }
@keyframes tag-breathe { 0%, 100% { box-shadow: var(--shadow-1); } 50% { box-shadow: var(--shadow-2); } }

/* the inline paper tag spinner (CUR-011) */
.tag-spinner { width: 1.1em; height: 0.75em; border: 1.5px solid currentColor; border-top-width: 3px; border-radius: 2px; animation: tag-spin 0.96s var(--ease-pageturn) infinite; }
@keyframes tag-spin { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(360deg); } }

/* Text links: hairline underline growing from the left, ending in a marigold dot */
.link, .prose a:not(.tag-btn), .footer-cols a, .link-list a {
  position: relative;
  display: inline-block;
  color: var(--graphite);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size var(--t-base) var(--ease-headsup), color var(--t-fast);
}
.link::after, .prose a:not(.tag-btn)::after, .footer-cols a::after, .link-list a::after {
  content: '';
  position: absolute;
  right: -0.55em; bottom: -1px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--marigold);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t-fast) var(--ease-headsup) var(--t-fast), transform var(--t-base) var(--ease-headsup) var(--t-fast);
}
.link:hover, .link:focus-visible, .prose a:not(.tag-btn):hover, .prose a:not(.tag-btn):focus-visible,
.footer-cols a:hover, .footer-cols a:focus-visible, .link-list a:hover, .link-list a:focus-visible { background-size: 100% 1px; }
.link:hover::after, .link:focus-visible::after, .prose a:not(.tag-btn):hover::after, .prose a:not(.tag-btn):focus-visible::after,
.footer-cols a:hover::after, .footer-cols a:focus-visible::after, .link-list a:hover::after, .link-list a:focus-visible::after { opacity: 1; transform: scale(1); }
.link--quiet { font-weight: 500; color: var(--shadow); }
.link--arrow::before { content: '→ '; color: var(--shadow); font-weight: 500; }
.link:active { transform: translateY(1px); }

/* 5. Header (the calendar header) -------------------------------------------- */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  padding: 0.6em 1em; background: var(--graphite); color: var(--paper);
  border-radius: var(--r-tag); font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease-headsup);
}
.skip-link:focus { transform: translateY(0); outline-color: var(--marigold); }
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height var(--t-base) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup), background-color var(--t-base);
  view-transition-name: none;
}
.hdr.is-condensed { height: var(--header-h-condensed); box-shadow: var(--shadow-1); }
.hdr__in {
  width: min(100% - 2 * var(--gutter), var(--wrap-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
}
.hdr__brand { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; color: var(--graphite); }
.hdr__brand .wordmark { height: 30px; width: auto; view-transition-name: wordmark; transition: height var(--t-base) var(--ease-headsup); }
.hdr.is-condensed .wordmark { height: 26px; }
.hdr__brand .month-glyph { view-transition-name: month-glyph; width: 28px; height: 28px; }
.hdr__nav { position: relative; display: none; justify-content: center; }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.2rem, 0.8vw, 1rem); position: relative; }
.hdr__nav a {
  display: inline-block; padding: 0.55em 0.75em; text-decoration: none; color: var(--graphite); font-weight: 600; font-size: var(--fs-sm);
  border-radius: var(--r-cell); position: relative; z-index: 1; transition: transform var(--t-fast) var(--ease-headsup);
}
.hdr__nav a:hover, .hdr__nav a:focus-visible { transform: translateY(-1px); }
.hdr__nav a:active { transform: translateY(1px); }
.hdr__nav a[aria-current="page"] { font-weight: 700; }
.nav-cell {
  position: absolute; z-index: 0; top: 0; left: 0;
  width: 0; height: 100%;
  border: 1.5px solid var(--graphite); border-radius: var(--r-cell);
  opacity: 0; pointer-events: none;
  transition: transform var(--t-base) var(--ease-headsup), width var(--t-base) var(--ease-headsup), opacity var(--t-fast);
}
.nav-cell::after { content: ''; position: absolute; top: 4px; right: 4px; width: 3px; height: 8px; border-radius: 1.5px; background: var(--marigold); }
.nav-cell.is-on { opacity: 1; }
.hdr__actions { display: flex; align-items: center; gap: var(--sp-3); justify-self: end; }
.hdr__buy { display: none; }
.cart-tag {
  position: relative; display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.45em 0.8em 0.45em 0.7em; min-height: 2.5em;
  background: var(--paper); border: 1.5px solid var(--graphite); border-radius: var(--r-tag);
  font-weight: 600; font-size: var(--fs-sm); color: var(--graphite); text-decoration: none;
  box-shadow: var(--tag-shadow);
  transition: transform var(--t-fast) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup);
}
.cart-tag::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--graphite); border-radius: 4px 4px 0 0; }
.cart-tag:hover, .cart-tag:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.cart-tag:active { transform: translateY(1px); box-shadow: none; }
.cart-tag .cart-count { min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.cart-tag .today-tick { width: 4px; height: 12px; border-radius: 2px; background: var(--marigold); transition: transform var(--t-base) var(--ease-headsup); }
.cart-tag.is-bumped .today-tick { animation: tick-bump var(--t-base) var(--ease-headsup); }
@keyframes tick-bump { 0% { transform: scaleY(1); } 40% { transform: scaleY(1.6); } 100% { transform: scaleY(1); } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 0.7em; min-height: 2.5em;
  border: 1.5px solid var(--graphite); border-radius: var(--r-cell); font-weight: 600; font-size: var(--fs-sm); background: var(--paper);
  transition: transform var(--t-fast) var(--ease-headsup);
}
.menu-btn:hover, .menu-btn:focus-visible { transform: translateY(-1px); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn .bars { width: 16px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--graphite); transition: transform var(--t-base) var(--ease-pageturn); }
.menu-btn .bars::before { top: 1px; } .menu-btn .bars::after { bottom: 1px; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 1100px) {
  .hdr__nav { display: flex; }
  .hdr__buy { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .hdr__buy { display: inline-flex; }
}
@media (max-width: 899px) {
  :root { --header-h: 56px; --header-h-condensed: 56px; }
  .hdr__in { grid-template-columns: auto 1fr auto; gap: var(--sp-2); }
  .hdr__brand .month-glyph { display: none; }
  .hdr__brand .wordmark { height: 24px; }
  .hdr.is-condensed .wordmark { height: 24px; }
  .cart-tag { padding: 0.45em 0.6em; gap: 0.35em; }
  .menu-btn { padding: 0.45em 0.6em; }
  .hdr__actions { gap: var(--sp-2); }
}
/* Mobile drawer: turns in like a page */
.mnav {
  position: fixed; inset: 0; z-index: 70;
  background: var(--cream);
  padding: calc(var(--header-h) + var(--sp-4)) var(--gutter) var(--sp-6);
  transform-origin: 100% 50%;
  transform: perspective(1200px) rotateY(-90deg);
  opacity: 0; visibility: hidden;
  transition: transform var(--t-base) var(--ease-pageturn), opacity var(--t-fast), visibility 0s linear var(--t-base);
  overflow-y: auto;
}
.mnav.is-open { transform: perspective(1200px) rotateY(0); opacity: 1; visibility: visible; transition: transform var(--t-base) var(--ease-pageturn), opacity var(--t-fast), visibility 0s; }
.mnav__close { position: absolute; top: calc((var(--header-h) - 2.5em) / 2); right: var(--gutter); }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: var(--sp-5); }
.week-strip .wd {
  border: 1.5px solid var(--hair-strong); border-radius: var(--r-cell); background: var(--paper);
  padding: 0.35em 0.4em; min-height: 3.6em; position: relative;
  font-variant-numeric: tabular-nums;
}
.week-strip .wd small { display: block; color: var(--shadow); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.week-strip .wd b { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.week-strip .wd.is-today { border-color: var(--graphite); }
.week-strip .wd.is-today::after { content: ''; position: absolute; top: 5px; right: 5px; width: 3px; height: 9px; border-radius: 2px; background: var(--marigold); }
.mnav ul { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: 2px; }
.mnav li a { display: block; padding: 0.7em 0.2em; font-family: var(--display); font-size: var(--fs-h3); text-decoration: none; color: var(--graphite); border-bottom: 1px solid var(--hair); }
.mnav li a[aria-current="page"] { padding-left: 0.6em; border-left: 3px solid var(--marigold); }
body.menu-open { overflow: hidden; }

/* 6. Kit: motif, seal, dividers, icons -------------------------------------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--lg { width: 40px; height: 40px; }
.icon .dot { fill: var(--marigold); stroke: none; }
.icon .moss { stroke: var(--moss); }
.k-daycell { width: 100%; height: auto; overflow: visible; }
.k-daycell .cell { fill: var(--paper); stroke: var(--graphite); stroke-width: 1.5; }
.k-daycell .tag { fill: var(--paper); stroke: var(--graphite); stroke-width: 1.5; }
.k-daycell .stripe { fill: var(--graphite); }
.k-daycell .sh { fill: var(--graphite); opacity: 0.16; }
.k-daycell .date { font-family: var(--display); font-weight: 700; fill: var(--graphite); }
.k-daycell .tick { fill: var(--marigold); }
.k-arc { overflow: visible; }
.k-arc path { fill: none; stroke: var(--graphite); stroke-width: 1; }
.k-arc circle { fill: var(--marigold); }
.k-seal { width: 100%; height: auto; }
.k-seal .ring { fill: none; stroke: var(--graphite); }
.k-seal .d { fill: var(--graphite); }
.k-seal .d.on { fill: var(--marigold); }
.k-seal text { font-family: var(--display); font-weight: 600; letter-spacing: 0.22em; fill: var(--graphite); font-size: 13px; }
.div { display: block; width: 100%; height: auto; margin: var(--sp-5) 0; overflow: visible; }
.div--week line, .div--week path { stroke: var(--graphite); stroke-width: 1; }
.div--week .tick.today { stroke: var(--marigold); stroke-width: 3; }
.div--perf line { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 6 5; }
.div--reminder path { fill: none; stroke: var(--graphite); stroke-width: 1; }
.div--reminder circle { fill: var(--marigold); }

/* 7. Components -------------------------------------------------------------- */
.card {
  position: relative; background: var(--paper); border-radius: var(--r-card);
  box-shadow: var(--shadow-1); padding: var(--sp-5);
  transition: transform var(--t-base) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup);
}
.card--oat { background: var(--oat); }
.card--lined { border: 1px solid var(--hair); }
.card--paper-tag::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--graphite); border-radius: var(--r-card) var(--r-card) 0 0; }
.card:hover, .card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card--static:hover { transform: none; box-shadow: var(--shadow-1); }
.plan-card { display: flex; flex-direction: column; gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 2vw, 3rem); min-height: 100%; }
.plan-card .plan-name { font-family: var(--display); font-size: var(--fs-h3); margin: 0; }
.plan-card .plan-desc { color: var(--graphite); }
.plan-card .plan-cta { margin-top: auto; display: grid; gap: var(--sp-3); justify-items: start; }
.plan-card .plan-cta .tag-btn--block { justify-self: stretch; }
.plan-card--household { border: 1.5px solid var(--graphite); }
.inclusions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.inclusions li { display: grid; grid-template-columns: 24px 1fr; gap: 0.7em; align-items: start; line-height: 1.4; }
.inclusions .icon { margin-top: 0.15em; }

/* Tables as design */
.spec-table { border-collapse: collapse; width: 100%; font-size: var(--fs-body); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: clamp(0.8rem, 0.6rem + 0.8vw, 1.4rem) clamp(0.6rem, 0.4rem + 0.8vw, 1.4rem); border-top: 1px solid var(--hair); }
.spec-table thead th { border-top: 0; border-bottom: 1.5px solid var(--graphite); font-family: var(--ui); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--shadow); }
.spec-table th[scope="row"] { font-family: var(--display); font-size: var(--fs-h4); font-weight: 600; font-variation-settings: 'wght' 600, 'SOFT' 100, 'opsz' 36, 'WONK' 0; letter-spacing: -0.01em; }
.spec-table tbody tr:last-child td, .spec-table tbody tr:last-child th { border-bottom: 1px solid var(--hair); }
.spec-table .check, .spec-table .no { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; }
.spec-table .check .icon { stroke: var(--moss); }
.spec-table .no .icon { stroke: var(--graphite); }
.spec-table--sticky th[scope="row"] { position: sticky; left: 0; background: inherit; }
@media (max-width: 699px) {
  .spec-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table--stack tr { display: block; padding: var(--sp-3) 0; border-top: 1px solid var(--hair); }
  .spec-table--stack th, .spec-table--stack td { display: block; border: 0; padding: 0.15em 0; }
  .spec-table--stack td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--shadow); font-weight: 600; margin-top: 0.4em; }
}

/* Accordion */
.acc { border-top: 1px solid var(--hair); }
.acc__item { border-bottom: 1px solid var(--hair); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: var(--sp-3); align-items: center; text-align: left; padding: var(--sp-4) 0; font-family: var(--display); font-size: var(--fs-h4); font-weight: 600; transition: padding-left var(--t-base) var(--ease-headsup); }
.acc__btn:hover, .acc__btn:focus-visible { padding-left: 0.4em; }
.acc__btn .k-daycell { width: 24px; }
.acc__btn .acc__mark { width: 14px; height: 14px; position: relative; }
.acc__btn .acc__mark::before, .acc__btn .acc__mark::after { content: ''; position: absolute; background: var(--graphite); left: 0; top: 6px; width: 14px; height: 1.5px; transition: transform var(--t-base) var(--ease-headsup); }
.acc__btn .acc__mark::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__mark::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base) var(--ease-headsup); }
.acc__panel > div { overflow: hidden; }
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__panel .prose { padding: 0 0 var(--sp-4) calc(28px + var(--sp-3)); max-width: var(--measure); }

/* Phone bubble (the texts) */
.bubble {
  position: relative; background: var(--paper); border-radius: 18px 18px 18px 4px; padding: 1em 1.15em;
  box-shadow: var(--shadow-1); font-size: var(--fs-body); line-height: 1.45; max-width: 34ch; font-variant-numeric: tabular-nums;
}
.bubble__day { display: inline-flex; align-items: center; gap: 0.4em; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--shadow); margin-bottom: 0.5em; }
.bubble__day::before { content: ''; width: 3px; height: 11px; border-radius: 2px; background: var(--marigold); }
.bubble__from { font-weight: 700; }
.bubble mark { background: none; color: inherit; font-weight: 600; }
.bubble .lnk { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.4em 0.85em; border-radius: 999px;
  border: 1.5px solid var(--graphite); background: var(--paper); font-weight: 600; font-size: var(--fs-sm); line-height: 1.1;
  transition: transform var(--t-fast) var(--ease-headsup), background-color var(--t-fast), box-shadow var(--t-base) var(--ease-headsup);
  position: relative;
}
.chip:hover, .chip:focus-visible { transform: translateY(-1px); box-shadow: var(--tag-shadow); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--graphite); color: var(--paper); }
.chip--marigold { background: var(--marigold); border-color: var(--marigold); }

/* Forms (field discipline: one column, top labels, required and optional marked) */
.form { display: grid; gap: var(--sp-4); max-width: 560px; }
.form--wide { max-width: none; }
.field { display: grid; gap: 0.4em; }
.field > label, .field__label { font-weight: 600; font-size: var(--fs-sm); display: flex; gap: 0.5em; align-items: baseline; }
.field .req, .req { font-weight: 500; font-size: var(--fs-xs); color: var(--shadow); letter-spacing: 0.04em; }
.field .hint { font-size: var(--fs-sm); color: var(--shadow); margin: 0; }
.input, .select, .textarea {
  width: 100%; padding: 0.75em 0.9em; background: var(--paper); border: 1.5px solid var(--hair-strong); border-radius: var(--r-cell);
  font-size: var(--fs-body); line-height: 1.3; color: var(--graphite); box-shadow: 0 0 0 rgba(43, 38, 34, 0);
  transition: border-color var(--t-fast), box-shadow var(--t-base) var(--ease-headsup), transform var(--t-fast) var(--ease-headsup);
}
.input::placeholder, .textarea::placeholder { color: rgba(107, 96, 88, 0.75); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--graphite); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--graphite); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.textarea { min-height: 8em; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4em; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--graphite); border-width: 2px; }
.field-error { display: flex; gap: 0.4em; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; color: var(--graphite); margin: 0; }
.field-error::before { content: '!'; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--graphite); color: var(--paper); display: inline-grid; place-items: center; font-size: 0.8em; margin-top: 0.15em; }
.error-summary { border: 2px solid var(--graphite); border-radius: var(--r-card); padding: var(--sp-4); background: var(--paper); }
.error-summary h3, .error-summary .h3 { font-family: var(--ui); font-size: var(--fs-h4); margin: 0 0 0.5em; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { font-weight: 600; color: var(--graphite); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.7em; align-items: start; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 0.1em 0 0; border: 1.5px solid var(--graphite); border-radius: 4px; background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-headsup); flex: none; }
.check input::before { content: ''; width: 12px; height: 7px; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper); transform: rotate(-45deg) scale(0); transform-origin: 40% 40%; transition: transform var(--t-fast) var(--ease-headsup); margin-top: -3px; }
.check input:checked { background: var(--graphite); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
.check input:hover { transform: translateY(-1px); }
.check input:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; }
.check span { font-size: var(--fs-sm); line-height: 1.45; }
.check a { color: var(--graphite); font-weight: 600; }

/* Stamps and success micro feedback */
.stamp {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 0.9em; border-radius: var(--r-tag);
  background: var(--paper); border: 1.5px solid var(--graphite); font-weight: 700; letter-spacing: 0.02em; position: relative; box-shadow: var(--tag-shadow);
  transform-origin: 50% 50%;
}
.stamp::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--graphite); border-radius: 4px 4px 0 0; }
.stamp.is-in { animation: stamp-in var(--t-base) var(--ease-headsup) both; }
.stamp--marigold { background: var(--marigold); border-color: var(--marigold); }
.stamp--marigold::before { background: var(--graphite); }
.stamp .icon { width: 20px; height: 20px; }
.stamp .draw { stroke: var(--moss); stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw-check var(--t-base) var(--ease-headsup) var(--t-fast) forwards; }
@keyframes stamp-in { 0% { transform: scale(1.35) rotate(-4deg); opacity: 0; } 60% { transform: scale(0.98) rotate(0.5deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.rm .stamp .draw { animation: none; stroke-dashoffset: 0; }

/* Tag rows (a bill tag as a DOM element) */
.tag {
  display: inline-flex; align-items: center; gap: 0.4em; position: relative; background: var(--paper); border: 1.5px solid var(--graphite);
  border-radius: 3px; padding: 0.3em 0.55em 0.3em; font-size: var(--fs-sm); font-weight: 600; line-height: 1.1; box-shadow: var(--tag-shadow); white-space: nowrap;
}
.tag::before { content: ''; position: absolute; left: -1.5px; right: -1.5px; top: -1.5px; height: 3px; background: var(--graphite); border-radius: 3px 3px 0 0; }
.tag--paid { color: var(--shadow); border-color: var(--hair-strong); }
.tag--paid::before { background: var(--hair-strong); }
.tag--paid .icon { stroke: var(--moss); width: 14px; height: 14px; }
.chip-headsup { display: inline-block; width: 22px; height: 10px; border-radius: 3px; background: var(--marigold); box-shadow: var(--tag-shadow); }

/* 8. Reveal system (initial states only when JS runs; reduced motion shows everything) */
.js:not(.rm) [data-reveal] { will-change: transform, opacity, clip-path; }
.js:not(.rm) [data-reveal="rise"], .js:not(.rm) [data-reveal="rise"] > [data-reveal-item],
.js:not(.rm) [data-reveal="fade-up"], .js:not(.rm) [data-reveal="fade-up"] > [data-reveal-item],
.js:not(.rm) [data-reveal="pop"] > [data-reveal-item], .js:not(.rm) [data-reveal="pop"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="stamp"] > [data-reveal-item], .js:not(.rm) [data-reveal="stamp"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="flip-in"] > [data-reveal-item], .js:not(.rm) [data-reveal="flip-in"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="mask-up"] > [data-reveal-item], .js:not(.rm) [data-reveal="mask-up"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="unmask-up"] > [data-reveal-item], .js:not(.rm) [data-reveal="unmask-up"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="unmask-left"] > [data-reveal-item], .js:not(.rm) [data-reveal="unmask-left"]:not(:has(> [data-reveal-item])):not([data-reveal-items]),
.js:not(.rm) [data-reveal="clip-cell"] > [data-reveal-item], .js:not(.rm) [data-reveal="clip-cell"]:not(:has(> [data-reveal-item])):not([data-reveal-items]) { opacity: 0; }
.js:not(.rm) [data-reveal="rise"]:has(> [data-reveal-item]), .js:not(.rm) [data-reveal="fade-up"]:has(> [data-reveal-item]) { opacity: 1; }
/* data-reveal-items="<selector>" staggers matched descendants (table rows, nested lists) instead of direct children */
.js:not(.rm) [data-reveal][data-reveal-items] [data-reveal-item] { opacity: 0; }
.js:not(.rm) [data-reveal="draw-in"] .draw-path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.js:not(.rm) [data-reveal="draw-in"] > [data-reveal-item] { opacity: 0; }
.js:not(.rm) [data-reveal="settle"] > [data-reveal-item] { opacity: 0; }
.js:not(.rm) [data-reveal].is-revealed, .js:not(.rm) [data-reveal].is-revealed > [data-reveal-item], .js:not(.rm) [data-reveal].is-revealed [data-reveal-item] { opacity: 1; }
.js:not(.rm) [data-reveal].is-revealed .draw-path { stroke-dashoffset: 0; }
/* the pop entrance slides items in from the right; clip that overflow so a phone viewport never widens (no vertical clip, shadows stay) */
.js:not(.rm) [data-reveal="pop"]:not(.scroll-x) { overflow-x: clip; overflow-y: visible; }

/* 9. Hover treatments (main[data-hover]); every treatment is mirrored on focus-visible and pressed on touch */
.hw { position: relative; display: inline-block; text-decoration: none; }
[data-hover] a:not(.tag-btn):not(.card):not(.chip) { text-decoration: none; }
/* pencil circle */
.hw-pencil { overflow: visible; }
.hw-pencil svg.pencil { position: absolute; left: -8%; top: -18%; width: 116%; height: 136%; pointer-events: none; overflow: visible; }
.hw-pencil svg.pencil path { fill: none; stroke: var(--graphite); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0.85; transition: stroke-dashoffset var(--t-base) var(--ease-headsup), opacity var(--t-fast); }
.hw-pencil:hover svg.pencil path, .hw-pencil:focus-visible svg.pencil path, .hw-pencil.is-pressed svg.pencil path { stroke-dashoffset: 0; }
/* highlighter */
.hw-highlighter { isolation: isolate; padding: 0 0.12em; margin: 0 -0.12em; }
.hw-highlighter::before { content: ''; position: absolute; inset: 12% -0.1em 6%; background: var(--marigold); transform: skewX(-8deg) scaleX(0); transform-origin: 0 50%; z-index: -1; border-radius: 2px; opacity: 0.85; transition: transform var(--t-base) var(--ease-headsup); }
.hw-highlighter:hover::before, .hw-highlighter:focus-visible::before, .hw-highlighter.is-pressed::before { transform: skewX(-8deg) scaleX(1); }
/* dated underline */
.hw-dated { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 100%; transition: background-size var(--t-base) var(--ease-headsup); padding-bottom: 1px; }
.hw-dated::after { content: ''; position: absolute; right: -0.5em; bottom: -1px; width: 5px; height: 5px; border-radius: 50%; background: var(--marigold); opacity: 0; transform: scale(0.3); transition: opacity var(--t-fast) var(--ease-headsup) var(--t-fast), transform var(--t-base) var(--ease-headsup) var(--t-fast); }
.hw-dated:hover, .hw-dated:focus-visible, .hw-dated.is-pressed { background-size: 100% 1px; }
.hw-dated:hover::after, .hw-dated:focus-visible::after, .hw-dated.is-pressed::after { opacity: 1; transform: scale(1); }
/* settle */
.hw-settle { --wonk: 1; transition: font-variation-settings var(--t-base) var(--ease-headsup), letter-spacing var(--t-base) var(--ease-headsup); font-variation-settings: 'wght' var(--wght, 600), 'SOFT' var(--soft, 100), 'opsz' var(--opsz, 72), 'WONK' var(--wonk); }
.hw-settle.ui { font-variation-settings: 'wght' 600; }
.hw-settle:hover, .hw-settle:focus-visible, .hw-settle.is-pressed { --wonk: 0; --wght: 700; letter-spacing: 0.01em; }
.hw-settle.ui:hover, .hw-settle.ui:focus-visible, .hw-settle.ui.is-pressed { font-variation-settings: 'wght' 750; }
/* tap */
.hw-tap { transition: transform var(--t-fast) var(--ease-headsup), text-shadow var(--t-fast) var(--ease-headsup); text-shadow: 0 2px 0 rgba(43, 38, 34, 0.12); }
.hw-tap:hover, .hw-tap:focus-visible, .hw-tap.is-pressed { transform: translateY(1px); text-shadow: 0 0 0 rgba(43, 38, 34, 0.2); }
/* pull quote lift */
.hw-lift { transition: transform var(--t-base) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup); border-radius: 3px; padding: 0 0.1em; margin: 0 -0.1em; }
.hw-lift:hover, .hw-lift:focus-visible, .hw-lift.is-pressed { transform: translateY(-2px); box-shadow: var(--shadow-2); background: var(--paper); }
/* date stamp */
.hw-stamp .stampmark { position: absolute; left: 100%; top: -0.6em; margin-left: 0.4em; padding: 0.15em 0.45em; background: var(--marigold); color: var(--graphite); font-family: var(--ui); font-size: 0.6em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; white-space: nowrap; opacity: 0; transform: scale(1.5) rotate(-8deg); transition: transform var(--t-base) var(--ease-headsup), opacity var(--t-fast); pointer-events: none; }
.hw-stamp:hover .stampmark, .hw-stamp:focus-visible .stampmark, .hw-stamp.is-pressed .stampmark { opacity: 1; transform: scale(1) rotate(-4deg); }
/* moss check */
.hw-check .checkmark { position: absolute; left: 100%; top: 50%; margin-left: 0.25em; width: 0.9em; height: 0.9em; transform: translateY(-55%); overflow: visible; }
.hw-check .checkmark path { fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset var(--t-base) var(--ease-headsup); }
.hw-check:hover .checkmark path, .hw-check:focus-visible .checkmark path, .hw-check.is-pressed .checkmark path { stroke-dashoffset: 0; }
/* strike that redraws as an underline */
.hw-strike::after { content: ''; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: var(--graphite); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-fast) var(--ease-headsup), top var(--t-base) var(--ease-headsup) var(--t-fast); }
.hw-strike:hover::after, .hw-strike:focus-visible::after, .hw-strike.is-pressed::after { transform: scaleX(1); top: 100%; }
/* sticky note peel */
.hw-sticky { isolation: isolate; padding: 0.05em 0.2em; margin: 0 -0.2em; }
.hw-sticky::before { content: ''; position: absolute; inset: -0.1em -0.05em; background: var(--marigold); z-index: -1; opacity: 0; transform: rotate(-2deg) scale(0.92); transform-origin: 20% 80%; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: opacity var(--t-fast), transform var(--t-base) var(--ease-headsup), clip-path var(--t-base) var(--ease-headsup); box-shadow: var(--tag-shadow); }
.hw-sticky:hover::before, .hw-sticky:focus-visible::before, .hw-sticky.is-pressed::before { opacity: 0.9; transform: rotate(-1deg) scale(1); clip-path: polygon(0 0, 100% 0, 100% 70%, 84% 100%, 0 100%); }
/* count (numerals count up, set by JS) */
.hw-count { font-variant-numeric: tabular-nums; }
/* magnet (translate set by JS) */
.hw-magnet { transition: transform var(--t-fast) var(--ease-headsup); }
.hw-magnet:focus-visible { transform: translateY(-2px); }
/* added stamp preview */
.hw-added .addedmark { position: absolute; right: -0.4em; top: -0.9em; padding: 0.1em 0.4em; border: 1.5px solid var(--graphite); background: var(--paper); border-radius: 3px; font-size: 0.6em; font-weight: 700; letter-spacing: 0.06em; opacity: 0; transform: scale(1.4) rotate(-6deg); transition: transform var(--t-base) var(--ease-headsup), opacity var(--t-fast); pointer-events: none; }
.hw-added .addedmark::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--graphite); }
.hw-added:hover .addedmark, .hw-added:focus-visible .addedmark, .hw-added.is-pressed .addedmark { opacity: 1; transform: scale(1) rotate(-4deg); }

/* 10. Loader (the flip calendar; Home only, lower 45 percent panel) */
.loader {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 5;
  background: var(--cream); display: flex; align-items: center; justify-content: center; gap: clamp(0.8rem, 2vw, 2rem);
  transition: opacity var(--t-base) var(--ease-pageturn), visibility 0s linear var(--t-base);
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__card {
  width: clamp(88px, 14vw, 180px); aspect-ratio: 0.86; background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow-2);
  display: grid; place-items: center; position: relative; font-family: var(--display); font-variation-settings: 'wght' 600, 'SOFT' 100, 'opsz' 144, 'WONK' 0;
  font-size: clamp(1rem, 2.4vw, 2rem); transform-style: preserve-3d; perspective: 900px; overflow: hidden;
}
.loader__card::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hair); }
.loader__card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--graphite); }
.loader__card--day { font-size: clamp(2.4rem, 6vw, 5rem); font-variant-numeric: tabular-nums; }
.loader__card--day .face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; transform-origin: 50% 50%; }
.loader__card small { display: block; font-family: var(--ui); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--shadow); position: absolute; bottom: 0.6em; left: 0; right: 0; text-align: center; }
.loader__skip { position: absolute; right: var(--gutter); top: var(--sp-4); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0.4em 0.6em; border-radius: var(--r-cell); background: var(--paper); box-shadow: var(--tag-shadow); }
.loader__skip:hover, .loader__skip:focus-visible { transform: translateY(-1px); }
.loader__status { position: absolute; left: var(--gutter); top: var(--sp-4); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--shadow); font-weight: 600; }

/* 11. Cart drawer */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(43, 38, 34, 0.32); opacity: 0; visibility: hidden; transition: opacity var(--t-base) var(--ease-pageturn), visibility 0s linear var(--t-base); }
.drawer-scrim.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-base) var(--ease-pageturn), visibility 0s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(100%, 440px); background: var(--cream);
  box-shadow: var(--shadow-2); display: flex; flex-direction: column; padding: var(--sp-5) var(--sp-5) var(--sp-6);
  transform: translateX(104%); transition: transform var(--t-base) var(--ease-pageturn); overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.drawer__head h2 { margin: 0; font-size: var(--fs-h3); }
.drawer__close { width: 40px; height: 40px; border: 1.5px solid var(--graphite); border-radius: var(--r-cell); background: var(--paper); display: grid; place-items: center; transition: transform var(--t-fast) var(--ease-headsup); }
.drawer__close:hover, .drawer__close:focus-visible { transform: translateY(-1px) rotate(90deg); }
.drawer__body { flex: 1; display: grid; gap: var(--sp-4); align-content: start; }
.cart-line { background: var(--paper); border-radius: var(--r-card); padding: var(--sp-4); box-shadow: var(--shadow-1); position: relative; }
.cart-line::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--graphite); border-radius: var(--r-card) var(--r-card) 0 0; }
.cart-line dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3em 1em; margin: var(--sp-3) 0 0; font-size: var(--fs-sm); }
.cart-line dt { color: var(--shadow); font-weight: 500; }
.cart-line dd { margin: 0; font-weight: 600; text-align: right; }
.cart-line .plan-title { font-family: var(--display); font-size: var(--fs-h4); margin: 0; }
.term-switch { display: inline-grid; grid-auto-flow: column; border: 1.5px solid var(--graphite); border-radius: 999px; padding: 3px; gap: 3px; background: var(--paper); margin-top: var(--sp-3); }
.term-switch button { padding: 0.4em 0.9em; border-radius: 999px; font-weight: 600; font-size: var(--fs-sm); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-headsup); }
.term-switch button[aria-pressed="true"] { background: var(--graphite); color: var(--paper); }
.term-switch button:hover { transform: translateY(-1px); }
.cart-note { font-size: var(--fs-sm); color: var(--shadow); min-height: 1.4em; }
.cart-empty { text-align: left; display: grid; gap: var(--sp-3); }
.drawer__foot { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.drawer .remove-btn { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--graphite); }

/* 12. Footer (destination footer) and the SMS block */
.footer { background: var(--cream); border-top: 1px solid var(--hair); }
.year-band { background: var(--oat); padding: var(--sp-6) 0; overflow: hidden; }
.year-band .wrap { display: grid; gap: var(--sp-4); }
.year-band h2 { font-size: var(--fs-h3); margin: 0; }
.year-strip { display: grid; grid-template-columns: repeat(12, minmax(98px, 1fr)); gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); scrollbar-width: thin; }
/* the twelve months run edge to edge across the band (the fill the page addendum), the heading stays on the wrap grid */
@media (min-width: 900px) { .year-strip { width: 100vw; margin-left: calc(50% - 50vw); padding-inline: var(--sp-3); scroll-padding-inline: var(--sp-3); } }
.mini-month { scroll-snap-align: start; background: var(--paper); border-radius: var(--r-card); padding: 0.8em; box-shadow: var(--shadow-1); transform-style: preserve-3d; transition: transform var(--t-base) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup); }
.mini-month:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.mini-month .mm-name { font-family: var(--display); font-size: var(--fs-sm); font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4em; }
.mini-month .mm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-month .mm-grid i { display: block; aspect-ratio: 1; border: 1px solid var(--hair); border-radius: 1px; }
.mini-month .mm-grid i.pad { border-color: transparent; }
.mini-month.is-current .mm-name::after { content: ''; width: 4px; height: 12px; border-radius: 2px; background: var(--marigold); }
.mini-month.is-current .mm-grid i.today { background: var(--marigold); border-color: var(--marigold); }
.footer-cols { display: grid; gap: var(--sp-6); padding: var(--sp-7) 0 var(--sp-6); }
@media (min-width: 700px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--sp-5); } }
.footer-cols h3 { font-family: var(--ui); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--shadow); margin: 0 0 var(--sp-3); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; }
.footer-cols a { font-weight: 500; }
.footer-brand { display: grid; gap: var(--sp-4); align-content: start; max-width: 360px; }
.footer-brand .wordmark { height: 30px; width: auto; }
.footer-brand .k-seal { width: 132px; }
.footer-brand .tagline { font-family: var(--display); font-size: var(--fs-h4); font-variation-settings: 'wght' 500, 'SOFT' 100, 'opsz' 36, 'WONK' 0; margin: 0; }
.footer-legal .org { font-weight: 700; display: block; }
.footer-legal address { line-height: 1.6; }
.sms-band { border-top: 1px solid var(--hair); padding: var(--sp-6) 0; }
.sms-block { display: grid; gap: var(--sp-5); }
@media (min-width: 1100px) { .sms-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 6rem); align-items: start; } }
.sms-block h2 { font-size: var(--fs-h2); margin: 0; }
.sms-block .form { max-width: none; }
.sms-block .checks { display: grid; gap: var(--sp-3); }
.sms-success { display: grid; gap: var(--sp-3); }
.copyright { border-top: 1px solid var(--hair); padding: var(--sp-4) 0; font-size: var(--fs-sm); color: var(--shadow); }

/* 13. Media grade ("morning counter") */
.grade { position: relative; overflow: hidden; }
.grade > img, .grade > video, .grade > picture img { width: 100%; height: 100%; object-fit: cover; }
.grade--full > img, .grade--full > video, .grade--full > picture img { filter: var(--grade-full); }
.grade--light > img, .grade--light > video, .grade--light > picture img { filter: var(--grade-light); }
.grade::before, .grade::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.grade--full::before { background: #FAF3E6; mix-blend-mode: multiply; opacity: 0.08; }
.grade--full::after { background: #2B2622; mix-blend-mode: lighten; opacity: 0.10; }
.grade--light::before { background: #FAF3E6; mix-blend-mode: multiply; opacity: 0.04; }
.grade--light::after { background: #2B2622; mix-blend-mode: lighten; opacity: 0.05; }
.media-band { position: relative; width: 100%; min-height: 60vh; }
.media-band .grade { position: absolute; inset: 0; }
.photo { border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.photo img { border-radius: inherit; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-21-9 { aspect-ratio: 21 / 9; }

/* 14. View transitions and reduced motion */
@view-transition { navigation: auto; }
::view-transition-old(wordmark), ::view-transition-new(wordmark), ::view-transition-old(month-glyph), ::view-transition-new(month-glyph) { animation-duration: 0.48s; animation-timing-function: cubic-bezier(0.24, 0.8, 0.26, 1); }
::view-transition-old(root) { animation: 0.2s cubic-bezier(0.42, 0, 0.14, 1) both vt-out; }
::view-transition-new(root) { animation: 0.48s cubic-bezier(0.24, 0.8, 0.26, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
}
.rm *, .rm *::before, .rm *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
.rm .tag-btn { animation: none; }

/* 15. Utilities */
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-center { text-align: center; }
.u-center .lead, .u-center .measure { margin-inline: auto; }
.u-right { text-align: right; }
.u-flex { display: flex; }
.u-between { justify-content: space-between; align-items: center; }
.u-gap { gap: var(--sp-3); }
.u-mt-0 { margin-top: 0 !important; } .u-mb-0 { margin-bottom: 0 !important; }
.u-mt-4 { margin-top: var(--sp-4); } .u-mt-5 { margin-top: var(--sp-5); } .u-mt-6 { margin-top: var(--sp-6); }
.u-nowrap { white-space: nowrap; }
@media (min-width: 900px) { .u-right-desktop { text-align: right; justify-self: end; } }
.u-hide-mobile { display: none; }
@media (min-width: 900px) { .u-hide-mobile { display: initial; } .u-hide-desktop { display: none !important; } }
.status-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.scroll-x { display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--sp-2) var(--gutter) var(--sp-4); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scroll-padding-inline: var(--gutter); }
.scroll-x > * { scroll-snap-align: start; flex: none; }
.shelf-nav { display: flex; gap: var(--sp-2); }
.shelf-nav button { width: 44px; height: 44px; border: 1.5px solid var(--graphite); border-radius: var(--r-cell); background: var(--paper); display: grid; place-items: center; transition: transform var(--t-fast) var(--ease-headsup), box-shadow var(--t-base) var(--ease-headsup); }
.shelf-nav button:hover, .shelf-nav button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.shelf-nav button:active { transform: translateY(1px); }
.shelf-nav button[disabled] { opacity: 0.35; transform: none; box-shadow: none; cursor: default; }
