/* Legacy Lane Senior Navigation — warm cream + deep green + soft gold.
 * A well-kept family home: gentle serif headlines, rounded corners,
 * soft shadows. Human, never clinical-cold. */
:root {
  --cream: #FAF6EC;
  --cream-deep: #F1E9D6;
  --paper: #FFFDF8;
  --ink: #2E2A23;
  --ink-soft: #5C5344;
  --green: #1E4636;
  --green-dark: #123024;
  --gold: #D4B22E;
  --gold-deep: #8A6D1B;
  --line: #E4D9C0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 70, 54, .10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); color: var(--green); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--green); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Header */
.topbar {
  background: var(--green); color: var(--cream);
  border-bottom: 4px solid var(--gold);
  position: sticky; top: 0; z-index: 900;
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.brand-name small { display: block; font-size: .72rem; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.nav a.active { background: rgba(201,162,39,.28); }
.nav .nav-cta { background: var(--gold); color: var(--green-dark); }
.nav .nav-cta:hover { background: #DDBB45; }
.nav-toggle { display: none; background: none; border: 2px solid var(--gold); color: var(--cream); border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-dark); color: var(--cream); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,48,36,.88) 0%, rgba(18,48,36,.55) 55%, rgba(18,48,36,.30) 100%); }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 110px 22px 120px; }
.hero h1 { color: var(--cream); max-width: 15em; margin: 0 0 .5em; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero .lead { font-size: 1.25rem; max-width: 34em; color: #F2EAD6; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1.05rem; cursor: pointer; border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: #DDBB45; }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); }
.hero-credit { position: relative; font-size: .78rem; color: #D8CFB8; margin-top: 22px; }
.hero-credit a { color: #D8CFB8; }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.block { padding: 70px 0; }
.block.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 44em; }
.section-kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 10px;
}
.divider-gold { width: 64px; height: 4px; background: var(--gold); border-radius: 4px; margin: 14px 0 24px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin: 34px 0; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .5em; font-size: 1.25rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Signal map */
.signal-map { background: var(--green); color: var(--cream); border-radius: var(--radius); padding: 40px 30px; margin: 34px 0; box-shadow: var(--shadow); }
.signal-map h2, .signal-map h3 { color: var(--cream); }
.signal-map p { color: #E9DFC8; }
.signal-svg { width: 100%; height: auto; display: block; }
.signal-node text { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--cream); text-anchor: middle; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 34px 0; }
.price-card {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--gold); }
.price-tag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--green-dark); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 18px; border-radius: 999px; white-space: nowrap;
}
.price { font-family: var(--serif); font-size: 2.6rem; color: var(--green); margin: 6px 0; }
.price-note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 8px 0 8px 30px; position: relative; font-size: .98rem; }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold-deep); font-weight: 700; }
.price-card .btn { margin-top: auto; text-align: center; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; margin: 30px 0; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 24px 92px; position: relative; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 24px; top: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: var(--gold);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 .4em; }

/* FAQ */
.faq-list { margin: 30px 0; display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 26px; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; color: var(--green); padding: 16px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: var(--gold-deep); font-weight: 700; }
.faq-item[open] summary::before { content: "– "; }
.faq-item .faq-a { padding: 0 0 20px; color: var(--ink-soft); }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(201,162,39,.35); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-soft); }
.contact-methods { display: grid; gap: 16px; }
.method { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.method strong { display: block; font-family: var(--serif); color: var(--green); font-size: 1.1rem; margin-bottom: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; margin: 30px 0; }
.founder-photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 4px solid #fff; }

/* Transparency promise */
.promise {
  background: var(--green); color: var(--cream); border-radius: var(--radius);
  padding: 44px 36px; margin: 40px 0; box-shadow: var(--shadow);
}
.promise h2 { color: var(--gold); }
.promise ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.promise li { padding-left: 34px; position: relative; }
.promise li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.promise a { color: var(--gold); }

/* Footer */
footer { background: var(--green-dark); color: #EDE4CE; margin-top: 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 54px 22px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-inner h4 { color: var(--gold); font-family: var(--serif); margin: 0 0 12px; font-size: 1.15rem; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-inner a { color: #EDE4CE; text-decoration: none; }
.footer-inner a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(201,162,39,.35); padding: 22px; max-width: 1180px; margin: 0 auto; font-size: .85rem; color: #CFC3A6; }
.footer-legal p { margin: 0 0 .8em; }
.nl-block { margin-top: 18px; }
.nl-block h4 { margin-bottom: 6px; }

/* Accessibility toolbar */
.a11y-toolbar {
  position: fixed; left: 14px; bottom: 14px; z-index: 9995;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; box-shadow: var(--shadow);
}
.toolbar-btn {
  width: 42px; height: 42px; border-radius: 9px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--green); font-weight: 700; font-size: 1rem;
  cursor: pointer; line-height: 1;
}
.toolbar-btn:hover { border-color: var(--gold); }
.toolbar-btn[aria-pressed="true"] { background: var(--green); color: var(--gold); border-color: var(--green); }
body.a11y-contrast { --cream: #FFFFFF; --paper: #FFFFFF; --ink: #000000; --ink-soft: #1a1a1a; --line: #5a5a5a; --gold-deep: #6b520e; }
body.a11y-contrast .hero video { opacity: .35; }
body.a11y-motion *, body.a11y-motion *::before, body.a11y-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Gate */
.gate-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate-card { max-width: 440px; width: 100%; text-align: center; padding: 44px 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.gate-card h1 { font-size: 1.7rem; margin: 0 0 .4em; }
.gate-card p { color: var(--ink-soft); margin-bottom: 1.4em; }
.gate-card input { width: 100%; padding: 13px 16px; font-size: 1.05rem; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 12px; font-family: var(--sans); }
.gate-card button { width: 100%; padding: 13px; font-size: 1.05rem; font-weight: 700; border: none; border-radius: 999px; background: var(--green); color: var(--cream); cursor: pointer; }
.gate-card button:hover { background: var(--green-dark); }
.gate-err { color: #A31F1F; min-height: 1.4em; margin-top: 10px; font-size: .95rem; font-weight: 600; }

/* Affiliates */
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 30px 0; }
.aff-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; background: var(--paper); box-shadow: var(--shadow); position: relative; }
.aff-mono { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; font-family: var(--serif); background: var(--green); color: var(--gold); border: 2px solid var(--gold); }
.aff-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.aff-card p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 12px; }
.aff-card a.aff-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); color: var(--green); }
.aff-here { position: absolute; top: 10px; right: 12px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-dark); background: #F3E6C0; border-radius: 999px; padding: 3px 10px; }
.aff-flag { position: absolute; top: 10px; right: 12px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cream); background: var(--green); border-radius: 999px; padding: 3px 10px; }

/* Responsive */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .founder-photo { max-width: 300px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .topbar-inner.nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 80px 22px 90px; }
  .block { padding: 50px 0; }
  .step { padding-left: 86px; }
  .a11y-toolbar { flex-direction: row; left: 10px; bottom: 10px; }
}


/* Tree of Life quote + donation match (site-wide footer) */
.tree-of-life{text-align:center;padding:20px 22px 8px;max-width:780px;margin:0 auto}
.tree-quote{font-style:italic;font-size:1.06rem;line-height:1.55;margin:0 0 6px}
.tree-match{font-size:.92rem;opacity:.85;margin:0;line-height:1.5}
