/* ============================================================
   Duncan (OK) — Sunset Rust / Navy / Prairie Sage / Gold / Cream
   Hero: 3 landscape photos crossfading full-width (4s each, 12s cycle)
   behind a soft navy overlay, with centered text
   ============================================================ */

:root {
  --rust: #C4622D;
  --rust-deep: #9C4A1E;
  --rust-pale: #FBEDE4;
  --navy: #22324A;
  --navy-deep: #172234;
  --navy-soft: #E8ECF3;
  --sage: #7E9A6E;
  --sage-pale: #EEF3EB;
  --gold: #EEC46E;
  --gold-pale: #FDF5E3;
  --cream: #FBF8F2;
  --white: #FFFFFF;
  --ink: #212733;
  --muted: #5A6170;
  --muted-2: #9BA1AD;
  --line: #E6E0D5;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Work Sans', -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.68; -webkit-font-smoothing: antialiased; font-size: 1.05rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 900; color: var(--navy); line-height: 1.18; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cd { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sd { padding: 5.5rem 0; }
.sd-w { background: var(--white); }
.sd-n { background: var(--navy); }
.sd-r { background: var(--rust-pale); }
@media (max-width: 860px) { .cd { padding: 0 1.3rem; } .sd { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: inset 0 -4px 0 var(--rust); }
.nd { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.nd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nd-logo img { width: 42px; height: 42px; }
.nd-logo span { font-family: var(--serif); font-weight: 900; font-size: 1.12rem; color: var(--navy); }
.nd-links { list-style: none; display: flex; gap: 2rem; }
.nd-links a { text-decoration: none; font-weight: 600; font-size: 0.97rem; color: var(--muted); transition: color .2s; }
.nd-links a:hover { color: var(--rust); }
.nd-links a.active { color: var(--rust-deep); }
.nd-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nd-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
@media (max-width: 860px) {
  .nd { padding: 0.8rem 1.3rem; }
  .nd-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 4px solid var(--rust);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nd-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nd-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nd-links li:last-child { border-bottom: none; }
  .nd-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 1rem 1.6rem; border-radius: 999px; font-family: var(--sans);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-rust { background: var(--rust); color: var(--white); }
.btn-rust:hover { background: var(--rust-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-wl { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.85); }
.btn-wl:hover { background: var(--white); color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #DDAE50; }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); 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: full-bleed crossfade ---------- */
.xf { position: relative; min-height: clamp(520px, 80vh, 740px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy-deep); }
.xf-s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: xfade 12s infinite; }
.xf-s:nth-child(1) { animation-delay: 0s; }
.xf-s:nth-child(2) { animation-delay: 4s; }
.xf-s:nth-child(3) { animation-delay: 8s; }
@keyframes xfade { 0% { opacity: 0; } 8% { opacity: 1; } 33.33% { opacity: 1; } 41.33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .xf-s { animation: none; } .xf-s:first-child { opacity: 1; } }
.xf-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,34,52,0.6) 0%, rgba(23,34,52,0.42) 50%, rgba(23,34,52,0.78) 100%); }
.xf-in { position: relative; z-index: 2; text-align: center; max-width: 880px; padding: 0 2rem; }
.xf-in .ey { color: var(--gold); }
.xf-in h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 1.2rem; }
.xf-in h1 em { font-style: normal; color: var(--gold); }
.xf-in p { color: rgba(255,255,255,0.93); font-size: 1.12rem; max-width: 38rem; margin: 0 auto 2.2rem; }
.xf-b { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Icon steps ---------- */
.ic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ic-c { background: var(--cream); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; }
.ic-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--rust); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ic-ico svg { width: 25px; height: 25px; stroke: var(--white); }
.ic-c h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.ic-c p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .ic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ic { grid-template-columns: 1fr; } }

/* ---------- Reduced fee ---------- */
.sd-n .ey { color: var(--gold); }
.sd-n .h2 { color: var(--white); }
.sd-n .ld { color: rgba(255,255,255,0.86); }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; margin-bottom: 1.8rem; }
.vs-c { border-radius: var(--r-lg); padding: 1.8rem; text-align: center; }
.vs-c.std { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); }
.vs-c.red { background: var(--gold); }
.vs-c small { display: block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.vs-c.std small { color: rgba(255,255,255,0.7); }
.vs-c.red small { color: var(--navy); }
.vs-c b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 0.4rem; }
.vs-c.std b { color: rgba(255,255,255,0.75); text-decoration: line-through; text-decoration-thickness: 3px; }
.vs-c.red b { color: var(--navy-deep); }
.vs-c span { font-size: 0.95rem; }
.vs-c.std span { color: rgba(255,255,255,0.7); }
.vs-c.red span { color: var(--navy); font-weight: 600; }
.vs-arrow { font-size: 2rem; color: var(--gold); font-weight: 800; }
.qf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.qf-c { background: var(--white); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; border-top: 5px solid var(--rust); }
.qf-c h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.qf-c p { color: var(--muted); font-size: 0.97rem; }
.rf-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.88); font-size: 0.98rem; }
.rf-note strong { color: var(--gold); }
.rf-note a { color: var(--gold); font-weight: 700; }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } .vs-arrow { transform: rotate(90deg); justify-self: center; } .qf { grid-template-columns: 1fr; } }

/* ---------- 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-weight: 900; font-size: 1.75rem; color: var(--rust); 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(--navy); font-weight: 700; }
@media (max-width: 860px) { .cs { grid-template-columns: 1fr 1fr; } }

/* ---------- Law panels ---------- */
.lw { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 1000px; margin: 0 auto; }
.lw-c { background: var(--white); border-radius: var(--r-lg); padding: 1.9rem; border-top: 5px solid var(--sage); }
.lw-c.fed { border-top-color: var(--rust); }
.lw-c h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.lw-c p { color: var(--muted); }
@media (max-width: 760px) { .lw { grid-template-columns: 1fr; } }

/* ---------- 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(--rust); }
.lc-c.b { background: var(--sage-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(--navy); 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-top: 4px solid var(--gold); }
.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(--rust-deep); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Labeled accordion ---------- */
.la { max-width: 880px; margin: 0 auto; }
.la details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.la summary { list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 1.3rem; display: flex; gap: 0.9rem; align-items: center; font-weight: 700; font-size: 1.02rem; color: var(--navy); position: relative; }
.la summary::-webkit-details-marker { display: none; }
.la summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--rust); }
.la details[open] summary::after { content: "\2212"; }
.la summary em { font-style: normal; flex-shrink: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-pale); color: var(--rust-deep); border-radius: 999px; padding: 0.25rem 0.65rem; }
.la details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.la a { color: var(--rust-deep); font-weight: 700; }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.15rem; 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(--rust-deep); font-weight: 700; }
.sr { background: var(--navy); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.78rem; 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(--rust); padding: 4.5rem 0; text-align: center; }
.fin h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.fin p { color: rgba(255,255,255,0.92); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fd { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fd p { font-size: 0.94rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .nd-logo span { color: var(--cream); }
footer h4 { font-family: var(--sans); font-size: 0.78rem; 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); }
.fd-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) { .fd { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--rust-pale); padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--navy); }
.ph h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); 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; } }
