/* Protect Indiana — protectindiana.org
   Modern civic design: readable system sans for utility and body copy, an editorial
   serif for authority, cream paper, navy ink, and antique-gold details. No web fonts. */

:root {
  --paper: #F7F5EF;
  --paper-2: #EFEBE2;
  --paper-3: #E4DED1;
  --ink: #12294B;
  --ink-2: #0B1B33;
  --text: #293343;
  --muted: #5E6671;
  --gold: #B08D2E;
  --gold-2: #D4A72C;
  --gold-soft: #F1E5C2;
  --rule: #D6D0C3;
  --white: #FFFFFF;
  --shadow: 0 14px 34px rgba(18, 41, 75, .09);
  --serif-body: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, "Times New Roman", serif;
  --serif-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 800px) { body { font-size: 1.0625rem; } }

img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
a:hover { color: var(--ink-2); text-decoration-color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif-head); color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -.018em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
strong { color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
::selection { background: var(--gold-soft); color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Statewide service bar — formal civic tone without implying government affiliation */
.civic-bar { background: var(--ink-2); color: #E9E4D6; border-bottom: 1px solid #2A3E60; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.civic-bar-row { min-height: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.civic-bar p { margin: 0; text-transform: uppercase; }
.civic-bar a { color: #E9E4D6; text-decoration: none; }
.civic-bar a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-2); }
.civic-dot { display: inline-block; width: .48rem; height: .48rem; margin-right: .55rem; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 2px rgba(212, 167, 44, .18); }
@media (max-width: 680px) { .civic-bar-row { min-height: 1.85rem; justify-content: center; } .civic-bar-row a { display: none; } .civic-bar p { font-size: .66rem; text-align: center; white-space: nowrap; } }

/* Eyebrow / small caps label */
.eyebrow {
  display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; background: var(--gold); vertical-align: middle; margin-right: .6rem; }
.lede { font-size: 1.08rem; line-height: 1.68; color: var(--muted); max-width: 40em; }
@media (min-width: 800px) { .lede { font-size: 1.16rem; } }

/* Masthead */
.masthead { background: rgba(246, 241, 231, .98); border-bottom: 3px solid var(--gold-2); position: relative; box-shadow: 0 5px 22px rgba(18, 41, 75, .07); }
.masthead-row { min-height: 5.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.emblem { flex: 0 0 auto; width: 39px; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-name { font-family: var(--serif-head); font-size: 1.48rem; font-weight: 700; letter-spacing: .005em; }
.wordmark-tld { font-family: var(--serif-head); font-size: 1rem; color: var(--gold); font-weight: 600; margin-left: .05em; }
.wordmark-name + .wordmark-tld { display: inline; }
.wordmark-tag { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; color: var(--muted); margin-top: .28rem; white-space: nowrap; }
@media (max-width: 520px) { .wordmark-tag { display: none; } .wordmark-name { font-size: 1.35rem; } }
.brand .wordmark { display: block; }
.brand .wordmark-name, .brand .wordmark-tld { display: inline; }
.brand .wordmark-tag { display: block; }
@media (max-width: 520px) { .brand .wordmark-tag { display: none; } }

.nav { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--rule); padding-top: .75rem; gap: .25rem; }
.nav a { padding: .55rem 0; text-decoration: none; font-family: var(--sans); font-size: .96rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--paper-2); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav-cta { font-weight: 700; }
.nav-toggle:checked ~ .nav { display: flex; }
.nav-button { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-family: var(--sans); font-size: .9rem; font-weight: 650; color: var(--ink); border: 1px solid var(--rule); padding: .52rem .72rem; border-radius: 3px; background: var(--white); user-select: none; }
.nav-button-bars { display: inline-block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
@media (max-width: 859px) { .masthead-row { flex-wrap: wrap; } .nav { flex-basis: 100%; } }
@media (min-width: 860px) {
  .masthead-row { padding: .7rem 0; }
  .nav-button { display: none; }
  .nav { display: flex !important; width: auto; flex-direction: row; align-items: center; gap: clamp(1rem, 2vw, 1.7rem); border: 0; padding: 0; margin: 0 0 0 auto; }
  .nav a { position: relative; border: 0; padding: .65rem 0; font-size: .9rem; white-space: nowrap; }
  .nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: .35rem; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .16s ease; }
  .nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--ink); }
  .nav-cta { margin-left: .15rem; border: 1.5px solid var(--ink) !important; padding: .62rem 1rem !important; border-radius: 3px; background: var(--ink); color: #fff !important; }
  .nav-cta:hover { background: var(--ink-2); color: #fff !important; }
}
@media (max-width: 1050px) and (min-width: 860px) { .wordmark-tag { display: none; } .nav { gap: 1rem; } }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .93rem; text-decoration: none; padding: .82rem 1.25rem; border-radius: 3px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; line-height: 1.2; cursor: pointer; box-shadow: 0 4px 10px rgba(18, 41, 75, .08); }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 1.6rem; }
.btn-note { font-size: .92rem; color: var(--muted); }

/* Hero */
.hero { padding: 3.2rem 0 3rem; border-bottom: 1px solid var(--rule); background:
  linear-gradient(100deg, rgba(255,255,255,.42), transparent 58%),
  radial-gradient(1100px 520px at 90% 0%, var(--gold-soft) 0%, transparent 64%), var(--paper); }
@media (min-width: 800px) { .hero { padding: 4.7rem 0 4.3rem; } }
.hero h1 { max-width: 13.5em; line-height: 1.04; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; } }
.hero-aside { border-left: 3px solid var(--gold); padding-left: 1.25rem; color: var(--muted); font-size: 1rem; }
.hero-aside p { margin-bottom: .6em; }
.hero-aside strong { display: block; color: var(--ink); font-family: var(--serif-head); font-size: 1.05rem; }
.hero-side { min-width: 0; }
.hero-figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; box-shadow: var(--shadow); }
.hero-figure::before { content: ""; position: absolute; inset: .65rem .65rem auto auto; width: 3rem; height: 3px; background: var(--gold-2); z-index: 1; }
.hero-figure img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.urgent-card { position: relative; z-index: 2; width: calc(100% - 2rem); margin: -1.35rem auto 0; padding: 1.15rem 1.25rem 1.05rem; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--gold); border-radius: 2px; box-shadow: 0 12px 28px rgba(18, 41, 75, .12); font-size: .9rem; }
.urgent-card p { margin: 0; color: var(--muted); }
.urgent-card strong { color: var(--ink-2); }
.urgent-label { display: block; margin-bottom: .35rem; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* At-a-glance service standards */
.service-standard { background: var(--white); border-bottom: 1px solid var(--rule); }
.standard-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.standard-grid div { padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); }
.standard-grid strong, .standard-grid span { display: block; }
.standard-grid strong { color: var(--ink); font-family: var(--sans); font-size: .9rem; font-weight: 750; }
.standard-grid span { color: var(--muted); font-size: .82rem; line-height: 1.4; }
@media (min-width: 860px) {
  .standard-grid { grid-template-columns: repeat(4, 1fr); }
  .standard-grid div { border-bottom: 0; border-left: 1px solid var(--rule); padding: 1.2rem 1.4rem; }
  .standard-grid div:first-child { border-left: 0; }
}

/* Sections */
.section { padding: 3.5rem 0; }
@media (min-width: 800px) { .section { padding: 5.5rem 0; } }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-ink { background: var(--ink); color: #E9E4D6; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: var(--gold-2); }
.section-ink a { color: #fff; text-decoration-color: var(--gold-2); }
.section-head { max-width: 45em; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }
.section-ink .section-head p { color: #D9D3C4; }

/* Service cards */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--rule); padding: 1.65rem 1.5rem 1.45rem; display: flex; flex-direction: column; border-radius: 3px; box-shadow: 0 8px 22px rgba(18, 41, 75, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ink); }
.card:hover { transform: translateY(-2px); border-color: #BDB4A2; box-shadow: 0 14px 30px rgba(18, 41, 75, .09); }
.card .numeral { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold-soft); font-family: var(--sans); color: var(--gold); font-size: .74rem; font-weight: 750; letter-spacing: .06em; margin-bottom: .8rem; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.62; flex: 1; }
.card a.more { font-family: var(--sans); font-size: .88rem; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--gold); align-self: flex-start; }
.card a.more:hover { border-bottom-color: var(--ink); }
.card ul { font-size: .98rem; color: var(--text); padding-left: 1.1em; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.step { position: relative; padding-top: 1rem; border-top: 1px solid var(--gold); }
.step::before { counter-increment: step; content: counter(step, upper-roman); font-family: var(--serif-head); color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; display: block; margin-bottom: .4rem; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .98rem; color: var(--muted); }

/* Principles */
.principles { display: grid; gap: 1.6rem 2.5rem; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle h3 { font-size: 1.24rem; margin-bottom: .35rem; }
.principle p { color: #D9D3C4; font-size: 1rem; }
.section-ink .principle h3::before { content: "— "; color: var(--gold-2); }

/* Guide list */
.guides { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(2, 1fr); } }
.guide { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--rule); padding: 1.3rem 1.4rem; color: var(--text); }
.guide:hover { border-color: var(--gold); }
.guide .kicker { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.guide h3 { font-size: 1.2rem; margin: .35rem 0 .35rem; }
.guide p { color: var(--muted); font-size: .91rem; line-height: 1.58; margin: 0; }
.guide-visual-grid { gap: 1.6rem; }
.guide-visual { padding: 0; overflow: hidden; box-shadow: 0 8px 24px rgba(18, 41, 75, .06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.guide-visual:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-visual > img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--rule); }
.guide-copy { display: block; padding: 1.25rem 1.35rem 1.3rem; }
.guide-action { display: inline-block; margin-top: 1rem; color: var(--ink); font-family: var(--sans); font-size: .84rem; font-weight: 750; border-bottom: 1.5px solid var(--gold); }

/* Article / prose pages */
.prose { max-width: 44em; }
.prose h2 { margin-top: 2.2em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); color: var(--muted); font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; font-size: .96rem; margin: 1.2em 0; }
.prose th, .prose td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--serif-head); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; margin: 1.5em 0; font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }
.fine { font-size: .9rem; color: var(--muted); }

.page-head { padding: 3rem 0 2.2rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) { .page-head { padding: 4rem 0 3rem; } }
.page-head h1 { max-width: 16em; }
.page-head-grid { display: grid; gap: 2rem; align-items: center; }
.page-head-art { margin: 0; border: 1px solid var(--rule); border-bottom: 4px solid var(--gold); background: var(--paper-2); box-shadow: var(--shadow); }
.page-head-art img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .page-head-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; } }
.page-body { padding: 2.5rem 0 3.5rem; }
@media (min-width: 800px) { .page-body { padding: 3.5rem 0 5rem; } }
.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 42em) minmax(240px, 300px); gap: 5rem; align-items: start; } }
.aside { border-top: 3px solid var(--ink); padding-top: 1rem; font-size: .92rem; position: sticky; top: 1.5rem; }
.aside h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.aside p { color: var(--muted); }
.aside .btn { width: 100%; text-align: center; }
.aside ul { padding-left: 1.1em; }
.aside .rule { border-top: 1px solid var(--rule); margin: 1.2rem 0; }

/* Definition-style lists (What's included) */
.included { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.included li { padding: .7em 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1.6rem 1fr; gap: .4rem; }
.included li::before { content: "✓"; color: var(--gold); font-weight: 700; font-family: var(--serif-head); }
.included li strong { display: block; color: var(--ink); font-family: var(--serif-head); font-weight: 600; }
.included li span { display: block; color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: .8rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--serif-head); font-weight: 600; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7em 0 .3em; color: var(--text); font-size: 1rem; }

/* CTA band */
.cta-band { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 3.2rem 0; }
.cta-band .inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .cta-band .inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); margin: 0; }

/* Forms */
.form { max-width: 40em; }
.field { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.field label { font-family: var(--serif-head); font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field .hint { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--white); border: 1px solid #B9AE93; border-radius: 2px; padding: .7rem .8rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field-row { display: grid; gap: 0 1.2rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { font-size: .92rem; color: var(--muted); margin-top: .8rem; }

/* Service-area list */
.area-cols { columns: 2; column-gap: 2rem; font-size: 1rem; }
@media (min-width: 640px) { .area-cols { columns: 3; } }
.area-cols li { break-inside: avoid; }

/* Footer */
.footer { background: var(--ink-2); color: #C9C3B4; padding: 3.25rem 0 1.5rem; margin-top: 0; font-size: .88rem; }
.footer a { color: #E9E4D6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-2); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } }
.footer-name { font-family: var(--serif-head); font-size: 1.35rem; color: #fff; font-weight: 700; margin-bottom: .5rem; }
.footer-name .wordmark-tld { font-size: .9rem; color: var(--gold-2); }
.footer-fine { font-size: .88rem; color: #A9A395; }
.footer-head { font-family: var(--serif-head); color: #fff; font-weight: 600; margin-bottom: .6rem; letter-spacing: .02em; }
.footer-col a { display: block; margin-bottom: .45rem; }
.footer-bottom { border-top: 1px solid #2A3E60; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .84rem; color: #8F8A7D; }
.footer-bottom p { margin: 0; }

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: .92rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .guide-visual, .card { transition: none; } }
@media print { .masthead, .footer, .cta-band, .nav-button { display: none !important; } body { background: #fff; } }
