/* ==========================================================================
   Pet Snake Victoria — "The Melbourne Night Conservatory" (see BRIEF.md)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonNext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonNext-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --canopy: #102C25;
  --fern: #1D4938;
  --leaf: #3F7655;
  --lime: #D5F06B;
  --paper: #F5ECD8;
  --mist: #E6E8DA;
  --bark: #4A382B;
  --coral: #E76045;
  --ochre: #C88C32;
  --sky: #8BC8C3;
  --sky-bright: #B4DEDA; /* readable small text on fern/canopy */
  --white: #FFFDF7;
  --near-black: #092019;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Arial", sans-serif;

  --ease-lush: cubic-bezier(.22, 1, .36, 1);
  --shadow-paper: 0 2px 0 rgba(74, 56, 43, .18), 0 18px 42px rgba(16, 44, 37, .12);
  --border-light: 1px solid rgba(74, 56, 43, .28);
  --border-dark: 1px solid rgba(213, 240, 107, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--canopy);
  color: var(--bark);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 430;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.frame {
  width: min(1180px, calc(100vw - 96px));
  margin: 0 auto;
}
@media (max-width: 1023px) { .frame { width: calc(100vw - 64px); } }
@media (max-width: 767px)  { .frame { width: calc(100vw - 40px); } }

h1, h2, h3 { margin: 0; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--white);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--lime);
  color: var(--canopy);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: top 160ms ease-out;
}
.skip-link:focus { top: 16px; }

/* ---------- type styles ---------- */

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -0.045em;
  color: var(--white);
  font-variation-settings: "opsz" 100;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 18ch;
  font-variation-settings: "opsz" 72;
}
.deck {
  font-size: clamp(20px, 1.6vw, 22px);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.lead { font-size: 19px; line-height: 1.55; max-width: 68ch; }
.eyebrow, .section-mark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 24px;
}
.section-mark { display: flex; align-items: center; gap: 12px; }
.section-mark::after { content: ""; width: 48px; height: 2px; background: currentColor; }
.section-mark.centered { justify-content: center; }
.section-mark.centered::before { content: ""; width: 48px; height: 2px; background: currentColor; }
.section-mark.on-light { color: var(--fern); }
.section-mark.on-dark { color: var(--lime); }

.num, .fact-num, .ledger dd, .ledger-total-num {
  font-variant-numeric: tabular-nums;
}

em { font-style: italic; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(5, 22, 17, .28); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(5, 22, 17, .2); }

.btn-primary { background: var(--lime); color: var(--canopy); }
.btn-secondary { background: transparent; border-color: var(--canopy); color: var(--canopy); }
.section-dark .btn-secondary, .site-footer .btn-secondary { border-color: var(--paper); color: var(--paper); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 180ms ease-out;
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 2px; }
.text-link.on-dark { color: var(--white); }
.text-link svg { width: 16px; height: 16px; }

/* ---------- tags ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--canopy);
  white-space: nowrap;
}
.tag-lime { background: var(--lime); }
.tag-ochre { background: var(--ochre); }
.tag-coral { background: var(--coral); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(16, 44, 37, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--fern);
  box-shadow: 0 8px 24px rgba(5, 22, 17, .24);
}
.header-row {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 767px) { .header-row { height: 64px; } }

.wordmark { text-decoration: none; color: var(--white); display: block; line-height: 1.1; }
.wordmark-line1 {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 19px;
  letter-spacing: .06em;
}
.wordmark-s { position: relative; }
.wordmark-snake {
  position: absolute;
  width: 14px; height: 14px;
  top: -8px; right: -5px;
  color: var(--lime);
}
.wordmark-line2 {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.nav-cta) {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav > a:not(.nav-cta):hover,
.site-nav > a[aria-current="location"] { border-bottom-color: var(--lime); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(255, 253, 247, .4);
  border-radius: 12px;
  cursor: pointer;
}
.menu-bar { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 220ms var(--ease-lush), opacity 160ms; }
.menu-toggle[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canopy);
    border-bottom: 1px solid var(--fern);
    padding: 8px 20px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid rgba(213, 240, 107, .14);
  }
  .nav-cta { margin-top: 16px; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(680px, 92svh, 880px);
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(29, 73, 56, .55), transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(9, 32, 25, .9), transparent 70%),
    var(--canopy);
  margin-top: -76px;
  padding-top: 76px;
  overflow: hidden;
}
@media (max-width: 767px) { .hero { margin-top: -64px; padding-top: 64px; min-height: 720px; } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
  padding: 150px 0 128px;
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--sky); }
.hero .deck { color: var(--paper); margin: 24px 0 32px; max-width: 44ch; }
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-ticket {
  display: inline-block;
  margin-top: 48px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--bark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  border: 1px dashed rgba(74, 56, 43, .45);
  box-shadow: var(--shadow-paper);
  transform: rotate(-1.5deg);
}

.hero-art {
  margin: 0;
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: var(--border-dark);
  box-shadow: 0 18px 30px rgba(5, 22, 17, .28);
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; padding: 88px 0 96px; }
  .hero-art { max-width: 480px; }
}

.hero-canopy {
  position: absolute;
  top: -10%; right: -14%;
  width: 62%;
  height: auto;
  opacity: .5;
  z-index: 0;
  pointer-events: none;
  /* fade the raster's square bounding box into the canopy so no seam shows */
  -webkit-mask-image: radial-gradient(115% 115% at 78% 22%, #000 48%, transparent 76%);
  mask-image: radial-gradient(115% 115% at 78% 22%, #000 48%, transparent 76%);
}
.hero-fol-fg {
  position: absolute;
  bottom: -12%; right: -10%;
  width: 420px;
  height: auto;
  transform: rotate(14deg);
  filter: drop-shadow(0 18px 30px rgba(5, 22, 17, .28)) brightness(.82) saturate(.9);
  z-index: 4;
}
@media (max-width: 767px) {
  .hero-canopy { width: 100%; top: -6%; right: -20%; opacity: .35; }
  .hero-fol-fg { width: 240px; bottom: -8%; right: -14%; }
}
.hero-foliage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fol { position: absolute; }
.fol-a { width: 300px; color: var(--near-black); top: -40px; left: -80px; transform: rotate(160deg); }
.fol-b { width: 260px; color: var(--fern); top: -30px; right: -60px; transform: rotate(-15deg); opacity: .8; }
.fol-c { width: 150px; color: var(--leaf); bottom: 60px; left: -40px; transform: rotate(35deg); opacity: .5; }
.fol-d { width: 220px; color: var(--near-black); bottom: -30px; right: 12%; transform: rotate(200deg); opacity: .9; }
.fol-e { width: 180px; color: var(--fern); top: 30%; left: 44%; transform: rotate(80deg); opacity: .35; }
@media (max-width: 767px) {
  .fol-a { width: 180px; }
  .fol-b { width: 150px; }
  .fol-e { display: none; }
}

.tear { display: block; position: absolute; bottom: -1px; left: 0; width: 100%; height: 44px; z-index: 3; }

/* sway */
.sway { animation: sway var(--sway-dur, 7s) ease-in-out infinite alternate; transform-origin: bottom center; }
@keyframes sway {
  from { rotate: -1.5deg; }
  to   { rotate: 1.5deg; }
}

/* ==========================================================================
   Quick facts
   ========================================================================== */

.facts { background: var(--paper); border-bottom: var(--border-light); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 112px;
}
.fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  border-left: 1px dashed rgba(74, 56, 43, .35);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--canopy);
}
.fact-unit { font-size: .55em; font-weight: 620; }
.fact-label { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--fern); }
@media (max-width: 767px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 124px; justify-content: flex-end; padding: 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px dashed rgba(74, 56, 43, .35); }
}

/* ==========================================================================
   Sections shared
   ========================================================================== */

.section { position: relative; overflow: hidden; }
.section-paper { background: var(--paper); padding: 112px 0 128px; }
.section-mist { background: var(--mist); padding: 112px 0; }
.section-dark { background: var(--canopy); color: var(--paper); padding: 128px 0; }
@media (max-width: 767px) {
  .section-paper { padding: 72px 0 88px; }
  .section-mist { padding: 80px 0; }
  .section-dark { padding: 88px 0; }
}

.scale-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(18px 12px at 18px 14px, transparent 10px, rgba(16, 44, 37, .07) 10.5px, rgba(16, 44, 37, .07) 11.5px, transparent 12px);
  background-size: 36px 24px;
  pointer-events: none;
}
.scale-bg > * { position: relative; }

/* ==========================================================================
   Licence
   ========================================================================== */

.licence-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
}
.licence-copy { grid-column: 1; }
.licence-grid .specimen { grid-column: 2; grid-row: 1 / span 2; }
.licence-grid .record-steps { grid-column: 1; }
@media (max-width: 1023px) {
  /* stack in reading order: intro, licence artifact, then record keeping */
  .licence-grid { grid-template-columns: 1fr; gap: 40px; }
  .licence-copy, .licence-grid .specimen, .licence-grid .record-steps { grid-column: 1; grid-row: auto; }
}

.licence-copy .h2 { margin-bottom: 24px; }
.licence-copy .lead { margin-bottom: 0; }

.record-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.record-steps li {
  position: relative;
  padding: 24px 0 0;
  border-top: 2px solid var(--fern);
}
.record-steps .step-icon { width: 24px; height: 24px; color: var(--fern); margin-bottom: 12px; display: block; }
.record-steps .step-n {
  position: absolute;
  top: -14px; left: 0;
  background: var(--paper);
  padding-right: 8px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 18px;
  color: var(--fern);
}
.record-steps h3 { font-size: 17px; font-weight: 700; font-family: var(--font-body); line-height: 1.3; margin-bottom: 8px; }
.record-steps p { font-size: 15px; line-height: 1.5; }
@media (max-width: 767px) {
  .record-steps { grid-template-columns: 1fr; gap: 32px; }
}

.specimen { position: relative; }
.specimen-card {
  position: relative;
  background: var(--white);
  border: 1px dashed rgba(74, 56, 43, .45);
  box-shadow: var(--shadow-paper);
  padding: 32px;
  transform: rotate(1.2deg);
}
.specimen-card::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--mist);
  border: var(--border-light);
  z-index: -1;
}
.stamp {
  position: absolute;
  top: 18px; right: 20px;
  transform: rotate(7deg);
  border: 2.5px solid var(--fern);
  border-radius: 999px;
  color: var(--fern);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  padding: 6px 14px;
  opacity: .75;
}
.specimen-title { font-family: var(--font-display); font-size: 27px; font-weight: 620; letter-spacing: -0.025em; padding-right: 90px; }
.specimen-sub { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fern); margin: 8px 0 24px; }
.specimen-rows { margin: 0 0 24px; }
.specimen-rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 56, 43, .16);
  font-size: 16px;
}
.specimen-rows dt { font-weight: 450; }
.specimen-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.specimen-cta { width: 100%; justify-content: center; }
.specimen-note { margin-top: 12px; font-size: 13px; color: rgba(74, 56, 43, .8); text-align: center; }
@media (max-width: 767px) { .specimen-card { transform: none; } }

.warning-slab {
  margin-top: 80px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--coral);
  color: var(--canopy);
  padding: 32px;
}
.warning-icon { width: 48px; height: 48px; flex: none; }
.warning-head {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 4px;
}
.warning-sub { margin: 0; font-size: 16px; }
@media (max-width: 767px) {
  .warning-slab { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; margin-top: 48px; }
}

/* ==========================================================================
   Species
   ========================================================================== */

.species-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.species-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fern);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .species-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

.species-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 767px) {
  .species-grid { grid-template-columns: 1fr; gap: 16px; }
  .species-img { aspect-ratio: 16 / 9; }
  .species-body { padding: 20px 24px 24px; }
  .species-body p:last-child { font-size: 15px; }
  /* the desktop offset disappears when stacked; a warmer fill keeps the
     Murray Darling card visually distinct from the Antaresia trio */
  .species-card-offset { background: var(--paper); }
}

.species-card {
  position: relative;
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding-left: 10px;
  transition: transform 240ms var(--ease-lush), box-shadow 240ms var(--ease-lush);
}
.species-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  transition: width 240ms var(--ease-lush);
}
.species-card[data-tab="lime"]::before { background: var(--lime); }
.species-card[data-tab="ochre"]::before { background: var(--ochre); }
@media (hover: hover) and (pointer: fine) {
  .species-card:hover { transform: translateY(-4px); box-shadow: 0 6px 0 rgba(74, 56, 43, .12), 0 26px 52px rgba(16, 44, 37, .18); }
  .species-card:hover::before { width: 18px; }
  .species-card:hover .species-img img { transform: scale(1.025); }
}
.species-card:focus-within { transform: translateY(-4px); }

.species-img {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.species-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms var(--ease-lush);
}
.species-body {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.species-card { display: flex; flex-direction: column; }
.species-data { margin-top: auto !important; padding-top: 20px; }
.species-body h3 { font-family: var(--font-display); font-size: clamp(27px, 2vw, 30px); font-weight: 620; letter-spacing: -0.025em; line-height: 1.08; }
.sci { font-size: 15px; color: var(--fern); margin: 8px 0 12px; }
.species-body .tag { margin-bottom: 16px; }
.species-body p:last-child { font-size: 16px; line-height: 1.55; }
@media (min-width: 768px) {
  .species-card-offset { transform: translateY(24px); }
  @media (hover: hover) and (pointer: fine) {
    .species-card-offset:hover { transform: translateY(20px); }
  }
}

.not-list {
  margin-top: 72px;
  background: var(--canopy);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
}
.not-list h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.not-list ul { list-style: none; margin: 0; padding: 0; }
.not-list li { padding: 8px 0; font-size: 18px; border-bottom: 1px solid rgba(213, 240, 107, .14); }
.illegal li { position: relative; }
.illegal span { position: relative; display: inline-block; }
.illegal span::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 55%;
  height: 2px;
  background: var(--coral);
  z-index: -1;
  transform: translateY(-50%) rotate(-1deg);
}
@media (max-width: 767px) {
  .not-list { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
}

/* ==========================================================================
   Climate / setup
   ========================================================================== */

.climate-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.climate-copy-top { grid-column: 2; grid-row: 1; }
.climate-copy-rest { grid-column: 2; grid-row: 2; }
.climate-art { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 1023px) {
  .climate-grid { grid-template-columns: 1fr; gap: 40px; }
  .climate-copy-top, .climate-copy-rest, .climate-art { grid-column: 1; grid-row: auto; }
  .climate-art { max-width: 520px; }
}

.climate-art { margin: 0; position: relative; }
.climate-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: var(--border-dark);
  box-shadow: 0 18px 30px rgba(5, 22, 17, .28);
}
.climate-vine {
  position: absolute;
  width: 220px;
  right: -60px;
  bottom: -50px;
  color: var(--leaf);
}
@media (max-width: 1023px) { .climate-vine { display: none; } }

.climate-copy .h2 { color: var(--white); margin-bottom: 24px; }
.lead.on-dark { color: var(--paper); }

.thermo { margin: 0 0 48px; }
.thermo-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}
.thermo-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 999px;
  overflow: hidden;
  border: var(--border-dark);
}
.thermo-warm, .thermo-cool {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--canopy);
  text-align: center;
}
.thermo-warm { background: var(--coral); }
.thermo-cool { background: var(--sky); }
.thermo-warm svg, .thermo-cool svg { width: 20px; height: 20px; flex: none; }
.thermo-cap { font-size: 13px; color: var(--sky); margin-top: 12px; }

.setup-rules { list-style: none; margin: 0 0 48px; padding: 0; }
.setup-rules li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(213, 240, 107, .18);
}
.rule-icon { width: 48px; height: 48px; color: var(--lime); flex: none; }
.rule-n { font-family: var(--font-display); font-weight: 650; font-size: 22px; color: var(--sky); }
.rule-text { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--white); }

.field-note {
  border: 1px solid var(--lime);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  color: var(--paper);
  max-width: 60ch;
}
.field-note strong { color: var(--lime); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }

.dark-foliage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fol-f { width: 260px; color: var(--near-black); top: -40px; right: -60px; transform: rotate(180deg); }
.fol-g { width: 140px; color: var(--fern); bottom: -20px; left: -30px; transform: rotate(20deg); opacity: .8; }

/* ==========================================================================
   Cost ledger
   ========================================================================== */

.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1023px) { .ledger-grid { grid-template-columns: 1fr; gap: 32px; } }
.ledger-intro .h2 { margin-bottom: 24px; }
.ledger-intro p { font-size: 17px; max-width: 40ch; }

.ledger {
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 32px;
}
.ledger-total {
  background: var(--canopy);
  color: var(--white);
  padding: 24px 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ledger-total-num {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(34px, 3vw, 42px);
  letter-spacing: -0.02em;
  color: var(--lime);
}
.ledger-total-label { font-size: 15px; color: var(--sky); }
.ledger-rows { margin: 0; }
.ledger-rows div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  font-size: 17px;
}
.ledger-rows dt { order: 1; flex: 0 1 auto; }
.ledger-rows div::before { content: ""; order: 2; flex: 1 0 16px; border-bottom: 2px dotted rgba(74, 56, 43, .4); }
.ledger-rows dd { order: 3; margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
@media (max-width: 767px) {
  .ledger-rows div { font-size: 16px; }
  .ledger { padding: 24px; }
}
.ledger-foot { margin-top: 24px; font-size: 13px; color: rgba(74, 56, 43, .8); }

/* ==========================================================================
   Directory
   ========================================================================== */

.directory-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.directory-head .h2 { margin: 0 auto 16px; }
.directory-intro { font-size: 17px; }

.boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}
@media (max-width: 1023px) { .boards { grid-template-columns: 1fr; gap: 48px; } }

.board {
  position: relative;
  background: var(--paper);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 32px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.board-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 24px;
}
.board-pin {
  display: inline-block;
  background: var(--coral);
  color: var(--canopy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 8px 12px;
  transform: rotate(-1deg);
  box-shadow: 0 6px 14px rgba(16, 44, 37, .2);
  max-width: 320px;
  margin: -8px 0 20px;
}
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(74, 56, 43, .3);
}
.board-list li:last-child { border-bottom: 0; }
.board-list li > div { flex: 1; min-width: 0; }
.board-icon { width: 40px; height: 40px; color: var(--leaf); flex: none; }
.board-list a {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  background-image: linear-gradient(var(--fern), var(--fern));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 180ms ease-out;
}
.board-list a:hover, .board-list a:focus-visible { background-size: 100% 2px; }
.board-loc { display: block; font-size: 15px; color: rgba(74, 56, 43, .85); margin-top: 2px; }
@media (max-width: 767px) {
  .board { padding: 24px; }
  .board-list li { flex-wrap: wrap; }
}

/* ==========================================================================
   Five-step path
   ========================================================================== */

.path-frame .h2 { margin-bottom: 64px; }

.path-wrap { position: relative; }
.path-route {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: 100%;
  width: 120px;
  color: var(--leaf);
  overflow: visible;
}
.path-route path { stroke-dasharray: none; }
.path-route.is-drawing path {
  stroke-dasharray: var(--route-len, 2000);
  stroke-dashoffset: var(--route-len, 2000);
  animation: draw-route 1.8s cubic-bezier(.45, 0, .2, 1) forwards;
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }

.path-steps {
  list-style: none;
  margin: 0; padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.path-step { display: grid; grid-template-columns: 5fr 2fr 5fr; align-items: center; }
.path-marker {
  grid-column: 2;
  justify-self: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--fern);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--leaf);
}
.path-card {
  position: relative;
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 24px 32px 24px 64px;
}
.path-step:nth-child(odd) .path-card { grid-column: 1; grid-row: 1; transform: rotate(-.6deg); }
.path-step:nth-child(even) .path-card { grid-column: 3; grid-row: 1; transform: rotate(.6deg); }
.path-card h3 { font-size: 19px; font-weight: 700; font-family: var(--font-body); margin-bottom: 6px; }
.path-card p { font-size: 15px; line-height: 1.5; }
.path-check {
  position: absolute;
  left: 24px; top: 28px;
  width: 20px; height: 20px;
  border: 2px solid var(--fern);
  border-radius: 4px;
}
@media (max-width: 767px) {
  .path-route { left: 22px; transform: none; width: 44px; }
  .path-step { display: block; padding-left: 48px; position: relative; }
  .path-marker { position: absolute; left: 0; top: 8px; width: 44px; height: 44px; }
  .path-step:nth-child(odd) .path-card,
  .path-step:nth-child(even) .path-card { transform: none; }
  .path-steps { gap: 32px; }
}

.path-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
}
.path-end-snake { width: 32px; height: 32px; color: var(--leaf); transform: scaleX(-1); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-frame { max-width: 780px; }
.faq .h2 { color: var(--white); margin-bottom: 48px; }

.faq-item {
  border-top: var(--border-dark);
}
.faq-item:last-of-type { border-bottom: var(--border-dark); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--lime); }
.faq-icon { width: 22px; height: 22px; color: var(--lime); flex: none; transition: transform 180ms ease-out; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 48px 24px 0; }
.faq-body p { color: var(--paper); }

.source-note { margin-top: 48px; font-size: 13px; color: var(--sky-bright); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { position: relative; background: var(--fern); color: var(--paper); }
.footer-edge { display: block; width: 100%; height: 40px; margin-top: -40px; position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 48px;
  padding: 64px 0 48px;
  align-items: start;
}
.footer-brand .wordmark-line1 { color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: 15px; color: var(--sky-bright); max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 700; width: fit-content; }
.footer-nav a:hover { color: var(--lime); }
.footer-legal { font-size: 13px; color: var(--sky-bright); }
.footer-baseline {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(213, 240, 107, .18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-bright);
  flex-wrap: wrap;
}
.footer-snake { width: 22px; height: 22px; color: var(--lime); }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
}

/* ==========================================================================
   Decision panel (quiz)
   ========================================================================== */

.quiz { padding: clamp(64px, 8vw, 120px) 0; }
.quiz-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.quiz-intro .h2 { margin-bottom: 24px; }
.quiz-intro p { font-size: 17px; max-width: 38ch; }
.quiz-progress {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fern);
  margin-top: 24px;
}
.quiz-stage {
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 48px;
  min-height: 280px; /* keeps question-to-question height steady */
}
.quiz-q {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 32px;
}
.quiz-btns { display: flex; gap: 12px; }
.quiz-btns .btn { flex: 1; justify-content: center; min-height: 56px; font-size: 16px; }
.btn-quiz-yes { background: var(--lime); color: var(--canopy); }
.btn-quiz-no { background: transparent; border-color: var(--canopy); color: var(--canopy); }
.quiz-alt {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fern);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.quiz-back {
  margin-top: 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(74, 56, 43, .75);
  padding: 8px 0;
}
.quiz-back:hover { color: var(--bark); }

.verdict-head {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.verdict-gaps { margin: 16px 0 8px; padding-left: 20px; }
.verdict-gaps li { margin-bottom: 6px; font-size: 15px; }
.verdict-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.verdict-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fern);
  border: 1px solid var(--fern);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
}
.verdict-links a:hover { background: var(--mist); }
.verdict-links a svg { width: 14px; height: 14px; }
.quiz-retake { margin-top: 32px; }

@media (max-width: 719px) {
  .quiz-grid { grid-template-columns: 1fr; gap: 32px; }
  .quiz-stage { padding: 24px; min-height: 0; }
  .quiz-btns { flex-direction: column; }
  .verdict-links { flex-direction: column; }
  .verdict-links a { justify-content: center; }
}

/* ==========================================================================
   Species comparison data + care-card picker
   ========================================================================== */

.compare-key {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fern);
  margin: -24px 0 32px;
}

.species-data { margin: 20px 0 0; border-top: var(--border-light); }
.species-data div {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: var(--border-light);
  font-size: 14px;
  align-items: baseline;
}
.species-data dt {
  flex: 0 0 38%;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--fern);
  white-space: nowrap;
}
.species-data dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
  .species-data dt { white-space: normal; }
}

.care-picker {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}
.picker-title {
  font-family: var(--font-display);
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 620;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.picker-sub { font-size: 15px; color: rgba(74, 56, 43, .9); margin-bottom: 24px; max-width: 34ch; }
.picker-options { display: flex; flex-direction: column; gap: 8px; }
.picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  background: var(--white);
  border: var(--border-light);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease-out, background 160ms ease-out;
  color: var(--bark);
  font-family: var(--font-body);
}
.picker-option:hover { border-color: var(--fern); }
.picker-option[aria-checked="true"] {
  border: 2px solid var(--fern);
  background: var(--lime);
  color: var(--canopy);
}
.picker-option .opt-check { width: 16px; height: 16px; flex: none; visibility: hidden; }
.picker-option[aria-checked="true"] .opt-check { visibility: visible; }

.care-sheet {
  position: relative;
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 32px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  overflow: hidden;
}
.care-sheet .sheet-watermark {
  position: absolute;
  inset: auto -30px -40px auto;
  width: 320px;
  color: var(--fern);
  opacity: .08;
  pointer-events: none;
}
.stamp-coral {
  border-color: var(--coral);
  color: var(--coral);
  transform: rotate(-3deg);
}
.care-sheet .stamp-coral { position: absolute; top: 20px; right: 34px; }
.sheet-species {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 620;
  letter-spacing: -0.025em;
  padding-right: 150px;
}
.sheet-sci { font-size: 14px; color: var(--fern); margin: 4px 0 4px; }
.sheet-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(74, 56, 43, .7);
  margin-bottom: 20px;
}
.sheet-rows { margin: 0 0 20px; position: relative; }
.sheet-rows div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 56, 43, .18);
  font-size: 16px;
  align-items: baseline;
}
.sheet-rows dt {
  flex: 0 0 34%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fern);
}
.sheet-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.sheet-foot {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(74, 56, 43, .75);
  margin: 0;
}
@media (max-width: 1023px) {
  .care-picker { grid-template-columns: 1fr; gap: 32px; }
  .picker-options { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .care-picker { margin-top: 56px; }
  .sheet-rows div { flex-direction: column; gap: 2px; }
  .sheet-rows dt { flex: none; }
  .sheet-species { padding-right: 0; }
  .care-sheet .stamp-coral { position: static; display: inline-block; margin-bottom: 12px; }
}
@media (max-width: 389px) {
  .picker-options { grid-template-columns: 1fr; }
}

/* ==========================================================================
   05 · Care chapter
   ========================================================================== */

.care-head {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.care-head .h2 { color: var(--white); margin-bottom: 24px; }
.care-loop { width: 200px; justify-self: center; color: var(--lime); }
.loop-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  fill: var(--sky-bright);
}
@media (max-width: 1023px) {
  .care-head { grid-template-columns: 1fr; }
  .care-loop { display: none; }
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.care-card { grid-column: span var(--span, 6); position: relative; padding: 32px; }
.care-paper {
  background: var(--paper);
  color: var(--bark);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
}
.care-dark {
  background: var(--canopy);
  color: var(--paper);
  border: var(--border-dark);
}
.care-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.care-dark h3 { color: var(--white); }
.care-card p { font-size: 16px; line-height: 1.55; }
.care-warning { border-left: 6px solid var(--coral); }
.care-warning .stamp-coral { position: absolute; top: 20px; right: 24px; }
.care-warning h3 { padding-right: 130px; }
@media (max-width: 719px) {
  .care-grid { grid-template-columns: 1fr; gap: 16px; }
  .care-card { grid-column: 1; padding: 24px; }
  .care-warning h3 { padding-right: 0; }
  .care-warning .stamp-coral { position: static; display: inline-block; margin-bottom: 12px; }
}

/* ---------- keeper's log ---------- */

.keeper-log {
  margin-top: 64px;
  background: var(--paper);
  color: var(--bark);
  border: var(--border-light);
  box-shadow: var(--shadow-paper);
  padding: 48px;
}
.log-title {
  font-family: var(--font-display);
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 620;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.log-disclosure { font-size: 14px; color: rgba(74, 56, 43, .85); margin-bottom: 32px; }
.log-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
}
.log-checklist { border-right: var(--border-light); padding-right: 48px; }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid rgba(74, 56, 43, .2); margin-bottom: 8px; }
.tab-btn {
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(74, 56, 43, .7);
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--bark); }
.tab-btn[aria-selected="true"] { color: var(--canopy); border-bottom-color: var(--lime); background: rgba(213, 240, 107, .25); }

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(74, 56, 43, .18);
  cursor: pointer;
  font-size: 16px;
}
.check-row input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--fern);
  flex: none;
  cursor: pointer;
}
.check-row .row-tick { width: 18px; height: 18px; color: var(--fern); visibility: hidden; flex: none; }
.check-row.is-checked .row-tick { visibility: visible; }
.check-row.is-checked span.row-label { text-decoration: line-through; text-decoration-thickness: 1px; }

.save-error, .shed-error { color: var(--coral); font-size: 14px; font-weight: 700; margin: 8px 0 0; }
/* error text sits on warm paper: coral passes for bold 14px+; add darkening for safety */
.save-error, .shed-error { color: #B93A22; }

.clear-wrap { margin-top: 24px; }
.btn-outline-paper { background: transparent; border-color: var(--bark); color: var(--bark); }
.btn-outline-paper:hover { background: var(--mist); }
.confirm-strip[hidden] { display: none; }
.confirm-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px dashed rgba(74, 56, 43, .45);
  font-size: 14px;
  font-weight: 700;
  flex-wrap: wrap;
}

.shed-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.shed-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 8px;
}
.shed-row { display: flex; gap: 12px; flex-wrap: wrap; }
.shed-row input[type="date"] {
  flex: 1;
  min-width: 150px;
  min-height: 48px;
  padding: 0 14px;
  border: var(--border-light);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--bark);
}
.shed-row input[type="date"]:focus { border-color: var(--fern); outline: none; }
.shed-row input[type="date"]:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn-coral { background: var(--coral); color: var(--canopy); }

.shed-list { list-style: none; margin: 24px 0 0; padding: 0; }
.shed-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 56, 43, .18);
  font-size: 15px;
  flex-wrap: wrap;
}
.shed-list .shed-when { font-weight: 700; font-variant-numeric: tabular-nums; }
.shed-list .shed-gap { color: rgba(74, 56, 43, .8); font-size: 13px; flex: 1; }
.shed-list .shed-remove {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fern); text-decoration: underline; text-underline-offset: 3px;
  padding: 6px 0;
}
.shed-empty { color: rgba(74, 56, 43, .8); font-size: 14px; margin-top: 24px; }
.shed-note { font-size: 13px; color: rgba(74, 56, 43, .8); margin-top: 24px; }

@media (max-width: 859px) {
  .keeper-log { padding: 24px; }
  .log-grid { grid-template-columns: 1fr; gap: 32px; }
  .log-checklist { border-right: 0; border-bottom: var(--border-light); padding-right: 0; padding-bottom: 32px; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 550ms var(--ease-lush), transform 550ms var(--ease-lush);
  transition-delay: var(--reveal-delay, 0ms);
}
.no-js .reveal, .no-observer .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .sway { animation: none; }
  .path-route.is-drawing path { animation: none; stroke-dashoffset: 0; }
  .species-card:hover .species-img img { transform: none; }
  .parallax { transform: none !important; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header, .hero-ctas, .nav-cta, .menu-toggle, .hero-foliage, .dark-foliage,
  .tear, .footer-edge, .path-end, .board-icon, .climate-vine, .path-route,
  .hero-art, .species-img, .climate-art { display: none !important; }
  .section, .hero, .facts, .site-footer { background: #fff !important; color: #000 !important; padding: 16pt 0 !important; min-height: 0 !important; }
  .hero-h1, .h2, .rule-text, .warning-slab, .faq-item summary, .faq-body p,
  .fact-num, .fact-label, .ledger-total, .ledger-total-num, .ledger-total-label { color: #000 !important; }
  .warning-slab, .ledger-total, .not-list { background: #fff !important; border: 1pt solid #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .faq-item { display: block; }
  .faq-item .faq-body { display: block !important; }
  .path-card, .ledger-rows div, .specimen-card, .board-list li { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
