/* ============================================================
   Decatur (IL) — Soy Green / Harvest Gold / Steel / Cream
   Hero: one landscape photo, full-bleed, slow Ken Burns zoom, with a
   cream text panel on the left
   ============================================================ */

:root {
  --soy: #4F6E33;
  --soy-deep: #3A5325;
  --soy-pale: #EDF3E6;
  --gold: #D8A33E;
  --gold-deep: #B0821F;
  --gold-pale: #FCF3E0;
  --steel: #3E4A57;
  --steel-deep: #2A333D;
  --steel-soft: #E8ECF0;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --ink: #22272D;
  --muted: #5B626B;
  --muted-2: #9BA1A9;
  --line: #E5E0D5;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 8px;
  --r-lg: 14px;
  --serif: 'Noto Serif', Georgia, serif;
  --sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.66; -webkit-font-smoothing: antialiased; font-size: 1.06rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--steel-deep); line-height: 1.18; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cdc { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sdc { padding: 5.5rem 0; }
.sdc-w { background: var(--white); }
.sdc-s { background: var(--steel); }
.sdc-g { background: var(--gold-pale); }
@media (max-width: 860px) { .cdc { padding: 0 1.3rem; } .sdc { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: rgba(250,247,240,0.97); backdrop-filter: blur(8px); border-bottom: 3px solid var(--gold); }
.ndc { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.ndc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ndc-logo img { width: 42px; height: 42px; }
.ndc-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--steel-deep); }
.ndc-links { list-style: none; display: flex; gap: 2rem; }
.ndc-links a { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--muted); transition: color .2s; }
.ndc-links a:hover { color: var(--gold-deep); }
.ndc-links a.active { color: var(--soy); }
.ndc-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ndc-btn span { width: 22px; height: 2px; background: var(--steel-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .ndc { padding: 0.8rem 1.3rem; }
  .ndc-links { position: fixed; top: 69px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 3px solid var(--gold);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .ndc-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .ndc-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .ndc-links li:last-child { border-bottom: none; }
  .ndc-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.5rem; border-radius: var(--r); font-family: var(--sans);
  font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-soy { background: var(--soy); color: var(--white); }
.btn-soy:hover { background: var(--soy-deep); }
.btn-gold { background: var(--gold); color: var(--steel-deep); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-ol { background: transparent; color: var(--steel-deep); border-color: var(--soy); }
.btn-ol:hover { background: var(--soy); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.8rem, 3.1vw, 2.45rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: Ken Burns ---------- */
.kb { position: relative; height: clamp(540px, 82vh, 740px); overflow: hidden; background: var(--steel-deep); }
.kb-img { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kb 26s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .kb-img { animation: none; } }
.kb-wrap { position: relative; z-index: 2; height: 100%; max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; }
.kb-panel { background: rgba(250,247,240,0.97); border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem); max-width: 560px; border-top: 6px solid var(--soy); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45); }
.kb-panel h1 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); margin-bottom: 1rem; }
.kb-panel h1 span { color: var(--soy); }
.kb-panel p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.8rem; }
.kb-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .kb { height: auto; }
  .kb-img { position: relative; height: 40vh; background-position: 64% center; }
  .kb-wrap { padding: 0; }
  .kb-panel { border-radius: 0; max-width: none; box-shadow: none; }
}

/* ---------- Chain steps ---------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; }
.lk { position: relative; background: var(--cream); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; border-top: 4px solid var(--soy); }
.lk:not(:last-child)::after { content: "\2192"; position: absolute; right: -1.8rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.lk small { display: block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.4rem; }
.lk h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.lk p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .chain { grid-template-columns: 1fr 1fr; } .lk:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .chain { grid-template-columns: 1fr; } .lk::after { display: none; } }

/* ---------- Two pathways ---------- */
.sdc-s .ey { color: var(--gold); }
.sdc-s .h2 { color: var(--white); }
.sdc-s .ld { color: rgba(255,255,255,0.86); }
.pw { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.pw-c { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.pw-c header { padding: 1.4rem 1.6rem; }
.pw-c.mc header { background: var(--soy); }
.pw-c.op header { background: var(--gold); }
.pw-c header small { display: block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.2rem; }
.pw-c.mc header small { color: rgba(255,255,255,0.8); }
.pw-c.op header small { color: var(--steel); }
.pw-c header h3 { font-size: 1.3rem; }
.pw-c.mc header h3 { color: var(--white); }
.pw-c dl { padding: 0.6rem 1.6rem 1.4rem; }
.pw-c dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.pw-c dl > div:last-child { border-bottom: none; }
.pw-c dt { font-weight: 700; color: var(--steel-deep); font-size: 0.93rem; }
.pw-c dd { color: var(--muted); font-size: 0.97rem; }
.pw-note { margin-top: 1.5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-lg); padding: 1.3rem 1.6rem; color: rgba(255,255,255,0.9); }
.pw-note strong { color: var(--gold); }
.pw-src { color: rgba(255,255,255,0.62); font-size: 0.9rem; margin-top: 1rem; }
.pw-src a { color: var(--gold); font-weight: 700; }
@media (max-width: 760px) { .pw { grid-template-columns: 1fr; } .pw-c dl > div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- Strip ---------- */
.cs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cs-c { background: var(--white); border-radius: var(--r-lg); padding: 1.5rem 1.3rem; border: 1px solid var(--line); text-align: center; }
.cs-c b { display: block; font-family: var(--serif); font-size: 1.75rem; color: var(--soy); line-height: 1; margin-bottom: 0.5rem; }
.cs-c p { color: var(--muted); font-size: 0.95rem; }
.cs-note { margin-top: 1.2rem; text-align: center; color: var(--muted); font-size: 0.93rem; }
.cs-note a { color: var(--gold-deep); font-weight: 700; }
@media (max-width: 860px) { .cs { grid-template-columns: 1fr 1fr; } }

/* ---------- Conditions ---------- */
.cond { max-width: 960px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--line); }
.cond .chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.cond .chips span { background: var(--soy-pale); color: var(--soy-deep); border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.95rem; font-weight: 600; }
.cond p { color: var(--muted); }
.cond a { color: var(--gold-deep); font-weight: 700; }

/* ---------- Local ---------- */
.lc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lc-c { border-radius: var(--r-lg); padding: 2rem; }
.lc-c.a { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold); }
.lc-c.b { background: var(--soy-pale); }
.lc-c h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.lc-c p { color: var(--muted); margin-bottom: 0.7rem; }
.lc-c p:last-child { margin-bottom: 0; }
.lc-c a { color: var(--soy); font-weight: 700; }
@media (max-width: 860px) { .lc { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tq-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; border-left: 5px solid var(--soy); }
.tq-c p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; }
.tq-c span { font-weight: 700; font-size: 0.92rem; color: var(--gold-deep); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.ac { max-width: 880px; margin: 0 auto; }
.ac details { background: var(--white); border-left: 4px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.ac details[open] { border-left-color: var(--gold); }
.ac summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 700; font-size: 1.04rem; color: var(--steel-deep); position: relative; }
.ac summary::-webkit-details-marker { display: none; }
.ac summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-deep); }
.ac details[open] summary::after { content: "\2212"; }
.ac details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.ac a { color: var(--soy); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.12rem; margin: 1.5rem 0 0.5rem; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--soy); font-weight: 700; }
.sr { background: var(--steel); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.64); font-size: 0.88rem; }
.sr a:hover strong { color: var(--gold); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.fin { background: var(--soy); padding: 4.5rem 0; }
.fin-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fin h2 { color: var(--white); font-size: clamp(1.8rem, 3.1vw, 2.4rem); max-width: 34rem; }
.fin p { color: rgba(255,255,255,0.92); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--steel-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fdc { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fdc p { font-size: 0.94rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .ndc-logo span { color: var(--cream); }
footer h4 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.97rem; }
footer a:hover { color: var(--gold); }
.fdc-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.86rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fdc { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--soy-pale); padding: 3.5rem 0 3rem; border-bottom: 3px solid var(--gold); }
.ph h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 0.6rem; }
.ph p { color: var(--muted); max-width: 40rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
