/* =========================================================================
   Seaside Gardens — Showcase System, PLANT EDITION
   A direct port of theseasidelabs.com "Workshop at Night" (showcase.css v14/v15)
   with the brass lantern swapped for the Gardens division leaf-green (--dc-gardens
   on the main site). Same abyss ground, same Fraunces + Instrument Sans, same
   glass pill nav, double-bezel cards, grain, and glide easing — so walking from
   theseasidelabs.com/gardens/ into gardens.theseasidelabs.com/mch/ has no seam.

   Served from /mch/assets/mch.css — NOT /gardens-assets/, which misroutes
   publicly (see app.py: only /mch/* reliably tunnels to CT-101).
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  /* --- Deep water at night (identical to the main site) --- */
  --abyss:        #071417;
  --abyss-2:      #0a1b20;
  --abyss-3:      #0e242b;
  --hairline:     rgba(254, 246, 228, 0.09);
  --hairline-2:   rgba(254, 246, 228, 0.16);

  /* --- Warm light on the water --- */
  --cream:        #fef6e4;
  --cream-soft:   rgba(254, 246, 228, 0.78);
  --cream-mute:   rgba(254, 246, 228, 0.55);

  /* --- Accent: leaf lantern (Gardens division green) + tide sparkle --- */
  --leaf:         #5dc795;   /* == --dc-gardens on theseasidelabs.com */
  --leaf-bright:  #86dcb0;
  --leaf-deep:    #2f8f63;
  --leaf-wash:    rgba(93, 199, 149, 0.12);
  --tide:         #2dd4bf;
  --brass:        #ecc45c;   /* retained for "paid / lifetime" moments only */
  --coral:        #f0705f;
  --amber:        #e8b45c;

  /* --- Type --- */
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, "Segoe UI", sans-serif;

  /* --- Motion: one heavy glide, everywhere --- */
  --glide: cubic-bezier(0.32, 0.72, 0, 1);

  /* --- Radii / rhythm --- */
  --r-outer: 2rem;
  --r-inner: calc(2rem - 0.45rem);
  --r-pill: 999px;
  --pad-section: clamp(4.5rem, 9vw, 8rem);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--leaf); text-decoration: none; transition: color 0.4s var(--glide); }
a:hover { color: var(--leaf-bright); }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
::selection { background: var(--leaf); color: var(--abyss); }

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--leaf); color: var(--abyss);
  padding: 0.6rem 1.2rem; border-radius: 0 0 12px 0;
  font-weight: 600; text-decoration: none; z-index: 60;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------- atmosphere & grain */
/* Same construction as the main site, tilted green — a garden at night
   rather than open water. */
.sea-floor {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(90rem 60rem at 82% -18%, rgba(47, 143, 99, 0.30), transparent 62%),
    radial-gradient(70rem 50rem at -12% 30%, rgba(93, 199, 149, 0.07), transparent 58%),
    radial-gradient(60rem 60rem at 55% 118%, rgba(45, 212, 191, 0.09), transparent 60%),
    var(--abyss);
}
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------- floating nav */
.nav {
  position: fixed; top: 1.1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(calc(100% - 2rem), 64rem);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  background: rgba(7, 20, 23, 0.55);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(254, 246, 228, 0.07);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--cream);
}
.nav-brand:hover { color: var(--cream); }
.nav-brand svg { width: 24px; height: auto; color: var(--leaf); flex: 0 0 auto; }
.mark-text {
  font-family: var(--display);
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em;
  font-variation-settings: "opsz" 40;
  white-space: nowrap;
}
.mark-text em { font-style: italic; font-weight: 500; color: var(--leaf); }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500;
  color: var(--cream-soft); text-decoration: none;
  transition: color 0.45s var(--glide), background 0.45s var(--glide);
}
.nav-links a:hover { color: var(--cream); background: rgba(254, 246, 228, 0.07); }
.nav-links a[aria-current="page"] { color: var(--cream); background: rgba(254, 246, 228, 0.07); }
.nav-links a.nav-cta {
  background: var(--leaf); color: var(--abyss);
  font-weight: 600; margin-left: 0.35rem;
}
.nav-links a.nav-cta:hover { background: var(--leaf-bright); color: var(--abyss); }

.hamburger {
  display: none;
  position: relative; width: 42px; height: 42px;
  border: 1px solid var(--hairline-2); border-radius: 50%;
  background: rgba(254, 246, 228, 0.05); cursor: pointer;
}
.hamburger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.55s var(--glide), opacity 0.3s var(--glide);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 0.6rem;
    background: rgba(7, 20, 23, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s var(--glide), visibility 0.6s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a {
    font-family: var(--display);
    font-size: 1.7rem; font-weight: 500;
    transform: translateY(2.2rem); opacity: 0;
    transition: transform 0.7s var(--glide), opacity 0.7s var(--glide);
  }
  .nav-links.open a { transform: translateY(0); opacity: 1; }
  .nav-links.open li:nth-child(1) a { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(2) a { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(3) a { transition-delay: 0.2s; }
  .nav-links.open li:nth-child(4) a { transition-delay: 0.26s; }
  .nav-links.open li:nth-child(5) a { transition-delay: 0.32s; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 0.8rem; font-size: 1.1rem; }
}

/* ------------------------------------------------------------- layout */
.container { width: min(calc(100% - 3rem), 72rem); margin: 0 auto; }
.container-narrow { width: min(calc(100% - 3rem), 46rem); margin: 0 auto; }
section { padding: var(--pad-section) 0; position: relative; }
@media (max-width: 768px) {
  .container, .container-narrow { width: calc(100% - 2rem); }
  section { padding: 4rem 0; }
}

/* App pages (flashcards, quiz, dashboard, plant detail) sit inside a single
   padded shell rather than a stack of full-bleed marketing sections. */
main.app-shell {
  width: min(calc(100% - 3rem), 72rem);
  margin: 0 auto;
  padding: 7.5rem 0 5rem;
}
main.app-shell.narrow { width: min(calc(100% - 3rem), 52rem); }
@media (max-width: 768px) {
  main.app-shell, main.app-shell.narrow { width: calc(100% - 2rem); padding: 6.5rem 0 3.5rem; }
}

/* --------------------------------------------------------- type scale */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.04);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-soft);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 12px 2px rgba(93, 199, 149, 0.5);
}
.display {
  font-family: var(--display);
  font-weight: 500; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 110;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: var(--leaf); }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.1; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65; color: var(--cream-soft); text-wrap: pretty;
}
.small { font-size: 0.85rem; color: var(--cream-mute); }
.muted { color: var(--cream-soft); }
.center { text-align: center; }

/* Bare headings inside app pages inherit the display face automatically so
   templates don't each have to remember the class. */
.app-shell h1, .app-shell h2, .app-shell h3,
.card-core h2, .card-core h3, .panel h2, .panel h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--cream);
  text-wrap: balance;
}
.app-shell h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-variation-settings: "opsz" 96; }
.app-shell h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-variation-settings: "opsz" 72; }
.app-shell h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-variation-settings: "opsz" 48; }
.app-shell p { margin: 0 0 1rem; }
.app-shell p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.5s var(--glide), background 0.5s var(--glide),
              border-color 0.5s var(--glide), box-shadow 0.5s var(--glide),
              color 0.5s var(--glide);
}
/* Icon variant: tightens the right padding so the circular chip sits flush,
   matching the main site's button rhythm. */
.btn:has(.btn-ico) { padding: 0.45rem 0.5rem 0.45rem 1.5rem; }
.btn:active { transform: scale(0.98); }
.btn .btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  font-size: 1rem;
  transition: transform 0.5s var(--glide);
}
.btn:hover .btn-ico { transform: translate(3px, -1px) scale(1.05); }

.btn.accent {
  background: var(--leaf); color: var(--abyss);
  box-shadow: 0 14px 40px -12px rgba(93, 199, 149, 0.45);
}
.btn.accent:hover {
  background: var(--leaf-bright); color: var(--abyss);
  box-shadow: 0 20px 50px -12px rgba(93, 199, 149, 0.55);
}
.btn.accent .btn-ico { background: rgba(7, 20, 23, 0.14); color: var(--abyss); }

.btn.ghost {
  background: rgba(254, 246, 228, 0.04);
  border-color: var(--hairline-2); color: var(--cream);
}
.btn.ghost:hover {
  background: rgba(254, 246, 228, 0.09);
  border-color: rgba(254, 246, 228, 0.3); color: var(--cream);
}
.btn.ghost .btn-ico { background: rgba(254, 246, 228, 0.08); color: var(--cream); }

/* Lifetime-access / paid moments keep the brass lantern from the main site. */
.btn.brass {
  background: var(--brass); color: var(--abyss);
  box-shadow: 0 14px 40px -12px rgba(236, 196, 92, 0.45);
}
.btn.brass:hover { background: #f4d27e; color: var(--abyss); }
.btn.brass .btn-ico { background: rgba(7, 20, 23, 0.14); color: var(--abyss); }

.btn.block { width: 100%; }
.btn.sm { padding: 0.48rem 1.05rem; font-size: 0.85rem; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-row.center { justify-content: center; }

/* --------------------------------------------------------------- hero */
.hero {
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 9rem; padding-bottom: 5rem;
  position: relative; overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero-headline { max-width: 15ch; }
.hero-sub { max-width: 56ch; margin-top: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.8rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta strong {
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  color: var(--cream); letter-spacing: -0.01em;
}
.hero-meta span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-mute);
}

/* staggered line-mask reveal on load */
.line { display: block; overflow: hidden; }
.line-inner {
  display: block;
  transform: translateY(112%);
  animation: line-up 1.1s var(--glide) forwards;
}
.line:nth-child(2) .line-inner { animation-delay: 0.12s; }
.line:nth-child(3) .line-inner { animation-delay: 0.24s; }
@keyframes line-up { to { transform: translateY(0); } }
.fade-in { opacity: 0; animation: fade-in 1.2s var(--glide) 0.5s forwards; }
.fade-in.d2 { animation-delay: 0.68s; }
.fade-in.d3 { animation-delay: 0.86s; }
@keyframes fade-in { to { opacity: 1; } }

/* ------------------------------------------------------------ marquee */
.marquee {
  padding: 1.4rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  background: rgba(254, 246, 228, 0.02);
}
.marquee-track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee span {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.05rem; color: var(--cream-mute); white-space: nowrap;
}
.marquee span::after {
  content: "~"; margin-left: 3.5rem; color: var(--leaf); font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ bento / cards */
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head p { margin-top: 1.2rem; }

.bento { display: grid; gap: 1.1rem; grid-template-columns: repeat(12, 1fr); }
.b7 { grid-column: span 7; }
.b6 { grid-column: span 6; }
.b5 { grid-column: span 5; }
.b4 { grid-column: span 4; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; gap: 1.2rem; }
  .b7, .b6, .b5, .b4 { grid-column: span 1; }
}

/* double-bezel card: machined outer shell + glass inner core */
.card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--r-outer);
  padding: 0.45rem;
  background: rgba(254, 246, 228, 0.025);
  border: 1px solid var(--hairline);
  transition: transform 0.6s var(--glide), border-color 0.6s var(--glide),
              box-shadow 0.6s var(--glide);
}
a.card:hover, .card.is-link:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--dc, var(--leaf)) 45%, transparent);
  box-shadow: 0 34px 80px -28px color-mix(in srgb, var(--dc, var(--leaf)) 28%, transparent);
  color: inherit;
}
.card-core {
  height: 100%;
  border-radius: var(--r-inner);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative; overflow: hidden;
}
.card-core.tight { padding: clamp(1.1rem, 2vw, 1.4rem); gap: 0.6rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--dc, var(--leaf)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--dc, var(--leaf)) 22%, transparent);
  color: var(--dc, var(--leaf));
  transition: transform 0.6s var(--glide);
  flex: 0 0 auto;
}
a.card:hover .card-icon { transform: rotate(-4deg) scale(1.06); }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card-arrow {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-2); color: var(--cream-mute);
  font-size: 1rem; flex: 0 0 auto;
  transition: transform 0.6s var(--glide), background 0.6s var(--glide),
              color 0.6s var(--glide), border-color 0.6s var(--glide);
}
a.card:hover .card-arrow {
  transform: translate(2px, -2px);
  background: var(--dc, var(--leaf)); border-color: transparent;
  color: var(--abyss);
}
.card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem); letter-spacing: -0.01em;
  color: var(--cream);
}
.card p { color: var(--cream-soft); font-size: 0.97rem; line-height: 1.6; }
.card-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--dc, var(--leaf)) 30%, transparent);
  color: var(--dc, var(--leaf));
}
.card-tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--dc, var(--leaf));
}

/* Flat panel — a card core with no outer bezel, for dense app UI. */
.panel {
  border-radius: var(--r-inner);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
}
.panel + .panel { margin-top: 1rem; }
.panel.tight { padding: 1rem 1.2rem; }

/* ------------------------------------------------------------- stats */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stat-grid { grid-template-columns: 1fr; } }
.stat {
  border-radius: var(--r-inner);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  text-align: center;
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
}
.stat .num {
  display: block;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--leaf);
  font-variation-settings: "opsz" 120;
  margin-bottom: 0.5rem;
}
.stat .num.brass { color: var(--brass); }
.stat .num.warn { color: var(--amber); }
.stat .num.bad { color: var(--coral); }
.stat .lbl { font-size: 0.85rem; color: var(--cream-soft); letter-spacing: 0.01em; }

/* -------------------------------------------------------------- pills */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--bdg, var(--leaf)) 32%, transparent);
  background: color-mix(in srgb, var(--bdg, var(--leaf)) 12%, transparent);
  color: var(--bdg, var(--leaf));
}
.badge-green  { --bdg: var(--leaf); }
.badge-tide   { --bdg: var(--tide); }
.badge-orange { --bdg: var(--amber); }
.badge-red    { --bdg: var(--coral); }
.badge-brass  { --bdg: var(--brass); }

/* Filter / category pill row (flashcards, plant index) */
.pill-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill-nav a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.04);
  color: var(--cream-soft); text-decoration: none;
  transition: color 0.4s var(--glide), background 0.4s var(--glide), border-color 0.4s var(--glide);
}
.pill-nav a:hover { color: var(--cream); background: rgba(254, 246, 228, 0.09); border-color: rgba(254, 246, 228, 0.3); }
.pill-nav a.active {
  background: var(--leaf); border-color: var(--leaf); color: var(--abyss);
}

/* -------------------------------------------------------------- forms */
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-soft);
}
.field label .required { color: var(--leaf); }
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--hairline-2);
  background: rgba(7, 20, 23, 0.5);
  color: var(--cream);
  font-family: var(--body); font-size: 1rem;
  transition: border-color 0.45s var(--glide), box-shadow 0.45s var(--glide);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23fef6e4' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
}
select option { background: var(--abyss-2); color: var(--cream); }
input::placeholder, textarea::placeholder { color: rgba(254, 246, 228, 0.32); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(93, 199, 149, 0.16);
}
textarea { min-height: 9rem; resize: vertical; }
.hint { display: block; margin-top: 0.45rem; font-size: 0.82rem; color: var(--cream-mute); }
.field-error { display: none; margin-top: 0.45rem; font-size: 0.85rem; color: var(--coral); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field.has-error .field-error { display: block; }

/* Inline email-capture row (landing + plant index) */
.inline-form {
  display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  max-width: 34rem; margin: 1.4rem auto 0;
}
.inline-form input[type="email"] {
  flex: 1; min-width: 15rem; min-height: 48px;
  border-radius: var(--r-pill); padding: 0.6rem 1.2rem; font-size: 16px;
}
.inline-form .btn { flex: 0 0 auto; }

/* Alert / notice strip */
.notice {
  border-radius: 16px;
  padding: 0.9rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--ntc, var(--leaf)) 30%, transparent);
  background: color-mix(in srgb, var(--ntc, var(--leaf)) 9%, transparent);
  border-left: 3px solid var(--ntc, var(--leaf));
  color: var(--cream-soft);
  font-size: 0.92rem;
}
.notice strong { color: var(--cream); }
.notice.warn  { --ntc: var(--amber); }
.notice.error { --ntc: var(--coral); }
.notice.tide  { --ntc: var(--tide); }
.notice + * { margin-top: 1rem; }

/* --------------------------------------------------------- flashcards */
.deck-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.flashcard-container { max-width: 560px; margin: 0 auto; perspective: 1400px; }
.flashcard {
  position: relative; min-height: 560px;
  border-radius: var(--r-outer);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--glide);
}
.flashcard.flipped { transform: rotateY(180deg); }
.flashcard-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-outer);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 34px 80px -30px rgba(0, 0, 0, 0.7),
              inset 0 1px 1px rgba(254, 246, 228, 0.08);
}
.flashcard-front {
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
  display: flex; flex-direction: column;
}
.card-image-area {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
  background: var(--abyss);
}
.card-image-area img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; transition: opacity 0.25s ease;
}
.card-image-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 1.5rem;
  color: var(--cream-soft);
  font-size: 4.4rem; text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(93, 199, 149, 0.16), transparent 60%),
    linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
}
.card-image-placeholder small {
  display: block; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 0.75rem; color: var(--cream-mute);
}
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: rgba(7, 20, 23, 0.6);
  color: var(--cream); font-size: 1.15rem;
  cursor: pointer; z-index: 3;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--glide), border-color 0.4s var(--glide);
}
.carousel-nav:hover { background: rgba(7, 20, 23, 0.85); border-color: var(--leaf); }
.carousel-nav.left { left: 10px; }
.carousel-nav.right { right: 10px; }
.carousel-dots {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: none; gap: 6px; z-index: 3;
}
.carousel-dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(254, 246, 228, 0.35); cursor: pointer;
  transition: background 0.3s var(--glide), transform 0.3s var(--glide);
}
.carousel-dots .dot.active { background: var(--leaf); transform: scale(1.3); }
.carousel-attribution {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 23, 0.9));
  color: var(--cream-mute);
  font-size: 0.72rem; line-height: 1.35; z-index: 2;
}
.carousel-attribution a { color: var(--cream-soft); text-decoration: underline; }
.card-hints {
  background: linear-gradient(180deg, rgba(7, 20, 23, 0.6), rgba(7, 20, 23, 0.9));
  border-top: 1px solid var(--hairline);
  color: var(--cream-soft);
  padding: 1.1rem 1.35rem 1.2rem;
}
.card-hints h3 {
  font-family: var(--body);
  font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--leaf); margin-bottom: 0.5rem;
}
.card-hints p { font-size: 0.9rem; line-height: 1.5; margin: 0; }
.card-hints .category-tag {
  display: inline-block; margin-top: 0.7rem;
  padding: 0.24rem 0.7rem; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--leaf) 28%, transparent);
  background: var(--leaf-wash);
  color: var(--leaf); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.tap-hint {
  text-align: center; padding: 0.55rem;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-mute);
  background: rgba(7, 20, 23, 0.55);
}
.flashcard-back {
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 75%);
  transform: rotateY(180deg);
  padding: 1.65rem;
  overflow-y: auto;
}
.back-name {
  font-family: var(--display); font-weight: 500;
  font-size: 1.95rem; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--cream); font-variation-settings: "opsz" 72;
  margin-bottom: 0.2rem;
}
.back-latin {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.1rem; color: var(--leaf); margin-bottom: 0.3rem;
}
.pronunciation-row { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.pronunciation-text { font-size: 0.85rem; color: var(--cream-mute); letter-spacing: 0.02em; }
.pronunciation-btn {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.05);
  color: var(--cream); cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s var(--glide), background 0.4s var(--glide);
}
.pronunciation-btn:hover { border-color: var(--leaf); background: var(--leaf-wash); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.info-item {
  padding: 0.6rem 0.7rem; border-radius: 12px;
  background: rgba(254, 246, 228, 0.035);
  border: 1px solid var(--hairline);
}
.info-item .label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cream-mute);
}
.info-item .value { font-size: 0.9rem; font-weight: 600; color: var(--cream); }
.back-features {
  border-radius: 0 12px 12px 0;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--amber) 9%, transparent);
  padding: 0.75rem 0.9rem; margin-top: 0.75rem;
}
.back-features h4 {
  font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--amber); margin-bottom: 0.35rem;
}
.back-features p { font-size: 0.86rem; color: var(--cream-soft); margin: 0; }
.source-note { margin-top: 0.85rem; font-size: 0.74rem; color: var(--cream-mute); }
.source-note a { color: var(--cream-soft); text-decoration: underline; }
.card-controls {
  display: flex; gap: 0.75rem; justify-content: center; align-items: center;
  margin-top: 1.4rem;
}
.nav-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.04);
  color: var(--cream); cursor: pointer; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s var(--glide), background 0.4s var(--glide), transform 0.4s var(--glide);
}
.nav-btn:hover { border-color: var(--leaf); background: var(--leaf-wash); transform: translateY(-2px); }
.counter { font-size: 0.85rem; color: var(--cream-mute); min-width: 5rem; text-align: center; }
.upgrade-bar {
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--brass) 28%, transparent);
  background: color-mix(in srgb, var(--brass) 9%, transparent);
  color: var(--cream-soft);
  text-align: center; padding: 0.65rem 1.1rem;
  margin-bottom: 1.2rem; font-size: 0.88rem;
}
.upgrade-bar a { color: var(--brass); font-weight: 600; }
@media (max-width: 640px) {
  .flashcard { min-height: 620px; }
  .info-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------- plant index/detail */
/* Text-only index. The library is a STUDY LIST, not a photo gallery — a wall
   of 279 thumbnails both buries the names and puts the generated plates on
   display out of context. Images live on the individual plant page, where the
   provenance chip sits next to them. */
.plant-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.55rem; margin-top: 1.2rem;
}
.plant-tile {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(254, 246, 228, 0.025);
  text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--glide), background 0.4s var(--glide), transform 0.4s var(--glide);
}
.plant-tile:hover {
  transform: translateY(-2px); color: inherit;
  border-color: color-mix(in srgb, var(--leaf) 45%, transparent);
  background: var(--leaf-wash);
}
.plant-tile .nm { font-weight: 600; font-size: 0.94rem; line-height: 1.3; color: var(--cream); }
.plant-tile .lt { font-family: var(--display); font-style: italic; font-size: 0.84rem; color: var(--cream-mute); line-height: 1.3; }

.cat-section { margin-bottom: 3rem; scroll-margin-top: 7rem; }
.cat-section h2 { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.cat-section h2 .count {
  font-family: var(--body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-mute);
}

.crumb { font-size: 0.8rem; color: var(--cream-mute); margin-bottom: 1.4rem; }
.crumb a { color: var(--cream-soft); }
.crumb a:hover { color: var(--leaf); }

.pd-top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.2rem; align-items: start;
}
@media (max-width: 780px) { .pd-top { grid-template-columns: 1fr; } }
.pd-photo, .pd-photo-ph {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--r-inner);
  border: 1px solid var(--hairline);
  object-fit: cover; background: var(--abyss);
}
.pd-photo-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: var(--leaf-wash);
}
.pd-photo-credit { font-size: 0.72rem; color: var(--cream-mute); margin-top: 0.5rem; }
.pd-latin {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.25rem; color: var(--leaf); margin-top: 0.15rem;
}
.pd-pron { font-size: 0.88rem; color: var(--cream-mute); margin-top: 0.25rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.1rem 0; }
.idbox {
  border-radius: 0 16px 16px 0;
  border-left: 3px solid var(--leaf);
  background: var(--leaf-wash);
  padding: 1rem 1.25rem; margin: 1.25rem 0;
  color: var(--cream-soft);
}
.idbox .eyebrow { margin-bottom: 0.5rem; }
.facts { width: 100%; border-collapse: collapse; margin-top: 0.6rem; }
.facts th, .facts td {
  text-align: left; padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
}
.facts th { color: var(--cream-mute); font-weight: 600; width: 42%; }
.facts td { color: var(--cream); }
.facts td em { font-family: var(--display); font-style: italic; color: var(--leaf); }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.6rem; margin-top: 1.1rem;
}
.rel {
  display: block; padding: 0.75rem 0.9rem;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: rgba(254, 246, 228, 0.025);
  text-decoration: none; color: inherit;
  transition: border-color 0.4s var(--glide), background 0.4s var(--glide);
}
.rel:hover { border-color: color-mix(in srgb, var(--leaf) 40%, transparent); background: var(--leaf-wash); color: inherit; }
.rel .nm { font-weight: 600; font-size: 0.9rem; color: var(--cream); }
.rel .lt { font-family: var(--display); font-style: italic; font-size: 0.78rem; color: var(--cream-mute); }
.pn { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-size: 0.9rem; }
.pn a { color: var(--leaf); font-weight: 600; }

/* --------------------------------------------------------------- quiz */
.quiz-progress { margin-bottom: 1.4rem; }
.quiz-progress-head {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--cream-mute);
}
.meter {
  height: 8px; border-radius: var(--r-pill); overflow: hidden;
  background: rgba(254, 246, 228, 0.08);
  margin-top: 0.55rem;
}
.meter > span {
  display: block; height: 100%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--leaf-deep), var(--leaf));
  transition: width 0.6s var(--glide);
}
.meter.warn > span  { background: linear-gradient(90deg, #a9762c, var(--amber)); }
.meter.bad > span   { background: linear-gradient(90deg, #a8443a, var(--coral)); }

.choice-list { display: grid; gap: 0.7rem; margin-bottom: 1.2rem; }
.choice {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--hairline-2); border-radius: 16px;
  background: rgba(254, 246, 228, 0.03);
  cursor: pointer;
  transition: border-color 0.4s var(--glide), background 0.4s var(--glide), transform 0.4s var(--glide);
}
.choice:hover { border-color: var(--leaf); background: var(--leaf-wash); transform: translateX(2px); }
.choice input[type="radio"] { width: auto; accent-color: var(--leaf); margin: 0; flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--leaf); background: var(--leaf-wash); }

.quiz-figure {
  margin: 0 0 1.35rem; border-radius: var(--r-inner);
  overflow: hidden; border: 1px solid var(--hairline); background: var(--abyss);
}
.quiz-figure img { width: 100%; max-height: 22rem; object-fit: cover; }
.quiz-figure figcaption {
  padding: 0.45rem 0.85rem; font-size: 0.72rem;
  color: var(--cream-mute); background: rgba(7, 20, 23, 0.6);
}
.score-big {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--leaf);
  font-variation-settings: "opsz" 120;
  margin: 1rem 0;
}
.score-big.warn { color: var(--amber); }
.score-big.bad { color: var(--coral); }

/* ---------------------------------------------------------- dashboard */
.dash-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: rgba(254, 246, 228, 0.025);
  margin-bottom: 0.6rem;
}
.dash-row .who { min-width: 9rem; }
.dash-row .who strong { color: var(--cream); }
.dash-row .pct { min-width: 3.2rem; text-align: right; font-weight: 700; color: var(--leaf); }
.dash-row .pct.warn { color: var(--amber); }
.dash-row .pct.bad { color: var(--coral); }

/* ------------------------------------------------------------ pricing */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.2rem; max-width: 48rem; margin: 0 auto;
}
.price-amt {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--cream);
  font-variation-settings: "opsz" 120;
  margin: 0.8rem 0;
}
.price-amt sup { font-size: 0.42em; vertical-align: super; color: var(--leaf); }
.price-amt.paid { color: var(--brass); }
.price-amt.paid sup { color: var(--brass); }
.price-list { list-style: none; margin: 1.3rem 0; padding: 0; text-align: left; }
.price-list li {
  position: relative; padding: 0.45rem 0 0.45rem 1.7rem;
  color: var(--cream-soft); font-size: 0.94rem;
  border-bottom: 1px solid var(--hairline);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
.price-list li.off { color: var(--cream-mute); }
.price-list li.off::before { border-color: var(--cream-mute); opacity: 0.5; }
.price-card-featured { position: relative; }
.price-card-featured .card-core {
  border: 1px solid color-mix(in srgb, var(--brass) 32%, transparent);
}
.price-flag {
  position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}

/* ------------------------------------------------------------- prose */
.prose { max-width: 46rem; }
.prose h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.015em; color: var(--cream);
  margin-bottom: 0.7rem;
}
.prose p { color: var(--cream-soft); margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { color: var(--cream-soft); padding-left: 1.2rem; margin: 0; }
.prose ul li { margin-bottom: 0.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* -------------------------------------------------------------- CTA */
.cta-band {
  border-radius: var(--r-outer);
  padding: 0.45rem;
  background: rgba(254, 246, 228, 0.025);
  border: 1px solid color-mix(in srgb, var(--leaf) 22%, transparent);
  margin: 2.5rem 0;
}
.cta-band-core {
  border-radius: var(--r-inner);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(93, 199, 149, 0.14), transparent 70%),
    linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 75%);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
}
.cta-band-core p { max-width: 34rem; margin: 0.6rem auto 1.3rem; color: var(--cream-soft); }

/* ------------------------------------------------------------- footer */
footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}
.footer-inner {
  width: min(calc(100% - 3rem), 72rem); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.footer-inner a { color: var(--cream-mute); text-decoration: none; font-size: 0.9rem; }
.footer-inner a:hover { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }

/* --------------------------------------------------- scroll reveals */
.js .reveal {
  opacity: 0; transform: translateY(2rem); filter: blur(6px);
  transition: opacity 0.9s var(--glide), transform 0.9s var(--glide), filter 0.9s var(--glide);
}
.js .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------ utility */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.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;
}

@media print {
  .nav, .hamburger, .grain, .sea-floor, footer { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .line-inner { animation: none; transform: none; }
  .fade-in { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .card, .btn, .card-icon, .card-arrow, .btn .btn-ico,
  .plant-tile, .flashcard, .nav-btn, .choice { transition: none; }
}
