/* ============================================================
   TruVINE Portfolio — "vineyard at golden hour"
   Dark theme · Fraunces display + Inter body · gold accents
   ============================================================ */

:root {
  --bg: #0c1f16;          /* deep vineyard green-black */
  --bg-2: #10281c;        /* secondary surface */
  --gold: #d9a441;        /* accent */
  --gold-soft: #e8c476;   /* soft gold */
  --cream: #f3ecdd;       /* warm cream text */
  --sage: #a8b5a0;        /* muted sage (secondary text) */
  --vine: #2d5a3d;        /* vine green (borders, dividers) */
  --card: #122a1e;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; color: var(--gold-soft); }

p { margin: 0 0 1rem; }
a { color: var(--gold-soft); }

::selection { background: var(--gold); color: var(--bg); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--bg); padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.75rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid rgba(45, 90, 61, 0.5); border-bottom: 1px solid rgba(45, 90, 61, 0.5); }
.section-sub { color: var(--sage); max-width: 640px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 31, 22, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--cream); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold));
  color: var(--bg); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.04em; }

#nav-links { display: flex; align-items: center; gap: 1.6rem; }
#nav-links a { color: var(--sage); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
#nav-links a:hover { color: var(--gold-soft); }
#nav-links .nav-cta {
  color: var(--bg); background: var(--gold); padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600;
}
#nav-links .nav-cta:hover { background: var(--gold-soft); color: var(--bg); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 7rem 0 6rem; text-align: center; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.lede { font-size: 1.2rem; color: var(--sage); max-width: 640px; margin: 0 auto 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero:not(.center) .hero-ctas { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--bg); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.7rem; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--gold); transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217, 164, 65, 0.25); }
.btn-ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--vine); }
.btn-ghost:hover { background: rgba(45, 90, 61, 0.35); border-color: var(--gold); box-shadow: none; color: var(--gold-soft); }

.whisper { color: var(--sage); font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }

/* Golden-hour radial glows */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 1; }
.glow-a { width: 520px; height: 520px; top: -160px; left: 50%; transform: translateX(-85%); background: radial-gradient(circle, rgba(217,164,65,0.16), transparent 70%); }
.glow-b { width: 420px; height: 420px; bottom: -180px; right: -100px; background: radial-gradient(circle, rgba(45,90,61,0.5), transparent 70%); }

/* ---------- Vine divider ---------- */
.vine-divider { padding: 0.5rem 0; }
.vine-divider svg { display: block; width: min(400px, 80%); margin: 0 auto; opacity: 0.9; }

/* ---------- About ---------- */
.about-copy p { color: var(--sage); font-size: 1.1rem; }
.about-copy p strong { color: var(--cream); font-weight: 600; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }

.card {
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--sage); font-size: 0.98rem; margin-bottom: 1rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-soft); background: rgba(217,164,65,0.12);
  border: 1px solid rgba(217,164,65,0.35); border-radius: 999px; padding: 0.2rem 0.7rem;
}
.card-link { font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.card-link:hover { text-decoration: underline; }
.card-img { width: 100%; display: block; border-radius: 10px; margin-bottom: 1rem; }
.card-role { font-weight: 600; color: var(--cream) !important; font-size: 0.92rem !important; margin-bottom: 0.6rem !important; }
.card-metrics { list-style: none; margin: 0 0 1rem; padding: 0; color: var(--sage); font-size: 0.92rem; }
.card-metrics li { padding: 0.16rem 0; }
.card-metrics li::before { content: "\2726"; color: var(--gold); margin-right: 0.5rem; }
.todo-flag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--bg); background: var(--gold); border-radius: 6px; padding: 0.15rem 0.5rem; margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------- TruVINE panels ---------- */
.truvine-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.panel {
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7);
  border-radius: var(--radius); padding: 1.8rem;
}
.series-list { list-style: none; margin: 0; padding: 0; }
.series-list li {
  padding: 0.65rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.5);
  color: var(--cream); font-size: 1rem; display: flex; align-items: baseline; gap: 0.6rem;
}
.series-list li:last-child { border-bottom: 0; }
.series-list li::before { content: "✦"; color: var(--gold); font-size: 0.8rem; }
.series-list .series-note { color: var(--sage); font-size: 0.85rem; margin-left: auto; white-space: nowrap; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.5rem; }
.stat { background: rgba(45, 90, 61, 0.25); border-radius: 10px; padding: 1rem; text-align: center; }
.stat dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.3rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-soft); }

.link-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--vine); border-radius: 999px; padding: 0.5rem 1.05rem;
  color: var(--cream); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.chip:hover { border-color: var(--gold); background: rgba(217,164,65,0.1); transform: translateY(-2px); }
.chip svg { width: 17px; height: 17px; fill: var(--gold-soft); flex: none; }
.chip.is-todo { opacity: 0.55; border-style: dashed; }

/* ---------- Story ---------- */
.story-copy p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.6; color: var(--cream); }

/* ---------- Benediction band (closing sign-off over the dawn) ----------
   Full-width photo band between Story and Contact. The dark gradient
   overlay keeps cream/gold text at WCAG AA over the brightest sky. */
.benediction { position: relative; overflow: hidden; text-align: center; padding: 6.5rem 0; }
.benediction-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 12, 0.9), rgba(7, 18, 12, 0.66) 48%, rgba(7, 18, 12, 0.88)),
    url("images/dawn-crosses.jpg");
  background-size: cover; background-position: center;
}
.benediction-inner { position: relative; z-index: 1; }
.benediction .eyebrow { color: var(--gold-soft); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.benediction-quote { margin: 0; }
.benediction-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.4;
  color: var(--cream); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(45, 90, 61, 0.5); padding: 2.5rem 0; background: #08170f; }
.footer-inner { text-align: center; }
.footer-verse { font-family: var(--font-display); font-style: italic; color: var(--gold-soft); margin-bottom: 0.5rem; }
.footer-copy { color: var(--sage); font-size: 0.9rem; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .truvine-panels { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  #nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--vine); padding: 0.5rem 1.5rem 1rem;
  }
  #nav-links.open { display: flex; }
  #nav-links a { padding: 0.7rem 0; border-bottom: 1px solid rgba(45,90,61,0.4); }
  #nav-links .nav-cta { border: 0; text-align: center; margin-top: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .chip:hover { transform: none; }
}

/* ---- Brand assets (TruVINE logo, headshot) ---- */
.brand-mark-img { width: 38px; height: 38px; object-fit: contain; display: block; }
/* Nav wordmark — "Jason Nutt" set to match the TruVINE logo lettering:
   rounded geometric sans, blue-to-green gradient. */
.brand-wordmark {
  font-family: var(--font-quicksand, "Quicksand"), "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: linear-gradient(90deg, #1d4da1 0%, #3f8f5c 55%, #82c23f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-logo-img { display: block; height: 34px; width: auto; }
.about-grid { display: grid; gap: 2.5rem; margin-top: 2rem; align-items: start; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 280px 1fr; } }
.about-photo {
  width: 100%; max-width: 280px; border-radius: 1rem; object-fit: cover; display: block;
  border: 2px solid rgba(217, 164, 65, 0.6);
}
.truvine-logo { display: block; width: 240px; max-width: 100%; height: auto; margin: 1.5rem 0 0; }

.about-photos { display: grid; gap: 1.5rem; }
.about-photos figure { margin: 0; }
.about-photos figcaption { color: var(--sage); font-size: 0.85rem; margin-top: 0.5rem; }

.merch-note { color: var(--sage); font-size: 0.85rem; line-height: 1.6; max-width: 640px; margin: 2rem 0 0; }
.merch-note a { text-underline-offset: 3px; }
.farm-soon { margin-top: 3rem; }
.farm-soon h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); margin: 0.5rem 0 0; }
.farm-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .farm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .farm-grid { grid-template-columns: repeat(3, 1fr); } }
.farm-card {
  display: block; color: inherit; text-decoration: none;
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.farm-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.farm-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.farm-card-body { padding: 1.25rem; }
.farm-watch { font-weight: 600; font-size: 0.9rem; color: var(--gold-soft); }
.farm-watch:hover { text-decoration: underline; }
.farm-card h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); margin: 0 0 0.25rem; }
.farm-verse { color: var(--gold); font-weight: 600; font-size: 0.85rem; margin: 0 0 0.5rem; }
.farm-card-body p:last-child { color: var(--sage); font-size: 0.95rem; margin: 0; }

/* ---- Hero vine: slow draw-on animation ---- */
.hero-vine {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* The stems/leaves keep the original faint 0.35 presence; the fruit
   renders at full strength so its numbers stay legible. */
.hero-vine-stems { opacity: 0.35; }
.hero-vine path {
  fill: none; stroke: #4c945f; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: vine-draw 4.5s ease-in-out forwards;
}
.hero-vine path.leaf { stroke: #74c184; stroke-width: 1.8; }
.hero-vine path.tendril { stroke: #d9a441; stroke-width: 1.5; opacity: 0.75; }
@keyframes vine-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-vine path { animation: none; stroke-dashoffset: 0; }
}

/* ---- Hero grow-light: sunlight blooming before the vine draws ---- */
.glow-grow {
  width: 520px; height: 520px; top: -180px; right: -40px;
  background: radial-gradient(circle, rgba(247,233,205,0.9), transparent 70%);
  opacity: 0;
  animation: grow-light 3s ease-out 0s forwards, light-breathe 7s ease-in-out 3s infinite;
}
@keyframes grow-light { to { opacity: 1; } }
@keyframes light-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .glow-grow { animation: none; opacity: 1; }
}

/* ---- Hero animation on mobile: scale the composition down, don't crop it ----
   The SVG uses slice, which would crop the vine on narrow screens. Giving the
   element the exact 4:3 aspect of its viewBox makes slice behave like meet:
   the whole vine renders, just smaller. */
@media (max-width: 640px) {
  .hero-vine {
    top: 10%;
    bottom: auto;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .glow-grow {
    width: 340px; height: 340px;
    top: -120px; right: -50px;
  }
}

/* ============================================================
   THE LIVING VINE + SALESFORCE TRACKER + RECORD
   ============================================================ */

/* ---- Vine graphic (decoration; all facts live in the text grid) ---- */
.vine-svg { display: block; width: 100%; height: auto; margin: 1rem 0 2.5rem; }
.vine-svg .vine-trunk, .vine-svg .vine-branch {
  fill: none; stroke: #4c945f; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: vine-draw 3.2s ease-in-out forwards;
}
.vine-svg .vine-branch { stroke: #3a7a4c; stroke-width: 2.2; animation-delay: 0.5s; }
.vine-svg .vine-leaf { fill: none; stroke: #74c184; stroke-width: 1.8; }
.vine-svg .vine-fruit circle { fill: #d9a441; stroke: #e8c476; stroke-width: 1.5; }
.vine-svg .vine-fruit text {
  fill: #0c1f16; font-family: var(--font-body); font-weight: 700; font-size: 12px; text-anchor: middle;
}
.vine-svg .vine-blabel text {
  fill: #a8b5a0; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-anchor: middle; text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .vine-svg .vine-trunk, .vine-svg .vine-branch { animation: none; stroke-dashoffset: 0; }
}

/* ---- Vine facts grid (the semantic carrier of every number) ---- */
.vine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.vine-branch-card {
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7);
  border-radius: var(--radius); padding: 1.5rem;
}
.vine-branch-card h3 { margin-bottom: 0.9rem; }
.vine-branch-card h3 a { color: var(--gold-soft); text-decoration: none; }
.vine-branch-card h3 a:hover { text-decoration: underline; }
.vine-facts { list-style: none; margin: 0; padding: 0; }
.vine-facts li { padding: 0.55rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.45); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.7rem; }
.vine-facts li:last-child { border-bottom: 0; }
.vine-facts li > span { color: var(--sage); font-size: 0.92rem; flex: 1 1 45%; }
.vine-facts strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); text-align: right; }
.vine-facts em { flex: 1 1 100%; font-style: normal; font-size: 0.78rem; color: var(--sage); opacity: 0.85; }

/* ---- Ministry history branch ---- */
.ministry-history { margin-top: 2.5rem; border-top: 1px solid rgba(45, 90, 61, 0.55); padding-top: 2rem; }
.ministry-history h3 { font-family: var(--font-display); font-size: 1.55rem; color: var(--cream); margin-bottom: 0.45rem; }
.ministry-history-note { color: var(--sage); max-width: 48rem; }
.ministry-timeline { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.ministry-timeline li {
  display: grid; grid-template-columns: 10.5rem 1fr; gap: 0.3rem 1.25rem;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.45);
}
.ministry-timeline li:last-child { border-bottom: 0; }
.ministry-timeline time { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
.ministry-timeline strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--cream); }
.ministry-timeline span { grid-column: 2; color: var(--sage); }
.ministry-timeline em { grid-column: 2; font-style: normal; font-size: 0.78rem; color: var(--sage); opacity: 0.85; }
@media (max-width: 640px) {
  .ministry-timeline li { grid-template-columns: 1fr; }
  .ministry-timeline span, .ministry-timeline em { grid-column: 1; }
  .ministry-timeline time { white-space: normal; }
}

/* ---- Salesforce tracker ---- */
.tracker-top { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; margin-top: 2.5rem; }
@media (max-width: 700px) { .tracker-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.rank-medallion {
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #173f2a, #0c1f16);
  border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem;
}
.rank-medallion-rank { font-family: var(--font-display); font-size: 1.45rem; color: var(--gold-soft); line-height: 1.2; }
.rank-medallion-sub { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-top: 0.4rem; }
.ranger-line { font-size: 1.15rem; margin-bottom: 0.8rem; }
.ranger-line strong { color: var(--gold-soft); }
.progress { background: rgba(45, 90, 61, 0.35); border: 1px solid rgba(45, 90, 61, 0.8); border-radius: 999px; height: 18px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #3f8f5c, var(--gold)); border-radius: 999px; }
.ranger-note { color: var(--sage); font-size: 0.95rem; margin-top: 0.7rem; }
.tracker-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; padding: 0; }
.tracker-chips li {
  border: 1px solid rgba(217,164,65,0.4); background: rgba(217,164,65,0.1);
  border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.92rem; color: var(--cream);
}
.tracker-chips strong { color: var(--gold-soft); }
.stamp-note { font-size: 0.85rem; color: var(--sage); font-style: italic; }
.tracker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 820px) { .tracker-grid { grid-template-columns: 1fr; } }
.unit-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.unit-list li { padding: 0.5rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.45); display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.unit-list li:last-child { border-bottom: 0; }
.unit-state { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 6px; padding: 0.15rem 0.5rem; flex: none; }
.unit-state.next { background: var(--gold); color: var(--bg); }
.unit-state.doing { background: rgba(217,164,65,0.18); color: var(--gold-soft); border: 1px solid rgba(217,164,65,0.45); }
.unit-state.todo { background: rgba(45,90,61,0.3); color: var(--sage); border: 1px solid rgba(45,90,61,0.7); }
.unit-pts { margin-left: auto; color: var(--sage); font-size: 0.88rem; white-space: nowrap; }
.road-rail { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: road; }
.road-rail li { position: relative; padding: 0.7rem 0 0.7rem 2.2rem; border-bottom: 1px solid rgba(45, 90, 61, 0.45); }
.road-rail li:last-child { border-bottom: 0; }
.road-rail li::before {
  counter-increment: road; content: counter(road);
  position: absolute; left: 0; top: 0.75rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; background: rgba(45,90,61,0.4); color: var(--sage);
  border: 1px solid rgba(45, 90, 61, 0.8);
}
.road-rail li.road-active::before { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.road-rail li.road-next::before { background: rgba(217,164,65,0.2); color: var(--gold-soft); border-color: var(--gold); }
.road-rail strong { display: block; color: var(--cream); font-size: 1rem; }
.road-rail span { color: var(--sage); font-size: 0.9rem; }
.log-title { margin-top: 0.5rem; }
.session-log { list-style: none; margin: 0; padding: 0; }
.session-log li { padding: 0.55rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.45); color: var(--sage); font-size: 0.95rem; }
.session-log li:last-child { border-bottom: 0; }
.session-log time { color: var(--gold-soft); font-weight: 600; margin-right: 0.5rem; white-space: nowrap; }

/* ---- Also on the record ---- */
.record-strip { margin-top: 2.5rem; }
.record-strip h3 { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 700; }
.learn-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 820px) { .learn-chips { grid-template-columns: 1fr 1fr; } }
.learn-chip {
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; color: var(--cream); font-size: 0.97rem;
}
.learn-chip strong { color: var(--gold-soft); }
.learn-chip span { display: block; color: var(--sage); font-size: 0.9rem; margin: 0.45rem 0; }
.learn-chip a { font-weight: 600; font-size: 0.9rem; }
.learn-chip em { display: block; font-style: italic; color: var(--sage); font-size: 0.8rem; margin-top: 0.4rem; }

/* ---- Compliance rail + credentials timeline ---- */
.compliance-rail { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0.8rem; }
@media (min-width: 900px) { .compliance-rail { grid-template-columns: repeat(5, 1fr); } }
.compliance-rail li {
  background: var(--card); border: 1px solid rgba(45, 90, 61, 0.7); border-top: 3px solid var(--gold);
  border-radius: 10px; padding: 1rem;
}
.compliance-rail strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--cream); margin-bottom: 0.3rem; }
.compliance-rail span { color: var(--sage); font-size: 0.85rem; }
.cred-timeline { list-style: none; margin: 0; padding: 0; }
.cred-timeline li { padding: 0.6rem 0; border-bottom: 1px solid rgba(45, 90, 61, 0.45); color: var(--sage); }
.cred-timeline li:last-child { border-bottom: 0; }
.cred-timeline strong { color: var(--gold-soft); font-family: var(--font-display); margin-right: 0.7rem; }

/* ---------- Field Report living card (hero, added Oct 14, 2026) ----------
   A small square of the field on the front door: a calm animated
   vine, three headline numbers (bound to stats.json — the numbers
   refresh on the heartbeat; the baked-in values are verified, so
   the card is true even with no JS), and the way into the full
   Field Report. Honors prefers-reduced-motion below. */
.fr-card {
  max-width: 340px; margin: 2.25rem auto 0; background: var(--card);
  border: 1px solid var(--vine); border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.2rem; text-align: center;
}
.fr-vine { width: 132px; height: auto; display: block; margin: 0 auto; }
.fr-vine .fr-stem { fill: none; stroke: #74c184; stroke-width: 2.4; stroke-linecap: round; }
.fr-vine .fr-leaf { fill: none; stroke: #74c184; stroke-width: 1.8; }
.fr-vine .fr-dot { fill: var(--gold); }
.fr-vine-sway { transform-origin: 8px 76px; animation: fr-sway 7s ease-in-out infinite alternate; }
@keyframes fr-sway { from { transform: rotate(-0.7deg); } to { transform: rotate(1.1deg); } }
.fr-card-kicker {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--cream);
  margin: 0.55rem 0 0.6rem; letter-spacing: 0.02em;
}
.fr-stats {
  list-style: none; display: flex; justify-content: center; gap: 1.15rem;
  margin: 0 0 0.55rem; padding: 0;
}
.fr-stats li { display: flex; flex-direction: column; }
.fr-stats strong { font-size: 1.28rem; color: var(--gold-soft); font-weight: 700; line-height: 1.1; }
.fr-stats span {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage);
}
.fr-stamp { font-size: 0.78rem; color: var(--sage); margin: 0 0 0.7rem; }
.fr-link {
  color: var(--gold-soft); font-weight: 600; font-size: 0.92rem; text-decoration: none;
  border-bottom: 1px solid var(--vine); padding-bottom: 2px;
}
.fr-link:hover { color: var(--gold); border-color: var(--gold); }
.fr-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .fr-vine-sway { animation: none; }
}
