/* Stage N Sprouts — shared styles.
   Palette is sampled from the logo (see site/coming-soon/README.md):
   cream ground, wordmark ink, leaf green. Serif = same stack as the
   coming-soon page so the whole domain reads as one thing. */

:root {
  --cream:      #fcf3ea;
  --card:       #fffdfa;
  --ink:        #302f18;
  --olive:      #6b6334;
  --leaf:       #4f7a4a;
  --leaf-dark:  #3d6039;
  --leaf-soft:  #e8f0e6;
  --line:       #e2d8c9;
  --warn:       #8c5a2b;
  --track:      #f1ece2;
  --radius:     12px;
  --art-bg:     #e8f0e6;
  --serif:      "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  --sans:       ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Links (owner 2026-11-30: "hyperlinks need to be blue in daylight but a
     different color in dark mode"): one token, redefined for dark below. */
  --link:       #2a5db0;
  --link-hover: #1f4a8f;
  /* Surfaces that used to hard-code a light colour; every one of these has a
     dark value in the dark block, so nothing is unreadable on the dark ground. */
  --on-leaf:    #fffdfa;   /* text on a leaf-green button / pill */
  --muted:      #a79c8b;   /* placeholders, photo credits */
  --error:      #8c3a2b;
  --stamp:      #2f6d5a;   /* the PET-SAFE stamp */
  --scrim:      rgba(24, 21, 15, 0.55);
  --badge-stage-bg: var(--leaf-soft); --badge-stage-fg: var(--leaf-dark); --badge-stage-line: #cfe0ca;
  --badge-safe-bg:  #e6f0ea; --badge-safe-fg:  #2f6d5a; --badge-safe-line:  #c9e0d5;
  --badge-warn-bg:  #f6ece2; --badge-warn-fg:  var(--warn); --badge-warn-line: #e6d3bf;
  --badge-exact-bg: #eae6f2; --badge-exact-fg: #5b4a86; --badge-exact-line: #d6cce8;
  --badge-gold-bg:  #f6ead3; --badge-gold-fg:  #7a5a1e; --badge-gold-line:  #e3cc9a;
  --gold-line:  #c9a86a;   /* donation tile border */
  --gold-ink:   #8a6a2d;   /* donation note on thanks.html */
  --ribbon:     #b8893a;   /* "100% to ACDRA" ribbon */
  color-scheme: light;
}

/* Dark mode, two doors to the same tokens: the saved/toggled choice
   (`data-theme`, set before first paint by each page) and the system
   preference when no choice was saved or JS has not run. Keep both lists
   identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  --cream:      #1e2419;   /* dark olive-charcoal ground */
  --card:       #262d21;
  --ink:        #efe8da;
  --olive:      #bdb68f;
  --leaf:       #4b7a46;   /* white button text keeps >= 4.5:1 on it */
  --leaf-dark:  #8cb57f;   /* text-on-ground green */
  --leaf-soft:  #2f3b2b;
  --art-bg:     #2f3b2b;
  --line:       #3a4232;
  --warn:       #dca868;
  --track:      #2a3125;
  --link:       #8fb8ff;   /* light sky blue: the daylight blue does not read here */
  --link-hover: #b4ccff;
  --muted:      #9a957d;
  --error:      #e0906f;
  --stamp:      #93bfa9;
  --scrim:      rgba(0, 0, 0, 0.62);
  --badge-stage-bg: #2f3c2a; --badge-stage-fg: #a9c69b; --badge-stage-line: #3d4f36;
  --badge-safe-bg:  #27362e; --badge-safe-fg:  #93bfa9; --badge-safe-line:  #35493d;
  --badge-warn-bg:  #3c2f22; --badge-warn-fg:  #dca868; --badge-warn-line:  #4e3c2a;
  --badge-exact-bg: #322c40; --badge-exact-fg: #c3b4e6; --badge-exact-line: #463d5c;
  --badge-gold-bg:  #3a3122; --badge-gold-fg:  #e0c48a; --badge-gold-line:  #5a4a2c;
  --gold-line:  #8a7040;
  --gold-ink:   #d9b26f;
  --ribbon:     #b8893a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --cream:      #1e2419;   /* dark olive-charcoal ground */
  --card:       #262d21;
  --ink:        #efe8da;
  --olive:      #bdb68f;
  --leaf:       #4b7a46;   /* white button text keeps >= 4.5:1 on it */
  --leaf-dark:  #8cb57f;   /* text-on-ground green */
  --leaf-soft:  #2f3b2b;
  --art-bg:     #2f3b2b;
  --line:       #3a4232;
  --warn:       #dca868;
  --track:      #2a3125;
  --link:       #8fb8ff;   /* light sky blue: the daylight blue does not read here */
  --link-hover: #b4ccff;
  --muted:      #9a957d;
  --error:      #e0906f;
  --stamp:      #93bfa9;
  --scrim:      rgba(0, 0, 0, 0.62);
  --badge-stage-bg: #2f3c2a; --badge-stage-fg: #a9c69b; --badge-stage-line: #3d4f36;
  --badge-safe-bg:  #27362e; --badge-safe-fg:  #93bfa9; --badge-safe-line:  #35493d;
  --badge-warn-bg:  #3c2f22; --badge-warn-fg:  #dca868; --badge-warn-line:  #4e3c2a;
  --badge-exact-bg: #322c40; --badge-exact-fg: #c3b4e6; --badge-exact-line: #463d5c;
  --badge-gold-bg:  #3a3122; --badge-gold-fg:  #e0c48a; --badge-gold-line:  #5a4a2c;
  --gold-line:  #8a7040;
  --gold-ink:   #d9b26f;
  --ribbon:     #b8893a;
}

@font-face {
  font-family: "Dancing Script";
  src: url("fonts/dancing-script-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("fonts/dancing-script-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

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

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header / nav ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
/* brand centred and generous; nav on its own row below — easy thumb reach
   on a phone, and the mark gets room to be an illustration, not an icon */
.site-header .wrap {
  display: flex; justify-content: center;
  padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; }
.brand-row {
  display: flex; align-items: center;
  font-family: "Dancing Script", "Snell Roundhand", cursive;
  font-weight: 700; letter-spacing: 0.01em;
  /* 80px on desktop, scaling down so title + pots never overflow a phone */
  font-size: clamp(38px, 7.5vw, 80px);
  line-height: 1.1;
}

/* the stack under the header: logo level, then the nav bubbles */
.masthead {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.6rem 1.25rem 0.4rem;
}
.masthead-logo { display: block; width: 100%; max-width: min(29rem, 90vw); border-radius: var(--radius); }
nav.main { display: flex; gap: 0.4rem; font-family: var(--sans); font-size: 0.95rem; }
nav.main a {
  color: var(--olive); text-decoration: none;
  padding: 0.4rem 0.75rem; border-radius: 999px;
}
nav.main a:hover { background: var(--leaf-soft); color: var(--leaf-dark); }
nav.main a[aria-current="page"] { background: var(--leaf); color: var(--on-leaf); }

/* ---------- hero ---------- */

.hero { text-align: center; padding: 1.75rem 0 2.5rem; }
.hero .eyebrow {
  font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive);
  margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; margin: 0 0 1rem; font-weight: 600; }
.hero .lede {
  max-width: 36rem; margin: 0 auto 1.75rem;
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--ink) 84%, var(--cream));
}
.cta-row { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-family: var(--serif); font-size: 1rem;
  padding: 0.7rem 1.4rem; border-radius: var(--radius);
  border: 1px solid var(--leaf); cursor: pointer; text-decoration: none;
  transition: background 120ms ease;
}
.btn.primary { background: var(--leaf); color: var(--on-leaf); }
.btn.primary:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.btn.ghost { background: transparent; color: var(--leaf-dark); }
.btn.ghost:hover { background: var(--leaf-soft); }
.btn[disabled] { opacity: 0.55; cursor: default; }

:focus-visible { outline: 2px solid var(--leaf-dark); outline-offset: 2px; }

/* ---------- sections ---------- */

section.band { padding: 3rem 0; }
section.band + section.band { border-top: 1px solid var(--line); }
.band h2 { font-size: 1.65rem; margin: 0 0 0.4rem; text-align: center; }
.band .sub {
  text-align: center; color: var(--olive); max-width: 34rem;
  margin: 0 auto 2rem;
}

/* the light / struggle / renewal strip */
.stages { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.stage-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.3rem;
}
.stage-card .k {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--leaf-dark); margin: 0 0 0.5rem;
}
.stage-card p { margin: 0; font-size: 0.975rem; }

/* the collection grid — six family cards, 3x2 (2 wide on phones); centred by
   default; add .side to .collection to dock it left with the intro in a rail */
.collection-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 56rem) { .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; } }
/* family cards carry our own illustrations (square-ish, transparent), shown whole */
.collection-grid .plant-card .art { aspect-ratio: 1 / 1; }
.collection-grid .plant-card .art img { object-fit: contain; padding: 5%; }
.collection-grid .plant-card .art img[src$=".svg"] { width: 68%; height: 68%; padding: 0; }
.coll-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-align: left;
  display: flex; flex-direction: column;
}
.coll-card .art {
  aspect-ratio: 1 / 1; background: var(--art-bg);
  display: grid; place-items: center; overflow: hidden;
}
.coll-card .art img { width: 100%; height: 100%; object-fit: cover; }
.coll-card .art img[src$=".svg"] { width: 72%; height: 72%; object-fit: contain; }
.coll-card .art .mono { font-size: 2.2rem; color: var(--leaf); opacity: 0.7; font-style: italic; }
.coll-card .body { padding: 0.45rem 0.6rem 0.55rem; }
.coll-card .name { font-weight: 600; font-size: 0.86rem; line-height: 1.2; }
.coll-card .feat { color: var(--olive); font-style: italic; font-size: 0.72rem; line-height: 1.3; }
.coll-card .qty {
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.05em;
  color: var(--leaf-dark); margin-top: 0.2rem;
}
.coll-credit { text-align: center; font-size: 0.68rem; color: var(--muted); margin-top: 0.9rem; }

.collection.side { display: grid; gap: 2.5rem; grid-template-columns: 1fr 20rem; align-items: start; }
.collection.side .collection-grid { margin: 0; }
.collection.side h2, .collection.side .sub { text-align: left; margin-left: 0; }
@media (max-width: 56rem) { .collection.side { grid-template-columns: 1fr; } }

/* family drill-down: 4-wide square tiles */
.fam-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 56rem) { .fam-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }
.vcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.vcard .art {
  /* 3:4 portrait — the capture app's native frame, so photos fit exactly:
     no crop, no letterbox. Square SVG name cards center on the sage panel. */
  aspect-ratio: 3 / 4; background: var(--art-bg);
  display: grid; place-items: center; overflow: hidden;
}
.vcard .art img { width: 100%; height: 100%; object-fit: cover; }
.vcard .art img[src$=".svg"] { object-fit: contain; }
.vcard .art, .plant-card .art { position: relative; }
.paw-stamp {
  position: absolute; top: 0.55rem; right: 0.55rem;
  font-family: var(--sans); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.5rem; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--stamp); border: 2px dashed var(--stamp);
  transform: rotate(-7deg);
  pointer-events: none;
}
.vcard .desc.clamp {
  font-size: 0.8rem; color: color-mix(in srgb, var(--ink) 78%, var(--cream));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vcard.soldout .desc { opacity: 0.5; }
.vcard .art .mono { font-size: 2.4rem; color: var(--leaf); opacity: 0.7; font-style: italic; }
.vcard .body { padding: 0.6rem 0.75rem 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.vcard .name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.vcard .meta { font-family: var(--sans); font-size: 0.7rem; color: var(--olive); }
.vcard .buy-row { margin-top: auto; padding-top: 0.4rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vcard .state-note.ready { color: var(--leaf-dark); }
.vcard .price { font-size: 1.05rem; font-weight: 600; }
.vcard .buy-row .btn { margin-left: auto; padding: 0.35rem 0.85rem; font-size: 0.88rem; }
.vcard .state-note { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--olive); }
.vcard.soldout .art, .vcard.soldout .name, .vcard.soldout .meta { opacity: 0.5; }
.sort-row { margin-top: 0.5rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 0.9rem; margin: 1.1rem 0; }
.pager span { font-family: var(--sans); font-size: 0.82rem; color: var(--olive); }
.pager .pg { padding: 0.35rem 1rem; font-size: 1.05rem; line-height: 1; }
.pager .pg[disabled] { opacity: 0.35; cursor: default; }
/* A–Z jump bar on family pages: one button per letter, "#" for names that
   start with a number. Letters with nothing under them stay visible but dim.
   Buttons are 32px minimum so they work as thumb targets; the bar wraps on
   phones and only sticks on wide screens, where it fits on one line. */
.az-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem;
  margin: 0.9rem 0 0.4rem; padding: 0.4rem 0;
  background: var(--cream);
}
.az-bar .az {
  min-width: 2rem; min-height: 2rem; padding: 0 0.2rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600; line-height: 1;
  color: var(--leaf-dark); background: var(--card);
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  transition: background 120ms ease;
}
.az-bar .az:hover { background: var(--leaf-soft); }
.az-bar .az[disabled] { opacity: 0.35; cursor: default; background: transparent; }
@media (min-width: 56rem) { .az-bar { position: sticky; top: 0; z-index: 5; } }
.fam-search { max-width: 22rem; margin: 0.9rem auto 0; }
.fam-search input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.6rem 0.875rem;
}
.fam-search input::placeholder { color: var(--muted); }
#all-btn[aria-pressed="true"] { background: var(--warn); border-color: var(--warn); color: var(--on-leaf); }
.fam-tab[aria-pressed="true"] { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }
.sort-btn[aria-pressed="true"] { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }

/* dogs */
.dogs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.dog-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.dog-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 28%; display: block; }
.dog-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.dog-card h3 { margin: 0; font-size: 1.2rem; }
.dog-card .role {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--olive); margin: 0.2rem 0 0.6rem;
}
.dog-card p { margin: 0; font-size: 0.95rem; }

/* ---------- shop grid ---------- */

.drop-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.plant-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.plant-card .art {
  aspect-ratio: 3 / 4; background: var(--art-bg);
  display: grid; place-items: center; overflow: hidden;
}
.plant-card .art img { width: 100%; height: 100%; object-fit: cover; }
.drop-grid .plant-card .art img[src$=".svg"] { object-fit: contain; }
.plant-card .art .mono {
  font-size: 2.6rem; color: var(--leaf); opacity: 0.75; font-style: italic;
}
.plant-card .body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.plant-card .name { font-weight: 600; line-height: 1.25; }
.plant-card .genus { color: var(--olive); font-style: italic; font-size: 0.88rem; margin-top: -0.3rem; }
.plant-card .desc { font-size: 0.85rem; color: color-mix(in srgb, var(--ink) 80%, var(--cream)); }
.plant-card .buy-row {
  margin-top: auto; padding-top: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.plant-card .price { font-size: 1.15rem; font-weight: 600; }
.plant-card .buy-row .btn { margin-left: auto; padding: 0.45rem 1rem; font-size: 0.92rem; }

.badges { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.badge {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.05em;
  padding: 0.16rem 0.5rem; border-radius: 999px;
  background: var(--track); color: var(--olive); border: 1px solid var(--line);
}
.badge.stage { background: var(--badge-stage-bg); color: var(--badge-stage-fg); border-color: var(--badge-stage-line); }
.badge.safe  { background: var(--badge-safe-bg);  color: var(--badge-safe-fg);  border-color: var(--badge-safe-line); }
.badge.toxic, .badge.low { background: var(--badge-warn-bg); color: var(--badge-warn-fg); border-color: var(--badge-warn-line); }
.badge.exact { background: var(--badge-exact-bg); color: var(--badge-exact-fg); border-color: var(--badge-exact-line); }
.lb-body .photo-note { font-family: var(--sans); font-size: 0.8rem; color: var(--olive); margin: 0.5rem 0 0; }

.empty-drop {
  text-align: center; background: var(--card); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 3rem 1.5rem; max-width: 34rem; margin: 0 auto;
}
.empty-drop h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.empty-drop p { margin: 0 0 1.25rem; color: var(--olive); }

/* ---------- shipping & pickup (shop.html#shipping) ---------- */

.ship-menu {
  list-style: none; margin: 0 auto 1.4rem; padding: 0; max-width: 34rem;
  border-top: 1px solid var(--line);
}
.ship-menu li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
}
.ship-menu .ship-label { flex: 1 1 auto; min-width: 0; }
.ship-menu .ship-when {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--olive); white-space: nowrap; margin-left: 0.3rem;
}
.ship-menu b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ship-note {
  max-width: 34rem; margin: 0 auto 0.9rem; font-size: 0.975rem;
  color: color-mix(in srgb, var(--ink) 84%, var(--cream));
}
.ship-note:last-child { margin-bottom: 0; }

/* ---------- waitlist ---------- */

.waitlist { max-width: 26rem; margin: 0 auto; }
.waitlist .field { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.waitlist input[type="email"] {
  flex: 1 1 12rem; min-width: 0; padding: 0.7rem 0.875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist .status { min-height: 1.4rem; margin: 0.75rem 0 0; font-size: 0.92rem; text-align: center; }
.waitlist .status.ok { color: var(--leaf-dark); }
.waitlist .status.error { color: var(--error); }
.waitlist .fineprint { font-size: 0.8rem; color: var(--olive); text-align: center; margin: 0.4rem 0 0; }

.contact-form { max-width: 30rem; }
.contact-fields { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-fields select, .contact-fields textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.7rem 0.875rem;
}
.contact-fields textarea { resize: vertical; min-height: 6rem; }
.contact-fields .btn { align-self: center; }

/* "Other ways to pay": a note under the contact form, never a button.
   Venmo cannot reserve stock, so it must not read as a second checkout.
   The Venmo QR (featured/venmo-qr-*.svg, owner 2026-11-30) sits beside the
   text on wide screens and under it on phones; its tile stays white in
   both schemes so the code scans. */
.pay-other { max-width: 40rem; margin: 2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pay-other .k {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--leaf-dark); margin: 0 0 0.8rem; text-align: center;
}
.pay-grid { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.pay-grid .ship-note { margin: 0; text-align: left; }
.pay-qr { margin: 0; text-align: center; }
.pay-qr-tile {
  display: inline-block; line-height: 0; padding: 0.55rem; border-radius: 12px;
  background: #ffffff; border: 1px solid var(--line);
}
.pay-qr-tile img { width: 9.5rem; height: 9.5rem; display: block; }
.pay-qr figcaption { font-family: var(--sans); font-size: 0.8rem; color: var(--olive); margin-top: 0.45rem; }
.pay-qr figcaption b { color: var(--ink); font-weight: 600; }
.pay-logo { display: block; line-height: 0; margin-bottom: 0.45rem; }
.pay-logo:empty, .pay-logo:not(:has(img)) { display: none; }
.pay-logo img { height: 1.3rem; width: auto; display: inline-block; }
@media (max-width: 40rem) {
  .pay-grid { grid-template-columns: 1fr; justify-items: center; gap: 1.1rem; }
  .pay-grid .ship-note { text-align: center; }
}
#contact .sub a { color: inherit; }

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

/* ---------- story page ---------- */

.prose { max-width: 42rem; margin: 0 auto; padding: 2.5rem 0 1rem; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 0.5rem; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; }
.prose p  { margin: 0 0 1rem; }
.prose .big-quote {
  font-size: 1.3rem; line-height: 1.5; font-style: italic;
  color: var(--leaf-dark); border-left: 3px solid var(--leaf);
  padding-left: 1.1rem; margin: 1.6rem 0;
}
.prose .aside { font-size: 0.92rem; color: var(--olive); }
.prose img.inline-photo { border-radius: var(--radius); margin: 0.5rem 0 1rem; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 3rem; padding: 2rem 0 2.5rem;
  text-align: center; font-size: 0.875rem; color: var(--olive);
}
footer.site p { margin: 0.3rem 0; }
footer.site a { color: inherit; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ---------- dark mode extras (the tokens are at the top of the file) ---------- */
[data-theme="dark"] .masthead-logo { box-shadow: 0 0 0 1px var(--line); }
[data-theme="dark"] img:not(.pay-qr img) { opacity: 0.94; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .masthead-logo { box-shadow: 0 0 0 1px var(--line); }
  :root:not([data-theme="light"]) img:not(.pay-qr img) { opacity: 0.94; }
}

.theme-toggle {
  font: inherit; font-size: 1.05rem; line-height: 1;
  padding: 0.4rem 0.7rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--olive); border: 1px solid var(--line);
}
.theme-toggle:hover { background: var(--leaf-soft); }


/* ---------- plant lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: var(--scrim);
  display: grid; place-items: center; padding: 1.25rem;
}
.lightbox[hidden] { display: none; }
.lb-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); max-width: 40rem; width: 100%;
  max-height: 90dvh; overflow: auto; position: relative;
}
.lb-art { background: var(--art-bg); display: grid; place-items: center; }
.lb-art img { width: 100%; max-height: 55dvh; object-fit: contain; display: block; }
.lb-body { padding: 1rem 1.25rem 1.25rem; }
.lb-body .name { font-size: 1.3rem; font-weight: 600; }
.lb-body .genus { color: var(--olive); font-style: italic; margin-bottom: 0.4rem; }
.lb-body .desc { font-size: 0.95rem; margin: 0.4rem 0; }
.lb-body .meta { font-family: var(--sans); font-size: 0.78rem; color: var(--olive); }
.lb-body .buy-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.9rem; }
.lb-body .price { font-size: 1.2rem; font-weight: 600; }
.lb-close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2;
  font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer;
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  background: var(--card); color: var(--olive); border: 1px solid var(--line);
}
.vcard .art, .plant-card .art { cursor: zoom-in; }

/* Lightbox: one-line note about the native region */
.region-note { font-size: 0.85rem; opacity: 0.75; font-style: italic; margin: 0.25rem 0 0.5rem; max-width: 36rem; }

/* ---------- cart + add-ons (shop.html) ---------- */

/* two buttons per card: Add to box (ghost) and Buy now (primary) */
.buy-btns { margin-left: auto; display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.plant-card .buy-row { flex-wrap: wrap; }
.plant-card .buy-row .buy-btns .btn, .lb-body .buy-row .buy-btns .btn, .addon-tile .buy-row .btn {
  margin-left: 0; padding: 0.45rem 0.8rem; font-size: 0.9rem; white-space: nowrap;
}
.btn.in-cart { background: var(--leaf-soft); color: var(--leaf-dark); border-color: var(--leaf); }

.addon-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
@media (max-width: 40rem) { .addon-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }
.addon-tile {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.addon-tile .art {
  aspect-ratio: 1 / 1; background: var(--art-bg); position: relative;
  display: grid; place-items: center; overflow: hidden;
}
.addon-tile .art img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.addon-tile .body { padding: 0.8rem 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.addon-tile .name { font-weight: 600; line-height: 1.25; }
.addon-tile .genus { color: var(--olive); font-style: italic; font-size: 0.85rem; margin-top: -0.25rem; }
.addon-tile .desc { font-size: 0.83rem; color: color-mix(in srgb, var(--ink) 80%, var(--cream)); }
.addon-tile .packing-note { font-family: var(--sans); font-size: 0.72rem; color: var(--olive); }
.addon-tile .buy-row { margin-top: auto; padding-top: 0.6rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.addon-tile .price { font-size: 1.1rem; font-weight: 600; }
.addon-tile .buy-row .btn { margin-left: auto; }
.addon-tile .art, .addon-tile .name { cursor: pointer; }
.addon-tile .more {
  align-self: flex-start; font: inherit; font-family: var(--sans); font-size: 0.78rem;
  color: var(--leaf-dark); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.15em;
}
.addon-tile.donation { border-color: var(--gold-line); }
/* add-on in the lightbox: transparent art on the art frame, "what's inside" bullets */
.lb-card.addon .lb-art img { max-height: 42dvh; padding: 5%; box-sizing: border-box; }
.lb-details { margin: 0.5rem 0 0; padding-left: 1.15rem; font-size: 0.92rem; }
.lb-details li { margin: 0.2rem 0; }
.lb-body .photo-note a { color: inherit; }
.badge.donation { background: var(--badge-gold-bg); color: var(--badge-gold-fg); border-color: var(--badge-gold-line); vertical-align: middle; }
.addon-tile .ribbon {
  position: absolute; top: 0.6rem; left: -0.4rem;
  font-family: var(--sans); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.3rem 0.7rem 0.3rem 0.9rem;
  background: var(--ribbon); color: var(--on-leaf); border-radius: 0 999px 999px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
@media (max-width: 40rem) {
  .addon-tile .body { padding: 0.6rem 0.65rem 0.75rem; }
  /* phones: keep the blurb (it names "3 to 5 cuttings"), clamped to three lines */
  .addon-tile .desc {
    font-size: 0.76rem; line-height: 1.3;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .addon-tile .more { font-size: 0.74rem; }
  .addon-tile .buy-row .btn { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
}

/* the pill that shows while the box has something in it */
.cart-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: flex; align-items: center; gap: 0.6rem;
  font: inherit; font-size: 0.95rem; cursor: pointer;
  padding: 0.65rem 1.1rem 0.65rem 0.9rem; border-radius: 999px;
  background: var(--leaf); color: var(--on-leaf); border: 1px solid var(--leaf-dark);
  box-shadow: 0 6px 20px rgba(24, 21, 15, 0.28);
  max-width: calc(100vw - 2rem);
}
.cart-bar[hidden] { display: none; }
.cart-bar:hover { background: var(--leaf-dark); }
.cart-bar .cart-ico { font-size: 1.15rem; line-height: 1; }
.cart-bar .cart-bar-text { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-bar .cart-bar-cta {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; background: color-mix(in srgb, var(--on-leaf) 18%, transparent);
}
.cart-bar.pulse { animation: cart-pulse 420ms ease; }
@keyframes cart-pulse { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.06); } 100% { transform: translateX(-50%) scale(1); } }

/* the box itself: a bottom sheet on phones, a side panel on wide screens */
.cart-sheet { position: fixed; inset: 0; z-index: 70; background: var(--scrim); }
.cart-sheet[hidden] { display: none; }
.cart-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 88dvh; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 48rem) {
  .cart-panel {
    top: 0; left: auto; width: min(27rem, 100vw); max-height: none;
    border-radius: 0; border-bottom: 1px solid var(--line); border-right: 0;
  }
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.1rem 0.6rem; border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.3rem; }
.cart-head .lb-close { position: static; }
.cart-lines { overflow: auto; flex: 1 1 auto; padding: 0.4rem 1.1rem; min-height: 0; }
.cart-line {
  display: grid; grid-template-columns: 3.6rem 1fr auto; gap: 0.75rem; align-items: start;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb {
  width: 3.6rem; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  background: var(--art-bg); display: grid; place-items: center;
}
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb img[src*="/addon-"] { object-fit: contain; padding: 6%; }
.cart-line .thumb .mono { font-size: 1.4rem; color: var(--leaf); font-style: italic; opacity: 0.75; }
.cart-line .name { font-weight: 600; line-height: 1.25; }
.cart-line .meta { font-family: var(--sans); font-size: 0.74rem; color: var(--olive); margin-top: 0.1rem; }
.cart-line .qty { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.45rem; }
.cart-line .qty button {
  font: inherit; font-size: 1.05rem; line-height: 1; cursor: pointer;
  min-width: 2.2rem; min-height: 2.2rem; border-radius: 8px;
  background: var(--card); color: var(--leaf-dark); border: 1px solid var(--line);
}
.cart-line .qty button:hover { background: var(--leaf-soft); }
.cart-line .qty button[disabled] { opacity: 0.35; cursor: default; }
.cart-line .qty span { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-line .qty .remove {
  margin-left: 0.4rem; min-width: 0; padding: 0 0.5rem; border-color: transparent;
  font-family: var(--sans); font-size: 0.74rem; color: var(--olive); text-decoration: underline; text-underline-offset: 2px;
}
.cart-line .line-total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-empty { padding: 1.5rem 1.1rem; text-align: center; color: var(--olive); margin: 0; }
.cart-foot { padding: 0.8rem 1.1rem 1.1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.55rem; }
.cart-foot[hidden] { display: none; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.cart-sub b { font-variant-numeric: tabular-nums; }
.cart-ship, .cart-packing { margin: 0; font-size: 0.85rem; color: var(--olive); }
.cart-ship a { color: inherit; }
.cart-packing { padding: 0.5rem 0.7rem; border-radius: 8px; background: var(--track); }
.cart-status { margin: 0; min-height: 1.2rem; font-size: 0.9rem; color: var(--error); }
.cart-checkout { width: 100%; text-align: center; font-size: 1.05rem; padding: 0.8rem 1rem; }
.cart-continue { width: 100%; text-align: center; }

/* thanks.html: the order summary when the session id is on the url */
.order-box {
  max-width: 30rem; margin: 0 auto 1.75rem; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.order-box[hidden] { display: none; }
.order-box h2 { font-size: 1.1rem; margin: 0 0 0.6rem; }
.order-box ul { list-style: none; margin: 0; padding: 0; }
.order-box li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.order-box li.total { border-bottom: 0; font-weight: 600; padding-top: 0.6rem; }
.order-box li .qty { color: var(--olive); font-family: var(--sans); font-size: 0.8rem; margin-left: 0.3rem; }
.order-box li b { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.order-box li.total b { font-weight: 600; }
.order-box .donation-note { margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--gold-ink); }

/* ---------- Ready to serve / Ready for a fresh cut (shop.html#ready) ----------
   Two <details> groups; each is open while it has items and hidden when it
   has none. Cards carry a rail of ask-buttons on the right edge of the art
   (smaller / larger on buyable cards, request a cutting on a mother card),
   and the request popup reuses the lightbox overlay. */
.ready-group { margin: 0; }
.ready-group[hidden] { display: none; }
.ready-group + .ready-group { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px dashed var(--line); }
.ready-group > summary {
  list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  margin: 0 auto 0.4rem; padding: 0.35rem 0.9rem; border-radius: 999px; max-width: max-content;
}
.ready-group > summary::-webkit-details-marker { display: none; }
.ready-group > summary:hover { background: var(--track); }
.ready-group > summary:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.ready-group > summary h2 { margin: 0; display: inline; }
.ready-group > summary::after {
  content: ""; width: 0.55rem; height: 0.55rem; flex: none;
  border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive);
  transform: translateY(-0.2rem) rotate(45deg); transition: transform 0.2s ease;
}
.ready-group[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.group-count {
  font-family: var(--sans); font-size: 0.72rem; font-variant-numeric: tabular-nums;
  padding: 0.1rem 0.55rem; border-radius: 999px;
  background: var(--badge-stage-bg); color: var(--badge-stage-fg); border: 1px solid var(--badge-stage-line);
}
.group-count:empty { display: none; }
.ready-group .sub { margin-bottom: 1.6rem; }
.group-empty {
  text-align: center; color: var(--olive); font-style: italic; max-width: 34rem;
  margin: 0.6rem auto 0.4rem; padding: 1.1rem 1.25rem;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.group-empty[hidden] { display: none; }

/* "Looking for other varieties? Just ask." (shop.html, index.html, family.html
   missing state): a soft full-width band that opens the shared request popup */
.ask-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
  margin: 1.4rem auto 0; padding: 1.1rem 1.4rem;
  background: var(--leaf-soft); border: 1px solid var(--badge-stage-line); border-radius: var(--radius);
}
.ask-band-text { flex: 1 1 18rem; min-width: 0; }
.ask-band-title { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.ask-band-sub { margin: 0.25rem 0 0; font-size: 0.92rem; color: var(--olive); }
.ask-band .btn { white-space: nowrap; }
@media (max-width: 40rem) {
  .ask-band { padding: 1rem 1.1rem; }
  .ask-band .btn { width: 100%; text-align: center; }
}
#missing .ask-band { max-width: 40rem; }
#missing .empty { text-align: center; color: var(--olive); }

/* family filter chips on the shop's "Ready to serve" (and a big "fresh cut") group */
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: -0.6rem 0 1.4rem; }
.chip-row[hidden] { display: none; }
.chip {
  font: inherit; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.03em; cursor: pointer;
  padding: 0.35rem 0.75rem; border-radius: 999px; min-height: 2rem;
  background: var(--card); color: var(--olive); border: 1px solid var(--line);
}
.chip:hover { background: var(--leaf-soft); color: var(--leaf-dark); }
.chip:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }
.chip .n { opacity: 0.75; font-variant-numeric: tabular-nums; margin-left: 0.3rem; }
.drop-grid .plant-card[hidden] { display: none; }

/* "What you get" (CUTTING_COPY in family.html / shop.html): what a cutting
   off this mother looks like, on Hoya/Dischidia cards and in the lightbox */
.what-you-get { font-family: var(--sans); font-size: 0.74rem; line-height: 1.4; color: var(--olive); }
.what-you-get b { color: var(--leaf-dark); font-weight: 700; }
.what-you-get.fresh { margin-top: 0.15rem; }
.what-you-get .btn { display: block; width: max-content; margin-top: 0.4rem; padding: 0.3rem 0.7rem; font-size: 0.82rem; }
.plant-card .what-you-get { font-size: 0.8rem; }
.lb-body .what-you-get { font-size: 0.88rem; margin: 0.5rem 0 0; }
.lb-body .what-you-get + .buy-row { margin-top: 0.5rem; }
.vcard .price.muted, .lb-body .price.muted { font-size: 0.85rem; font-weight: 500; font-style: italic; color: var(--olive); }
.vcard .buy-row .btn.req { white-space: nowrap; }
.ready-group:not([open]) > summary { margin-bottom: 0; }

/* the ask-buttons stacked on a card's right edge (over the photo, under the paw stamp) */
.ask-rail {
  position: absolute; right: 0.5rem; bottom: 0.5rem; z-index: 1;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end;
}
.ask-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.05rem;
  width: 3.4rem; min-height: 3.1rem; padding: 0.3rem 0.2rem; border-radius: 12px; cursor: pointer;
  font: inherit; font-family: var(--sans); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.15; text-align: center;
  background: color-mix(in srgb, var(--card) 90%, transparent); color: var(--leaf-dark);
  border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(24, 21, 15, 0.18);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.ask-chip .ico { font-size: 1.2rem; line-height: 1.1; }
.ask-chip .lbl { max-width: 100%; }
.ask-chip:hover { background: var(--leaf-soft); border-color: var(--leaf); }
.ask-chip:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.plant-card.mother .ask-chip { width: 4.6rem; }

/* a mother card: request only, so the buy row holds a price (or not) and a hint */
.plant-card.mother .photo-line { font-family: var(--sans); font-size: 0.76rem; color: var(--olive); }
.plant-card .price.muted, .lb-body .price.muted { font-size: 0.92rem; font-weight: 500; font-style: italic; color: var(--olive); }
.plant-card .request-only {
  margin-left: auto; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--olive); white-space: nowrap;
}
.lb-body .ask-line { font-family: var(--sans); font-size: 0.8rem; color: var(--olive); margin: 0.7rem 0 0; }
.ask-link {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--leaf-dark); text-decoration: underline; text-underline-offset: 0.15em;
}

/* the request popup */
.lightbox.ask { z-index: 80; }
.ask-card { max-width: 30rem; padding: 1.1rem 1.25rem 1.25rem; }
.ask-head { display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.9rem; align-items: start; padding-right: 2.2rem; }
.ask-thumb {
  width: 4.2rem; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  background: var(--art-bg); display: grid; place-items: center;
}
.ask-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ask-thumb .mono { font-size: 1.6rem; color: var(--leaf); font-style: italic; opacity: 0.75; }
.ask-head-text { min-width: 0; }
.ask-kicker { margin: 0; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--leaf-dark); }
.ask-title { margin: 0.1rem 0 0.2rem; font-size: 1.25rem; line-height: 1.25; overflow-wrap: anywhere; }
.ask-what { margin: 0; font-size: 0.92rem; color: var(--olive); }
.ask-form { margin-top: 1rem; }
.ask-fields { display: flex; flex-direction: column; gap: 0.35rem; }
.ask-label { font-family: var(--sans); font-size: 0.78rem; color: var(--olive); margin-top: 0.4rem; }
.ask-label .opt { opacity: 0.7; font-style: italic; }
.ask-fields input, .ask-fields textarea, .ask-fields select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.65rem 0.85rem;
}
/* contact mode (services.html): topic select shown, no plant thumb */
.ask-fields .ask-contact { display: none; }
.ask-card.contact .ask-fields .ask-contact { display: block; }
.ask-card.contact .ask-head { grid-template-columns: 3rem 1fr; }
.ask-card.contact .ask-thumb { width: 3rem; aspect-ratio: 1; border-radius: 999px; }
.ask-card.contact .ask-thumb .mono { font-size: 1.3rem; font-style: normal; opacity: 0.9; }
.prose .ask-cta { margin: 0.2rem 0 1.4rem; }
.ask-fields textarea { resize: vertical; min-height: 4.5rem; }
.ask-fields input::placeholder, .ask-fields textarea::placeholder { color: var(--muted); }
.ask-count { font-family: var(--sans); font-size: 0.7rem; color: var(--olive); text-align: right; }
.ask-form .status { min-height: 1.3rem; margin: 0.5rem 0 0; font-size: 0.92rem; }
.ask-form .status.ok { color: var(--leaf-dark); }
.ask-form .status.error { color: var(--error); }
.ask-actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 0.6rem; }
.ask-form.sent .ask-fields, .ask-form.sent #ask-send { display: none; }
.ask-fine { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--olive); }
@media (max-width: 40rem) {
  /* phones: a bottom sheet, so the keyboard does not cover the fields */
  .lightbox.ask { place-items: end center; padding: 0; }
  .ask-card {
    max-width: none; border-radius: 16px 16px 0 0; border-bottom: 0; max-height: 92dvh;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .ask-actions .btn { flex: 1 1 auto; text-align: center; }
}
