/* Birch Compass — premium nature-reference design system.
   A field-guide aesthetic: warm paper, engraved line-art emblems, editorial type,
   restrained ornament. Self-hosted fonts (no Google Fonts CDN). Light default;
   dark ("dusk") via [data-theme="dark"]. Vanilla CSS, no framework. */

@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url("/assets/fonts/playfair.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url("/assets/fonts/source-sans.woff2") format("woff2");
}

:root {
  --paper:    #F7F3EE;   /* warm off-white (never pure white) */
  --paper-2:  #F0EAE0;   /* card well / tint */
  --paper-3:  #ECE4D7;   /* deeper tint band */
  --surface:  #FFFDF9;   /* raised surface */
  --ink:      #262320;   /* body text (never pure black) */
  --ink-2:    #54504A;   /* secondary */
  --ink-3:    #837B6E;   /* captions, sources */
  --line:     #E3DACB;   /* hairline */
  --line-2:   #EDE6D9;   /* faint hairline */

  --sage:     #4A6741;   /* accent 1 */
  --sage-ink: #3B5333;   /* AA text on paper */
  --sage-bg:  #E7EDE2;
  --amber:    #B07A12;   /* accent 2 — warmth (deepened for contrast) */
  --amber-ink:#8A5E0A;
  --amber-bg: #F2E7CF;

  /* section accents */
  --c-birds:#5E7488; --c-blooms:#A86A7E; --c-garden:#577049; --c-market:#B47C34;
  --c-sky:#566499; --c-butterflies:#BE6E40; --c-trees:#856243;

  --display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(60,45,25,.04), 0 2px 8px rgba(60,45,25,.05);
  --shadow:    0 4px 14px rgba(60,45,25,.06), 0 18px 40px rgba(60,45,25,.08);
  --shadow-lift:0 10px 26px rgba(60,45,25,.10), 0 30px 60px rgba(60,45,25,.10);
  --radius:    16px; --radius-sm: 10px; --radius-lg: 24px;
  --ring:      0 0 0 3px var(--sage-bg), 0 0 0 4px var(--sage);
  --measure:   44rem;   /* reading column */
  --wrap:      73rem;
  --grain-op:  .035; --grain-blend: multiply;
}
:root[data-theme="dark"] {
  --paper:#15130F; --paper-2:#201C16; --paper-3:#262017; --surface:#221E18;
  --ink:#ECE6DA; --ink-2:#B7AF9F; --ink-3:#897F6D;
  --line:#332C21; --line-2:#3A3226;
  --sage:#93B383; --sage-ink:#A9C79A; --sage-bg:#22281D;
  --amber:#D7A645; --amber-ink:#E6BC5E; --amber-bg:#2C2516;
  --c-birds:#8FA4BA; --c-blooms:#CF9CAE; --c-garden:#8AAA7B; --c-market:#D9AA63;
  --c-sky:#909ECC; --c-butterflies:#DF9D70; --c-trees:#B0926F;
  --shadow:0 6px 18px rgba(0,0,0,.45),0 22px 48px rgba(0,0,0,.5);
  --shadow-lift:0 12px 30px rgba(0,0,0,.55),0 30px 60px rgba(0,0,0,.55);
  --grain-op:.05; --grain-blend: soft-light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* attribute must win over component display rules */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 1.075rem; line-height: 1.68; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
/* faint paper grain + a soft horizon glow at the top */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-op); mix-blend-mode: var(--grain-blend);
}
body::after {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% -30%, color-mix(in srgb, var(--sage) 9%, transparent), transparent 60%);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
.prose { max-width: var(--measure); }
img, svg { max-width: 100%; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.14; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.55rem + 3.3vw, 3.6rem); margin: 0 0 .42em; letter-spacing: -.018em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.15rem); margin: 1.5em 0 .5em; letter-spacing: -.012em; }
h3 { font-size: 1.28rem; margin: 1.3em 0 .35em; letter-spacing: -.008em; }
p { margin: 0 0 1.05em; }
a { color: var(--sage-ink); text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--sage-ink) 38%, transparent); transition: color .15s, text-decoration-color .15s; }
a:hover { text-decoration-color: currentColor; }

.lede { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.32rem); line-height: 1.55; color: var(--ink-2);
  font-weight: 400; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sage-ink); background: none; padding: 0; border-radius: 0;
}
.kicker::before, .eyebrow::before {
  content: ""; width: 1.7rem; height: 1.5px; background: currentColor; opacity: .7; border-radius: 2px;
}
.kicker a, .eyebrow a { color: inherit; text-decoration: none; }
.kicker a:hover, .eyebrow a:hover { color: var(--ink); }

.section { padding: clamp(40px, 6vw, 76px) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(22px, 4vw, 40px); }
.section-head h2 { margin: 0; }
.band-tint { background:
  linear-gradient(180deg, color-mix(in srgb, var(--paper-2) 60%, transparent), color-mix(in srgb, var(--paper-2) 60%, transparent));
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 60; box-shadow: var(--shadow); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ── Ornament / divider ───────────────────────────────────────────────────── */
.ornament { display: flex; justify-content: center; color: var(--sage); margin: clamp(34px, 6vw, 64px) auto; }
.ornament svg { width: min(260px, 70%); height: auto; opacity: .85; }
.ornament-foot { margin: 0; padding: 30px 0 4px; color: var(--sage); }
.ornament-foot svg { width: 220px; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.26rem; letter-spacing: -.01em; }
.brand-tag { font-family: var(--sans); font-size: .64rem; color: var(--ink-3); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; margin-top: .42em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; padding: 4px 0; }
.nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--sage); transition: right .25s ease; }
.nav a.nav-link:hover { color: var(--sage-ink); }
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { right: 0; }
.nav a.nav-link[aria-current="page"] { color: var(--sage-ink); }
.header-actions { display: flex; gap: 8px; margin-left: 4px; }
.icon-btn { appearance: none; cursor: pointer; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center;
  transition: color .15s, border-color .15s, transform .1s; }
.icon-btn:hover { color: var(--sage-ink); border-color: var(--sage); }
.icon-btn:active { transform: translateY(1px); }
.icon-btn svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .sun { display: block; } :root[data-theme="dark"] .moon { display: none; }
.sun { display: none; } .moon { display: block; }
.nav-toggle { display: none; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 13px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform .12s ease, box-shadow .15s, border-color .15s, background .15s; box-shadow: var(--shadow-sm); }
.btn:hover { border-color: var(--sage); color: var(--sage-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--sage-ink); border-color: var(--sage-ink); color: #fff; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: #2a1f06; }
.btn-amber:hover { background: var(--amber-ink); border-color: var(--amber-ink); color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 1.04rem; border-radius: 13px; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
/* non-interactive "coming soon" marker (no link, no capture) */
.btn-soon { cursor: default; color: var(--ink-3); background: var(--paper-2); border-color: var(--line);
  border-style: dashed; box-shadow: none; }
.btn-soon:hover { transform: none; color: var(--ink-3); border-color: var(--line); box-shadow: none; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 52px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 34rem; }
.hero h1 { margin-bottom: .5em; }
.h1-accent { color: var(--sage-ink); font-style: italic; }
.hero .lede { margin-bottom: 1.6em; }
.zip-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.zip-field { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.zip-field:focus-within { border-color: var(--sage); box-shadow: var(--ring); }
.zip-field label { display: grid; place-items: center; padding: 0 14px; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2);
  border-right: 1px solid var(--line); }
.zip-field input { font: inherit; font-size: 1.12rem; letter-spacing: .14em; padding: 13px 16px; width: 9.5rem;
  border: 0; background: transparent; color: var(--ink); }
.zip-field input:focus { outline: none; }
.zip-error { color: #b1442f; font-size: .92rem; margin: 12px 0 0; min-height: 1.2em; }
:root[data-theme="dark"] .zip-error { color: #e08b78; }
.trust { font-size: .82rem; color: var(--ink-3); line-height: 1.5; margin: 22px 0 0; max-width: 32rem;
  padding-top: 18px; border-top: 1px solid var(--line-2); }
.hero-art { display: grid; place-items: center; }
.seal { width: min(360px, 84%); height: auto; color: var(--sage); animation: floaty 9s ease-in-out infinite; }
.seal-rose { color: var(--amber); }
.seal-ring { color: var(--sage-ink); }
.seal-track { opacity: .55; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Feature grid (sections showcase) ─────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.feature { display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--sec) 50%, var(--line)); }
.feature h3 { margin: 0 0 .2em; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--ink-3); font-size: .94rem; line-height: 1.5; }

/* circular emblem medallion (used in features, sections, subjects) */
.sec-emblem { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: var(--sec, var(--sage));
  background: color-mix(in srgb, var(--sec, var(--sage)) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sec, var(--sage)) 34%, var(--line)); }
.sec-emblem svg { width: 30px; height: 30px; }

/* ── State grid cards ─────────────────────────────────────────────────────── */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.state-card { position: relative; display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow: hidden; transition: transform .15s, box-shadow .2s, border-color .2s; }
.state-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sage);
  transform: scaleY(0); transform-origin: bottom; transition: transform .2s ease; }
.state-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.state-card:hover::before { transform: scaleY(1); }
.state-card .st-name { font-family: var(--display); font-size: 1.18rem; font-weight: 700; }
.state-card .st-meta { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.state-card.is-ready .st-meta { color: var(--sage-ink); }
.state-card.is-soon { background: var(--paper-2); }
.state-card.is-soon .st-name { color: var(--ink-2); }

/* ── Preview band (homepage) ──────────────────────────────────────────────── */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.preview-copy { max-width: 30rem; }
.preview-copy .ck-form, .preview-copy .ck-disabled { margin-top: 18px; }

/* ── Stats specimen strip — even card grid (aligns cleanly at any item count) ── */
.statsbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px;
  margin: 24px 0; }
.statsbar .stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.statsbar .stat b { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--amber-ink); line-height: 1.1; }
.statsbar .stat span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ── State overview hero + plate + month grid ─────────────────────────────── */
.state-hero { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.state-hero-txt h1 { margin-bottom: .3em; }
.state-hero-txt .lede { margin: 0; }
.state-plate { margin: 0; padding: 20px 20px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; color: var(--sage); }
.state-plate img, .state-plate svg { display: block; width: 172px; height: 172px; margin: 0 auto 8px; }
.state-plate figcaption { font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: .92rem;
  padding-top: 8px; border-top: 1px solid var(--line-2); }

.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.month-grid a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; display: block; transition: transform .15s, box-shadow .2s, border-color .2s; }
.month-grid a:hover { border-color: var(--sage); box-shadow: var(--shadow); transform: translateY(-2px); }
.month-grid .m { font-family: var(--display); font-size: 1.22rem; }
.month-grid .h { font-size: .84rem; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }

.subject-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.subject-row a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-decoration: none;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-weight: 600; transition: transform .15s, box-shadow .2s, border-color .2s; }
.subject-row a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--sec) 50%, var(--line)); }

/* ── State+month core page ────────────────────────────────────────────────── */
.month-head { padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.month-head h1 { margin: 0; }
.month-lede, .section .wrap > .lede { margin-bottom: 1.4em; }

.nat-section { max-width: var(--measure); padding: clamp(26px, 4vw, 40px) 0; border-top: 1px solid var(--line); }
.nat-section:first-of-type { border-top: 0; }
.sec-head { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); }
.nat-section .sec-emblem { width: 54px; height: 54px; }
.nat-section .sec-emblem svg { width: 32px; height: 32px; }
.sec-body > :last-child { margin-bottom: 0; }
.coming-soon { color: var(--ink-3); font-style: italic; background: var(--paper-2); border-radius: var(--radius-sm);
  padding: 16px 18px; border: 1px dashed var(--line); }

/* contextual cross-sell / affiliate row */
.xsell { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 16px 0 2px;
  font-size: .93rem; color: var(--ink-2); padding-top: 14px; border-top: 1px dotted var(--line); }
.xsell a { font-weight: 600; }
.aff { color: var(--ink-2); font-size: .95rem; margin: 14px 0 2px; }
.aff a { font-weight: 600; }
.aff::before { content: "→ "; color: var(--ink-3); }

/* personalization bar */
.perso { display: flex; align-items: center; gap: 10px; background: var(--sage-bg);
  border: 1px solid color-mix(in srgb, var(--sage) 36%, var(--line)); border-radius: var(--radius);
  padding: 12px 18px; margin: 18px 0; color: var(--sage-ink); font-weight: 600; }
.zone-note { background: color-mix(in srgb, var(--c-garden) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c-garden) 28%, var(--line));
  border-left: 3px solid var(--c-garden); padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0; }

/* "this week" / field-notes box */
.thisweek { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 22px 0; box-shadow: var(--shadow-sm); position: relative; }
.thisweek::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px;
  background: var(--amber); border-radius: 3px; }
.thisweek h2 { margin: 0 0 .6em; font-size: 1.24rem; }
.thisweek ul { list-style: none; margin: 0; padding: 0; }
.thisweek li { padding: 9px 0 9px 24px; position: relative; border-bottom: 1px solid var(--line-2); line-height: 1.5; }
.thisweek li:last-child { border-bottom: 0; }
.thisweek li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--sec, var(--amber)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sec, var(--amber)) 18%, transparent); }
.thisweek li.wk-birds { --sec: var(--c-birds); } .thisweek li.wk-bloom { --sec: var(--c-blooms); }
.thisweek li.wk-garden { --sec: var(--c-garden); } .thisweek li.wk-sky { --sec: var(--c-sky); }
.thisweek li.wk-market { --sec: var(--c-market); } .thisweek li.wk-butterflies { --sec: var(--c-butterflies); }
.thisweek li.wk-trees { --sec: var(--c-trees); }

/* month prev/next nav */
.monthnav { display: flex; justify-content: space-between; gap: 12px; margin: 34px 0 8px;
  padding-top: 22px; border-top: 1px solid var(--line); }
.monthnav a { text-decoration: none; color: var(--sage-ink); font-weight: 600; }
.monthnav a:hover { color: var(--ink); }

/* Temporal presence chart */
.temporal { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 18px 0 8px; }
.temporal th { font-weight: 700; color: var(--ink-3); text-align: center; padding: 6px 2px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.temporal td.name { text-align: left; padding: 5px 12px 5px 0; white-space: nowrap; color: var(--ink); font-weight: 500; }
.temporal td.cell { padding: 3px; }
.temporal .pip { height: 20px; border-radius: 6px;
  background: color-mix(in srgb, var(--tcol, var(--c-birds)) calc(var(--o,0) * 1%), var(--paper-2)); }
.temporal tbody tr { border-top: 1px solid var(--line-2); }

/* ── CTA cards ────────────────────────────────────────────────────────────── */
.cta { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 26px 0; }
.cta h3 { margin: 0 0 .3em; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cta-feature { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 12%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--amber) 30%, var(--line)); }
.cta-feature .row { margin-top: 0; }

/* email capture */
.ck-form { display: flex; gap: 10px; flex-wrap: wrap; }
.ck-form input[type=email] { font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); min-width: 15rem; flex: 1; box-shadow: var(--shadow-sm); }
.ck-form input[type=email]:focus { outline: none; border-color: var(--sage); box-shadow: var(--ring); }
.ck-hp { position: absolute; left: -9999px; }
.ck-disabled { color: var(--ink-3); background: var(--paper-2); border: 1px dashed var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: .95rem; }
.ck-disabled strong { color: var(--ink-2); }
.fineprint { font-size: .82rem; color: var(--ink-3); margin: 8px 0 0; }

/* ── Cards / guides / tiers ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card h3 a { text-decoration: none; }
.price { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--amber-ink); margin: 0 0 .4em; }
.card.bundle { grid-column: 1 / -1; display: flex; gap: clamp(20px, 4vw, 40px); align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 13%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--amber) 38%, var(--line)); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 38px); }
.bundle-mark { flex: 0 0 auto; width: clamp(80px, 14vw, 120px); color: var(--amber); }
.bundle-mark svg { width: 100%; height: auto; }
.bundle-body { flex: 1; }
.bundle-body h3 { font-size: 1.6rem; }

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 8px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); }
.tier.premium { border-color: var(--sage); box-shadow: var(--shadow); position: relative; }
.tier h2 { margin: .4em 0 .2em; }
.tier ul { padding-left: 0; list-style: none; color: var(--ink-2); margin: 1em 0; }
.tier li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line-2); }
.tier li:last-child { border-bottom: 0; }
.tier li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 6px;
  border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.badge { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  background: var(--sage-bg); color: var(--sage-ink); padding: 4px 11px; border-radius: 999px; font-weight: 700; }
.soon-badge { background: var(--amber-bg); color: var(--amber-ink); }

/* ── Ads ──────────────────────────────────────────────────────────────────── */
.ad { max-width: var(--measure); margin: 30px auto; text-align: center; }
.ad-label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

/* ── Blog + resources ─────────────────────────────────────────────────────── */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-list h3 { margin: .25em 0; }
.post-list h3 a { text-decoration: none; }
.post-list .date { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.empty-note { color: var(--ink-3); background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center; }
.pager { display: flex; gap: 14px; justify-content: center; margin: 30px 0; }

/* blog index cards */
.post-feature { margin-bottom: 18px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); }
.post-card h3 { margin: .55em 0 .3em; font-size: 1.3rem; }
.post-card .post-dek { color: var(--ink-2); margin: 0 0 1.1em; font-size: .98rem; line-height: 1.55; }
.post-card .post-date { margin-top: auto; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.post-card.featured { background: linear-gradient(135deg, color-mix(in srgb, var(--sage) 9%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--sage) 34%, var(--line)); padding: clamp(26px, 4vw, 40px); }
.post-card.featured h3 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.post-card.featured .post-dek { font-size: 1.12rem; max-width: 46ch; }
.post-cat { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--sage-ink); background: var(--sage-bg); padding: 4px 11px; border-radius: 999px; }

/* blog post (article) */
.post-article .post-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; color: var(--ink-3);
  font-size: .82rem; letter-spacing: .04em; }
.post-article .post-meta span { text-transform: uppercase; letter-spacing: .07em; }
.post-article .lede { margin: .2em 0 1em; }
.post-body { margin-top: 22px; }
.post-body h2 { color: var(--ink); }
.post-body > :first-child { margin-top: 0; }
.post-related { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }

/* premium empty state */
.empty-editorial { text-align: center; padding: clamp(34px, 6vw, 70px) 24px; max-width: 40rem; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.empty-mark { color: var(--sage); margin-bottom: 14px; }
.empty-mark svg { width: 54px; height: 54px; }
.empty-editorial h2 { margin: 0 0 .3em; }
.empty-editorial p { margin: 0 auto; max-width: 44ch; }

/* ── Article (legal/about/blog) ───────────────────────────────────────────── */
.article { max-width: var(--measure); margin: 0 auto; padding: clamp(34px, 5vw, 64px) 0; }
.article p, .article li { color: var(--ink-2); }
.article h2 { color: var(--ink); }

/* ── Footer colophon ──────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 52px; background: var(--paper-2); }
.footer-inner { padding: 8px 0 16px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.foot-mark { max-width: 23rem; }
.foot-mark .brand { margin-bottom: 12px; }
.foot-mark p { color: var(--ink-3); font-size: .94rem; line-height: 1.55; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 36px; }
.footer-cols h3 { font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-3); margin: 0 0 12px; font-weight: 700; }
.footer-cols a { display: block; color: var(--ink-2); text-decoration: none; font-size: .93rem; padding: 3px 0; }
.footer-cols a:hover { color: var(--sage-ink); }
.foot-divider { height: 1px; background: var(--line); margin: 26px 0; }
.disclosure { color: var(--ink-3); font-size: .82rem; line-height: 1.55; max-width: 90ch; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--ink-3);
  font-size: .82rem; padding: 12px 0 4px; }
.foot-legal a { color: var(--ink-3); }
.foot-legal a:hover { color: var(--sage-ink); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .seal { width: min(280px, 64%); }
  .preview-grid { grid-template-columns: 1fr; }
  .state-hero { grid-template-columns: 1fr; }
  .state-plate { justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 1.04rem; }
  .nav { gap: 0; }
  .nav .nav-link { display: none; }
  .nav.open { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 5vw 16px; gap: 0; box-shadow: var(--shadow); }
  .nav.open .nav-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .nav-toggle { display: grid; }
  .statsbar { grid-template-columns: repeat(2, 1fr); }
  /* mega-menu collapses into the mobile drawer as a stacked accordion */
  .nav-mega { display: none; }
  .nav.open .nav-mega { display: block; width: 100%; border-bottom: 1px solid var(--line-2); }
  .nav.open .nav-mega-btn { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; }
  .nav.open .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 10px; background: none; }
  .nav.open .mega-inner { grid-template-columns: 1fr; gap: 6px 0; }
  .nav.open .mega-head { margin-top: 8px; }
  .foot-top { flex-direction: column; gap: 28px; }
  .cta-feature { flex-direction: column; align-items: flex-start; }
}

/* ══ Location chip (persistent, location-aware nav anchor) ═══════════════════ */
.loc-chip { position: relative; margin-left: 14px; display: flex; align-items: center; }
.loc-pin { width: 15px; height: 15px; flex: 0 0 auto; color: var(--sage-ink); }
.loc-set, .loc-active {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, color .15s; }
.loc-set:hover, .loc-active:hover { border-color: var(--sage); color: var(--sage-ink); }
.loc-active { padding-right: 4px; gap: 0; }
.loc-home { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit;
  padding: 0 4px 0 8px; height: 100%; border-radius: 999px; }
.loc-home:hover { color: var(--sage-ink); }
.loc-city { white-space: nowrap; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.loc-zone { color: var(--ink-3); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.loc-zone::before { content: "·"; margin: 0 6px; color: var(--line); }
.loc-caret { display: grid; place-items: center; width: 28px; height: 30px; border: 0; background: none;
  color: var(--ink-3); cursor: pointer; border-radius: 999px; }
.loc-caret svg { width: 15px; height: 15px; }
.loc-caret:hover { color: var(--sage-ink); }
.loc-chip.open .loc-caret { color: var(--sage-ink); }

.loc-pop, .loc-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 234px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 14px; }
.loc-form { display: flex; gap: 8px; }
.loc-form input { font: inherit; flex: 1; min-width: 0; padding: 9px 12px; letter-spacing: .12em;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.loc-form input:focus { outline: none; border-color: var(--sage); box-shadow: var(--ring); }
.loc-pop-err { color: #b1442f; font-size: .82rem; margin: 8px 2px 0; min-height: 1em; }
:root[data-theme="dark"] .loc-pop-err { color: #e08b78; }
.loc-list { list-style: none; margin: 0 0 6px; padding: 0; }
.loc-row { display: flex; align-items: center; gap: 2px; border-radius: 10px; }
.loc-row:hover { background: var(--paper-2); }
.loc-pick { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; text-align: left; border: 0;
  background: none; font: inherit; font-size: .92rem; color: var(--ink); cursor: pointer; padding: 9px 10px; border-radius: 10px; }
.loc-pick .loc-check { width: 16px; flex: 0 0 auto; color: var(--sage); opacity: 0; font-weight: 700; }
.loc-row.is-active .loc-pick { color: var(--sage-ink); font-weight: 700; }
.loc-row.is-active .loc-check { opacity: 1; }
.loc-row-city { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-row-zone { margin-left: auto; padding-left: 10px; color: var(--ink-3); font-size: .8rem; font-weight: 600; flex: 0 0 auto; }
.loc-remove { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 4px;
  border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 8px; opacity: .55;
  transition: opacity .12s, color .12s, background .12s; }
.loc-remove svg { width: 14px; height: 14px; }
.loc-row:hover .loc-remove, .loc-remove:focus-visible { opacity: 1; }
.loc-remove:hover { color: #b1442f; background: color-mix(in srgb, #b1442f 14%, transparent); }
:root[data-theme="dark"] .loc-remove:hover { color: #e08b78; }
.loc-add { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; border-top: 1px solid var(--line-2);
  background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--sage-ink); cursor: pointer;
  padding: 11px 10px 3px; margin-top: 4px; border-radius: 0; }
.loc-add:hover { color: var(--ink); }
.loc-add .loc-pin { color: currentColor; }

/* ══ 'Explore' mega-menu ════════════════════════════════════════════════════ */
.nav-mega { position: relative; display: inline-flex; }
.nav-mega-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .96rem; color: var(--ink-2); padding: 4px 0; position: relative; }
.nav-mega-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-mega.open .nav-mega-btn svg { transform: rotate(180deg); }
.nav-mega-btn::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--sage); transition: right .25s ease; }
.nav-mega:hover .nav-mega-btn::after, .nav-mega.open .nav-mega-btn::after, .nav-mega-here .nav-mega-btn::after { right: 0; }
.nav-mega-btn:hover, .nav-mega.open .nav-mega-btn, .nav-mega-here .nav-mega-btn { color: var(--sage-ink); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(680px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: 22px; }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }  /* hover bridge */
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; }
.mega-head { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage-ink); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.mega-needloc { font-size: .9rem; color: var(--ink-3); margin: 0; line-height: 1.45; }
.mega-links { display: flex; flex-direction: column; }
.mega-link { display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--ink);
  padding: 8px 10px; margin: 0 -10px; border-radius: 10px; transition: background .14s, color .14s; }
.mega-link span:first-child { font-weight: 600; font-size: .98rem; }
.mega-link:hover { background: var(--paper-2); color: var(--sage-ink); }
.mega-sub { font-size: .82rem; color: var(--ink-3); }
.mega-link:hover .mega-sub { color: var(--ink-2); }

/* ══ Dashboard — command center ═════════════════════════════════════════════ */
.dashboard { padding-bottom: clamp(24px, 4vw, 44px); }
/* location bar */
.dash-bar { background: linear-gradient(165deg, var(--paper-3), color-mix(in srgb, var(--sage) 7%, var(--paper-2)));
  border-bottom: 1px solid var(--line); }
.dash-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 34px) 0; }
.dash-bar-id { display: flex; align-items: center; gap: 16px; }
.dash-seal { flex: 0 0 auto; width: 54px; height: 54px; color: var(--sage); display: block; }
.dash-seal svg { width: 100%; height: 100%; }
.dash-bar-txt .kicker { margin: 0 0 4px; }
.dash-loc { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.05; }
.dash-when { margin: 5px 0 0; color: var(--ink-2); font-size: .96rem; display: flex; gap: 8px; flex-wrap: wrap; }
.dash-season { color: var(--sage-ink); font-weight: 600; text-transform: capitalize; }
.dash-season::before { content: "·"; margin-right: 8px; color: var(--ink-3); }
.dash-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* layout: sticky rail + main column */
.dash-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
  padding-top: clamp(26px, 4vw, 40px); align-items: start; }
.dash-rail { position: sticky; top: 88px; align-self: start; }
.dash-toc { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); padding-left: 2px; }
.toc-link { position: relative; text-decoration: none; color: var(--ink-3); font-size: .94rem; font-weight: 600;
  padding: 8px 12px; margin-left: -2px; border-left: 2px solid transparent; transition: color .15s, border-color .15s; }
.toc-link:hover { color: var(--ink); }
.toc-link.active { color: var(--sage-ink); border-left-color: var(--sage); }
.dash-quick { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.dash-quick-btn { display: inline-flex; align-items: center; gap: 9px; text-align: left; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--line); border-radius: 11px; padding: 10px 13px; text-decoration: none; transition: border-color .15s, color .15s; }
.dash-quick-btn:hover { border-color: var(--sage); color: var(--sage-ink); }
.dash-quick-btn svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--sage); }

.dash-main { min-width: 0; }
.dash-block { scroll-margin-top: 84px; margin-bottom: clamp(26px, 4vw, 40px); }
.dash-block-head { margin-bottom: 16px; }
.dash-block-head h2 { margin: 0; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.dash-block-head .muted { margin: .2em 0 0; font-size: .95rem; }

/* week/month toggle */
.dash-toggle { position: relative; display: inline-grid; grid-auto-flow: column; gap: 0; margin-bottom: 22px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.dash-tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font: inherit;
  font-weight: 700; font-size: .92rem; color: var(--ink-3); padding: 9px 22px; border-radius: 999px; transition: color .2s; }
.dash-tab.is-on { color: var(--sage-ink); }
.dash-tab-slider { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.3,.8,.3,1); }

/* week tiles (richer: label + text + deep link) — even 2×2, equal heights */
.dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dash-tiles .dash-tile { height: 100%; }
.dash-tile { display: flex; gap: 15px; align-items: flex-start; padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--sec, var(--sage)); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); }
.dash-tile.sec-birds { --sec: var(--c-birds); } .dash-tile.sec-blooms { --sec: var(--c-blooms); }
.dash-tile.sec-garden { --sec: var(--c-garden); } .dash-tile.sec-sky { --sec: var(--c-sky); }
.dash-tile .sec-emblem { width: 46px; height: 46px; }
.dash-tile .sec-emblem svg { width: 28px; height: 28px; }
.dash-tile-body { min-width: 0; }
.dash-tile h3 { margin: 2px 0 .3em; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--sans); color: var(--sec, var(--sage-ink)); }
.dash-tile-txt { margin: 0 0 .6em; font-size: .98rem; line-height: 1.5; color: var(--ink); }
.dash-tile-link { font-size: .86rem; font-weight: 700; color: var(--sec, var(--sage-ink)); text-decoration: none; }
.dash-tile-link:hover { text-decoration: underline; }

/* month view cards */
.dash-mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.dash-mcard { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; text-decoration: none;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; }
.dash-mcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--sec, var(--sage)) 50%, var(--line)); }
.dash-mcard.sec-birds { --sec: var(--c-birds); } .dash-mcard.sec-blooms { --sec: var(--c-blooms); }
.dash-mcard.sec-garden { --sec: var(--c-garden); } .dash-mcard.sec-market { --sec: var(--c-market); }
.dash-mcard.sec-sky { --sec: var(--c-sky); } .dash-mcard.sec-butterflies { --sec: var(--c-butterflies); }
.dash-mcard.sec-trees { --sec: var(--c-trees); }
.dash-mcard .sec-emblem { width: 40px; height: 40px; } .dash-mcard .sec-emblem svg { width: 24px; height: 24px; }
.dash-mcard h3 { margin: 0 0 .25em; font-size: 1.04rem; }
.dash-mcard-txt { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink-3); }
.dash-mcard.is-stub { opacity: .6; }

/* at a glance — reuse .statsbar; explore grid */
.dash-statsbar { margin: 0; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 12px; }
.explore-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s; }
.explore-card.sec-birds { --sec: var(--c-birds); } .explore-card.sec-blooms { --sec: var(--c-blooms); }
.explore-card.sec-garden { --sec: var(--c-garden); } .explore-card.sec-market { --sec: var(--c-market); }
.explore-card.sec-sky { --sec: var(--c-sky); } .explore-card.sec-trees { --sec: var(--c-trees); }
.explore-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--sec, var(--sage)) 50%, var(--line)); }
.explore-card .sec-emblem { width: 44px; height: 44px; }
.explore-card .sec-emblem svg { width: 26px; height: 26px; }
.explore-card-body { flex: 1; min-width: 0; }
.explore-card h3 { margin: 0 0 .12em; font-size: 1.04rem; }
.explore-card p { margin: 0; font-size: .86rem; color: var(--ink-3); }
.explore-arrow { color: var(--ink-3); font-size: 1.1rem; transition: transform .15s, color .15s; }
.explore-card:hover .explore-arrow { color: var(--sec, var(--sage-ink)); transform: translateX(3px); }

@media (max-width: 860px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-rail { position: static; top: auto; }
  .dash-toc { flex-direction: row; flex-wrap: wrap; border-left: 0; padding-left: 0; gap: 4px;
    border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .toc-link { border-left: 0; border-bottom: 2px solid transparent; margin: 0; }
  .toc-link.active { border-left-color: transparent; border-bottom-color: var(--sage); }
  .dash-quick { flex-direction: row; flex-wrap: wrap; margin-top: 12px; }
}
@media (max-width: 560px) { .dash-tiles { grid-template-columns: 1fr; } }

/* ══ In-page TOC rail (long state-month pages) ══════════════════════════════ */
.month-wrap { display: grid; grid-template-columns: 200px minmax(0, 46rem); gap: clamp(24px, 4vw, 52px);
  justify-content: center; align-items: start; }
.page-rail { position: sticky; top: 88px; align-self: start; }
.page-toc { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.page-toc-h { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px 12px; }
.month-col { min-width: 0; }
.nat-section { scroll-margin-top: 84px; }
#thisweek, .thisweek { scroll-margin-top: 84px; }
@media (max-width: 980px) {
  .month-wrap { grid-template-columns: minmax(0, 46rem); justify-content: center; }
  .page-rail { display: none; }
}

/* Weekly challenge + Nature Score */
.dash-challenge { margin-top: clamp(22px, 3vw, 34px); padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--sage) 8%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage) 26%, var(--line)); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); }
.chal-head { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chal-head-txt h2 { margin: 0 0 .15em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.chal-head-txt .kicker { margin-bottom: .5rem; }
.chal-progress-txt { margin: 0; font-size: .9rem; }
.score-ring-wrap { position: relative; width: 96px; height: 96px; flex: 0 0 auto; }
.score-ring { width: 96px; height: 96px; transform: rotate(-90deg); }
.score-ring-track { fill: none; stroke: color-mix(in srgb, var(--sage) 16%, var(--line)); stroke-width: 7; }
.score-ring-fill { fill: none; stroke: var(--amber); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .7s cubic-bezier(.2,.8,.2,1); }
.score-ring-star { fill: none; stroke: var(--sage); stroke-width: 1.2; opacity: .5; transform-box: fill-box; }
.score-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.score-ring-num b { font-family: var(--display); font-size: 1.7rem; color: var(--ink); }
.score-ring-num span { display: block; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.chal-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.chal-item { display: flex; align-items: flex-start; gap: 13px; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px;
  transition: border-color .15s, background .15s, transform .1s; }
.chal-item:hover { border-color: var(--sec, var(--sage)); }
.chal-item:active { transform: scale(.995); }
.chal-check { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  border: 2px solid color-mix(in srgb, var(--sec, var(--sage)) 55%, var(--line)); background: var(--paper);
  position: relative; transition: background .15s, border-color .15s; }
.chal-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.chal-item.done { color: var(--ink-2); }
.chal-item.done .chal-txt { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.chal-item.done .chal-check { background: var(--sec, var(--sage)); border-color: var(--sec, var(--sage)); }
.chal-item.done .chal-check::after { transform: rotate(45deg) scale(1); }
.chal-item.wk-birds { --sec: var(--c-birds); } .chal-item.wk-bloom { --sec: var(--c-blooms); }
.chal-item.wk-garden { --sec: var(--c-garden); } .chal-item.wk-sky { --sec: var(--c-sky); }
.chal-item.wk-market { --sec: var(--c-market); } .chal-item.wk-butterflies { --sec: var(--c-butterflies); }
.chal-item.wk-trees { --sec: var(--c-trees); }
.chal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.chal-stats { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); }
.chal-stats b { font-family: var(--display); font-size: 1.3rem; color: var(--amber-ink); margin-right: 4px; }

/* ══ Printable monthly journal ══════════════════════════════════════════════ */
.journal-page { max-width: 60rem; padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 44px); }
.journal-head { text-align: center; margin-bottom: 26px; }
.journal-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--sage);
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.journal-mark svg { width: 26px; height: 26px; }
.journal-head h1 { margin: 12px 0 .2em; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem); }
.journal-sub { color: var(--ink-2); margin: 0 0 16px; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); }
.jref-rule { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--sage-ink);
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.jref-rule::before, .jref-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.jref-block { margin-bottom: 18px; }
.jref-block h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 .4em; font-size: 1.06rem;
  color: var(--sec, var(--ink)); }
.jref-block.sec-birds { --sec: var(--c-birds); } .jref-block.sec-blooms { --sec: var(--c-blooms); }
.jref-block.sec-garden { --sec: var(--c-garden); } .jref-block.sec-sky { --sec: var(--c-sky); }
.jref-block .sec-emblem { width: 32px; height: 32px; }
.jref-block .sec-emblem svg { width: 20px; height: 20px; }
.jref-list { list-style: none; margin: 0; padding: 0; }
.jref-list li { position: relative; padding: 5px 0 5px 16px; font-size: .94rem; line-height: 1.45; color: var(--ink-2);
  border-bottom: 1px dotted var(--line-2); }
.jref-list li:last-child { border-bottom: 0; }
.jref-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--sec, var(--sage)); }
.jref-list .sci { font-style: italic; color: var(--ink-3); font-size: .86em; }
.journal-blank .jblank { margin-bottom: 15px; }
.journal-blank label, .jsketch label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2);
  letter-spacing: .02em; margin-bottom: 6px; }
.jrule { border-bottom: 1.5px solid var(--line); height: 0; }
.jrule.lines { height: 2.4em; background-image: repeating-linear-gradient(to bottom, transparent, transparent 1.15em, var(--line) 1.15em, var(--line) calc(1.15em + 1.5px)); border-bottom: 1.5px solid var(--line); }
.jsketch { margin-top: 6px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 16px;
  min-height: 130px; display: flex; align-items: flex-end; background:
  repeating-linear-gradient(45deg, transparent, transparent 10px, color-mix(in srgb, var(--line) 30%, transparent) 10px, color-mix(in srgb, var(--line) 30%, transparent) 11px); }
.journal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 28px;
  padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8rem;
  letter-spacing: .04em; }
.journal-foot span:first-child { font-weight: 700; color: var(--sage-ink); }
@media (max-width: 680px) { .journal-grid { grid-template-columns: 1fr; } }
@media print {
  body::before, body::after { display: none; }
  .site-header, .site-footer, .ad, .ad-sticky, .js-print, .nav, .loc-chip { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  .journal-page { padding: 0; max-width: none; }
  .journal-head h1 { font-size: 20pt; }
  .jref-block, .jblank, .jsketch, .journal-foot { break-inside: avoid; }
  .jsketch { min-height: 150px; }
  @page { size: letter; margin: 0.5in; }
}

/* ══ Nature ID quiz ═════════════════════════════════════════════════════════ */
.quiz-cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-cat-links a { font-weight: 600; font-size: .92rem; text-decoration: none; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--sage-ink); }
.quiz-cat-links a:hover { border-color: var(--sage); background: var(--sage-bg); }
.quiz-intro .quiz-start { margin-top: 18px; }
.quiz-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.quiz-meta b { font-family: var(--display); font-size: 1.1rem; color: var(--sage-ink); }
.quiz-running { color: var(--amber-ink); font-weight: 700; }
.quiz-bar { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.quiz-bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sage), var(--amber));
  transition: width .4s ease; }
.quiz-prompt { margin: 0 0 20px; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.quiz-choices { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.quiz-choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 1.04rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 18px; transition: border-color .15s, background .15s, transform .1s; box-shadow: var(--shadow-sm); }
.quiz-choice:hover:not(:disabled) { border-color: var(--sage); transform: translateY(-1px); }
.quiz-choice:disabled { cursor: default; }
.qc-key { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  background: var(--paper-2); color: var(--ink-3); font-weight: 700; font-size: .9rem; }
.quiz-choice.is-correct { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 13%, var(--surface)); }
.quiz-choice.is-correct .qc-key { background: var(--sage); color: #fff; }
.quiz-choice.is-wrong { border-color: var(--c-blooms); background: color-mix(in srgb, var(--c-blooms) 12%, var(--surface)); }
.quiz-choice.is-wrong .qc-key { background: var(--c-blooms); color: #fff; }
.quiz-note { min-height: 1.2em; margin: 16px 0 0; font-size: .96rem; color: var(--ink-2);
  opacity: 0; transition: opacity .25s; }
.quiz-note.show { opacity: 1; }
.quiz-next { margin-top: 18px; }
.quiz-result { text-align: center; }
.quiz-result-ring { position: relative; width: 132px; height: 132px; margin: 0 auto 18px; }
.quiz-ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.quiz-ring-fill { stroke: var(--amber); stroke-dashoffset: 326.7; }
.quiz-result-score { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.quiz-result-score b { font-family: var(--display); font-size: 2.6rem; color: var(--ink); }
.quiz-result-score span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.quiz-result-head { margin: 0 0 .2em; }
.quiz-result-sub { margin: 0 auto 20px; max-width: 34rem; }
.quiz-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.quiz-result .cta-feature { text-align: left; }

@media (max-width: 720px) {
  .loc-chip { margin-left: auto; order: 2; }
  .loc-city { max-width: 8.5rem; }
  .chal-head { gap: 16px; }
  .score-ring-wrap, .score-ring { width: 80px; height: 80px; }
}

/* ── Motion ───────────────────────────────────────────────────────────────────
   Reveal only hides when JS is present (html.js, set by the inline head snippet),
   so content is never invisible to no-JS clients or crawlers. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .seal { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
