/* Appily-Twelve — Bloom Conservatory flower seed house */
:root {
  --emerald: #0B3D2E;
  --emerald-deep: #062A1F;
  --coral: #E87461;
  --coral-pale: #F5D4CC;
  --pollen: #F2C14E;
  --pollen-pale: #FBE9B8;
  --mist: #F7FAF8;
  --mist-2: #E8F0EC;
  --twilight: #1A2F4A;
  --ink: #122018;
  --muted: #5C6B62;
  --white: #ffffff;
  --line: rgba(11, 61, 46, 0.12);
  --radius: 10px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-round: 999px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --shadow: 0 24px 56px rgba(18, 32, 24, 0.14);
  --shadow-soft: 0 10px 30px rgba(11, 61, 46, 0.1);
  /* legacy aliases for shared shop/product pages */
  --plum: var(--emerald);
  --plum-deep: var(--emerald-deep);
  --ochre: var(--coral);
  --ochre-pale: var(--coral-pale);
  --sage: var(--pollen);
  --sage-pale: var(--pollen-pale);
  --parchment: var(--mist);
  --parchment-2: var(--mist-2);
  --indigo: var(--emerald);
  --indigo-deep: var(--emerald-deep);
  --saffron: var(--coral);
  --saffron-pale: var(--coral-pale);
  --rain: var(--pollen);
  --rain-pale: var(--pollen-pale);
  --rice: var(--mist);
  --rice-2: var(--mist-2);
  --roast: var(--emerald);
  --roast-mid: var(--emerald-deep);
  --black: var(--ink);
  --cream: var(--mist);
  --cream-2: var(--mist-2);
  --yellow: var(--pollen);
  --yellow-pale: var(--pollen-pale);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }
body.appily-store {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 0%, rgba(232, 116, 97, 0.1), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(242, 193, 78, 0.12), transparent 28%),
    linear-gradient(180deg, var(--mist) 0%, #fff 55%, var(--mist-2) 100%);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1 0 auto; }

/* ── Canopy header (Appily Twelve) ── */
.canopy-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.pollen-ribbon {
  background: linear-gradient(100deg, var(--emerald-deep) 0%, var(--emerald) 45%, var(--coral) 100%);
  color: var(--mist);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pollen-ribbon-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 0; flex-wrap: wrap;
}
.pollen-kicker { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.pollen-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pollen-tag {
  font-size: .66rem; font-weight: 600; padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius-round);
  background: rgba(255,255,255,0.08);
}
.canopy-arch { padding: 14px 0 16px; }
.canopy-shell {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.4fr) minmax(200px, 1fr);
  gap: 12px 16px; align-items: center;
}
.canopy-brand { display: flex; align-items: center; gap: 11px; }
.canopy-emblem { border-radius: 50%; box-shadow: 0 6px 18px rgba(11,61,46,0.2); }
.canopy-wordmark { display: flex; flex-direction: column; gap: 1px; }
.canopy-num { font-size: .62rem; letter-spacing: .18em; color: var(--coral); font-weight: 800; }
.canopy-title {
  font-family: var(--font-display); font-size: 1.26rem; font-weight: 700;
  color: var(--emerald-deep); line-height: 1.1;
}
.canopy-title em { font-style: italic; color: var(--coral); }
.canopy-sub { font-size: .72rem; color: var(--muted); }
.petal-nav {
  display: flex; align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.petal-drawer-head, .petal-drawer-foot { display: none; }
.petal-links { display: contents; }
.petal-link {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 9px 5px; border-right: 1px solid var(--line);
  font-size: .74rem; font-weight: 700; color: var(--muted);
  transition: background .2s, color .2s;
}
.petal-link:last-child { border-right: 0; }
.petal-link:hover, .petal-link.is-active { background: var(--mist-2); color: var(--emerald); }
.petal-link-accent { color: var(--coral); }
.petal-icon { font-size: .85rem; line-height: 1; opacity: .85; }
.petal-label { line-height: 1.2; }
.canopy-tools { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.canopy-search {
  display: flex; width: 100%; max-width: 260px;
  border: 1px solid var(--line); border-radius: var(--radius-round);
  overflow: hidden; background: var(--white);
}
.canopy-search input {
  flex: 1; border: 0; padding: 8px 12px; font: inherit; font-size: .82rem; background: transparent;
}
.canopy-search button {
  border: 0; background: var(--emerald); color: var(--mist);
  padding: 8px 14px; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.canopy-actions { display: flex; gap: 8px; align-items: center; }
.canopy-account {
  font-size: .78rem; font-weight: 700; color: var(--emerald);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-round);
  background: var(--white);
}
.canopy-cart {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--white);
  padding: 6px 12px; border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--coral), #d45f4d);
}
.canopy-cart-badge {
  min-width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--pollen); color: var(--ink); font-size: .7rem;
}
.canopy-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 10px;
}
.canopy-menu-btn span { display: block; height: 2px; background: var(--emerald); border-radius: 2px; }
.canopy-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(6,42,31,.45); z-index: 55;
}
.canopy-backdrop.is-visible { display: block; }

/* ── Conservatory footer (Florilegium XII) ── */
.conservatory-footer {
  margin-top: auto;
  position: relative;
}
.footer-root-border {
  position: relative;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(11, 61, 46, 0.08));
  overflow: hidden;
}
.root-stones {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      #d4c4a8 0 18px,
      #c4b498 18px 19px,
      #e8e0d4 19px 38px,
      #d4c4a8 38px 39px
    );
  opacity: .55;
}
.root-vine {
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald), var(--pollen), var(--coral), var(--pollen), var(--emerald));
  opacity: .7;
}

.conservatory-footer-body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(242, 193, 78, 0.08), transparent 42%),
    radial-gradient(ellipse at 90% 100%, rgba(107, 168, 138, 0.1), transparent 38%),
    linear-gradient(165deg, var(--emerald-deep) 0%, #0f4a36 52%, var(--twilight) 100%);
  color: rgba(247, 250, 248, 0.92);
  padding: 40px 0 32px;
}
.footer-chamber-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) minmax(220px, 1.1fr);
  gap: 24px 20px;
  align-items: start;
}

.footer-plinth {
  padding-right: 12px;
}
.plinth-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.plinth-badge {
  flex-shrink: 0;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 8px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius);
  margin-top: 4px;
}
.plinth-emblem {
  flex-shrink: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.plinth-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  display: block;
  line-height: 1.2;
}
.plinth-tagline {
  margin: 5px 0 0;
  font-size: .82rem;
  opacity: .85;
  line-height: 1.4;
}
.plinth-entity {
  font-size: .74rem;
  opacity: .68;
  margin: 0 0 14px;
  line-height: 1.45;
}
.plinth-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.plinth-seal {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--pollen-pale);
}

.footer-stake {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pollen-pale);
}
.stake-cap {
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--pollen), var(--coral));
  border-radius: 2px;
}
.footer-vines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-vines a {
  font-size: .84rem;
  opacity: .86;
  transition: opacity .2s, color .2s;
  line-height: 1.35;
}
.footer-vines a:hover {
  opacity: 1;
  color: var(--pollen);
}

.footer-glasshouse-card {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.glasshouse-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.glasshouse-contact li {
  display: grid;
  gap: 2px;
}
.contact-key {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .65;
}
.glasshouse-contact a,
.glasshouse-contact span {
  font-size: .82rem;
  line-height: 1.4;
  opacity: .9;
  word-break: break-word;
}
.glasshouse-contact a:hover {
  color: var(--pollen);
}

.conservatory-footer-sill {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
  font-size: .74rem;
}
.footer-sill-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: .82;
  color: rgba(247, 250, 248, 0.88);
}
.footer-sill-note {
  color: var(--pollen-pale);
  text-align: right;
}

@media (max-width: 1080px) {
  .footer-chamber-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-plinth,
  .footer-glasshouse-card {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .footer-chamber-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .conservatory-footer-body {
    padding: 32px 0 26px;
  }
  .footer-sill-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-sill-note {
    text-align: left;
  }
}

/* ── Bloom homepage ── */
.hero-bloom { padding: 28px 0 40px; }
.hero-bloom-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center;
}
.hero-bloom-copy .eyebrow {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); font-weight: 700; margin: 0 0 10px;
}
.hero-bloom-copy h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08; margin: 0 0 14px; color: var(--emerald-deep);
}
.hero-bloom-copy h1 em { font-style: italic; color: var(--coral); }
.hero-lede { font-size: 1.02rem; color: var(--muted); max-width: 46ch; margin: 0 0 18px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.trust-badges-bloom {
  display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap;
}
.trust-badges-bloom li { display: flex; flex-direction: column; }
.trust-badges-bloom strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--emerald); }
.trust-badges-bloom span { font-size: .76rem; color: var(--muted); }
.hero-bloom-bento {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 130px);
  gap: 10px;
}
.bento-tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.bento-tile img { width: 100%; height: 100%; object-fit: cover; }
.bento-tile-1 { grid-row: span 2; }
.bento-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  font-size: .72rem; font-weight: 700; color: var(--white);
  background: linear-gradient(transparent, rgba(6,42,31,.75));
}
.category-rail-bloom { padding: 8px 0 32px; }
.bloom-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bloom-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-round);
  border: 1px solid var(--line); background: var(--white);
  font-size: .84rem; font-weight: 600; color: var(--emerald);
  box-shadow: var(--shadow-soft); transition: transform .2s, border-color .2s;
}
.bloom-chip:hover { transform: translateY(-2px); border-color: var(--coral); }
.chip-petal { color: var(--coral); }
.promo-band-bloom {
  background: linear-gradient(120deg, var(--emerald) 0%, #145a42 50%, var(--twilight) 100%);
  color: var(--mist); padding: 36px 0;
}
.promo-band-bloom .eyebrow { color: var(--pollen-pale); }
.promo-band-bloom h2 { font-family: var(--font-display); margin: 0 0 10px; }
.promo-band-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center;
}
.promo-spotlight {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
}
.promo-spotlight img { width: 100%; height: 180px; object-fit: cover; }
.promo-spotlight span {
  display: block; padding: 10px 12px; font-size: .82rem; font-weight: 700;
  background: rgba(0,0,0,0.2);
}

/* ── Florilegium homepage (Appily Twelve — unique layout) ── */
.page-florilegium .page-main {
  background: #f4f7f5;
}

/* Specimen wall hero */
.specimen-wall {
  position: relative;
  padding: 0;
  background: linear-gradient(165deg, #0a2e4a 0%, #0b3d2e 42%, #1a4d3e 100%);
  overflow: hidden;
}
.specimen-wall::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(242, 193, 78, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232, 116, 97, 0.1), transparent 35%);
  pointer-events: none;
}
.specimen-wall-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(110px, 1fr));
  gap: 6px;
  padding: 6px;
  min-height: clamp(420px, 58vh, 560px);
  max-width: 1180px;
  margin: 0 auto;
}
.specimen-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  transition: transform .25s, border-color .25s, z-index 0s;
}
.specimen-frame:hover {
  transform: scale(1.03);
  border-color: var(--pollen);
  z-index: 2;
}
.specimen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100px;
}
.specimen-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 8px;
  font-size: .65rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(transparent, rgba(6, 42, 31, 0.85));
  opacity: 0;
  transition: opacity .2s;
}
.specimen-frame:hover .specimen-tag { opacity: 1; }
.specimen-frame-1 { grid-column: 1; grid-row: 1; }
.specimen-frame-2 { grid-column: 2; grid-row: 1; }
.specimen-frame-3 { grid-column: 3; grid-row: 1 / 3; }
.specimen-frame-4 { grid-column: 4; grid-row: 1; }
.specimen-frame-5 { grid-column: 1; grid-row: 2 / 4; }
.specimen-frame-6 { grid-column: 2; grid-row: 2; }
.specimen-frame-7 { grid-column: 4; grid-row: 2 / 4; }
.specimen-plaque {
  grid-column: 2 / 4;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  background: rgba(247, 250, 248, 0.96);
  border: 2px solid rgba(242, 193, 78, 0.45);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.specimen-series {
  margin: 0 0 6px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
}
.specimen-plaque h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.12;
  color: var(--emerald-deep);
}
.specimen-plaque h1 em {
  font-style: italic;
  color: var(--coral);
}
.specimen-lede {
  margin: 0 0 14px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.specimen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.btn-glow {
  box-shadow: 0 8px 24px rgba(232, 116, 97, 0.35);
}
.btn-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-round);
  font-weight: 700;
  font-size: .82rem;
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
  transition: background .2s, color .2s;
}
.btn-plaque:hover {
  background: var(--emerald);
  color: var(--mist);
}
.specimen-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.specimen-metrics li {
  display: flex;
  flex-direction: column;
}
.specimen-metrics strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--emerald);
  line-height: 1.1;
}
.specimen-metrics span {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-florilegium .btn-soft {
  background: var(--pollen-pale);
  color: var(--emerald-deep);
  border-color: rgba(11, 61, 46, 0.12);
}

.stem-ladder {
  padding: 48px 0 40px;
  background: var(--mist);
}
.stem-ladder-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
  margin-bottom: 28px;
}
.stem-kicker {
  width: 100%;
  margin: 0;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
}
.stem-ladder-head h2 {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--emerald-deep);
}
.stem-all {
  font-size: .88rem;
  font-weight: 700;
  color: var(--coral);
}
.stem-all:hover { color: var(--emerald); }
.stem-list {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 0;
  border-left: 3px solid var(--pollen);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stem-rung {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.stem-rung:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--coral);
}
.stem-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pollen);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--pollen);
  margin-left: -41px;
}
.stem-step {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coral);
  min-width: 28px;
}
.stem-label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--emerald-deep);
}
.stem-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform .2s;
}
.stem-rung:hover .stem-arrow {
  transform: translateX(4px);
  color: var(--coral);
}
.stem-rung.tone-a { border-left: 4px solid #e87461; }
.stem-rung.tone-b { border-left: 4px solid #f2c14e; }
.stem-rung.tone-c { border-left: 4px solid #6ba88a; }
.stem-rung.tone-d { border-left: 4px solid #7eb8d4; }
.stem-rung.tone-e { border-left: 4px solid #c9a0dc; }

/* Folio spread featured */
.folio-spread {
  padding: 52px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--mist-2) 100%);
}
.folio-head {
  margin-bottom: 28px;
  max-width: 52ch;
}
.folio-kicker {
  margin: 0 0 6px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
}
.folio-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--emerald-deep);
}
.folio-head p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.folio-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 20px;
  align-items: start;
}
.folio-lead {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 140px;
}
.folio-lead-visual {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--mist-2);
}
.folio-lead-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.folio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-round);
  background: var(--emerald);
  color: var(--mist);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.folio-lead-copy {
  padding: 20px 22px 24px;
}
.folio-cat {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--coral);
}
.folio-lead-copy h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.folio-lead-copy h3 a:hover { color: var(--coral); }
.folio-price {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emerald);
}
.folio-gridlet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.folio-cell {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.folio-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.folio-cell-img {
  aspect-ratio: 1;
  background: var(--mist-2);
  overflow: hidden;
}
.folio-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.folio-cell-meta {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.folio-cell-cat {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}
.folio-cell-meta strong {
  font-size: .88rem;
  line-height: 1.3;
  color: var(--ink);
}
.folio-cell-price {
  font-weight: 800;
  color: var(--emerald);
  font-size: .92rem;
}
.folio-empty {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

/* Cyanotype promo band */
.cyanotype-band {
  padding: 48px 0;
  background: #e8f0f8;
}
.cyanotype-frame {
  padding: 14px;
  background: linear-gradient(135deg, #1e4a7a 0%, #2a5f8f 50%, #1a3d5c 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.cyanotype-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: calc(var(--radius-lg) - 4px);
  background: rgba(30, 74, 122, 0.4);
  color: var(--mist);
}
.cyanotype-label {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pollen-pale);
  font-weight: 600;
}
.cyanotype-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  color: var(--white);
}
.cyanotype-copy p {
  margin: 0 0 18px;
  opacity: .88;
  max-width: 44ch;
  font-size: .92rem;
}
.cyanotype-specimen {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}
.cyanotype-specimen img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.05);
}
.cyanotype-caption {
  display: block;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
}

/* Deck hand — fanned cards */
.deck-hand {
  padding: 48px 0 64px;
  background: var(--mist);
  overflow: hidden;
}
.deck-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.deck-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--emerald-deep);
}
.deck-more {
  font-size: .88rem;
  font-weight: 700;
  color: var(--coral);
}
.deck-more:hover { color: var(--emerald); }
.deck-track {
  display: flex;
  gap: 0;
  padding: 20px 10px 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.deck-card {
  flex: 0 0 min(220px, 72vw);
  margin-left: -28px;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, z-index 0s;
  transform-origin: center bottom;
}
.deck-card:first-child { margin-left: 0; }
.deck-card-1 { transform: rotate(-4deg) translateY(8px); z-index: 1; }
.deck-card-2 { transform: rotate(-2deg) translateY(4px); z-index: 2; }
.deck-card-3 { transform: rotate(0deg); z-index: 3; }
.deck-card-4 { transform: rotate(2deg) translateY(4px); z-index: 2; }
.deck-card-5 { transform: rotate(4deg) translateY(8px); z-index: 1; }
.deck-card:hover {
  transform: rotate(0deg) translateY(-12px) scale(1.04);
  z-index: 10;
  box-shadow: var(--shadow);
}
.deck-card-img {
  aspect-ratio: 3/4;
  background: var(--mist-2);
  overflow: hidden;
}
.deck-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deck-card-body {
  padding: 12px 14px 16px;
}
.deck-card-cat {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}
.deck-card-body h3 {
  margin: 4px 0 6px;
  font-size: .88rem;
  line-height: 1.3;
  font-family: var(--font-body);
  font-weight: 700;
}
.deck-card-price {
  font-weight: 800;
  color: var(--emerald);
  font-size: .95rem;
}

@media (max-width: 980px) {
  .specimen-wall-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    min-height: 0;
    padding: 8px;
  }
  .specimen-frame-1 { grid-column: 1; grid-row: 1; }
  .specimen-frame-2 { grid-column: 2; grid-row: 1; }
  .specimen-frame-3 { grid-column: 3; grid-row: 1 / 3; }
  .specimen-frame-4 { grid-column: 1; grid-row: 2; }
  .specimen-frame-5 { grid-column: 2; grid-row: 2; }
  .specimen-frame-6 { grid-column: 1; grid-row: 3; }
  .specimen-frame-7 { grid-column: 3; grid-row: 3; }
  .specimen-plaque {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
    margin-bottom: 4px;
  }
  .folio-layout { grid-template-columns: 1fr; }
  .folio-lead { position: static; }
  .cyanotype-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .specimen-wall-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    min-height: 0;
  }
  .specimen-plaque {
    grid-column: 1 / -1;
    padding: 16px 18px;
  }
  .specimen-frame-1,
  .specimen-frame-2,
  .specimen-frame-3,
  .specimen-frame-4,
  .specimen-frame-5,
  .specimen-frame-6,
  .specimen-frame-7 {
    grid-column: auto;
    grid-row: auto;
    min-height: 130px;
  }
  .specimen-plaque h1 { font-size: 1.35rem; }
  .specimen-actions .btn { flex: 1 1 auto; min-width: 120px; }
  .stem-list { padding-left: 20px; }
  .stem-rung {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 14px 16px;
  }
  .stem-node { margin-left: -33px; }
  .stem-step { display: none; }
  .folio-gridlet { grid-template-columns: 1fr; }
  .deck-card { flex: 0 0 min(200px, 78vw); margin-left: -20px; }
  .deck-card:hover { transform: translateY(-8px) scale(1.02); }
}

.bloom-policy-hero {
  padding: 28px 0 20px;
  background: linear-gradient(180deg, var(--mist-2), transparent);
}
.bloom-policy-hero-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.bloom-policy-copy h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0; color: var(--emerald-deep);
}
.bloom-policy-copy h1 em { font-style: italic; color: var(--coral); }
.bloom-policy-lede { color: var(--muted); max-width: 50ch; margin: 0; }
.bloom-policy-seal {
  width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid var(--pollen); display: grid; place-items: center; text-align: center;
  background: var(--white); color: var(--emerald);
}
.bloom-seal-ring { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; display: block; }
.bloom-policy-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.bloom-policy-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-round);
  border: 1px solid var(--line); background: var(--white);
  font-size: .8rem; font-weight: 600; color: var(--muted);
}
.bloom-policy-tab.active { background: var(--emerald); color: var(--mist); border-color: var(--emerald); }
.bloom-tab-mark { font-size: .68rem; opacity: .8; }
.bloom-policy-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
}
.bloom-policy-ribbon {
  background: var(--emerald); color: var(--mist); padding: 20px 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.bloom-policy-ribbon strong { font-size: .85rem; letter-spacing: 0; text-transform: none; writing-mode: horizontal-tb; transform: rotate(180deg); }

@media (max-width: 980px) {
  .canopy-shell { grid-template-columns: 1fr auto; }
  .canopy-tools { display: none; }
  .canopy-menu-btn { display: flex; grid-column: 2; grid-row: 1; }
  .canopy-brand { grid-column: 1; }
  .petal-nav {
    display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
    flex-direction: column; z-index: 70; border-radius: 0; border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .petal-nav.is-open { display: flex; }
  .petal-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700;
  }
  .petal-drawer-close {
    width: 36px; height: 36px; border: 0; background: var(--mist-2); border-radius: 10px; cursor: pointer;
  }
  .petal-links { display: flex; flex-direction: column; flex: 1; }
  .petal-link { flex: 0; flex-direction: row; justify-content: flex-start; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .petal-drawer-foot {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
    border-top: 1px solid var(--line);
  }
  .petal-foot-link { display: block; padding: 12px 14px; background: var(--mist); }
  .petal-foot-link small { display: block; font-size: .68rem; color: var(--muted); }
  .hero-bloom-grid, .promo-band-inner, .footer-chamber-grid, .bloom-policy-card { grid-template-columns: 1fr; }
  .bloom-policy-ribbon { writing-mode: horizontal-tb; transform: none; flex-direction: row; padding: 12px 16px; }
  .bloom-policy-ribbon strong { transform: none; }
}

/* ── Vault header (legacy — hidden) ── */
.vault-header { display: none; }
.ledger-footer { display: none; }
.ledger-strip {
  background: linear-gradient(105deg, var(--plum-deep) 0%, var(--plum) 42%, var(--ochre) 100%);
  color: var(--parchment);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ledger-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 7px 0; flex-wrap: wrap;
}
.ledger-kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ledger-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ledger-chip {
  font-size: .66rem; font-weight: 600; padding: 3px 10px;
  border: 1px solid rgba(240, 232, 220, 0.25); border-radius: var(--radius-round);
  background: rgba(255,255,255,0.06);
}
.vault-body { padding: 14px 0 16px; }
.vault-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(300px, 1.5fr) minmax(210px, 1fr);
  gap: 14px 18px; align-items: center;
}
.vault-brand { display: flex; align-items: center; gap: 12px; }
.vault-seal { border-radius: 14px; box-shadow: 0 8px 20px rgba(58,38,71,0.22); }
.vault-brand-text { display: flex; flex-direction: column; gap: 1px; }
.vault-roman {
  font-family: var(--font-display); font-size: .62rem; letter-spacing: .2em;
  color: var(--ochre); font-weight: 700;
}
.vault-name {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 700;
  color: var(--plum-deep); line-height: 1.1;
}
.vault-name em { font-style: italic; color: var(--ochre); }
.vault-tag { font-size: .72rem; color: var(--muted); }
.specimen-nav {
  display: flex; align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.drawer-links { display: contents; }
.drawer-tab {
  flex: 1; display: grid; place-items: center; text-align: center;
  padding: 10px 6px; border-right: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--muted);
  transition: background .2s, color .2s;
}
.drawer-tab:last-child { border-right: 0; }
.drawer-tab:hover { background: var(--parchment); color: var(--plum); }
.drawer-tab.is-active { background: var(--plum); color: var(--parchment); }
.tab-num { display: block; font-size: .58rem; letter-spacing: .12em; opacity: .7; }
.tab-label { display: block; }
.tab-hint { display: none; }
.vault-tools { display: flex; flex-direction: column; gap: 8px; }
.vault-search {
  display: flex; border: 1px solid var(--line); border-radius: var(--radius-round);
  overflow: hidden; background: var(--white);
}
.vault-search input {
  flex: 1; border: 0; padding: 10px 14px; font: inherit; background: transparent;
}
.vault-search button {
  border: 0; background: var(--plum); color: var(--parchment);
  padding: 0 16px; font-weight: 700; cursor: pointer;
}
.vault-actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.vault-signin { font-size: .82rem; font-weight: 600; color: var(--plum); }
.vault-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ochre); color: var(--plum-deep);
  padding: 7px 14px; border-radius: var(--radius-round); font-weight: 700; font-size: .82rem;
}
.vault-cart-count {
  background: var(--plum-deep); color: var(--parchment);
  min-width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem;
}
.vault-toggle, .drawer-head, .drawer-foot, .vault-backdrop { display: none; }

/* ── Ledger footer ── */
.ledger-footer { margin-top: auto; }
.ledger-footer-top {
  background: var(--plum-deep); color: var(--parchment);
  padding: 48px 0 36px;
  border-top: 3px solid var(--ochre);
}
.ledger-columns {
  display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px 20px;
}
.ledger-brand-block { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.ledger-seal { border-radius: 12px; flex-shrink: 0; }
.ledger-col h4 {
  font-family: var(--font-display); font-size: .92rem; margin: 0 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.col-index {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--ochre); color: var(--plum-deep); font-size: .68rem; font-weight: 700;
}
.ledger-col a {
  display: block; font-size: .84rem; color: rgba(240,232,220,0.82);
  margin-bottom: 6px;
}
.ledger-col a:hover { color: var(--ochre-pale); }
.ledger-col p { font-size: .84rem; color: rgba(240,232,220,0.75); margin: 0 0 6px; }
.ledger-legal { font-size: .74rem; color: rgba(240,232,220,0.55); margin: 0; }
.ledger-footer-base {
  background: #1a1220; color: rgba(240,232,220,0.6);
  padding: 14px 0; font-size: .78rem;
}
.ledger-base-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ledger-note { color: var(--sage); }

/* ── Hero ledger (diagonal split) ── */
.hero-ledger { overflow: hidden; }
.hero-ledger-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.hero-ledger-copy {
  background: var(--plum-deep); color: var(--parchment);
  display: flex; align-items: center;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  padding-right: 8%;
}
.hero-ledger-copy .eyebrow { color: var(--sage); }
.hero-ledger-copy h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08; margin: 12px 0 16px;
}
.hero-ledger-copy h1 em { font-style: italic; color: var(--ochre); }
.hero-ledger-copy .hero-lede { color: rgba(240,232,220,0.82); max-width: 42ch; }
.hero-ledger-gallery {
  background: var(--parchment);
  display: flex; align-items: center; justify-content: center; padding: 32px 24px;
}
.ledger-masonry {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  gap: 12px; width: min(420px, 100%);
}
.ledger-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  background: var(--white);
}
.ledger-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ledger-card-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px; font-size: .72rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,18,24,0.75));
  color: #fff;
}
.ledger-card-1 { grid-row: span 2; }
.ledger-rail {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
}
.ledger-rail-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white);
  font-size: .82rem; font-weight: 600; color: var(--plum);
  transition: border-color .2s, background .2s;
}
.ledger-rail-tab:hover { border-color: var(--ochre); background: var(--ochre-pale); }
.rail-index {
  font-family: var(--font-display); font-size: .7rem; color: var(--ochre);
  letter-spacing: .08em;
}
.promo-band-ledger {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--parchment);
}
.promo-band-ledger .btn-primary { background: var(--ochre); color: var(--plum-deep); }

@media (max-width: 980px) {
  .vault-grid { grid-template-columns: 1fr auto; }
  .specimen-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
    z-index: 80; flex-direction: column; transform: translateX(105%);
    transition: transform .28s ease; border-radius: 0;
    display: flex; overflow-y: auto;
  }
  .specimen-nav.is-open { transform: translateX(0); }
  .drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px; border-bottom: 1px solid var(--line);
  }
  .drawer-title { font-weight: 700; color: var(--plum); }
  .drawer-close {
    width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
    background: var(--parchment); cursor: pointer;
  }
  .drawer-links { display: flex; flex-direction: column; }
  .drawer-tab {
    display: flex; align-items: center; gap: 12px; text-align: left;
    padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .tab-hint { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); margin-left: auto; }
  .drawer-foot {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 16px; margin-top: auto; border-top: 1px solid var(--line);
  }
  .drawer-account, .drawer-cart {
    padding: 12px; border-radius: var(--radius); background: var(--parchment);
    border: 1px solid var(--line);
  }
  .foot-kicker { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
  .foot-value { display: block; font-weight: 700; font-size: .84rem; color: var(--plum); }
  .vault-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 8px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); cursor: pointer; grid-column: 2; grid-row: 1;
  }
  .vault-toggle span { display: block; height: 2px; background: var(--plum); border-radius: 2px; }
  .vault-tools { grid-column: 1 / -1; }
  .vault-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(20,18,24,0.45);
    z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .vault-backdrop.is-visible { opacity: 1; pointer-events: auto; }
  .hero-ledger-split { grid-template-columns: 1fr; }
  .hero-ledger-copy { clip-path: none; padding: 40px 0 28px; }
  .ledger-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ledger-columns { grid-template-columns: 1fr; }
  .ledger-masonry { grid-template-columns: 1fr; }
  .ledger-card-1 { grid-row: auto; }
}

/* ── Pavilion header (legacy / unused) ── */
.pavilion-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(254, 252, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.monsoon-ribbon {
  background: linear-gradient(90deg, var(--indigo-deep) 0%, var(--indigo) 35%, var(--rain) 68%, var(--saffron) 100%);
  color: var(--rice);
}
.ribbon-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 0; flex-wrap: wrap;
}
.ribbon-kicker {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.ribbon-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ribbon-tag {
  font-size: .68rem; font-weight: 600; padding: 4px 10px;
  border: 1px solid rgba(254, 252, 232, 0.28); border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.08);
}

.pavilion-shell { padding: 14px 0 16px; }
.pavilion-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(280px, 1.6fr) minmax(220px, 1fr);
  gap: 16px 20px;
  align-items: center;
}
.pavilion-brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-gem {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(49, 46, 129, 0.22);
}
.brand-stack { display: flex; flex-direction: column; gap: 2px; }
.brand-kicker {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rain); font-weight: 700;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; color: var(--indigo-deep); line-height: 1.1;
}
.brand-title em { font-style: normal; color: var(--saffron); }
.brand-sub { font-size: .74rem; color: var(--muted); }

.pavilion-nav {
  display: flex; align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.nav-seg {
  flex: 1; display: grid; place-items: center;
  padding: 11px 8px;
  font-size: .78rem; font-weight: 700; color: var(--muted);
  border-right: 1px solid var(--line);
  transition: background .2s, color .2s;
  text-align: center;
}
.nav-seg-label { display: block; }
.nav-seg-hint { display: none; }

/* Mobile drawer chrome (hidden on desktop) */
.mobile-nav-head,
.mobile-nav-foot { display: none; }
.mobile-nav-links { display: contents; }

.pavilion-nav-backdrop { display: none; }
.nav-seg:last-child { border-right: 0; }
.nav-seg:hover { background: var(--rain-pale); color: var(--indigo); }
.nav-seg.is-active {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: var(--rice);
}
.nav-seg-contact { background: var(--saffron-pale); color: var(--saffron); }
.nav-seg-contact.is-active { background: var(--saffron); color: var(--white); }

.pavilion-tools { display: flex; flex-direction: column; gap: 8px; }
.pavilion-search {
  display: flex; border: 1px solid var(--line); border-radius: var(--radius-round);
  overflow: hidden; background: var(--white);
}
.pavilion-search input {
  flex: 1; border: 0; background: transparent; padding: 10px 14px;
  font: inherit; font-size: .88rem; outline: none; min-width: 0;
}
.pavilion-search button {
  border: 0; background: var(--indigo); color: var(--rice);
  padding: 10px 16px; font-weight: 700; font-size: .78rem; cursor: pointer;
}
.tools-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.tool-link {
  font-size: .82rem; font-weight: 600; color: var(--indigo);
  padding: 6px 10px; border-radius: var(--radius-round);
  border: 1px solid var(--line); background: var(--white);
}
.tool-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--saffron), #F97316);
  color: var(--white); padding: 8px 14px; border-radius: var(--radius-round);
  font-size: .82rem; font-weight: 700;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}
.tool-cart-count {
  min-width: 22px; height: 22px; border-radius: 50%;
  background: var(--indigo-deep); color: var(--rice);
  display: grid; place-items: center; font-size: .72rem;
}

.pavilion-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 10px 11px; cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
  min-width: 46px; min-height: 46px;
}
.pavilion-toggle .toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--indigo-deep); border-radius: var(--radius-round);
  transition: transform .25s ease, opacity .25s ease;
}
body.nav-open .pavilion-toggle .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .pavilion-toggle .toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .pavilion-toggle .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.nav-open { overflow: hidden; }

/* Typography */
.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rain); font-weight: 700; margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; }
h1 em { font-style: normal; color: var(--saffron); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-round);
  font-weight: 700; font-size: .9rem; border: 2px solid transparent;
  cursor: pointer; transition: .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), #d45f4d);
  color: var(--white); border-color: transparent;
  box-shadow: 0 10px 24px rgba(232, 116, 97, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline {
  background: transparent; border-color: rgba(254, 252, 232, 0.65); color: var(--rice);
}
.btn-soft {
  background: var(--rain-pale); color: var(--indigo-deep); border-color: rgba(8, 145, 178, 0.2);
}
.btn-dark { background: var(--indigo-deep); color: var(--rice); }
.btn-sm { padding: 8px 16px; font-size: .82rem; }

/* Hero — monsoon diagonal pavilion */
.hero-monsoon {
  position: relative; overflow: hidden;
  background: var(--indigo-deep); color: var(--rice);
}
.hero-monsoon::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 42%, rgba(8, 145, 178, 0.35) 42%, rgba(234, 88, 12, 0.2) 100%);
  pointer-events: none;
}
.hero-monsoon-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 520px; gap: 24px;
}
.hero-monsoon-copy {
  padding: 56px 0; display: flex; flex-direction: column; justify-content: center;
}
.hero-monsoon-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem); margin: 0 0 18px; color: var(--rice);
}
.hero-monsoon-copy .hero-lede {
  color: rgba(254, 252, 232, 0.78); max-width: 48ch; margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.trust-badges strong {
  display: block; font-size: 1.3rem; color: var(--saffron);
  font-family: var(--font-display);
}
.trust-badges span {
  font-size: .7rem; color: rgba(254, 252, 232, 0.62);
  text-transform: uppercase; letter-spacing: .1em;
}

.hero-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; padding: 36px 0 36px 12px; align-content: center;
}
.mosaic-cell {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(254, 252, 232, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.mosaic-cell img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.mosaic-cell-a { grid-row: span 2; border-radius: var(--radius-xl) var(--radius) var(--radius) var(--radius-xl); }
.mosaic-cell-a img { aspect-ratio: 3/4; min-height: 100%; }
.mosaic-cell-b { border-radius: var(--radius) var(--radius-xl) var(--radius) var(--radius); }
.mosaic-cell-c { border-radius: var(--radius) var(--radius) var(--radius-xl) var(--radius); }

/* Sections */
.section { padding: 56px 0; }
.section-muted { background: rgba(255, 255, 255, 0.55); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: 1.85rem; color: var(--indigo-deep); }
.section-head p { margin: 0; color: var(--muted); }

.category-rail { padding: 36px 0; }
.rail-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: thin;
}
.rail-chip {
  flex-shrink: 0; padding: 10px 18px; border-radius: var(--radius-round);
  background: var(--white); border: 1px solid var(--line);
  font-size: .84rem; font-weight: 700; color: var(--indigo);
  box-shadow: var(--shadow-soft);
}
.rail-chip:hover { border-color: var(--rain); background: var(--rain-pale); }

/* Ledger product cards — horizontal layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.product-card {
  display: grid; grid-template-columns: 120px 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-soft);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img {
  position: relative; display: block; background: var(--rice-2);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.product-img img {
  width: 100%; height: 100%; min-height: 132px;
  object-fit: cover; aspect-ratio: 1;
}
.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--indigo); color: var(--rice);
  font-size: .62rem; font-weight: 700; padding: 4px 8px;
  border-radius: var(--radius-round); text-transform: uppercase; letter-spacing: .06em;
}
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; justify-content: center; }
.product-cat {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rain);
  font-weight: 700;
}
.product-body h3 {
  font-size: .95rem; margin: 6px 0; font-family: var(--font-body); font-weight: 700;
  color: var(--indigo-deep);
}
.product-variant { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-weight: 800; color: var(--saffron); font-size: 1.05rem; }

.product-grid-compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-tile {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line); padding: 10px;
}
.product-tile-img {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: var(--radius);
  overflow: hidden; background: var(--rice-2);
}
.product-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.product-tile-info h3 { font-size: .85rem; margin: 0 0 4px; font-family: var(--font-body); }
.product-tile-info .price { font-size: .92rem; }

.promo-band {
  background: linear-gradient(120deg, var(--indigo-deep) 0%, var(--indigo) 45%, var(--rain) 100%);
  color: var(--rice); padding: 44px 0;
}
.promo-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.promo-inner h2 { margin: 0 0 8px; color: var(--rice); }
.promo-inner p { margin: 0; opacity: .82; }

/* Catalog */
.page-hero {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, var(--rain-pale), transparent);
}
.catalog-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-bottom: 56px;
}
.filter-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  position: sticky; top: 150px; align-self: start;
  box-shadow: var(--shadow-soft);
}
.filter-panel h2 { font-size: .95rem; margin: 0 0 14px; color: var(--indigo); }
.filter-nav { display: flex; flex-direction: column; gap: 4px; }
.filter-nav a {
  padding: 9px 12px; border-radius: var(--radius);
  font-size: .86rem; color: var(--muted); border-left: 3px solid transparent;
}
.filter-nav a.active, .filter-nav a:hover {
  background: var(--saffron-pale); color: var(--indigo-deep);
  border-left-color: var(--saffron); font-weight: 700;
}
.result-meta { font-size: .88rem; color: var(--muted); margin: 0 0 16px; }

/* Product detail */
.product-hero { padding: 40px 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--line); overflow: hidden; padding: 20px;
  box-shadow: var(--shadow-soft);
}
.product-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--rice-2);
}
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 14px; color: var(--indigo-deep); }
.product-lede { color: var(--muted); margin-bottom: 20px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.spec-list div { padding: 10px 12px; background: var(--rain-pale); border-radius: var(--radius); }
.spec-list dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec-list dd { margin: 4px 0 0; font-weight: 700; color: var(--indigo-deep); }
.buy-panel {
  padding: 22px;
  background: linear-gradient(145deg, var(--indigo-deep), var(--indigo));
  color: var(--rice); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.buy-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.price-lg { font-size: 1.6rem; color: var(--saffron); }
.buy-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.buy-form label { display: block; font-size: .82rem; margin-bottom: 4px; }
.buy-form select { padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.fine-print { font-size: .78rem; opacity: .75; margin: 12px 0 0; }

/* Cart / checkout */
.dual { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft);
}
.summary-box { position: sticky; top: 150px; }
.cart-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cart-table th, .cart-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.price-row { display: flex; justify-content: space-between; gap: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit;
}
.form-grid textarea { min-height: 90px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--rain-pale); border: 1px solid rgba(8,145,178,.2); }
.notice.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.notice.success { border-color: #bbf7d0; background: #f0fdf4; }
.notice.warning { border-color: #fed7aa; background: var(--saffron-pale); }
.mini-copy { font-size: .85rem; color: var(--muted); margin: 0; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state p { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--indigo); }
.empty-state .sub { margin-top: 8px; font-size: .92rem; font-weight: 400; color: var(--muted); }

.catalog-pagination { margin-top: 32px; }
.pagination-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pagination-btn, .pagination-num {
  padding: 8px 14px; border-radius: var(--radius-round);
  border: 1px solid var(--line); font-size: .88rem; font-weight: 700;
  background: var(--white); color: var(--ink);
}
.pagination-pages { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pagination-prev, .pagination-next { white-space: nowrap; }
.pagination-ellipsis { padding: 0 6px; color: var(--muted); font-weight: 700; }
.pagination-num.is-active {
  background: var(--indigo); color: var(--rice); border-color: var(--indigo);
}
.pagination-btn.is-disabled { opacity: .4; pointer-events: none; }

.order-list { display: grid; gap: 12px; margin-top: 18px; }
.order-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white);
}

@media (max-width: 980px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .pavilion-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "tools tools";
    gap: 12px;
  }
  .pavilion-brand { grid-area: brand; }
  .pavilion-toggle { grid-area: toggle; display: flex; align-self: center; }
  .pavilion-tools {
    grid-area: tools;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .pavilion-search { flex: 1; min-width: 0; }
  .tools-row { flex-shrink: 0; }

  .pavilion-nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(30, 27, 75, 0.48);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease;
    z-index: 90;
  }
  .pavilion-nav-backdrop.is-visible {
    opacity: 1; pointer-events: auto;
  }

  .pavilion-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, calc(100vw - 24px));
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.22);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 100;
    overflow: hidden;
    background: linear-gradient(180deg, var(--rice) 0%, var(--white) 42%, var(--rain-pale) 100%);
  }
  .pavilion-nav.is-open { transform: translateX(0); }

  .mobile-nav-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, var(--indigo-deep), var(--indigo));
    color: var(--rice);
  }
  .mobile-nav-title {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
  }
  .mobile-nav-close {
    width: 40px; height: 40px;
    border: 1px solid rgba(254, 252, 232, 0.25);
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer; padding: 0;
    display: grid; place-items: center;
  }
  .mobile-nav-close span {
    position: relative;
    width: 16px; height: 16px;
  }
  .mobile-nav-close span::before,
  .mobile-nav-close span::after {
    content: '';
    position: absolute; left: 50%; top: 50%;
    width: 16px; height: 2px;
    background: var(--rice); border-radius: var(--radius-round);
  }
  .mobile-nav-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
  .mobile-nav-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

  .mobile-nav-links {
    display: flex; flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    overflow-y: auto;
    flex: 1 1 auto;
  }
  .nav-seg {
    flex: none;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--rain);
    border-right: 0; border-bottom: 0;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    text-align: left;
  }
  .nav-seg-label {
    font-family: var(--font-display);
    font-size: .95rem; font-weight: 700;
    color: var(--indigo-deep);
  }
  .nav-seg-hint {
    display: block;
    font-size: .72rem; font-weight: 600;
    color: var(--muted);
  }
  .nav-seg.is-active {
    background: linear-gradient(135deg, var(--indigo-deep), var(--indigo));
    border-color: transparent;
    border-left-color: var(--saffron);
    box-shadow: 0 12px 28px rgba(49, 46, 129, 0.24);
  }
  .nav-seg.is-active .nav-seg-label,
  .nav-seg.is-active .nav-seg-hint { color: var(--rice); }
  .nav-seg.is-active .nav-seg-hint { opacity: .78; }
  .nav-seg-contact {
    background: var(--saffron-pale);
    border-left-color: var(--saffron);
  }
  .nav-seg-contact.is-active {
    background: linear-gradient(135deg, var(--saffron), #ea580c);
  }

  .mobile-nav-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
  }
  .mobile-nav-account,
  .mobile-nav-cart {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }
  .mobile-nav-cart {
    background: linear-gradient(135deg, var(--saffron), #f97316);
    border-color: transparent;
    color: var(--white);
  }
  .mobile-foot-kicker {
    font-size: .62rem; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
    opacity: .75;
  }
  .mobile-foot-value {
    font-size: .82rem; font-weight: 700;
    line-height: 1.3;
  }

  .hero-monsoon-grid, .product-layout, .dual, .catalog-layout { grid-template-columns: 1fr; }
  .hero-mosaic { padding: 0 0 36px; }
  .footer-chamber-grid { grid-template-columns: 1fr 1fr; }
  .footer-plinth { grid-column: 1 / -1; }
  .footer-glasshouse-card { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .summary-box { position: static; }
  .section-head { align-items: flex-start; }
  .buy-form { flex-direction: column; align-items: stretch; }
  .buy-form select, .buy-form .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, calc(100% - 20px)); }
  .pavilion-shell { padding: 12px 0 14px; }
  .brand-gem { width: 46px; height: 46px; }
  .brand-title { font-size: 1.12rem; }
  .brand-sub { font-size: .68rem; }
  .tools-row { display: none; }
  .pavilion-tools { flex-direction: column; align-items: stretch; }
  .pavilion-search button { padding: 10px 14px; }
  .ribbon-inner { justify-content: center; text-align: center; }
  .ribbon-kicker { display: none; }
  .ribbon-tags { justify-content: center; }
  .section { padding: 40px 0; }
  .hero-monsoon-grid { min-height: auto; }
  .hero-monsoon-copy { padding: 36px 0 24px; }
  .hero-monsoon-copy h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-actions .btn { flex: 1 1 calc(50% - 6px); min-width: 140px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 96px 1fr; }
  .page-home .product-grid-home .product-card {
    grid-template-columns: unset;
    display: flex;
    flex-direction: column;
  }
  .product-grid-compact { grid-template-columns: 1fr 1fr; }
  .footer-chamber-grid { grid-template-columns: 1fr; }
  .footer-sill-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust-badges { gap: 16px; }
  .mosaic-cell-a { grid-row: auto; }
  .hero-mosaic { grid-template-columns: 1fr; padding-bottom: 28px; }
  .filter-panel nav, .filter-panel .filter-nav {
    display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
  }
  .filter-panel a { flex-shrink: 0; white-space: nowrap; border-left: 0; }
  .panel { padding: 20px 18px !important; }
  .page-panel .panel { padding: 20px 18px; }
  .spec-list { grid-template-columns: 1fr; }
  .order-row { flex-direction: column; align-items: stretch; }
  .order-row .btn { width: 100%; text-align: center; }
  .action-row { flex-direction: column; }
  .action-row .btn { width: 100%; }
  .almanac-plate-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .almanac-query-shell { flex-direction: column; }
  .almanac-query-shell button { width: 100%; }
  .cart-table thead { display: none; }
  .cart-table tbody tr {
    display: block; margin-bottom: 14px; padding: 14px;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  }
  .cart-table td {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); text-align: right;
  }
  .cart-table td:last-child { border-bottom: 0; }
  .cart-table td::before {
    content: attr(data-label); font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left;
  }
}

/* ── Shop: Monsoon Seed Almanac (unique to Appily Eight) ── */
.page-almanac .page-main { background: var(--rice); }

.almanac-vault {
  position: relative;
  background: linear-gradient(165deg, var(--indigo-deep) 0%, #1a1744 42%, var(--indigo) 100%);
  color: var(--rice);
  overflow: hidden;
}
.almanac-vault-rain {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(118deg, transparent 0 18px, rgba(8, 145, 178, 0.07) 18px 19px),
    repeating-linear-gradient(122deg, transparent 0 28px, rgba(234, 88, 12, 0.05) 28px 29px);
  pointer-events: none;
}
.almanac-vault-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
  padding: 44px 0 36px;
}
.almanac-plate { position: relative; z-index: 1; }
.almanac-plate-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron);
  border: 1px solid rgba(234, 88, 12, 0.45);
  padding: 5px 12px; border-radius: var(--radius-round);
  background: rgba(234, 88, 12, 0.12);
}
.almanac-plate-meta {
  margin: 14px 0 8px; font-size: .82rem; opacity: .72;
}
.almanac-plate-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.08; margin: 0 0 12px;
}
.almanac-plate-title em { font-style: normal; color: var(--rain-pale); }
.almanac-plate-note { margin: 0; font-size: .88rem; opacity: .78; max-width: 42ch; }

.almanac-query label {
  display: block; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: rgba(254, 252, 232, 0.65);
  margin-bottom: 8px;
}
.almanac-query-shell {
  display: flex; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid rgba(254, 252, 232, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.almanac-query-shell input {
  flex: 1; border: 0; background: transparent; color: var(--rice);
  padding: 14px 16px; font: inherit; outline: none; min-width: 0;
}
.almanac-query-shell input::placeholder { color: rgba(254, 252, 232, 0.45); }
.almanac-query-shell button {
  border: 0; background: var(--saffron); color: var(--white);
  padding: 14px 18px; font-weight: 700; font-size: .82rem; cursor: pointer;
}
.almanac-vault-lip {
  height: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.18), transparent),
    repeating-linear-gradient(90deg, var(--rain) 0 24px, var(--saffron) 24px 48px, var(--indigo) 48px 72px);
  opacity: .55;
}

.almanac-body { padding: 28px 0 56px; }
.cascade-index {
  position: relative;
  margin-bottom: 28px;
  padding: 18px 0 8px;
}
.cascade-steps {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 8px; scrollbar-width: thin;
  align-items: flex-end;
}
.cascade-step {
  flex: 0 0 auto;
  min-width: 108px;
  display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 14px 12px 12px;
  margin-top: var(--step-drop, 0);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cascade-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cascade-step.is-active {
  background: linear-gradient(160deg, var(--indigo-deep), var(--indigo));
  color: var(--rice); border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(49, 46, 129, 0.28);
}
.step-num {
  font-size: .62rem; letter-spacing: .14em; font-weight: 700;
  color: var(--rain);
}
.cascade-step.is-active .step-num { color: var(--saffron); }
.step-label { font-size: .78rem; font-weight: 700; line-height: 1.2; color: var(--indigo-deep); }
.cascade-step.is-active .step-label { color: var(--rice); }
.step-qty {
  font-size: .68rem; font-weight: 700; padding: 2px 8px;
  border-radius: var(--radius-round); background: var(--rain-pale); color: var(--indigo);
}
.cascade-step.is-active .step-qty { background: rgba(255,255,255,.15); color: var(--rice); }
.step-veg { border-top: 4px solid #4ade80; }
.step-bloom { border-top: 4px solid #f472b6; }
.step-forage { border-top: 4px solid #a3a3a3; }
.step-fruit { border-top: 4px solid #fb923c; }
.step-herb { border-top: 4px solid #34d399; }
.step-spice { border-top: 4px solid #fbbf24; }
.step-misc { border-top: 4px solid #818cf8; }
.step-all { border-top: 4px solid var(--saffron); }

.almanac-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.toolbar-folio { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.folio-range {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--indigo-deep);
}
.folio-of { font-size: .82rem; color: var(--muted); }
.folio-clear {
  font-size: .78rem; font-weight: 700; color: var(--rain);
  padding: 4px 10px; border-radius: var(--radius-round);
  background: var(--rain-pale);
}
.toolbar-reset {
  font-size: .82rem; font-weight: 700; color: var(--saffron);
  padding: 8px 14px; border-radius: var(--radius-round);
  border: 1px solid rgba(234, 88, 12, 0.25); background: var(--saffron-pale);
}

.folio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.folio-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s, box-shadow .22s;
}
.folio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.folio-arch {
  position: relative; display: block;
  padding: 16px 16px 0;
  background: linear-gradient(180deg, var(--rice-2), var(--white));
}
.folio-index {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 8px; border-radius: var(--radius-round);
  background: var(--indigo-deep); color: var(--rice);
}
.folio-frame {
  display: block; overflow: hidden;
  border-radius: 50% 50% 12px 12px / 38% 38% 12px 12px;
  border: 2px solid rgba(49, 46, 129, 0.12);
  aspect-ratio: 1;
  background: var(--rice-2);
}
.folio-frame img { width: 100%; height: 100%; object-fit: cover; }
.folio-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: .58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 4px 8px;
  border-radius: var(--radius-round);
  background: var(--saffron); color: var(--white);
}
.folio-copy { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.folio-group {
  font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--rain);
}
.folio-copy h2 {
  font-family: var(--font-body); font-size: .98rem; font-weight: 700;
  margin: 6px 0 8px; line-height: 1.35; color: var(--indigo-deep);
}
.folio-variant { font-size: .76rem; color: var(--muted); margin: 0 0 12px; }
.folio-bar {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.folio-price { font-size: 1.08rem; font-weight: 800; color: var(--saffron); }
.folio-link {
  font-size: .76rem; font-weight: 700; color: var(--indigo);
  padding: 6px 12px; border-radius: var(--radius-round);
  background: var(--rain-pale);
}
.folio-veg .folio-frame { border-color: rgba(74, 222, 128, 0.45); }
.folio-bloom .folio-frame { border-color: rgba(244, 114, 182, 0.45); }
.folio-forage .folio-frame { border-color: rgba(163, 163, 163, 0.45); }
.folio-fruit .folio-frame { border-color: rgba(251, 146, 60, 0.45); }
.folio-herb .folio-frame { border-color: rgba(52, 211, 153, 0.45); }
.folio-spice .folio-frame { border-color: rgba(251, 191, 36, 0.45); }
.folio-misc .folio-frame { border-color: rgba(129, 140, 248, 0.45); }

.almanac-empty {
  text-align: center; padding: 56px 24px;
  background: var(--white); border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
}
.almanac-empty-mark {
  display: block; width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
  background: linear-gradient(180deg, var(--rain-pale), var(--saffron-pale));
  border: 2px solid var(--line);
}
.almanac-empty p { margin: 0; font-weight: 700; color: var(--indigo); }
.almanac-empty .sub { margin: 8px 0 18px; font-weight: 400; color: var(--muted); }

.almanac-pagination .catalog-pagination { margin-top: 36px; }
.almanac-pagination .pagination-inner {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 12px 16px;
  box-shadow: var(--shadow-soft);
}
.almanac-pagination .pagination-btn {
  background: var(--indigo-deep); color: var(--rice); border-color: transparent;
}
.almanac-pagination .pagination-btn.is-disabled {
  background: var(--rice-2); color: var(--muted); border-color: var(--line);
}

@media (max-width: 900px) {
  .almanac-vault-grid { grid-template-columns: 1fr; }
  .folio-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
  .cascade-step { min-width: 92px; padding: 12px 10px; }
  .folio-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .folio-copy h2 { font-size: .88rem; }
  .almanac-toolbar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 420px) {
  .folio-grid { grid-template-columns: 1fr; }
}

/* ── Shop: Greenhouse Pathway (Appily Twelve) ── */
.page-greenhouse .page-main {
  background: linear-gradient(180deg, #eef4f0 0%, var(--mist) 40%, #e8f0ec 100%);
}

.greenhouse-apex {
  position: relative;
  padding: 36px 0 0;
  background: linear-gradient(180deg, #1a3d32 0%, #0b3d2e 55%, #145a42 100%);
  color: var(--mist);
  overflow: hidden;
}
.greenhouse-glass {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(255, 255, 255, 0.04) 48px,
      rgba(255, 255, 255, 0.04) 50px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 32px,
      rgba(255, 255, 255, 0.03) 32px,
      rgba(255, 255, 255, 0.03) 34px
    );
  pointer-events: none;
}
.greenhouse-apex-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 32px;
}
.greenhouse-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pollen);
}
.greenhouse-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--white);
}
.greenhouse-title em {
  font-style: italic;
  color: var(--pollen-pale);
}
.greenhouse-meta {
  margin: 0;
  font-size: .88rem;
  opacity: .82;
}
.greenhouse-search-bar {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(242, 193, 78, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.search-glyph {
  display: grid;
  place-items: center;
  padding: 0 14px;
  font-size: 1.1rem;
  color: var(--pollen);
  background: rgba(0, 0, 0, 0.15);
}
.greenhouse-search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 14px 12px;
  font: inherit;
  min-width: 0;
  outline: none;
}
.greenhouse-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.greenhouse-search-bar button {
  border: 0;
  background: var(--coral);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  white-space: nowrap;
}
.greenhouse-ridge {
  height: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  margin-top: -1px;
  opacity: .6;
}

.greenhouse-floor {
  padding: 28px 0 56px;
}

.bed-markers {
  margin-bottom: 28px;
}
.bed-markers-label {
  margin: 0 0 14px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--emerald);
}
.bed-stakes {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  align-items: flex-end;
}
.bed-stake {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 100px;
  transition: transform .2s;
}
.bed-stake:hover { transform: translateY(-4px); }
.stake-post {
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, #8b7355, #5c4a32);
  border-radius: 3px 3px 0 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.15);
}
.stake-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 10px 14px 12px;
  min-width: 108px;
  background: linear-gradient(180deg, #f5ebe0, #e8dcc8);
  border: 2px solid #c4a882;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.12);
  color: var(--emerald-deep);
}
.bed-stake.is-active .stake-plate {
  background: linear-gradient(180deg, var(--emerald), #145a42);
  border-color: var(--pollen);
  color: var(--mist);
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.25);
}
.stake-num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  color: var(--coral);
}
.bed-stake.is-active .stake-num { color: var(--pollen); }
.stake-name {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
}
.stake-count {
  font-size: .68rem;
  opacity: .75;
  font-weight: 600;
}
.bed-stake.bed-a .stake-plate { border-top: 3px solid #e87461; }
.bed-stake.bed-b .stake-plate { border-top: 3px solid #f2c14e; }
.bed-stake.bed-c .stake-plate { border-top: 3px solid #6ba88a; }
.bed-stake.bed-d .stake-plate { border-top: 3px solid #7eb8d4; }
.bed-stake.bed-e .stake-plate { border-top: 3px solid #c9a0dc; }

.pathway-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.pathway-range {
  font-weight: 700;
  color: var(--emerald-deep);
  font-size: .9rem;
}
.pathway-total {
  font-size: .82rem;
  color: var(--muted);
  margin-left: 6px;
}
.pathway-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pathway-clear,
.pathway-reset {
  font-size: .82rem;
  font-weight: 700;
  color: var(--coral);
}
.pathway-clear:hover,
.pathway-reset:hover { color: var(--emerald); }

.pathway-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}
.pathway-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    var(--pollen) 0 12px,
    transparent 12px 20px
  );
  opacity: .45;
  border-radius: 2px;
  pointer-events: none;
}
.pathway-stop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
}
.pathway-rail {
  display: none;
}
.pathway-card {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
  max-width: 520px;
}
.pathway-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pathway-left .pathway-card {
  grid-column: 1;
  justify-self: end;
  margin-right: 24px;
}
.pathway-right .pathway-card {
  grid-column: 2;
  justify-self: start;
  margin-left: 24px;
  grid-template-columns: 1fr minmax(140px, 200px);
}
.pathway-right .pathway-visual { order: 2; }
.pathway-right .pathway-detail { order: 1; text-align: right; }
.pathway-right .pathway-foot { align-items: flex-end; }
.pathway-visual {
  position: relative;
  display: block;
  background: var(--mist-2);
  min-height: 160px;
}
.pathway-frame {
  display: block;
  height: 100%;
  min-height: 160px;
}
.pathway-frame img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}
.pathway-stop-no {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  background: rgba(11, 61, 46, 0.85);
  color: var(--pollen-pale);
}
.pathway-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-round);
  background: var(--coral);
  color: var(--white);
}
.pathway-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
}
.pathway-bed {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--coral);
}
.pathway-detail h2 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}
.pathway-detail h2 a:hover { color: var(--coral); }
.pathway-variant {
  margin: 0 0 10px;
  font-size: .78rem;
  color: var(--muted);
}
.pathway-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.pathway-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emerald);
}
.pathway-visit {
  font-size: .78rem;
  font-weight: 700;
  color: var(--coral);
}
.pathway-visit:hover { color: var(--emerald); }

.pathway-stop.tone-annual .pathway-card { border-left: 4px solid #e87461; }
.pathway-stop.tone-perennial .pathway-card { border-left: 4px solid #6ba88a; }
.pathway-stop.tone-cut .pathway-card { border-left: 4px solid #f2c14e; }
.pathway-stop.tone-climb .pathway-card { border-left: 4px solid #7eb8d4; }
.pathway-stop.tone-aroma .pathway-card { border-left: 4px solid #c9a0dc; }
.pathway-stop.tone-bloom .pathway-card { border-left: 4px solid var(--emerald); }

.pathway-empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius-xl);
}
.pathway-empty-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
  opacity: .5;
}
.pathway-empty p {
  margin: 0;
  font-weight: 700;
  color: var(--emerald-deep);
}
.pathway-empty .sub {
  margin: 8px 0 20px;
  font-weight: 400;
  color: var(--muted);
}

.pathway-pagination .catalog-pagination { margin-top: 36px; }
.pathway-pagination .pagination-inner {
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pathway-pagination .pagination-btn {
  border-radius: var(--radius-round);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--emerald);
  font-weight: 600;
}
.pathway-pagination .pagination-btn.is-disabled {
  background: var(--mist-2);
  color: var(--muted);
}

.page-greenhouse .btn-soft {
  background: var(--pollen-pale);
  color: var(--emerald-deep);
  border: 2px solid rgba(11, 61, 46, 0.12);
}

@media (max-width: 900px) {
  .greenhouse-apex-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pathway-list::before { display: none; }
  .pathway-stop {
    grid-template-columns: 1fr;
  }
  .pathway-left .pathway-card,
  .pathway-right .pathway-card {
    grid-column: 1;
    justify-self: stretch;
    margin: 0;
    max-width: none;
    grid-template-columns: 1fr;
  }
  .pathway-right .pathway-visual { order: unset; }
  .pathway-right .pathway-detail { order: unset; text-align: left; }
  .pathway-right .pathway-foot { align-items: stretch; }
}

@media (max-width: 640px) {
  .pathway-card {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .pathway-visual,
  .pathway-frame,
  .pathway-frame img {
    min-height: 180px;
  }
  .pathway-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .bed-stake { min-width: 90px; }
  .stake-plate { min-width: 96px; padding: 8px 10px; }
  .greenhouse-search-bar { flex-wrap: wrap; }
  .greenhouse-search-bar button { width: 100%; }
}

/* ── Track & Support: Florilegium Telegraph (Appily Twelve) ── */
.page-telegraph .page-main {
  background: linear-gradient(180deg, #eef4f0 0%, var(--mist) 50%, #e4ece8 100%);
}

.telegraph-lobby {
  position: relative;
  padding: 44px 0 36px;
  background: linear-gradient(155deg, #1a2f4a 0%, #0b3d2e 45%, #145a42 100%);
  color: var(--mist);
  overflow: hidden;
}
.telegraph-wire {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 80px,
    rgba(242, 193, 78, 0.06) 80px 81px
  );
  pointer-events: none;
}
.telegraph-lobby-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.telegraph-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pollen);
}
.telegraph-lobby h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  line-height: 1.1;
}
.telegraph-lobby h1 em {
  font-style: italic;
  color: var(--pollen-pale);
}
.telegraph-lede {
  margin: 0 0 16px;
  max-width: 48ch;
  font-size: .9rem;
  opacity: .88;
}
.telegraph-dots {
  display: flex;
  gap: 8px;
}
.telegraph-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pollen);
  opacity: .5;
}
.telegraph-dots span:nth-child(2) { opacity: .7; }
.telegraph-dots span:nth-child(3) { opacity: 1; }
.telegraph-dots span:nth-child(4) { opacity: .7; }
.telegraph-dots span:nth-child(5) { opacity: .5; }

.telegraph-lamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lamp-glow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a5568, #2d3748);
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.3);
  transition: background .3s, box-shadow .3s;
}
.lamp-glow.is-lit {
  background: radial-gradient(circle at 35% 35%, #f2c14e, #e87461);
  box-shadow: 0 0 28px rgba(242, 193, 78, 0.55), inset 0 -4px 12px rgba(0, 0, 0, 0.15);
}
.lamp-glow.is-warn {
  background: radial-gradient(circle at 35% 35%, #f5a623, #c44);
  box-shadow: 0 0 20px rgba(232, 116, 97, 0.45);
}
.lamp-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

.telegraph-floor { padding: 36px 0 56px; }
.telegraph-layout {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 300px);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.envelope-desk {
  position: relative;
  background: linear-gradient(180deg, #faf8f4 0%, #f0ebe3 100%);
  border: 2px solid #d4c4a8;
  border-radius: 4px 4px var(--radius-lg) var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg, #e8dcc8, #f5ebe0);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  border-bottom: 1px solid #c4a882;
  opacity: .9;
}
.envelope-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
  padding-top: 20px;
}
.envelope-wax {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c44, #8b2942);
  color: var(--pollen-pale);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 41, 66, 0.35);
  transform: rotate(-8deg);
}
.envelope-label {
  margin: 0 0 4px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
}
.envelope-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--emerald-deep);
}
.envelope-note {
  margin: 0 0 20px;
  font-size: .88rem;
  color: var(--muted);
}
.envelope-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.envelope-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--emerald-deep);
}
.envelope-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4c4a8;
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}
.envelope-field input:focus {
  outline: 2px solid rgba(11, 61, 46, 0.25);
  border-color: var(--emerald);
}
.envelope-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.envelope-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #d4c4a8 0 12px,
    transparent 12px 16px
  );
  opacity: .6;
}

.switchvine {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}
.switchvine-title {
  margin: 0 0 16px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--emerald);
}
.switchvine-cords {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vine-cord {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--mist);
  transition: background .2s, border-color .2s, transform .2s;
}
.vine-cord:hover {
  background: var(--mist-2);
  border-color: var(--coral);
  transform: translateX(4px);
}
.cord-plug {
  grid-row: span 2;
  width: 14px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, #8b7355, #5c4a32);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}
.cord-line {
  grid-column: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), transparent);
  opacity: .4;
  margin-bottom: 4px;
}
.cord-tag {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cord-tag strong {
  font-size: .88rem;
  color: var(--emerald-deep);
}
.cord-tag span {
  font-size: .72rem;
  color: var(--muted);
}
.cord-orders .cord-plug { background: linear-gradient(180deg, #e87461, #c45f4d); }
.cord-account .cord-plug { background: linear-gradient(180deg, #f2c14e, #d4a82a); }
.cord-ship .cord-plug { background: linear-gradient(180deg, #6ba88a, #4a8a6a); }
.cord-contact .cord-plug { background: linear-gradient(180deg, #7eb8d4, #5a9ab8); }
.switchvine-foot {
  margin: 16px 0 0;
  font-size: .78rem;
  color: var(--muted);
  word-break: break-all;
}

.telegraph-reveal { margin-top: 8px; }

.parcel-slip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow);
}
.slip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.slip-stamp {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-round);
}
.slip-stamp-ok {
  background: var(--emerald);
  color: var(--mist);
}
.slip-stamp-warn {
  background: #fef3e8;
  color: #b45309;
  border: 1px solid #f5c14e;
}
.slip-status {
  font-size: .82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-round);
  background: var(--pollen-pale);
  color: var(--emerald-deep);
}
.slip-order-id {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
}
.slip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  background: var(--mist);
  border-radius: var(--radius-lg);
}
.slip-stats div { text-align: center; }
.slip-stats dt {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.slip-stats dd {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--emerald-deep);
}

.bloom-tracker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  padding: 24px 12px 12px;
}
.bloom-stem {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 38px;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--pollen), var(--coral));
  border-radius: 2px;
  opacity: .35;
  z-index: 0;
}
.bloom-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.bloom-petal {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--mist-2);
  border: 2px solid var(--line);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.petal-inner {
  transform: rotate(45deg);
  font-size: .75rem;
  font-weight: 800;
  color: var(--muted);
}
.bloom-stage.is-done .bloom-petal,
.bloom-stage.is-current .bloom-petal {
  background: linear-gradient(135deg, var(--pollen-pale), var(--coral-pale));
  border-color: var(--coral);
  box-shadow: 0 4px 14px rgba(232, 116, 97, 0.25);
}
.bloom-stage.is-done .petal-inner,
.bloom-stage.is-current .petal-inner {
  color: var(--emerald-deep);
}
.bloom-stage.is-current .bloom-petal {
  box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.35);
}
.bloom-phase {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--coral);
}
.bloom-label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--emerald-deep);
  line-height: 1.2;
}

.slip-miss h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  color: var(--emerald-deep);
}
.slip-miss-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .9rem;
}

.telegraph-idle {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius-xl);
  color: var(--muted);
}
.telegraph-idle-envelope {
  display: block;
  width: 64px;
  height: 44px;
  margin: 0 auto 16px;
  background: linear-gradient(180deg, #f5ebe0, #e8dcc8);
  border: 2px solid #d4c4a8;
  border-radius: 2px;
  position: relative;
}
.telegraph-idle-envelope::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 22px;
  background: #ebe3d6;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.page-telegraph .btn-soft {
  background: var(--pollen-pale);
  color: var(--emerald-deep);
  border: 2px solid rgba(11, 61, 46, 0.12);
}

@media (max-width: 900px) {
  .telegraph-lobby-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .telegraph-lede { margin-left: auto; margin-right: auto; }
  .telegraph-dots { justify-content: center; }
  .telegraph-layout { grid-template-columns: 1fr; }
  .bloom-tracker {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .bloom-stem { display: none; }
  .slip-stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .telegraph-lobby { padding: 32px 0 28px; }
  .bloom-tracker { grid-template-columns: 1fr; }
  .envelope-desk { padding: 28px 20px 24px; }
}

/* ── Track & Support: Monsoon Rain-Gauge Desk (Appily Eight) ── */
.page-monsoon-track .page-main { background: var(--rice); }

.monsoon-track-hero {
  position: relative;
  background: linear-gradient(160deg, var(--indigo-deep) 0%, var(--indigo) 50%, #2a4a6e 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 48px 0 40px;
}
.gauge-tower {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 56px; height: 160px;
  border: 2px solid rgba(254, 252, 232, 0.25);
  border-radius: 8px 8px 20px 20px;
  background: rgba(0, 0, 0, 0.15);
  display: flex; flex-direction: column-reverse; gap: 3px;
  padding: 8px 6px 12px;
}
.gauge-fill {
  border-radius: 4px;
  animation: gaugePulse 3s ease-in-out infinite;
}
.gauge-fill-1 { height: 28%; background: var(--rain); opacity: .9; animation-delay: 0s; }
.gauge-fill-2 { height: 22%; background: var(--saffron); opacity: .75; animation-delay: .4s; }
.gauge-fill-3 { height: 18%; background: rgba(254, 252, 232, 0.5); animation-delay: .8s; }
@keyframes gaugePulse {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.05); }
}
.monsoon-track-hero-inner { position: relative; max-width: 640px; }
.monsoon-track-kicker {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--saffron); margin: 0 0 10px;
}
.monsoon-track-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.08; margin: 0 0 12px;
}
.monsoon-track-hero h1 em { font-style: normal; color: var(--rain-pale); }
.monsoon-track-lede { margin: 0; opacity: .82; max-width: 46ch; font-size: .92rem; }
.monsoon-track-splash {
  height: 12px;
  background: linear-gradient(90deg, var(--rain), var(--indigo), var(--saffron), var(--rain));
  opacity: .7;
}

.monsoon-track-body { padding: 36px 0 56px; }
.monsoon-track-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.rain-ticket {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 28px 28px 36px;
  overflow: hidden;
}
.ticket-perforation {
  position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: repeating-linear-gradient(
    180deg,
    var(--rain-pale) 0 8px,
    var(--line) 8px 10px
  );
  border-right: 2px dashed rgba(8, 145, 178, 0.35);
}
.ticket-head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px;
}
.ticket-serial {
  flex-shrink: 0;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em;
  padding: 6px 8px; border-radius: var(--radius);
  background: var(--indigo-deep); color: var(--rice);
  transform: rotate(-3deg);
}
.ticket-label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--rain); margin: 0 0 4px;
}
.ticket-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem; margin: 0; color: var(--indigo-deep);
}
.ticket-note { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.ticket-form { display: flex; flex-direction: column; gap: 16px; }
.ticket-field label {
  display: block; font-size: .82rem; font-weight: 700;
  margin-bottom: 6px; color: var(--indigo-deep);
}
.ticket-field input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit;
}
.ticket-field input:focus {
  outline: 2px solid rgba(8, 145, 178, 0.35);
  border-color: var(--rain);
}
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.compass-help {
  background: linear-gradient(145deg, var(--rain-pale), var(--saffron-pale));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}
.compass-title {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--indigo); margin: 0 0 16px; text-align: center;
}
.compass-rose {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 220px;
}
.compass-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-deep));
  color: var(--rice); font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.3);
  z-index: 2;
}
.compass-quadrant {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(49, 46, 129, 0.1);
  transition: transform .2s, box-shadow .2s;
}
.compass-quadrant:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.quad-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
  color: var(--white);
}
.quad-n .quad-icon { background: var(--indigo); }
.quad-e .quad-icon { background: var(--saffron); }
.quad-s .quad-icon { background: var(--rain); }
.quad-w .quad-icon { background: #6366f1; }
.quad-text strong { display: block; font-size: .78rem; color: var(--indigo-deep); }
.quad-text span { display: block; font-size: .68rem; color: var(--muted); margin-top: 2px; }
.compass-foot {
  margin: 16px 0 0; text-align: center;
  font-size: .76rem; color: var(--muted); word-break: break-all;
}

.downpour-reveal { max-width: 720px; margin: 0 auto; }
.shipment-folio {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.folio-hit-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.folio-stamp {
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px;
  border-radius: var(--radius-round);
}
.folio-stamp-ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.folio-stamp-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.folio-status-pill {
  font-size: .78rem; font-weight: 700; padding: 6px 14px;
  border-radius: var(--radius-round);
  background: var(--indigo-deep); color: var(--rice);
}
.folio-order-id {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--indigo-deep); margin: 0 0 18px;
}
.folio-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 0 0 24px;
}
.folio-stats div {
  padding: 12px; background: var(--rice-2);
  border-radius: var(--radius); border: 1px solid var(--line);
}
.folio-stats dt {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.folio-stats dd { margin: 0; font-weight: 800; color: var(--indigo-deep); }

.downpour-path {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; margin-bottom: 24px; padding-left: 8px;
}
.downpour-node {
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.downpour-drop {
  flex-shrink: 0;
  width: 36px; height: 44px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--rice-2);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  position: relative;
}
.downpour-phase {
  font-size: .5rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; line-height: 1.1; max-width: 32px;
}
.downpour-label {
  font-size: .88rem; font-weight: 700; color: var(--muted);
}
.downpour-stream {
  width: 3px; height: 28px; margin-left: 17px;
  background: linear-gradient(180deg, var(--line), var(--rain-pale));
  border-radius: var(--radius-round);
}
.downpour-node.is-done .downpour-drop {
  background: var(--rain-pale); border-color: var(--rain);
}
.downpour-node.is-done .downpour-label { color: var(--indigo-deep); }
.downpour-node.is-current .downpour-drop {
  background: linear-gradient(180deg, var(--rain), var(--indigo));
  border-color: var(--indigo);
  box-shadow: 0 6px 16px rgba(8, 145, 178, 0.35);
}
.downpour-node.is-current .downpour-phase,
.downpour-node.is-current .downpour-label { color: var(--indigo-deep); }

.folio-miss h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; margin: 12px 0 8px; color: var(--indigo-deep);
}
.folio-miss-note { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }

.downpour-idle {
  text-align: center; padding: 40px 24px;
  background: var(--white); border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
}
.downpour-idle-gauge {
  display: block; width: 48px; height: 80px; margin: 0 auto 16px;
  border: 2px solid var(--line); border-radius: 8px 8px 16px 16px;
  background: linear-gradient(180deg, var(--rain-pale) 40%, transparent 40%);
}

@media (max-width: 900px) {
  .monsoon-track-grid { grid-template-columns: 1fr; }
  .gauge-tower { display: none; }
  .folio-stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rain-ticket { padding: 24px 20px 24px 28px; }
  .compass-rose { min-height: 200px; }
}

/* Shared page shells — keep layout readable on every route */
.appily-eight .page-main { min-width: 0; }
.page-shop .page-main,
.page-product .page-main,
.page-cart .page-main,
.page-account .page-main,
.page-orders .page-main,
.page-support .page-main,
.page-checkout .page-main {
  background: var(--rice);
}
.auth-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--indigo-deep);
}
.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

/* ── Policy pages ── */
.page-policy .page-main { background: var(--rice); }
.policy-page { padding: 48px 0 72px; }
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.policy-nav a {
  padding: 10px 18px;
  border-radius: var(--radius-round);
  font-size: .88rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.policy-nav a:hover:not(.active) {
  background: var(--rain-pale);
  color: var(--indigo-deep);
}
.policy-nav a.active {
  background: var(--indigo);
  color: var(--rice);
  border-color: var(--indigo);
}
.policy-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
  max-width: 920px;
}
.policy-content,
.policy-detail { max-width: 100%; }
.policy-content h1,
.policy-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 10px;
  color: var(--indigo-deep);
  line-height: 1.2;
}
.policy-content .last-updated,
.policy-detail .last-updated {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.policy-content h2,
.policy-detail h2 {
  font-size: 1.2rem;
  margin: 36px 0 14px;
  color: var(--indigo-deep);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rice-2);
  line-height: 1.35;
}
.policy-content h3,
.policy-detail h3 {
  font-size: 1.02rem;
  margin: 22px 0 10px;
  color: var(--ink);
  font-weight: 700;
}
.policy-content p,
.policy-detail p,
.policy-content li,
.policy-detail li {
  line-height: 1.85;
  color: #374151;
  font-size: .96rem;
  margin: 0 0 14px;
}
.policy-content ul,
.policy-detail ul {
  padding-left: 22px;
  margin: 12px 0 18px;
}
.policy-content li,
.policy-detail li { margin-bottom: 10px; }
.policy-content strong,
.policy-detail strong {
  color: var(--indigo-deep);
  font-weight: 700;
}
.policy-content a,
.policy-detail a {
  color: var(--rain);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-content .highlight-box,
.policy-detail .highlight-box {
  padding: 20px 22px;
  background: var(--rain-pale);
  border: 1px solid rgba(8, 145, 178, 0.22);
  border-radius: var(--radius);
  margin: 20px 0;
  color: #374151;
}
.policy-content .highlight-box p,
.policy-detail .highlight-box p { margin-bottom: 0; }
.policy-content table,
.policy-detail table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: .92rem;
}
.policy-content th,
.policy-detail th,
.policy-content td,
.policy-detail td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  color: #374151;
}
.policy-content th,
.policy-detail th {
  background: var(--rice);
  color: var(--indigo-deep);
  font-weight: 700;
}
.policy-content .contact-grid,
.policy-detail .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.policy-content .contact-card,
.policy-detail .contact-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--rice);
}
.policy-content .contact-card dt,
.policy-detail .contact-card dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.policy-content .contact-card dd,
.policy-detail .contact-card dd {
  margin: 0;
  font-weight: 600;
  font-size: .94rem;
  color: var(--indigo-deep);
  word-break: break-word;
}
@media (max-width: 640px) {
  .policy-card { padding: 22px 18px; }
  .policy-nav a { padding: 9px 14px; font-size: .82rem; }
  .policy-content table,
  .policy-detail table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .policy-content th,
  .policy-detail th,
  .policy-content td,
  .policy-detail td { white-space: nowrap; }
}
