:root {
  --ink: #173b36;
  --ink-deep: #102b28;
  --paper: #f6f0e2;
  --paper-bright: #fffaf0;
  --paper-deep: #e9dfca;
  --grapefruit: #e85f45;
  --grapefruit-dark: #b83d2a;
  --pool: #73c8c0;
  --pool-deep: #397f7a;
  --sun: #f2c94c;
  --white: #fffdf8;
  --muted: #60736f;
  --line: rgba(23, 59, 54, 0.2);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", sans-serif;
  --shadow: 0 28px 80px rgba(16, 43, 40, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink-deep);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 3.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; width: max-content; }
.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 46% 54%;
  background: var(--grapefruit);
  color: var(--white);
  font: 700 1.35rem/1 var(--display);
  transform: rotate(-8deg);
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font: 700 1rem var(--display); }
.brand small { margin-top: .25rem; text-transform: uppercase; letter-spacing: .13em; font-size: .57rem; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { text-decoration: none; font-size: .82rem; font-weight: 700; }
.site-header nav a:hover { color: var(--grapefruit-dark); }
.header-action { justify-self: end; font-size: .78rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

.hero {
  min-height: 760px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 7.5rem 5vw 6rem;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 3rem;
  overflow: hidden;
}
.eyebrow, .chapter { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; }
.eyebrow span { padding: .35rem .55rem; margin-right: .55rem; background: var(--sun); color: var(--ink-deep); transform: rotate(-2deg); display: inline-block; }
.hero h1, .section-heading h2, .desk-intro h2, .checklist-copy h2, .official-heading h2, .closing-section h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
  margin: 1.35rem 0 1.6rem;
}
.hero h1 { font-size: clamp(4.25rem, 7vw, 7.5rem); }
h1 em, h2 em { color: var(--grapefruit); font-weight: 600; }
.hero-lede { max-width: 38rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #3f5a55; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  border: 0;
  padding: .95rem 1.3rem;
  border-radius: 0;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button:focus-visible, .text-link:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.button-primary { background: var(--grapefruit); color: var(--white); box-shadow: 7px 7px 0 var(--ink); }
.button-primary:hover { background: var(--grapefruit-dark); }
.text-link { font-size: .82rem; font-weight: 700; text-underline-offset: .3rem; }
.source-note { max-width: 36rem; margin-top: 2.7rem; padding-left: 1.1rem; border-left: 3px solid var(--pool); font-size: .72rem; color: var(--muted); }

.compass-wrap { min-height: 570px; display: grid; place-items: center; position: relative; overflow: hidden; }
.permit-compass {
  width: min(510px, 90vw);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}
.permit-compass::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: var(--pool);
  box-shadow: var(--shadow);
}
.compass-orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed var(--ink);
  border-radius: 50%;
  animation: slow-spin 45s linear infinite;
}
.orbit-label { position: absolute; padding: .2rem .45rem; background: var(--paper); font-size: .6rem; font-weight: 700; letter-spacing: .12em; }
.orbit-a { top: -1%; left: 44%; }
.orbit-b { right: -4%; top: 48%; transform: rotate(90deg); }
.orbit-c { bottom: 3%; left: 12%; transform: rotate(-35deg); }
.compass-card {
  position: relative;
  width: 62%;
  min-height: 57%;
  padding: 2rem;
  background: var(--white);
  transform: rotate(4deg);
  box-shadow: 12px 14px 0 rgba(23, 59, 54, .92);
}
.compass-card::after {
  content: "";
  position: absolute;
  width: 4.2rem;
  height: 1.2rem;
  top: -.4rem;
  left: 42%;
  background: rgba(242, 201, 76, .72);
  transform: rotate(-7deg);
}
.stamp { width: max-content; margin: 0 0 1.4rem; padding: .2rem .55rem; border: 2px solid var(--grapefruit); color: var(--grapefruit-dark); font-size: .64rem; font-weight: 700; letter-spacing: .15em; transform: rotate(-4deg); }
.route-number { font: 700 4rem/.8 var(--display); color: var(--paper-deep); float: right; }
.compass-card h2 { margin: 0; font: 600 1.75rem/1.05 var(--display); }
.compass-card p { font-size: .85rem; }
.compass-card a { display: inline-block; margin-top: 1rem; font-size: .72rem; font-weight: 700; text-underline-offset: .25rem; }
.sun-shape { position: absolute; border-radius: 50%; background: var(--sun); }
.sun-one { width: 11rem; height: 11rem; top: 1%; right: 4%; }
.sun-two { width: 4rem; height: 4rem; left: 0; bottom: 6%; background: var(--grapefruit); }
.margin-note { position: absolute; margin: 0; font: 600 1rem/1.1 var(--display); font-style: italic; transform: rotate(-8deg); }
.margin-note-one { top: 13%; left: 0; }
.margin-note-two { right: 0; bottom: 12%; transform: rotate(7deg); }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.ticker { overflow: hidden; background: var(--ink); color: var(--paper-bright); transform: rotate(-1deg) scale(1.01); }
.ticker div { width: max-content; padding: 1rem 0; display: flex; gap: 2.2rem; align-items: center; animation: drift 25s linear infinite alternate; font: 600 1.2rem var(--display); }
.ticker i { color: var(--sun); font-style: normal; }
@keyframes drift { from { transform: translateX(-2%); } to { transform: translateX(5%); } }

.route-section { max-width: 1320px; margin: 0 auto; padding: 9rem 5vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1.5fr .8fr; gap: 3rem; align-items: end; margin-bottom: 5rem; }
.section-heading h2, .desk-intro h2, .checklist-copy h2, .official-heading h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); grid-column: 2; margin: 0; }
.section-heading > p:last-child { font-size: .9rem; color: var(--muted); }
.route-builder { display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: var(--shadow); }
.route-form { padding: 3rem; background: var(--white); }
fieldset { padding: 0; margin: 0; border: 0; }
legend, .county-field > span { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; font: 600 1.35rem var(--display); }
legend span, .county-field b { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--sun); font: 700 .75rem var(--body); }
.setting-option { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-option input { position: absolute; opacity: 0; }
.option-index { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: .7rem; font-weight: 700; }
.setting-option:has(input:checked) .option-index { background: var(--grapefruit); color: white; border-color: var(--grapefruit); }
.setting-option strong, .setting-option small { display: block; }
.setting-option strong { font-size: .92rem; }
.setting-option small { margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.county-field { display: block; margin-top: 2.4rem; }
select { width: 100%; padding: 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.button-wide { width: 100%; margin-top: 1.5rem; }
.route-result { padding: 3rem; background: var(--pool); }
.result-topline { display: flex; justify-content: space-between; gap: 1rem; text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; font-weight: 700; }
.route-result h3 { max-width: 28rem; margin: 3rem 0 2rem; font: 600 clamp(2.2rem, 4vw, 4rem)/.95 var(--display); }
.route-result ol { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.route-result li { counter-increment: route; position: relative; padding: 1rem 0 1rem 3.2rem; border-top: 1px solid rgba(23,59,54,.25); font-size: .86rem; }
.route-result li::before { content: "0" counter(route); position: absolute; left: 0; top: .85rem; font: 600 1.3rem var(--display); }
.county-alert { min-height: 2.7rem; padding: .8rem 1rem; background: rgba(255,253,248,.55); font-size: .74rem; }
.result-actions { display: flex; gap: .8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.button-dark { background: var(--ink); color: var(--white); }
.button-paper { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.desk-section { padding: 8rem 5vw 10rem; background: var(--ink); color: var(--paper-bright); overflow: hidden; }
.desk-intro, .folder-stack { max-width: 1240px; margin-left: auto; margin-right: auto; }
.desk-intro { display: grid; grid-template-columns: .7fr 1.5fr .8fr; gap: 3rem; align-items: end; }
.desk-intro p:last-child { color: #b8c6c3; font-size: .9rem; }
.desk-intro h2 em { color: var(--sun); }
.folder-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 5rem; align-items: start; }
.folder { position: relative; min-height: 335px; padding: 2.2rem; color: var(--ink-deep); box-shadow: 12px 14px 0 rgba(0,0,0,.22); }
.folder:nth-child(2) { margin-top: 3rem; transform: rotate(2deg); }
.folder:nth-child(3) { margin-top: 1rem; transform: rotate(-2deg); }
.folder::before { content: ""; position: absolute; top: -1.1rem; left: 0; width: 42%; height: 1.2rem; background: inherit; }
.folder-coral { background: #ef806b; }
.folder-blue { background: #95d8d2; }
.folder-yellow { background: #f1d36c; }
.folder-tab { font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
.folder-number { margin: 3rem 0 0; font: 700 4rem/.8 var(--display); opacity: .22; }
.folder h3 { margin: .9rem 0; font: 600 2rem var(--display); }
.folder p:not(.folder-number) { font-size: .85rem; }
.folder-meta { position: absolute; left: 2.2rem; bottom: 2rem; padding-top: .7rem; border-top: 1px solid currentColor; font-size: .68rem; font-weight: 700; }

.checklist-section { max-width: 1240px; margin: 0 auto; padding: 9rem 5vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; align-items: center; }
.checklist-copy h2 { margin: 1rem 0 1.4rem; }
.checklist-copy > p:not(.chapter) { color: var(--muted); }
.progress-rail { height: .55rem; margin: 2rem 0 .6rem; background: var(--paper-deep); overflow: hidden; }
.progress-rail span { display: block; width: 0; height: 100%; background: var(--grapefruit); transition: width .3s ease; }
#progress-text { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.paper-checklist { position: relative; padding: 3.2rem; background: var(--white); box-shadow: 15px 18px 0 var(--pool-deep); transform: rotate(1.25deg); }
.paper-checklist::before { content: ""; position: absolute; top: -1rem; left: 36%; width: 9rem; height: 2rem; background: rgba(242,201,76,.65); transform: rotate(-4deg); }
.paper-kicker { margin: 0 0 2rem; color: var(--grapefruit-dark); font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.paper-checklist label { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: 1rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.paper-checklist input { width: 1.1rem; height: 1.1rem; accent-color: var(--grapefruit); }
.paper-checklist label span { font-size: .9rem; }
.paper-checklist label:has(input:checked) span { text-decoration: line-through; color: var(--muted); }
.paper-checklist label b { font: 600 1rem var(--display); color: var(--paper-deep); }
.reset-button { margin-top: 1.5rem; padding: 0; border: 0; border-bottom: 1px solid; background: transparent; color: var(--muted); font-size: .7rem; cursor: pointer; }

.official-section { padding: 9rem 5vw; background: var(--pool); }
.official-heading, .source-list, .review-date { max-width: 1120px; margin-left: auto; margin-right: auto; }
.official-heading { display: grid; grid-template-columns: .7fr 1.5fr; gap: 3rem; }
.official-heading h2 { margin: 0 0 4rem; }
.source-list { border-top: 2px solid var(--ink); }
.source-list a { display: grid; grid-template-columns: 4rem 1fr .6fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid rgba(23,59,54,.35); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.source-list a:hover { padding-left: 1rem; background: rgba(255,255,255,.2); }
.source-list a > span { font: 600 1.25rem var(--display); }
.source-list strong { font: 600 1.3rem var(--display); }
.source-list small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.review-date { margin-top: 1.6rem; font-size: .68rem; }

.newsletter-section {
  padding: 9rem 7vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  gap: 7rem;
  align-items: center;
  background: var(--paper);
}
.newsletter-copy { max-width: 42rem; justify-self: end; }
.newsletter-copy h2 { margin: 1rem 0 1.5rem; font: 600 clamp(3.2rem, 6vw, 6rem)/.92 var(--display); letter-spacing: -.045em; }
.newsletter-copy h2 em { color: var(--grapefruit); }
.newsletter-copy > p:last-child { max-width: 35rem; color: var(--muted); }
.newsletter-form { position: relative; max-width: 34rem; padding: 3rem; background: var(--white); box-shadow: 14px 16px 0 var(--pool-deep); transform: rotate(-1deg); }
.newsletter-form::before { content: ""; position: absolute; top: -1rem; right: 16%; width: 8rem; height: 2rem; background: rgba(242,201,76,.72); transform: rotate(4deg); }
.newsletter-form label:not(.honeypot) { display: block; margin-top: 1.2rem; }
.newsletter-form label > span { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 700; }
.newsletter-form label small { color: var(--muted); font-weight: 400; }
.newsletter-form input { width: 100%; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper-bright); }
.newsletter-form button:disabled { cursor: wait; opacity: .68; transform: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-note { margin: 1.1rem 0 0; color: var(--muted); font-size: .68rem; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; font-size: .78rem; font-weight: 700; }
.form-status.is-success { color: var(--pool-deep); }
.form-status.is-error { color: var(--grapefruit-dark); }

.closing-section { min-height: 580px; padding: 7rem 7vw; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 4rem; color: var(--paper-bright); background: var(--grapefruit); }
.closing-script { max-width: 24rem; font: 600 2.3rem/1.15 var(--display); transform: rotate(-7deg); }
.closing-section > div > p { text-transform: uppercase; letter-spacing: .15em; font-size: .65rem; font-weight: 700; }
.closing-section h2 { max-width: 46rem; margin: 1rem 0 2rem; }
.button-light { background: var(--paper-bright); color: var(--ink); box-shadow: 7px 7px 0 var(--ink); }

footer { padding: 3rem 4vw; display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; background: var(--ink-deep); color: var(--paper-bright); }
footer p, footer a { font-size: .7rem; }
footer p { color: #b8c6c3; }
.footer-links { display: flex; gap: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .compass-wrap { min-height: 500px; }
  .section-heading, .desk-intro, .official-heading { grid-template-columns: 1fr; }
  .section-heading h2, .desk-intro h2, .official-heading h2 { grid-column: 1; }
  .route-builder { grid-template-columns: 1fr; }
  .folder-stack { grid-template-columns: 1fr; max-width: 34rem; }
  .folder:nth-child(n) { margin-top: 0; transform: none; }
  .checklist-section { grid-template-columns: 1fr; gap: 3rem; }
  .newsletter-section { grid-template-columns: 1fr; gap: 4rem; }
  .newsletter-copy { justify-self: start; }
  .closing-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { padding: 1rem; }
  .header-action { font-size: 0; }
  .header-action span { font-size: 1.3rem; }
  .hero { min-height: auto; padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .compass-wrap { min-height: 410px; }
  .permit-compass { width: 360px; max-width: 96vw; }
  .compass-card { width: 67%; padding: 1.35rem; }
  .compass-card h2 { font-size: 1.3rem; }
  .compass-card p { font-size: .72rem; }
  .ticker { transform: none; }
  .route-section, .desk-section, .checklist-section, .official-section, .newsletter-section { padding: 6rem 1.25rem; }
  .section-heading { gap: 1.2rem; margin-bottom: 3rem; }
  .route-form, .route-result, .paper-checklist { padding: 1.5rem; }
  .folder { min-height: 290px; }
  .source-list a { grid-template-columns: 2.5rem 1fr auto; }
  .source-list small { display: none; }
  .closing-section { padding: 5rem 1.25rem; }
  .newsletter-form { min-width: 0; padding: 1.5rem; transform: none; }
  footer { grid-template-columns: 1fr; }
}
