/* Texas Homestead Law — shared site stylesheet (Learning Center + article pages) */
:root{
  --navy:#243B53; --navy-700:#1b2c3f; --navy-900:#13202e;
  --clay:#A65A3A; --clay-700:#8c4a2f;
  --sage:#7D8A72; --sage-700:#67735c;
  --parchment:#F4EEDF; --parch-warm:#EEE3CE;
  --gold:#C7A55B; --gold-deep:#b08e44;
  --ink:#2b2a26; --ink-soft:#574f44;
  --card:#FBF8F0; --limestone:#EFE8D7;
  --line:#E3D9C3; --line-soft:#ECE3CF;
  --shadow:0 1px 2px rgba(36,59,83,.05), 0 18px 40px -24px rgba(36,59,83,.28);
  --shadow-lift:0 2px 4px rgba(36,59,83,.06), 0 30px 60px -28px rgba(36,59,83,.40);
  --maxw:1180px; --r:14px;
  --serif:"Fraunces", Georgia, "Times New Roman", serif;
  --sans:"Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0; background:var(--parchment); color:var(--ink); font-family:var(--sans); font-size:17px; line-height:1.62; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility}
img{max-width:100%; display:block}
a{color:var(--clay-700); text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif); font-optical-sizing:auto; color:var(--navy); font-weight:600; line-height:1.14; margin:0}
p{margin:0 0 1em}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px}
.narrow{max-width:760px; margin:0 auto; padding:0 28px}
.skip{position:absolute; left:-999px; top:0; background:var(--navy); color:#fff; padding:12px 18px; border-radius:0 0 10px 0; z-index:2000}
.skip:focus{left:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold); outline-offset:2px; border-radius:4px}

/* ---- star-rule + eyebrow ---- */
.starrule{display:flex; align-items:center; gap:14px; color:var(--gold-deep); margin:22px 0}
.starrule::before,.starrule::after{content:""; height:1px; flex:1; background:linear-gradient(90deg,transparent,var(--gold) 35%,var(--gold) 65%,transparent)}
.starrule svg{width:13px; height:13px; flex:none}
.eyebrow{font-family:var(--sans); font-weight:700; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--clay-700); display:inline-flex; align-items:center; gap:.6em}
.eyebrow .stk{width:11px; height:11px; color:var(--gold-deep); flex:none}

/* ---- buttons ---- */
.btn{display:inline-flex; align-items:center; gap:.55em; font-family:var(--sans); font-weight:600; font-size:.96rem; padding:.8em 1.5em; border-radius:999px; cursor:pointer; border:1.5px solid transparent; transition:transform .18s, background .18s, box-shadow .18s, color .18s}
.btn svg{width:17px; height:17px}
.btn-primary{background:var(--navy); color:#fdf6e7; box-shadow:0 12px 24px -14px rgba(36,59,83,.7)}
.btn-primary:hover{background:var(--navy-700); transform:translateY(-2px)}
.btn-ghost{background:transparent; color:var(--navy); border-color:rgba(36,59,83,.32)}
.btn-ghost:hover{border-color:var(--navy); background:rgba(36,59,83,.05); transform:translateY(-2px)}
.btn-gold{background:var(--gold); color:var(--navy-900); box-shadow:0 12px 24px -14px rgba(199,165,91,.9)}
.btn-gold:hover{background:var(--gold-deep); transform:translateY(-2px)}
.arrowlink{font-weight:600; color:var(--clay-700); display:inline-flex; align-items:center; gap:.4em; border-bottom:2px solid var(--gold); padding-bottom:2px; transition:gap .18s, border-color .18s}
.arrowlink:hover{gap:.7em; border-color:var(--clay)}
.arrowlink svg{width:16px;height:16px}

/* ---- header / nav ---- */










@media (max-width:860px){ .navlinks{display:none} }

/* ---- footer + disclaimer ---- */
footer.site{background:var(--navy-900); color:#cfc3a8; margin-top:0}
.fgrid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:40px; padding:60px 0 38px}
footer .brand-col img{height:44px; width:auto; margin-bottom:16px; border-radius:8px}
footer .brand-col p{color:#9fb0bf; font-size:.92rem; max-width:30ch}
footer h4{color:#f1e6d3; font-family:var(--sans); font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; margin:0 0 16px; font-weight:700}
footer ul{list-style:none; margin:0; padding:0}
footer li{margin-bottom:10px}
footer a{color:#b9c5d1; font-size:.93rem}
footer a:hover{color:var(--gold)}
.notice-col p{color:#9fb0bf; font-size:.84rem; line-height:1.6}
.fbar{border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center}
.fbar p{margin:0; font-size:.8rem; color:#8ea0af}
@media (max-width:900px){ .fgrid{grid-template-columns:1fr 1fr; gap:30px} }
@media (max-width:560px){ .fgrid{grid-template-columns:1fr} }
.disclaimer{background:var(--parch-warm); border-top:1px solid var(--line); color:var(--ink-soft); font-size:.82rem; text-align:center; padding:16px 0}
.disclaimer .wrap{max-width:920px}

/* ---- breadcrumb ---- */
.crumb{font-size:.82rem; color:var(--ink-soft); padding:22px 0 0}
.crumb a{color:var(--ink-soft); border-bottom:1px solid transparent}
.crumb a:hover{color:var(--clay-700); border-color:var(--gold)}
.crumb span{color:var(--ink-soft); opacity:.5; margin:0 .5em}

/* ================= ARTICLE ================= */
.article-hero{padding:18px 0 8px}
.article-hero .eyebrow{margin-bottom:14px}
.article-hero h1{font-size:clamp(2rem,4.4vw,3.1rem); letter-spacing:-.015em; margin:0 0 .5em}
.article-hero .dek{font-family:var(--serif); font-style:italic; font-weight:400; font-size:clamp(1.2rem,2.3vw,1.5rem); color:var(--clay-700); line-height:1.4; margin:0}
.article-meta{display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; margin-top:20px; font-size:.84rem; color:var(--ink-soft)}
.article-meta .pill{display:inline-flex; align-items:center; gap:.45em}
.article-meta svg{width:15px; height:15px; color:var(--gold-deep)}
.article-meta .dot{opacity:.4}

.prose{font-size:1.07rem; color:var(--ink)}
.prose > p:first-of-type{font-size:1.16rem; color:var(--ink)}
.prose h2{font-size:clamp(1.4rem,2.6vw,1.85rem); margin:1.9em 0 .55em; letter-spacing:-.01em; scroll-margin-top:90px}
.prose h2::before{content:""; display:block; width:42px; height:3px; border-radius:2px; background:var(--gold); margin-bottom:.5em}
.prose h3{font-size:1.2rem; margin:1.5em 0 .5em}
.prose p{margin:0 0 1.1em}
.prose strong{color:var(--navy); font-weight:700}
.prose ul{list-style:none; margin:0 0 1.3em; padding:0}
.prose ul li{position:relative; padding-left:1.6em; margin:.5em 0}
.prose ul li::before{content:""; position:absolute; left:.15em; top:.62em; width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(199,165,91,.18)}
.prose a{color:var(--clay-700); border-bottom:1px solid var(--gold)}
.prose a:hover{color:var(--clay)}

/* lead emphasis paragraph (the bold standfirst lines in source) */
.prose .lead-emph{font-family:var(--serif); font-size:1.25rem; line-height:1.45; color:var(--navy); font-weight:500; border-left:3px solid var(--gold); padding:.1em 0 .1em 1em; margin:1.4em 0}

/* figure / infographic */
figure.info{margin:2em 0; background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:14px; box-shadow:var(--shadow)}
figure.info img{width:100%; height:auto; border-radius:8px}
figure.info figcaption{font-size:.82rem; color:var(--ink-soft); margin-top:10px; text-align:center}

/* takeaway callout */
.takeaway{background:var(--navy); color:#f1e8d6; border-radius:16px; padding:28px 30px; margin:2em 0; box-shadow:var(--shadow)}
.takeaway h2{color:#fdf7ea; margin:0 0 .4em; font-size:1.4rem}
.takeaway h2::before{display:none}
.takeaway p{color:#e3d8c2; margin:0 0 .7em}
.takeaway p:last-child{margin:0}
.takeaway strong{color:var(--gold)}

/* explainer / CTA box */
.explainer{background:var(--limestone); border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:12px; padding:22px 26px; margin:2em 0}
.explainer .eyebrow{margin-bottom:8px}
.explainer p{margin:0; color:var(--ink-soft)}

/* sources */
.sources{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:24px 26px; margin:2.4em 0 0}
.sources h2{font-size:1.1rem; margin:0 0 .8em; display:flex; align-items:center; gap:.5em}
.sources h2::before{display:none}
.sources h2 svg{width:18px; height:18px; color:var(--sage-700)}
.sources p{font-size:.92rem; color:var(--ink-soft); margin:0 0 .6em}
.sources a{color:var(--clay-700); border-bottom:1px solid var(--gold)}
.sources .note{font-size:.82rem; color:var(--ink-soft); border-top:1px dashed var(--line); padding-top:12px; margin-top:14px}

/* related */
.related{border-top:1px solid var(--line); margin-top:40px; padding-top:30px}
.related h2{font-size:1.3rem; margin:0 0 18px}
.related-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.related-grid a{display:block; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px 20px; transition:transform .2s, box-shadow .2s}
.related-grid a:hover{transform:translateY(-4px); box-shadow:var(--shadow-lift)}
.related-grid .k{font-size:.7rem; letter-spacing:.13em; text-transform:uppercase; color:var(--sage-700); font-weight:700}
.related-grid h3{font-size:1.05rem; margin:.4em 0 0; color:var(--navy)}
@media (max-width:760px){ .related-grid{grid-template-columns:1fr} }

/* ================= LEARNING CENTER INDEX ================= */
.lc-hero{background:var(--navy); color:#eee3cd; position:relative; overflow:hidden}
.lc-hero::before{content:""; position:absolute; inset:0; background:radial-gradient(120% 80% at 85% -10%, rgba(199,165,91,.18), transparent 60%), radial-gradient(90% 70% at 0% 110%, rgba(125,138,114,.18), transparent 55%)}
.lc-hero .wrap{position:relative; z-index:2; padding:clamp(48px,7vw,86px) 28px}
.lc-hero .eyebrow{color:var(--gold)}
.lc-hero .eyebrow .stk{color:var(--gold)}
.lc-hero h1{color:#fdf7ea; font-size:clamp(2.2rem,4.6vw,3.4rem); letter-spacing:-.015em; margin:.4em 0 .3em; max-width:18ch}
.lc-hero p{color:#d9cdb4; font-size:1.1rem; max-width:54ch; margin:0}

.series{padding:clamp(44px,6vw,80px) 0}
.series + .series{border-top:1px solid var(--line)}
.series-head{max-width:760px; margin-bottom:36px}
.series-head h2{font-size:clamp(1.7rem,3.2vw,2.4rem); margin:.4em 0 .3em}
.series-head p{color:var(--ink-soft); margin:0}
.lc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.lc-grid.two{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){ .lc-grid,.lc-grid.two{grid-template-columns:1fr 1fr} }
@media (max-width:620px){ .lc-grid,.lc-grid.two{grid-template-columns:1fr} }
.lc-card{display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); transition:transform .25s, box-shadow .25s}
.lc-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-lift)}
.lc-card .ph{aspect-ratio:16/9; background:var(--limestone); overflow:hidden; position:relative}
.lc-card .ph img{width:100%; height:100%; object-fit:cover; transition:transform .5s}
.lc-card:hover .ph img{transform:scale(1.05)}
.lc-card .ph.navy{background:var(--navy); display:flex; align-items:center; justify-content:center}
.lc-card .ph.navy svg{width:54px; height:54px; color:var(--gold); opacity:.85}
.lc-card .body{padding:22px 24px 24px; display:flex; flex-direction:column; flex:1}
.lc-card .k{font-size:.68rem; letter-spacing:.13em; text-transform:uppercase; color:var(--sage-700); font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:.5em}
.lc-card h3{font-size:1.25rem; line-height:1.22; margin:0 0 .4em}
.lc-card p{color:var(--ink-soft); font-size:.94rem; flex:1; margin:0 0 14px}
.lc-card .foot{display:flex; align-items:center; justify-content:space-between; gap:10px}
.tag-soon{font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--sage-700); background:rgba(125,138,114,.14); border:1px solid rgba(125,138,114,.3); padding:.35em .7em; border-radius:999px}
.tag-live{font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--navy-900); background:var(--gold); padding:.35em .7em; border-radius:999px}

/* resource / forms library */
.reslib{background:var(--limestone); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.res-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:30px}
@media (max-width:760px){ .res-grid{grid-template-columns:1fr} }
.res{display:flex; gap:16px; align-items:flex-start; background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:22px 24px; box-shadow:var(--shadow); transition:transform .2s, box-shadow .2s}
.res:hover{transform:translateY(-4px); box-shadow:var(--shadow-lift)}
.res .ic{width:48px; height:48px; border-radius:11px; background:rgba(166,90,58,.1); color:var(--clay); display:flex; align-items:center; justify-content:center; flex:none}
.res .ic svg{width:24px; height:24px}
.res h3{font-size:1.12rem; margin:0 0 4px}
.res p{font-size:.9rem; color:var(--ink-soft); margin:0 0 10px}
.res .meta{font-size:.74rem; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; font-weight:700; margin-bottom:10px}
.res .dl{display:inline-flex; align-items:center; gap:.45em; font-weight:600; color:var(--clay-700); font-size:.9rem; border-bottom:2px solid var(--gold); padding-bottom:2px}
.res .dl svg{width:15px; height:15px}

/* ============================================================
   COMMIT 1 · Global nav redesign + Legislative Watch styles
   ============================================================ */

/* Reset any prior sticky styles the pages may still reference. */





/* Solid header on any page whose body carries this class (light backgrounds where transparent would clash). */



/* When header is transparent over a dark hero, we invert nav colors. */




/* Push body content down under the fixed header. */

@media (max-width:640px){ body{padding-top:66px} header.site .nav{height:66px} }

/* ---- The universal nav row ---- */




@media (max-width:640px){ .nav-actions .cta-btn .lbl{display:none} .nav-actions .cta-btn{padding:.55em .8em} }






/* Hide the old .navlinks unconditionally — the new nav is hamburger-only, always. */


@media (max-width:640px){ .brand img{height:38px} }

/* ---- Full-screen menu drawer ---- */























/* Menu open: lock scroll on body */


/* ============================================================
   Legislative Watch styles
   ============================================================ */

/* dark hero used by /legislative-watch/ index */
.lw-hero{background:var(--navy); color:#eee3cd; position:relative; overflow:hidden}
.lw-hero::before{content:""; position:absolute; inset:0;
  background:radial-gradient(120% 80% at 85% -10%, rgba(199,165,91,.18), transparent 60%),
             radial-gradient(90% 70% at 0% 110%, rgba(125,138,114,.18), transparent 55%);}
.lw-hero .wrap{position:relative; z-index:2; padding:clamp(48px,7vw,86px) 28px}
.lw-hero .eyebrow{color:var(--gold)} .lw-hero .eyebrow .stk{color:var(--gold)}
.lw-hero h1{color:#fdf7ea; font-size:clamp(2.2rem,4.6vw,3.4rem); letter-spacing:-.015em; margin:.4em 0 .3em; max-width:20ch}
.lw-hero p.lede{color:#d9cdb4; font-size:1.1rem; max-width:62ch; margin:0}
.lw-hero .hero-facts{display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:22px; font-size:.85rem; color:#c9bda3}
.lw-hero .hero-facts .pill{display:inline-flex; align-items:center; gap:.4em}
.lw-hero .hero-facts svg{width:15px; height:15px; color:var(--gold)}

/* watchlist filter bar */
.watchbar{background:var(--limestone); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0}
.watchbar .wrap{display:flex; flex-wrap:wrap; gap:14px 22px; align-items:center; justify-content:space-between}
.watchbar .search{flex:1; min-width:220px; display:flex; align-items:center; gap:10px; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:8px 14px}
.watchbar .search input{border:none; background:transparent; outline:none; flex:1; font-family:var(--sans); font-size:.95rem; color:var(--ink)}
.watchbar .search svg{width:16px; height:16px; color:var(--sage-700)}
.watchbar .filters{display:flex; flex-wrap:wrap; gap:8px}
.watchbar .filters button{
  font-family:var(--sans); font-size:.78rem; font-weight:600; letter-spacing:.02em;
  padding:.5em 1em; border-radius:999px; border:1px solid var(--line);
  background:var(--card); color:var(--navy); cursor:pointer; transition:background .15s, color .15s, border-color .15s;
}
.watchbar .filters button:hover{border-color:var(--gold)}
.watchbar .filters button[aria-pressed="true"]{background:var(--navy); color:#fdf7ea; border-color:var(--navy)}

/* Bill cards */
.bill-grid{display:grid; grid-template-columns:1fr; gap:20px; margin-top:32px}
.bill-card{
  background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  box-shadow:var(--shadow); transition:transform .22s, box-shadow .22s;
  display:grid; grid-template-columns:1fr auto; gap:0;
}
.bill-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-lift)}
.bill-card .body{padding:26px 28px}
.bill-card .rail{background:var(--limestone); border-left:1px solid var(--line); padding:24px 24px; min-width:220px; display:flex; flex-direction:column; gap:14px; align-items:flex-start}
@media (max-width:760px){ .bill-card{grid-template-columns:1fr} .bill-card .rail{border-left:none; border-top:1px solid var(--line)} }
.bill-header{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:8px}
.bill-num{font-family:var(--serif); font-weight:600; font-size:1.5rem; color:var(--navy); letter-spacing:-.005em}
.bill-tag{font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; padding:.35em .7em; border-radius:999px}
.bill-tag.pub{background:var(--gold); color:var(--navy-900)}
.bill-tag.watch{background:rgba(125,138,114,.18); color:var(--sage-700); border:1px solid rgba(125,138,114,.35)}
.bill-tag.summarize{background:rgba(166,90,58,.14); color:var(--clay-700); border:1px solid rgba(166,90,58,.32)}
.bill-title{font-size:1.25rem; margin:0 0 .35em; color:var(--navy); line-height:1.28}
.bill-caption{font-size:.9rem; color:var(--ink-soft); margin:0 0 14px; font-style:italic}
.bill-meta{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:8px 22px; margin:12px 0 0; font-size:.85rem}
.bill-meta dt{color:var(--sage-700); font-weight:700; letter-spacing:.06em; text-transform:uppercase; font-size:.68rem; margin-bottom:2px}
.bill-meta dd{margin:0 0 6px; color:var(--ink)}
.bill-why{margin:14px 0 0; color:var(--ink); font-size:.98rem}
.bill-why strong{color:var(--navy)}
.rail .cat{font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--sage-700)}
.rail .priority{display:inline-flex; align-items:center; gap:.4em; font-size:.78rem; font-weight:600; color:var(--navy)}
.rail .priority .dot{width:8px; height:8px; border-radius:50%; background:var(--sage)}
.rail .priority.high .dot{background:var(--clay)}
.rail .priority.medium .dot{background:var(--gold-deep)}
.rail .rail-links{display:flex; flex-direction:column; gap:8px; margin-top:auto; width:100%}
.rail .rail-links a{
  display:inline-flex; align-items:center; gap:.5em; font-size:.85rem; font-weight:600;
  color:var(--navy); text-decoration:none; padding:8px 0; border-top:1px solid var(--line-soft);
}
.rail .rail-links a:hover{color:var(--clay-700)}
.rail .rail-links a svg{width:14px; height:14px}
.rail .rail-links a.primary{border-top:0; background:var(--navy); color:#fdf7ea; padding:9px 14px; border-radius:10px; justify-content:center}
.rail .rail-links a.primary:hover{background:var(--navy-700); color:#fdf7ea}

/* Method / editorial-transparency callouts */
.method-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:32px}
.method-card{background:var(--card); border:1px solid var(--line); border-radius:14px; padding:22px 24px; box-shadow:var(--shadow)}
.method-card .n{font-family:var(--serif); font-weight:600; font-size:1.6rem; color:var(--gold-deep); line-height:1}
.method-card h3{font-size:1.1rem; margin:.5em 0 .3em}
.method-card p{font-size:.92rem; color:var(--ink-soft); margin:0}

/* Resources page style — extends existing .res  */
.res-cat{margin-top:44px}
.res-cat > h2{font-size:1.35rem; margin:0 0 6px}
.res-cat > p{color:var(--ink-soft); margin:0 0 18px; font-size:.95rem}

/* Free downloads section */
.dl-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; margin-top:24px}
.dl-card{
  background:var(--card); border:1px solid var(--line); border-radius:14px;
  padding:22px 24px; box-shadow:var(--shadow);
  transition:transform .2s, box-shadow .2s;
  display:flex; flex-direction:column; gap:10px;
}
.dl-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lift)}
.dl-card .ic{width:44px; height:44px; border-radius:10px; background:rgba(166,90,58,.1); color:var(--clay); display:flex; align-items:center; justify-content:center}
.dl-card .ic svg{width:22px; height:22px}
.dl-card h3{font-size:1.05rem; margin:0}
.dl-card p{font-size:.88rem; color:var(--ink-soft); margin:0; flex:1}
.dl-card .meta{font-size:.7rem; text-transform:uppercase; letter-spacing:.09em; font-weight:700; color:var(--sage-700)}
.dl-card a.dl-link{
  display:inline-flex; align-items:center; gap:.4em; font-weight:600; color:var(--clay-700);
  font-size:.9rem; border-bottom:2px solid var(--gold); padding-bottom:2px; align-self:flex-start;
}
.dl-card a.dl-link svg{width:15px; height:15px}
.dl-card .no-email{font-size:.72rem; color:var(--sage-700); font-weight:700; letter-spacing:.05em; text-transform:uppercase}

/* Optional-newsletter callout */
.nl-optional{background:var(--limestone); border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:12px; padding:22px 26px; margin:34px 0 0}
.nl-optional h3{margin:0 0 .3em; font-size:1.15rem}
.nl-optional p{color:var(--ink-soft); margin:0 0 12px}
.nl-optional form{display:flex; flex-wrap:wrap; gap:10px}
.nl-optional input[type=email]{flex:1; min-width:220px; padding:.7em 1em; border-radius:10px; border:1px solid var(--line); background:var(--card); font-family:var(--sans); font-size:.95rem}
.nl-optional .fine{font-size:.75rem; color:var(--ink-soft); margin:8px 0 0; width:100%}


/* ============================================================
   NAV — authoritative block (Commit 1 repair)
   ============================================================ */
:root{ --hdr-h: 74px; }

/* Body layout */
body{ padding-top: var(--hdr-h); }
body.menu-open{ overflow:hidden; }

/* Fixed header */
header.site{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:transparent; border-bottom:1px solid transparent;
  transition:background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
header.site .nav{
  display:flex; align-items:center; gap:18px;
  height:var(--hdr-h);
  transition:height .25s;
}
header.site.scrolled{
  background:rgba(244,238,223,.96);
  border-bottom-color:var(--line);
  box-shadow:0 10px 30px -20px rgba(36,59,83,.5);
  backdrop-filter:saturate(140%) blur(8px);
}
header.site.scrolled .nav{ height:64px; }

/* Solid-header pages (non-hero): always solid parchment */
body.solid-header header.site{
  background:var(--parch-warm);
  border-bottom-color:var(--line);
}
body.solid-header header.site.scrolled{ background:rgba(244,238,223,.96); }

/* Brand: SMALL logo, contained in header height, never filtered/inverted */
.brand{ display:flex; align-items:center; flex:none; }
.brand img{
  height:44px; width:auto; display:block;
  border-radius:6px; filter:none;
}
header.site.scrolled .brand img{ height:40px; }
@media (max-width:640px){
  :root{ --hdr-h:64px; }
  .brand img{ height:38px; }
}

/* Desktop nav — 7 top-level items */
.navlinks{
  display:flex; align-items:center; gap:22px;
  list-style:none; margin:0 auto 0 8px; padding:0;
}
.navlinks a{
  color:#fdf7ea; font-weight:500; font-size:.94rem;
  letter-spacing:.005em; padding:6px 0; position:relative;
  transition:color .18s;
}
.navlinks a::after{
  content:""; position:absolute; left:0; bottom:-2px;
  height:2px; width:0; background:var(--gold); transition:width .2s;
}
.navlinks a:hover::after,
.navlinks a:focus-visible::after,
.navlinks a[aria-current="page"]::after{ width:100%; }
.navlinks a[aria-current="page"]{ font-weight:600; }

/* When header is solid (scrolled OR body.solid-header) links go navy */
header.site.scrolled .navlinks a,
body.solid-header header.site:not(.scrolled) .navlinks a{ color:var(--navy); }

/* CTA button — navy pill */
.nav-actions{
  display:flex; align-items:center; gap:12px;
  margin-left:auto; flex:none;
}
.nav-actions .cta-btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--sans); font-weight:600; font-size:.9rem;
  padding:.62em 1.2em; border-radius:999px;
  background:var(--navy); color:#fdf7ea; border:1px solid transparent;
  box-shadow:0 10px 22px -14px rgba(36,59,83,.7);
  transition:background .18s, transform .18s;
}
.nav-actions .cta-btn:hover{ background:var(--navy-700); transform:translateY(-1px); }
.nav-actions .cta-btn svg{ width:15px; height:15px; }

/* Hamburger — hidden on desktop, visible on smaller screens */
.menu-btn{
  display:none;
  align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px;
  background:transparent; border:1px solid rgba(255,255,255,.35);
  color:#fdf7ea; cursor:pointer;
  transition:background .18s, color .18s, border-color .18s;
}
.menu-btn:hover{ background:rgba(255,255,255,.12); }
.menu-btn svg{ width:22px; height:22px; }
header.site.scrolled .menu-btn,
body.solid-header header.site:not(.scrolled) .menu-btn{
  color:var(--navy); border-color:rgba(36,59,83,.22); background:rgba(36,59,83,.04);
}
header.site.scrolled .menu-btn:hover,
body.solid-header header.site:not(.scrolled) .menu-btn:hover{ background:rgba(36,59,83,.08); }

/* Breakpoint: below 940 px, hide desktop nav + CTA label, show hamburger */
@media (max-width:940px){
  .navlinks{ display:none; }
  .menu-btn{ display:inline-flex; }
}
@media (max-width:640px){
  .nav-actions .cta-btn .lbl{ display:none; }
  .nav-actions .cta-btn{ padding:.55em .8em; }
}

/* Slide-in drawer (hidden by default via transform; no checkbox anywhere) */
.menu-scrim{
  position:fixed; inset:0; background:rgba(19,32,46,.6); z-index:1900;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
  backdrop-filter:blur(3px);
}
.menu-scrim.open{ opacity:1; pointer-events:auto; }

.menu-panel{
  position:fixed; top:0; right:0; bottom:0;
  width:min(360px, 88vw);
  background:var(--parchment); z-index:2000;
  transform:translateX(102%);
  transition:transform .32s cubic-bezier(.2,.7,.2,1);
  display:flex; flex-direction:column;
  overflow-y:auto; overscroll-behavior:contain;
  box-shadow:-30px 0 80px -30px rgba(0,0,0,.55);
}
.menu-panel.open{ transform:translateX(0); }

.menu-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 22px 8px;
}
.menu-head img{ height:40px; width:auto; }
.menu-close{
  width:42px; height:42px; border-radius:12px;
  border:1px solid var(--line); background:var(--card); color:var(--navy);
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
}
.menu-close:hover{ background:var(--limestone); }
.menu-close svg{ width:22px; height:22px; }

.menu-groups{ padding:12px 22px 20px; }
.menu-groups nav{ display:flex; flex-direction:column; }
.menu-groups nav a{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 4px; color:var(--navy); font-weight:500; font-size:1.02rem;
  border-bottom:1px solid var(--line-soft); text-decoration:none;
}
.menu-groups nav a:hover{ color:var(--clay-700); }
.menu-groups nav a::after{
  content:""; width:8px; height:8px; margin-left:12px;
  border-right:2px solid var(--gold); border-bottom:2px solid var(--gold);
  transform:rotate(-45deg); opacity:.55; transition:transform .18s, opacity .18s;
}
.menu-groups nav a:hover::after{ transform:rotate(-45deg) translate(2px,-2px); opacity:1; }
.menu-groups nav a[aria-current="page"]{ color:var(--clay-700); font-weight:600; }

.menu-foot{
  margin-top:auto; padding:16px 22px 20px;
  border-top:1px solid var(--line); background:var(--limestone);
}
.menu-foot .btn{ width:100%; justify-content:center; }
.menu-foot p{ font-size:.78rem; color:var(--ink-soft); margin:10px 0 0; line-height:1.55; }

/* HARD SAFETY: no visible checkbox toggles anywhere in the nav */
header.site input[type="checkbox"],
.menu-panel input[type="checkbox"]{ display:none !important; }

/* =====================================================================
   THL UNIVERSAL HEADER — namespaced, collision-proof (.thl-*)
   Added by navigation repair. One header system for every page.
   Readable by default: cream header, navy links, no JS/scroll needed.
   Desktop nav >=1200px; mobile drawer below. Placed at end of file so
   these rules win over any legacy header rules above (now unused).
   ===================================================================== */
body{padding-top:0} /* header is sticky (in flow); legacy fixed-header padding no longer applies */
body.thl-lock{overflow:hidden}

.thl-header{
  position:sticky; top:0; z-index:2000; width:100%;
  background:rgba(251,248,241,.98);
  border-bottom:1px solid #e6decb;
  box-shadow:0 6px 18px rgba(36,59,83,.06);
}
.thl-header-inner{
  width:min(100% - 40px, 1500px);
  min-height:76px; margin-inline:auto;
  display:flex; align-items:center; gap:24px;
}
.thl-brand{display:inline-flex; align-items:center; flex:none; border:none}
.thl-brand img{height:44px; width:auto; display:block}

.thl-desktop-nav{display:none; align-items:center; gap:24px; margin-right:auto}
.thl-nav-link{
  color:#243b53; white-space:nowrap;
  font-family:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.9rem; font-weight:500; letter-spacing:.005em;
  padding:6px 0; position:relative; text-decoration:none; border:none;
}
.thl-nav-link::after{
  content:""; position:absolute; left:0; bottom:-1px; height:1.5px; width:0;
  background:#C7A55B; transition:width .22s;
}
.thl-nav-link:hover, .thl-nav-link:focus-visible, .thl-nav-link[aria-current="page"]{color:#8c4a2f}
.thl-nav-link:hover::after, .thl-nav-link:focus-visible::after, .thl-nav-link[aria-current="page"]::after{width:100%}
.thl-nav-link[aria-current="page"]{font-weight:600}

/* ===== Dropdown menus (desktop) ===== */
.thl-nav-item{position:relative;display:inline-flex;align-items:center}
.thl-nav-item > .thl-nav-link{display:inline-flex;align-items:center;gap:5px}
.thl-nav-caret{width:12px;height:12px;transition:transform .2s;opacity:.7}
.thl-nav-item:hover .thl-nav-caret,.thl-nav-item:focus-within .thl-nav-caret{transform:rotate(180deg)}
.thl-dropdown{
  position:absolute;top:100%;left:-14px;min-width:262px;
  background:#FFFDF8;border:1px solid #E6DECB;border-radius:12px;
  box-shadow:0 16px 40px rgba(19,32,46,.16);
  padding:8px;margin-top:8px;z-index:1200;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility .18s;
}
.thl-nav-item:hover .thl-dropdown,.thl-nav-item:focus-within .thl-dropdown{opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:translateY(0)}
.thl-dropdown::before{content:"";position:absolute;top:-8px;left:0;right:0;height:8px} /* hover bridge */
.thl-dropdown a{
  display:block;padding:9px 12px;border-radius:8px;text-decoration:none;
  color:#243b53;font-family:"Public Sans",sans-serif;font-size:.86rem;font-weight:500;line-height:1.35;
}
.thl-dropdown a .thl-dd-sub{display:block;font-size:.76rem;font-weight:400;color:#857B6B;margin-top:1px}
.thl-dropdown a:hover,.thl-dropdown a:focus-visible{background:#F4EEDF;color:#8c4a2f}
.thl-dropdown a[aria-current="page"]{color:#8c4a2f;background:rgba(199,165,91,.12)}

/* ===== Mobile drawer sub-items (collapsible accordion) ===== */
.thl-mobile-nav .thl-m-group{margin:0;border-bottom:1px solid rgba(230,222,203,.7)}
.thl-mobile-nav .thl-m-label{
  font-family:"Public Sans",sans-serif;font-weight:600;font-size:.95rem;letter-spacing:.01em;
  color:#243b53;padding:16px 16px;cursor:pointer;user-select:none;
  display:flex;align-items:center;justify-content:space-between;text-transform:none;
}
.thl-mobile-nav .thl-m-label::after{
  content:"";width:11px;height:11px;flex:none;margin-left:10px;
  border-right:2px solid #A65A3A;border-bottom:2px solid #A65A3A;
  transform:rotate(45deg);transition:transform .2s;
}
.thl-mobile-nav .thl-m-group.thl-m-open .thl-m-label::after{transform:rotate(-135deg)}
.thl-mobile-nav .thl-m-label:hover,.thl-mobile-nav .thl-m-label:focus-visible{color:#8c4a2f;outline:none}
.thl-mobile-nav .thl-m-sub{
  overflow:hidden;max-height:0;
  transition:max-height .28s ease;
}
.thl-mobile-nav .thl-m-group.thl-m-open .thl-m-sub{max-height:60vh}
.thl-mobile-nav .thl-m-sub a{
  padding:12px 16px 12px 28px;font-size:.92rem;font-weight:400;color:#3a4656;
  display:block;
}
.thl-mobile-nav .thl-m-sub a:first-child{font-weight:500;color:#243b53}

.thl-header-actions{display:flex; align-items:center; gap:12px; margin-left:auto}
.thl-desktop-nav + .thl-header-actions{margin-left:0}
.thl-county-cta{
  display:inline-flex; align-items:center; gap:.5em;
  background:#243b53; color:#fbf8f1; white-space:nowrap; text-decoration:none; border:none;
  font-family:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:600; font-size:.85rem; padding:.66em 1.3em; border-radius:999px;
  transition:background .18s;
}
.thl-county-cta:hover, .thl-county-cta:focus-visible{background:#1b2c3f; color:#fbf8f1}
.thl-county-cta svg{width:14px; height:14px; flex:none}

.thl-menu-button{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; padding:0; cursor:pointer;
  color:#243b53; background:rgba(36,59,83,.04);
  border:1px solid rgba(36,59,83,.22); border-radius:10px;
}
.thl-menu-button:hover{background:rgba(36,59,83,.08)}
.thl-menu-button svg{width:20px; height:20px}

.thl-menu-overlay{
  position:fixed; inset:0; z-index:2001;
  background:rgba(19,32,46,.5); opacity:0; transition:opacity .25s;
}
.thl-menu-overlay.thl-open{opacity:1}

.thl-mobile-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:2002;
  width:min(84vw, 340px);
  background:#FBF8F1; border-left:1px solid #e6decb;
  box-shadow:-24px 0 60px -30px rgba(19,32,46,.55);
  transform:translateX(102%); transition:transform .28s ease;
  display:flex; flex-direction:column; overflow-y:auto;
}
.thl-mobile-drawer.thl-open{transform:translateX(0)}
.thl-mobile-drawer-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px; border-bottom:1px solid #efe8d8;
}
.thl-mobile-drawer-header img{height:38px; width:auto}
.thl-menu-close{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; padding:0; cursor:pointer;
  color:#243b53; background:transparent;
  border:1px solid rgba(36,59,83,.22); border-radius:10px;
}
.thl-menu-close:hover{background:rgba(36,59,83,.06)}
.thl-menu-close svg{width:18px; height:18px}
.thl-mobile-nav{display:flex; flex-direction:column; padding:10px 6px}
.thl-mobile-nav a{
  color:#243b53; text-decoration:none; border:none;
  font-family:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:500; font-size:1rem; padding:13px 16px; border-radius:10px;
}
.thl-mobile-nav a:hover, .thl-mobile-nav a:focus-visible{background:rgba(36,59,83,.06); color:#8c4a2f}
.thl-mobile-nav a[aria-current="page"]{color:#8c4a2f; font-weight:600}

/* breakpoints: desktop nav needs room for logo + 7 links + CTA */
@media (min-width:1200px){
  .thl-desktop-nav{display:flex !important}
  .thl-menu-button{display:none}
}
@media (max-width:680px){
  .thl-county-cta span{display:none}
  .thl-county-cta{padding:.62em .85em}
  .thl-brand img{height:36px}
  .thl-header-inner{min-height:66px; gap:14px}
}

/* ============================================================
   MOBILE OPTIMIZATION PASS (<=640px)
   Tightens hero heights, padding, tap targets, and spacing so
   pages feel purpose-built for phones rather than shrunk-down.
   ============================================================ */
@media (max-width:640px){

  /* Larger, comfortable tap targets in the mobile drawer */
  .thl-mobile-nav a{padding:15px 16px; font-size:1.05rem}
  .thl-mobile-nav .thl-m-sub a{padding:13px 16px 13px 26px}
  .thl-menu-button{width:46px; height:46px; display:flex; align-items:center; justify-content:center}
  .thl-search-btn{width:46px !important; height:46px !important}

  /* Hero image bands: shorter on phones so content isn't pushed down */
  .hero-band img{height:190px !important}
  .article-band img{height:172px !important}

  /* Navy section heroes (.arc-hero): trim the big desktop padding */
  .arc-hero{padding:36px 0 30px !important}
  .arc-hero .wrap{padding-left:20px; padding-right:20px}
  .arc-hero h1{font-size:clamp(26px,7vw,32px)}
  .arc-hero .lede{font-size:15.5px}
  .arc-hero.has-photo .wrap{padding-top:26px !important}

  /* Learning-center style navy hero: cut padding roughly in half */
  .lc-hero .wrap{padding:34px 20px !important}
  .lc-hero h1{font-size:clamp(1.9rem,7vw,2.3rem)}
  .lc-hero p{font-size:1rem}

  /* Article heroes on cream */
  .article-hero{padding:14px 0 6px}
  .article-hero h1{font-size:clamp(1.75rem,7vw,2.2rem)}
  .article-hero .dek{font-size:1.1rem}

  /* Generic content wrappers: consistent, comfortable side gutters */
  .narrow{padding-left:20px !important; padding-right:20px !important}

  /* Cards/grids: ensure single column with breathing room */
  .paths-grid,.lc-grid,.series .wrap > .lc-grid{grid-template-columns:1fr !important; gap:16px}

  /* Section vertical rhythm: less cavernous than desktop */
  section{scroll-margin-top:70px}
}

/* Extra-small phones */
@media (max-width:380px){
  .hero-band img{height:168px !important}
  .article-band img{height:150px !important}
  .arc-hero h1{font-size:25px}
}
