/* Atkinson Hyperlegible, self-hosted (SIL Open Font License 1.1, see fonts/OFL.txt). No third-party font requests (phase 11). */
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-700-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/atkinson-hyperlegible-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* The Delaware Directory. Built for readers in their 50s to 80s: large type, high contrast, one thing at a time. */
:root{
  --ink:#16202c; --ink-2:#2c3a4b; --muted:#4a5767;
  --navy:#1f3a5f; --navy-deep:#142a47; --navy-soft:#e7eef7;
  --buff:#f6f1e6; --buff-2:#ece3cf; --coral-soft:#e9b49e; --line:#d6d9de; --line-2:#e8eaee;
  --amber:#9a4f06; --amber-soft:#fdf1e1; --ok:#1d6b3a; --ok-soft:#e5f3ea;
  --bg:#ffffff;
  --radius:14px; --wrap:1040px; --read:720px;
  --shadow:0 1px 2px rgba(22,32,44,.06),0 4px 14px -4px rgba(22,32,44,.10);
  --sans:"Atkinson Hyperlegible","Atkinson Hyperlegible Next",Verdana,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-padding-top:16px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:1.25rem;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:var(--navy);text-underline-offset:3px;text-decoration-thickness:1.5px}
a:hover{color:var(--navy-deep);text-decoration-thickness:2.5px}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.read{max-width:var(--read)}
.skip{position:absolute;left:-9999px;top:8px;background:var(--navy);color:#fff;padding:12px 18px;border-radius:8px;z-index:10;font-weight:700}
.skip:focus{left:12px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2,h3{line-height:1.2;margin:0;color:var(--ink);letter-spacing:-.01em}
h1{font-size:clamp(2.125rem,5vw,3rem);font-weight:700}
h2{font-size:clamp(1.625rem,3.4vw,2rem);font-weight:700}
h3{font-size:1.4375rem;font-weight:700}
p{margin:0 0 14px}
.lead{font-size:1.4375rem;color:var(--ink-2);line-height:1.5}
.small{font-size:1.0625rem;color:var(--muted)}

/* header */
.site-head{border-bottom:1px solid var(--line);background:#fff}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:80px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand-mark{flex:none;width:44px;height:44px;border-radius:10px;background:var(--navy);display:flex;align-items:center;justify-content:center}
.brand-mark svg{width:26px;height:26px}
.brand b{display:block;font-size:1.375rem;line-height:1.1}
.brand small{display:block;font-size:0.9375rem;color:var(--muted);letter-spacing:.02em}
.site-nav{display:flex;gap:6px;flex-wrap:wrap}
.site-nav a{display:inline-flex;align-items:center;min-height:48px;padding:0 14px;border-radius:10px;text-decoration:none;color:var(--ink-2);font-weight:700;font-size:1.125rem}
.site-nav a:hover,.site-nav a[aria-current="page"]{background:var(--navy-soft);color:var(--navy-deep)}

/* hero */
.hero{background:var(--buff);border-bottom:1px solid var(--buff-2);padding:56px 0 52px}
.hero h1{margin-bottom:14px}
.hero .lead{max-width:720px}
.kicker{display:inline-block;font-size:1.0625rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--amber);margin-bottom:10px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:12px;font:inherit;font-size:1.1875rem;font-weight:700;text-decoration:none;border:2px solid transparent;cursor:pointer;line-height:1.2}
.btn svg{width:22px;height:22px;flex:none}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-deep);color:#fff}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--navy-soft);color:var(--navy-deep)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

/* sections */
.section{padding:52px 0}
.section.alt{background:var(--buff);border-top:1px solid var(--buff-2);border-bottom:1px solid var(--buff-2)}
.section-head{margin-bottom:26px;max-width:var(--read)}
.section-head h2{margin-bottom:8px}

/* choice cards (categories, counties, sections) */
.choices{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.choice{display:flex;flex-direction:column;gap:6px;height:100%;padding:22px 22px 20px;background:#fff;border:2px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s}
a.choice:hover{border-color:var(--navy);box-shadow:0 6px 20px -6px rgba(31,58,95,.28)}
.choice h3,.choice h2{color:var(--navy);font-size:1.4375rem}
.choice p{margin:0;color:var(--ink-2);font-size:1.125rem}
.choice .count{margin-top:auto;padding-top:8px;font-size:1.0625rem;font-weight:700;color:var(--ink-2)}
.choice.soon{background:var(--buff);border-style:dashed;box-shadow:none}
.choice.soon h3{color:var(--ink-2)}
.tag{display:inline-block;font-size:0.9375rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 10px;border-radius:999px;background:var(--amber-soft);color:#7a3e05;align-self:flex-start}

/* county filter */
.filter{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px;padding:0;list-style:none}
.filter a{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--line);text-decoration:none;color:var(--ink-2);font-weight:700;font-size:1.125rem;background:#fff}
.filter a:hover{border-color:var(--navy)}
.filter a[aria-current="page"]{background:var(--navy);border-color:var(--navy);color:#fff}

/* listing cards */
.listings{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.listing{display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:center;padding:20px 22px;background:#fff;border:2px solid var(--line);border-radius:var(--radius)}
.listing h2{font-size:1.375rem}
.listing h2 a{text-decoration:none}
.listing h2 a:hover{text-decoration:underline}
.listing .where{color:var(--ink-2);font-size:1.125rem;margin:2px 0 0}
.listing .badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.listing .call{grid-column:2;grid-row:1/span 2}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:0.96875rem;font-weight:700;padding:4px 10px;border-radius:8px;background:var(--ok-soft);color:var(--ok)}
.badge svg{width:16px;height:16px}
.badge.paid{background:var(--amber-soft);color:#7a3e05}
.count-line{font-size:1.125rem;color:var(--ink-2);margin:0 0 16px}

/* profile */
.profile{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:start}
.card{background:#fff;border:2px solid var(--line);border-radius:var(--radius);padding:24px}
.card h2{font-size:1.5rem;margin-bottom:10px}
.facts{margin:0;display:grid;gap:12px}
.facts div{display:grid;gap:2px}
.facts dt{font-size:1rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.facts dd{margin:0;font-size:1.25rem}
.license{background:var(--ok-soft);border-color:#b9dcc6}
.license h2{color:var(--ok)}
.contact-stack{display:grid;gap:12px;margin-top:18px}
.contact-stack .btn{width:100%}

/* breadcrumbs */
.crumbs{font-size:1.0625rem;padding-top:14px}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-right:6px;color:var(--line)}

/* prose pages */
.prose{max-width:var(--read)}
.prose h2{margin:34px 0 12px}
.prose ul,.prose ol{padding-left:26px;margin:0 0 16px}
.prose li{margin-bottom:8px}
.note{background:var(--navy-soft);border-radius:var(--radius);padding:18px 22px;margin:20px 0}
.note p:last-child{margin:0}

/* search */
.search{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px}
.search label{flex-basis:100%;font-weight:700}
.search input{flex:1 1 260px;min-width:0;min-height:56px;font:inherit;font-size:1.25rem;padding:0 16px;border:2px solid #8a94a3;border-radius:12px;color:var(--ink)}
.search input:focus{border-color:var(--navy)}

/* footer */
.site-foot{background:var(--navy-deep);color:#e9eef5;padding:40px 0 30px;margin-top:0;font-size:1.0625rem}
.site-foot a{color:#fff}
.site-foot .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}
.site-foot h2{font-size:1.0625rem;color:#fff;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.site-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.site-foot ul a{display:inline-flex;align-items:center;min-height:36px}
.site-foot .base{border-top:1px solid rgba(255,255,255,.2);margin-top:26px;padding-top:16px;font-size:1rem;color:#cfd8e3}

@media (max-width:820px){
  .profile{grid-template-columns:1fr}
  .site-foot .cols{grid-template-columns:1fr}
}
@media (max-width:620px){
  body{font-size:1.1875rem}
  .listing{grid-template-columns:1fr}
  .listing .call{grid-column:1;grid-row:auto;justify-self:stretch}
  .listing .call .btn{width:100%}
  .hero{padding:36px 0 34px}
  .section{padding:40px 0}
  .site-head .wrap{flex-direction:column;align-items:flex-start;gap:8px}
}
@media print{.site-head nav,.site-foot,.skip,.call{display:none}}

/* ===== Round 2: warm, modern, reassuring. Nothing depends on hover; hover only adds feedback. ===== */
:root{--e1:0 1px 2px rgba(22,32,44,.06),0 3px 10px -3px rgba(22,32,44,.10);--e2:0 2px 4px rgba(22,32,44,.06),0 14px 30px -10px rgba(31,58,95,.28);--warm:#fbf6ec;--coral:#c4552f}
html.text-lg{font-size:112.5%}
html.text-xl{font-size:125%}


/* header: text size control */
.head-tools{display:flex;align-items:center;gap:8px}
.text-size{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:10px;border:2px solid var(--line);background:#fff;color:var(--ink-2);font:inherit;font-size:1.0625rem;font-weight:700;cursor:pointer}
.text-size:hover{border-color:var(--navy);color:var(--navy-deep)}
.text-size .aa{font-size:0.9375rem}.text-size .aa b{font-size:1.3125rem}

/* buttons: press, lift, arrow */
.btn{transition:transform .15s ease,box-shadow .2s ease,background-color .2s,color .2s,border-color .2s;box-shadow:var(--e1)}
.btn:hover{transform:translateY(-2px);box-shadow:var(--e2)}
.btn:active{transform:translateY(0);box-shadow:var(--e1)}
.btn .arrow{transition:transform .2s ease}
.btn:hover .arrow{transform:translateX(4px)}
.btn-warm{background:var(--coral);color:#fff}
.btn-warm:hover{background:#a8441f;color:#fff}

/* cards: lift + shadow on hover and keyboard focus */
.choice,.listing,.tile,.card{transition:transform .2s ease,box-shadow .25s ease,border-color .2s}
a.choice:hover,a.choice:focus-visible,.tile:hover,.tile:focus-visible{transform:translateY(-4px);box-shadow:var(--e2);border-color:var(--navy)}
.listing:hover{box-shadow:var(--e2);border-color:#aebcd0}
.choice .go,.tile .go{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--navy);margin-top:10px}
.choice .go .arrow,.tile .go .arrow{transition:transform .2s ease}
a.choice:hover .go .arrow,.tile:hover .go .arrow{transform:translateX(4px)}
/* category cards (D-33): the picture and the name share a buff band; the description steps back to the muted grey (7.4:1 on white) */
.choice.pic{padding:0;gap:0;overflow:hidden}
.choice.pic .band{display:flex;flex-direction:column;align-items:center;gap:.625rem;padding:1.375rem 1rem 1.125rem;background:var(--buff);border-bottom:1px solid var(--buff-2);text-align:center}
.choice.pic .band svg{width:5rem;height:5rem;flex:none}
.choice.pic .band h3{margin:0}
.choice.pic .cbody{display:flex;flex-direction:column;gap:6px;flex:1;padding:1.125rem 1.375rem 1.25rem}
.choice.pic p{color:var(--muted)}
/* on a buff section the band takes the deeper buff so it still separates from the page */
.section.alt .choice.pic .band{background:var(--buff-2)}

/* hero with photo */
.hero-split{background:var(--warm);border-bottom:1px solid var(--buff-2);padding:48px 0}
.hero-split .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center}
.hero-split h1{margin-bottom:14px}
.hero-photo{margin:0;border-radius:24px;overflow:hidden;box-shadow:0 20px 50px -20px rgba(31,58,95,.45);aspect-ratio:4/3;background:var(--buff-2)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.reassure{display:flex;gap:10px;align-items:center;margin-top:18px;color:var(--ink-2);font-size:1.125rem}
.reassure svg{width:22px;height:22px;color:var(--ok);flex:none}

/* trust band */
.trust{background:#fff;border-bottom:1px solid var(--line-2);padding:26px 0}
.trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.trust li{display:flex;gap:14px;align-items:flex-start}
.trust .ic{flex:none;width:48px;height:48px;border-radius:50%;background:var(--ok-soft);color:var(--ok);display:flex;align-items:center;justify-content:center}
.trust .ic svg{width:24px;height:24px}
.trust b{display:block;font-size:1.1875rem}
.trust span{font-size:1.0625rem;color:var(--ink-2);line-height:1.45;display:block}

/* "not sure where to start" photo tiles */
.helper{background:var(--warm);border-top:1px solid var(--buff-2);border-bottom:1px solid var(--buff-2)}
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tile{display:flex;flex-direction:column;height:100%;background:#fff;border:2px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--e1)}
.tile .ph{aspect-ratio:3/2;overflow:hidden;background:var(--buff-2)}
.tile .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.tile:hover .ph img{transform:scale(1.04)}
.tile .tx{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.tile h3{font-size:1.5rem;color:var(--navy)}
.tile p{margin:6px 0 0;font-size:1.125rem;color:var(--ink-2)}
.tile .go{margin-top:auto;padding-top:12px}
.just-looking{margin-top:22px;font-size:1.1875rem}

/* built-by band */
.built{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center;background:#fff;border:2px solid var(--line);border-radius:20px;padding:26px 28px;box-shadow:var(--e1)}
.built-logos{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.built-logos .fs{height:120px;width:auto}
.built-logos .nv{height:90px;width:auto;padding:0}
.built h2{font-size:1.625rem;margin-bottom:6px}
.built p{margin:0 0 8px;color:var(--ink-2)}

/* feature strip with photo */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.feature .ph{border-radius:22px;overflow:hidden;box-shadow:var(--e2);aspect-ratio:3/2}
.feature .ph img{width:100%;height:100%;object-fit:cover}

/* about */
.about-grid{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start}
.headshot{margin:0;border-radius:22px;overflow:hidden;box-shadow:var(--e2);background:var(--buff-2)}
.headshot img{width:100%;height:auto}
.headshot figcaption{padding:12px 16px;font-size:1.0625rem;background:#fff}
.creds{display:grid;gap:14px;margin:18px 0}

/* profile back link */
.back{display:inline-flex;align-items:center;gap:8px;min-height:48px;font-weight:700;font-size:1.1875rem;text-decoration:none}
.back:hover{text-decoration:underline}

.illustration-note{font-size:0.9375rem;color:#cfd8e3;margin-top:6px}

@media (max-width:900px){
  .hero-split .wrap,.feature,.about-grid{grid-template-columns:1fr}
  .hero-photo{aspect-ratio:16/10;order:-1}
  .trust ul,.tiles{grid-template-columns:1fr}
  .built{grid-template-columns:1fr}
  .about-grid .headshot{max-width:300px}
}
@media (prefers-reduced-motion:reduce){
  .btn,.btn:hover,.btn:active,a.choice:hover,.tile:hover,.tile:hover .ph img,.btn:hover .arrow,.tile:hover .go .arrow,a.choice:hover .go .arrow{transform:none!important;transition:none!important}
}
/* round 2 fixes: arrow size; deliberate two-row header (brand + text size, then the menu) */
.go svg,.back svg{width:22px;height:22px;flex:none}
.site-head .wrap{row-gap:6px}
.site-head .text-size{margin-left:auto}
.site-nav{flex-basis:100%;border-top:1px solid var(--line-2);padding-top:6px;gap:4px}
@media (max-width:620px){.site-head .wrap{flex-direction:row;flex-wrap:wrap;align-items:center}.site-head .text-size{margin-left:0}}
/* round 2 audit fixes: comfortable line length everywhere, bigger footer targets, headline first on phones */
main p{max-width:64ch}
.site-foot ul a{min-height:44px}
@media (max-width:900px){.hero-photo{order:0;aspect-ratio:16/9}}
main p.small{max-width:52ch}

/* ===== Round 3: the whole directory ===== */
.doors{margin-top:18px}
.home-search{margin-top:22px;max-width:560px}
.home-search .btn{min-height:56px}
.sec-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.sec-card{display:flex;flex-direction:column;height:100%;background:#fff;border:2px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--e1);transition:transform .2s ease,box-shadow .25s ease,border-color .2s}
.sec-card:hover,.sec-card:focus-within{transform:translateY(-4px);box-shadow:var(--e2);border-color:#aebcd0}
.sec-card.is-open{border-color:var(--ok)}
.sec-photo{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--buff-2)}
.sec-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.sec-card:hover .sec-photo img{transform:scale(1.04)}
.sec-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.sec-body h3{font-size:1.5rem}
.sec-body h3 a{text-decoration:none;color:var(--navy)}
.sec-body h3 a:hover{text-decoration:underline}
.sec-body p{margin:0;font-size:1.125rem;color:var(--ink-2)}
.sec-body .examples{font-size:1.0625rem;color:var(--muted)}
.sec-body .btn,.sec-body form{margin-top:auto}
.tag-open{background:var(--ok-soft);color:var(--ok)}
.ask{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.btn-ask{background:var(--amber-soft);color:#6e3604;border-color:#e6b77e}
.btn-ask:hover{background:#fbe3c3;color:#5a2c03}
.btn-ask svg{width:24px;height:24px}
.btn-ask[disabled]{background:var(--ok-soft);color:var(--ok);border-color:#b9dcc6;cursor:default;transform:none;box-shadow:none}
.ask-count{font-size:1.0625rem;font-weight:700;color:var(--ink-2)}
.ask-big .btn-ask{min-height:60px;font-size:1.3125rem;padding:0 26px}
.notify{margin-top:18px;background:#fff;border:2px solid var(--line);border-radius:14px;padding:4px 18px}
.notify summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:var(--navy)}
.notify-form,.suggest-form{display:grid;gap:10px;padding:6px 0 14px;max-width:560px}
.notify-form input[type=email],.suggest-form input{min-height:56px;font:inherit;font-size:1.25rem;padding:0 16px;border:2px solid #8a94a3;border-radius:12px}
.consent{display:flex;gap:12px;align-items:flex-start;font-size:1.125rem}
.consent input{width:26px;height:26px;margin-top:2px;flex:none}
.steps3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.steps3 li{background:#fff;border:2px solid var(--line);border-radius:16px;padding:22px;display:grid;gap:6px}
.steps3 .num{width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:1.25rem}
.steps3 b{font-size:1.3125rem}
.steps3 span:not(.num){color:var(--ink-2);font-size:1.125rem}
.pill-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.pill-list li{padding:10px 18px;border-radius:999px;background:var(--navy-soft);color:var(--navy-deep);font-weight:700}
.target-note{display:none;margin:0 0 20px;padding:18px 22px;border-radius:14px;background:var(--ok-soft);color:#12451f;font-weight:700;font-size:1.25rem;border:2px solid #b9dcc6}
.target-note.warn{background:var(--amber-soft);color:#6e3604;border-color:#e6b77e}
.target-note:target,.target-note.show{display:block}
@media (max-width:900px){.steps3{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.sec-card:hover,.sec-card:focus-within,.sec-card:hover .sec-photo img{transform:none!important}}
.sec-body h2{font-size:1.5rem}
.sec-body h2 a{text-decoration:none;color:var(--navy)}
.sec-body h2 a:hover{text-decoration:underline}
@media (max-width:620px){.brand small{display:none}.brand b{font-size:1.25rem}.site-head .text-size{margin-left:auto}.sec-photo{aspect-ratio:16/9}}

/* ===== Round 4: looks and feels like Delaware; a header that never grows ===== */
/* brand: the true outline of Delaware on the navy tile */
.brand-mark svg{width:auto;height:34px}
.site-head{position:relative}
.site-head .wrap{column-gap:12px}
.head-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.site-head .text-size{margin-left:0}

/* menus are native <details>: they open without script */
.site-head summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:48px;font-weight:700}
.site-head summary::-webkit-details-marker{display:none}
.site-head summary svg{width:22px;height:22px;flex:none}
.site-head summary .chev{width:20px;height:20px;transition:transform .15s}
.site-head details[open] summary .chev{transform:rotate(180deg)}
.menu summary{padding:0 16px;border-radius:10px;border:2px solid var(--line);background:#fff;color:var(--ink-2);font-size:1.0625rem}
.menu summary:hover,.menu[open] summary{border-color:var(--navy);color:var(--navy-deep);background:var(--navy-soft)}
.dirs{position:relative}
.dirs summary{padding:0 14px;border-radius:10px;color:var(--ink-2);font-size:1.125rem}
.dirs summary:hover,.dirs[open] summary,.dirs summary.current{background:var(--navy-soft);color:var(--navy-deep)}
.dirs-panel,.menu-panel{background:#fff;border:2px solid var(--line);box-shadow:var(--e2);z-index:30}
.dirs-panel{position:absolute;top:calc(100% + 6px);left:0;width:min(520px,calc(100vw - 40px));border-radius:16px;padding:16px 18px 14px}
.menu-panel{position:absolute;left:0;right:0;top:100%;border-width:0 0 2px;padding:14px 20px 20px;max-height:calc(100vh - 130px);overflow:auto}
.menu-head{margin:0 0 6px;font-size:1rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.menu-dirs,.menu-more{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.menu-dirs a,.menu-more a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:6px 12px;border-radius:10px;text-decoration:none;color:var(--navy-deep);font-weight:700;font-size:1.1875rem}
.menu-dirs a:hover,.menu-more a:hover,.menu-dirs a[aria-current],.menu-more a[aria-current]{background:var(--navy-soft)}
.menu-dirs .tag{font-size:0.875rem;padding:2px 9px}
.menu-all{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;font-weight:700;font-size:1.125rem}
.menu-all svg{width:20px;height:20px}
.menu-more{border-top:1px solid var(--line-2);margin-top:8px;padding-top:8px}
.menu{display:none}
@media (max-width:760px){
  .site-nav{display:none}
  .menu{display:block}
}
@media (max-width:560px){
  .site-head .wrap{row-gap:8px}
  .brand{flex-basis:100%}
  .brand small{display:block;font-size:0.9375rem}
  .head-tools{flex-basis:100%;margin-left:0}
  .head-tools>*{flex:1}
  .head-tools .text-size,.menu summary{width:100%;justify-content:center}
}

/* independence line and search hint */
.indep{font-size:1.125rem;font-weight:700;color:var(--ink-2);margin:0 0 12px}
.hint{flex-basis:100%;margin:0;font-size:1.0625rem;color:var(--muted)}

/* labels on pictures: every illustration carries a faint watermark (FB-17), every photo names its place and photographer */
.hero-photo,.sec-photo,.feature .ph{position:relative}
.img-label{position:absolute;right:12px;bottom:8px;color:rgba(255,255,255,.72);font-size:0.75rem;font-weight:400;letter-spacing:.05em;text-shadow:0 1px 3px rgba(0,0,0,.45);pointer-events:none;line-height:1.2}
.hero-photo.is-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:8px 14px;background:rgba(20,42,71,.86);color:#fff;font-size:1.0625rem;line-height:1.35}
.hero-photo.is-photo figcaption a{color:#fff}

/* "Where in Delaware?": three county doors */
.where{background:#fff}
.doors-3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.door{display:flex;flex-direction:column}
.door-link{display:flex;flex-direction:column;flex:1;background:#fff;border:2px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--e1);transition:transform .2s ease,box-shadow .25s ease,border-color .2s}
.door-link:hover,.door-link:focus-visible{transform:translateY(-4px);box-shadow:var(--e2);border-color:var(--navy)}
.door-photo{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--buff-2)}
.door-photo img{width:100%;height:100%;object-fit:cover}
.door-body{display:flex;align-items:center;gap:14px;padding:18px 20px 4px}
.door-body .locator{height:76px;width:auto;flex:none}
.door-body h3{font-size:1.5rem;color:var(--navy)}
.door .towns{display:block;font-size:1.125rem;color:var(--ink-2);margin-top:2px}
.door .go{margin:auto 0 0;padding:10px 20px 20px}
.door .credit{margin:8px 4px 0;font-size:1.0625rem;color:var(--muted);line-height:1.4}

/* county locator: the county is always named in words beside it */
.locator .loc-state{fill:var(--navy-soft);stroke:#5d6878;stroke-width:.7}
.locator .loc-off{fill:none;stroke:#8a94a3;stroke-width:.45}
.locator .loc-on{fill:var(--navy);stroke:var(--navy);stroke-width:.45}
.county-head{display:flex;align-items:center;gap:22px}
.county-head .locator{height:120px;width:auto;flex:none}
.county-head .section-head{margin-bottom:0}
.section .county-head{margin-bottom:22px}
.lead.place{display:flex;align-items:center;gap:12px}
.lead.place .locator{height:64px;width:auto;flex:none}
.county-pick{margin-top:18px}

@media (max-width:900px){.doors-3{grid-template-columns:1fr}.door-photo{aspect-ratio:16/9}}
@media (max-width:560px){.county-head{gap:14px}.county-head .locator{height:84px}}
@media (prefers-reduced-motion:reduce){.door-link:hover,.door-link:focus-visible{transform:none!important}}
@media print{.head-tools,.site-nav{display:none}}
/* round 4 fixes: the credit sits under the photo so nothing covers the place; door link reads as a link; a bigger outline */
.hero-photo.is-photo{aspect-ratio:auto;overflow:visible;box-shadow:none;background:none;border-radius:0}
.hero-photo.is-photo img{aspect-ratio:4/3;border-radius:24px;box-shadow:0 20px 50px -20px rgba(31,58,95,.45);background:var(--buff-2)}
.hero-photo.is-photo figcaption{position:static;background:none;color:var(--muted);padding:10px 4px 0;font-size:1.0625rem}
.hero-photo.is-photo figcaption a{color:var(--navy)}
@media (max-width:900px){.hero-photo.is-photo img{aspect-ratio:16/9}}
.door .go{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--navy);font-size:1.1875rem}
.door .go .arrow{width:22px;height:22px;flex:none;transition:transform .2s ease}
.door-link:hover .go .arrow{transform:translateX(4px)}
.brand-mark{width:46px;height:50px}
.brand-mark svg{height:40px}
@media (prefers-reduced-motion:reduce){.door-link:hover .go .arrow{transform:none!important}}

/* round 4 review fixes (Forge): the tagline shows at every width; phones keep a navigation landmark; the phone menu fits the screen */
.brand small{display:block}
.menu-nav{display:none}
@media (max-width:760px){.menu-nav{display:block}}
.menu-panel{max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px)}
@media (max-width:560px){.head-tools .menu-nav{flex:1}}

/* a note with two sentences fills its lines: keep it to a comfortable measure (readability audit, 80 characters) */
.note p{max-width:52ch}
/* Phase 07 (layout shift): a page that grows tall enough to scroll never shifts sideways, and search results fill a
   reserved area instead of pushing the footer out of view when they arrive (CLS was 0.44 on /search/?q=dover). */
html{scrollbar-gutter:stable}
#results{min-height:60vh}
/* reflow at 320px with the largest Text size (WCAG 1.4.10): grid items may shrink below their contents' natural width,
   so a search box (about 20 characters wide by default) cannot hold a column open */
.hero-split .wrap>*,.hero .wrap>*{min-width:0}
.search input{width:100%}
