/* ============================================================
   FERNCROSS — restorative practice
   Palette: spruce-green · warm chalk · copper accent
   Type: Cardo (display) · Inter Tight (body/ui) · JetBrains Mono (labels)
   Signature motion: skew-on-scroll + accent underline draw-in
   ============================================================ */

:root {
  /* — spruce green family — */
  --spruce-900: #0d1c17;
  --spruce-800: #122a21;
  --spruce-700: #173a2d;
  --spruce-600: #1f4d3b;
  --spruce: #246349;
  --spruce-400: #3d8062;
  --spruce-300: #6aa489;

  /* — warm chalk family — */
  --chalk: #f4efe4;
  --chalk-100: #efe8d8;
  --chalk-200: #e6dcc7;
  --chalk-300: #d8cbb0;
  --paper: #fbf8f1;

  /* — copper accent — */
  --copper: #b56a32;
  --copper-bright: #cd7c3c;
  --copper-soft: #e9d2bd;
  --copper-deep: #8a4e22;

  /* — semantic — */
  --bg: var(--paper);
  --surface: #ffffff;
  --ink: #16241d;
  --body: #3a4742;
  --muted: #6f7b74;
  --line: #e3dccb;
  --line-strong: #d2c8b2;

  /* — type — */
  --display: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* — scale — */
  --wrap: 1180px;
  --wrap-narrow: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--spruce); text-decoration: none; }
a:hover { color: var(--copper-deep); }

::selection { background: var(--copper); color: var(--chalk); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--spruce-800);
  color: var(--chalk);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  z-index: 999;
  font-family: var(--mono);
  font-size: 0.8rem;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--chalk); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.display {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h2.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.04; }
.lede { font-size: clamp(1.18rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--body); }

em, .italic { font-style: italic; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 2px;
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; padding: 0; }
.nav-links a {
  font-size: 0.94rem;
  color: var(--body);
  font-weight: 500;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--spruce);
  color: var(--chalk) !important;
  padding: 0.62rem 1.25rem;
  border-radius: 100px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--spruce-700); transform: translateY(-1px); color: var(--chalk) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 30px 50px -20px rgba(13,28,23,0.25);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-cta { display: inline-block; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  text-decoration: none;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--copper); color: var(--chalk); box-shadow: 0 14px 30px -12px rgba(181,106,50,0.55); }
.btn-primary:hover { background: var(--copper-deep); color: var(--chalk); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(181,106,50,0.6); }
.btn-ghost { background: transparent; color: var(--spruce-700); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--spruce-800); color: var(--chalk); border-color: var(--spruce-800); transform: translateY(-2px); }
.btn-light { background: var(--chalk); color: var(--spruce-800); }
.btn-light:hover { background: #fff; color: var(--spruce-900); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 80% at 12% 8%, rgba(36,99,73,0.16), transparent 60%),
    radial-gradient(50% 70% at 92% 18%, rgba(181,106,50,0.16), transparent 60%),
    radial-gradient(70% 90% at 50% 110%, rgba(36,99,73,0.10), transparent 65%);
}
.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(34% 44% at 20% 30%, rgba(61,128,98,0.20), transparent 70%),
    radial-gradient(30% 40% at 80% 25%, rgba(205,124,60,0.18), transparent 70%),
    radial-gradient(40% 50% at 60% 80%, rgba(36,99,73,0.14), transparent 70%);
  filter: blur(30px);
  animation: meshDrift 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -3%, 0) scale(1.05); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.02); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero h1 { margin-top: 1.5rem; }
.hero h1 .ink-copper { color: var(--copper-deep); }
.hero .lede { margin-top: 1.7rem; max-width: 34ch; color: var(--body); }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat .stat-num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--spruce-700);
  line-height: 1;
  font-weight: 700;
}
.stat .stat-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* hero visual */
.hero-visual { position: relative; }
.hero-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(13,28,23,0.45);
  aspect-ratio: 4/5;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18,42,33,0.45));
}
.hero-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--spruce-800);
  color: var(--chalk);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 40px -18px rgba(13,28,23,0.6);
  max-width: 230px;
  z-index: 2;
}
.hero-badge .b-num { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--copper-bright); }
.hero-badge .b-text { font-size: 0.82rem; color: var(--chalk-200); margin-top: 0.35rem; line-height: 1.4; }
@media (max-width: 940px) { .hero-badge { left: auto; right: -12px; } }
@media (max-width: 460px) { .hero-badge { position: static; margin-top: 1.5rem; max-width: none; } }

/* marquee strip */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--chalk);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spruce-700);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; color: var(--copper); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   REVEAL / MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px) skewY(2.5deg); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: translateY(0) skewY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* underline draw-in */
.underline-draw {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0% 0.13em;
  transition: background-size 0.9s var(--ease) 0.3s;
}
.underline-draw.in { background-size: 100% 0.13em; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .underline-draw { background-size: 100% 0.13em !important; transition: none; }
  .hero-mesh { animation: none; }
  .float-load { opacity: 1 !important; transform: none !important; }
}

/* on-load staggered hero entrance */
.float-load { opacity: 0; transform: translateY(20px); animation: floatUp 0.9s var(--ease) forwards; }
.float-load.l1 { animation-delay: 0.05s; }
.float-load.l2 { animation-delay: 0.18s; }
.float-load.l3 { animation-delay: 0.31s; }
.float-load.l4 { animation-delay: 0.44s; }
.float-load.l5 { animation-delay: 0.57s; }
.float-load.l6 { animation-delay: 0.70s; }
@keyframes floatUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   PILLARS / SERVICES CARDS
   ============================================================ */
.lead-block { max-width: 56ch; }
.lead-block .eyebrow { margin-bottom: 1.3rem; }
.lead-block h2 { margin-bottom: 1.2rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--copper);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(13,28,23,0.3); border-color: var(--line-strong); }
.card:hover::before { transform: scaleY(1); }
.card-index {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--copper);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--spruce-800);
  display: grid; place-items: center;
  margin-bottom: 1.4rem; margin-top: 0.7rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--copper-bright); }
.card h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.card p { color: var(--body); font-size: 1rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.4rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--spruce-700); font-weight: 500;
}
.card-link .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* ============================================================
   ABOUT / SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split.flip .split-media { order: 2; }
@media (max-width: 880px) { .split.flip .split-media { order: 0; } }

.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(13,28,23,0.4); }
.split-media .tag-float {
  position: absolute; top: 18px; left: -14px;
  background: var(--copper); color: var(--chalk);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: 100px;
  box-shadow: 0 14px 24px -12px rgba(181,106,50,0.6);
}
.prose-block p + p { margin-top: 1.15rem; }
.prose-block .lede { margin-bottom: 1.4rem; }

.sig {
  margin-top: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.sig-name { font-family: var(--display); font-size: 1.25rem; color: var(--ink); font-style: italic; }
.sig-role { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* feature list */
.feature-list { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px;
  border-radius: 50%; background: var(--spruce-800); display: grid; place-items: center;
}
.feature-list .tick svg { width: 13px; height: 13px; stroke: var(--copper-bright); }
.feature-list strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   DARK BAND (spruce) — stats / values
   ============================================================ */
.band-dark {
  background: var(--spruce-900);
  color: var(--chalk);
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 15% 20%, rgba(36,99,73,0.5), transparent 60%),
    radial-gradient(40% 60% at 85% 80%, rgba(181,106,50,0.25), transparent 60%);
  pointer-events: none;
}
.band-dark h2, .band-dark h3 { color: var(--chalk); }
.band-dark .eyebrow { color: var(--copper-bright); }
.band-dark .eyebrow::before { background: var(--copper-bright); }
.band-dark .lede { color: var(--chalk-200); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
@media (max-width: 420px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-big { border-top: 1px solid rgba(244,239,228,0.2); padding-top: 1.4rem; }
.stat-big .n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--copper-bright); line-height: 1; }
.stat-big .l { font-size: 0.95rem; color: var(--chalk-200); margin-top: 0.7rem; line-height: 1.4; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column;
}
.quote-card .mark { font-family: var(--display); font-size: 3.5rem; line-height: 0.5; color: var(--copper-soft); height: 1.6rem; }
.quote-card blockquote { font-family: var(--display); font-size: 1.22rem; line-height: 1.5; color: var(--ink); font-style: italic; flex: 1; }
.quote-card .who { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.quote-card .who .name { font-weight: 600; color: var(--ink); font-family: var(--sans); }
.quote-card .who .meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.stars { color: var(--copper); letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.9rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.team-card { text-align: left; }
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(140deg, var(--spruce-700), var(--spruce-900));
  position: relative;
  display: grid; place-items: center;
}
.team-photo .initials { font-family: var(--display); font-size: 3.2rem; color: var(--copper-soft); }
.team-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -50px 60px -30px rgba(13,28,23,0.6); }
.team-card h3 { font-size: 1.3rem; margin-top: 1.2rem; }
.team-card .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); margin-top: 0.3rem; }
.team-card p { font-size: 0.95rem; margin-top: 0.8rem; color: var(--body); }

/* ============================================================
   INSIGHTS / POSTS
   ============================================================ */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.7rem; }
@media (max-width: 760px) { .insight-grid { grid-template-columns: 1fr; } }
.insight-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insight-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(13,28,23,0.3); }
.insight-media { aspect-ratio: 16/10; overflow: hidden; background: var(--chalk-200); }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.insight-card:hover .insight-media img { transform: scale(1.05); }
.insight-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.insight-cat { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); }
.insight-card h3 { font-size: 1.45rem; margin-top: 0.8rem; line-height: 1.12; }
.insight-card h3 a { color: var(--ink); }
.insight-card h3 a:hover { color: var(--copper-deep); }
.insight-card p { margin-top: 0.7rem; color: var(--body); font-size: 0.98rem; flex: 1; }
.insight-meta { margin-top: 1.3rem; display: flex; align-items: center; gap: 0.8rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.insight-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* ============================================================
   RESOURCES / BLOGROLL
   ============================================================ */
.resources {
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.resource-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.2rem; }
.resource-list li { border-bottom: 1px solid var(--line-strong); }
.resource-list li:last-child { border-bottom: none; }
.resource-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0.3rem;
  color: var(--spruce-800); font-weight: 500; font-size: 1.05rem;
  transition: padding 0.3s var(--ease), color 0.3s var(--ease);
}
.resource-list a:hover { padding-left: 0.9rem; color: var(--copper-deep); }
.resource-list a .r-arrow { font-family: var(--mono); color: var(--copper); transition: transform 0.3s var(--ease); }
.resource-list a:hover .r-arrow { transform: translateX(4px); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--spruce-800), var(--spruce-900));
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(181,106,50,0.3), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--chalk); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-band p { color: var(--chalk-200); max-width: 48ch; margin: 1.2rem auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:first-of-type { border-top: 1px solid var(--line); }
.contact-info .info-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--spruce-800); display: grid; place-items: center; }
.contact-info .info-icon svg { width: 20px; height: 20px; stroke: var(--copper-bright); }
.contact-info .info-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-info .info-value { font-size: 1.05rem; color: var(--ink); font-weight: 500; margin-top: 0.2rem; }
.contact-info .info-value a { color: var(--spruce-700); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: 0 30px 60px -40px rgba(13,28,23,0.4); }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spruce-700); margin-bottom: 0.5rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--spruce); background: #fff; box-shadow: 0 0 0 3px rgba(36,99,73,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-note { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 1.1rem; text-align: center; letter-spacing: 0.04em; }
.form-success { display: none; background: var(--spruce-800); color: var(--chalk); padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: 0.95rem; }
.form-success.show { display: block; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.breadcrumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--spruce-700); }
.breadcrumb .sep { color: var(--line-strong); }
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); margin-top: 1.4rem; max-width: 20ch; line-height: 1.05; }
.article-meta { margin-top: 1.5rem; display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.article-meta .chip { background: var(--spruce-800); color: var(--chalk); padding: 0.35rem 0.8rem; border-radius: 100px; }
.article-feature { margin-block: clamp(2rem, 4vw, 3rem); }
.article-feature img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -34px rgba(13,28,23,0.4); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 940px) { .article-layout { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.3rem; color: var(--body); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; margin-bottom: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.8rem; color: var(--spruce-800); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--copper-deep); text-decoration: underline; text-decoration-color: var(--copper-soft); text-underline-offset: 3px; font-weight: 500; transition: text-decoration-color 0.25s var(--ease); }
.prose a:hover { text-decoration-color: var(--copper); }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.2rem; padding-left: 0.6rem; }
.prose li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.prose ul li::marker { color: var(--copper); }
.prose ol li::marker { color: var(--copper); font-family: var(--mono); font-size: 0.85em; }
.prose img { border-radius: var(--radius-lg); margin-block: 1.8rem; box-shadow: 0 24px 50px -34px rgba(13,28,23,0.35); }
.prose em { font-style: italic; }
.prose section { margin-top: 2.5rem; }
.prose section h2 { border-top: 1px solid var(--line); }
.prose [itemprop="mainEntity"] {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  margin-bottom: 0.9rem;
  background: var(--surface);
}
.prose [itemprop="mainEntity"] h3 { margin-top: 0; color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.prose [itemprop="acceptedAnswer"] { margin-top: 0.6rem; }
.prose [itemprop="text"] { color: var(--body); font-size: 0.98rem; }

/* article sidebar */
.article-aside { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
@media (max-width: 940px) { .article-aside { position: static; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; }
.aside-card.dark { background: var(--spruce-900); color: var(--chalk); }
.aside-card.dark h4, .aside-card.dark p { color: var(--chalk); }
.aside-card .aside-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.9rem; }
.aside-card.dark .aside-label { color: var(--copper-bright); }
.aside-card h4 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 0.95rem; color: var(--body); margin-bottom: 1.2rem; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-links { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.aside-links a { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.95rem; color: var(--spruce-700); }
.aside-links a::before { content: "→"; color: var(--copper); }

.article-resources { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.article-resources .aside-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.8rem; display: block; }
.article-resources p { margin-bottom: 0.8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--spruce-900); color: var(--chalk-200); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 0% 0%, rgba(36,99,73,0.35), transparent 60%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; position: relative; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--chalk); }
.footer-brand .brand small { color: var(--copper-bright); }
.footer-brand p { margin-top: 1.2rem; max-width: 32ch; font-size: 0.95rem; color: var(--chalk-200); }
.footer-col h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.footer-col a { color: var(--chalk-200); font-size: 0.95rem; }
.footer-col a:hover { color: var(--chalk); }
.footer-bottom { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(244,239,228,0.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--chalk-300); position: relative; }
.footer-bottom a { color: var(--chalk-300); }

/* page hero (interior) */
.page-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero .hero-bg { z-index: -1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-top: 1.3rem; max-width: 16ch; }
.page-hero .lede { margin-top: 1.5rem; max-width: 52ch; }

/* utility */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-gap { margin-top: 2.5rem; }
.divider-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.divider-row .lead-block { margin: 0; }
