:root {
  --red: #D52B1E;
  --red-dark: #A11D13;
  --red-tint: #FDECEA;
  --char: #1A1A1A;
  --char-2: #2B2B2B;
  --text: #1F1F1F;
  --muted: #5E5E5E;
  --line: #E1E1E1;
  --paper: #F6F5F3;
  --white: #FFFFFF;
  --open: #2E7D32;
  --restricted: #E08A00;
  --prohibited: #B71C1C;

  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 14px;

  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Public Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 900; line-height: 1.05; margin: 0; color: var(--char); text-transform: uppercase; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
a { color: var(--red-dark); text-underline-offset: 3px; }
img { display: block; }
[id] { scroll-margin-top: 100px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--char); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--char); outline-offset: 3px; }

/* Alert bar */
.alert-bar { background: var(--char); color: var(--white); font-size: .95rem; }
.alert-bar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.alert-bar p { margin: 0; }
.alert-bar a { color: var(--white); font-weight: 700; }
.alert-bar a[href^="tel"] { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.2rem; text-decoration: none; background: var(--red); padding: 0 8px; border-radius: var(--r-sm); }
.season-chip { display: inline-block; text-decoration: none; padding: 1px 10px; border-radius: 999px; font-size: .88rem; background: var(--open); }
[data-season="restricted"] .season-chip { background: var(--restricted); color: var(--char); }
[data-season="prohibited"] .season-chip { background: var(--prohibited); }

/* Masthead */
.masthead { background: var(--white); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 30; }
.masthead__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--char); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.25rem; text-transform: uppercase; }
.brand__reo { font-size: .85rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--char); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: var(--r-sm); transition: color .15s var(--ease); }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"]:not(.nav__cta) { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .nav__cta { background: var(--red); color: var(--white); margin-left: 8px; transition: background-color .15s var(--ease); }
.nav .nav__cta:hover { background: var(--red-dark); color: var(--white); }
.menu-btn { display: none; font: inherit; font-weight: 700; background: var(--char); color: var(--white); border: 0; padding: 8px 14px; border-radius: var(--r-sm); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-bottom: 4px solid var(--red); }
  .nav.is-open { display: flex; }
  .nav .nav__cta { margin: 8px 0 0; text-align: center; }
  .brand__name { font-size: 1rem; }
}

/* Buttons */
.button { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: var(--r-sm); border: 0; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); justify-self: start; }
.button--red { background: var(--red); color: var(--white); }
.button--red:hover { background: var(--red-dark); }
.button--line { box-shadow: inset 0 0 0 2px var(--char); color: var(--char); }
.button--line:hover { background: var(--char); color: var(--white); }
.button--white { background: var(--white); color: var(--red-dark); }
.button--white:hover { background: var(--char); color: var(--white); }
.button:disabled { opacity: .5; cursor: default; }

/* Hero */
.hero { padding: 56px 0 64px; background: var(--paper); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.kicker { font-weight: 700; color: var(--red-dark); margin: 0 0 14px; }
.hero h1 { max-width: 14ch; }
.hero__lede { font-size: 1.2rem; color: var(--muted); max-width: 48ch; margin: 20px 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.season-card { background: var(--white); border-top: 8px solid var(--open); border-radius: var(--r-md); padding: 24px; box-shadow: 0 1px 0 var(--line); }
[data-season="restricted"] .season-card { border-top-color: var(--restricted); }
[data-season="prohibited"] .season-card { border-top-color: var(--prohibited); }
.season-card p { margin: 0; }
.season-card__label { font-weight: 600; color: var(--muted); }
.season-card__status { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1.1; margin: 6px 0 8px !important; color: var(--open); }
[data-season="restricted"] .season-card__status { color: #A86400; }
[data-season="prohibited"] .season-card__status { color: var(--prohibited); }
.season-card__link { display: inline-block; margin-top: 14px; font-weight: 700; }

/* Tasks */
.tasks { padding: 64px 0; }
.section-title { margin: 0 0 22px; }
* + .section-title { margin-top: 44px; }
.task-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 2px solid var(--char); }
.task { display: block; padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); height: 100%; }
.task__title { display: block; font-weight: 700; font-size: 1.12rem; color: var(--char); }
.task__title::after { content: " \2192"; color: var(--red); transition: margin-left .15s var(--ease); }
.task__desc { display: block; color: var(--muted); margin-top: 4px; }
.task:hover .task__title { color: var(--red-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Band */
.band { background: var(--red); color: var(--white); padding: 48px 0; }
.band__inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
.band h2 { color: var(--white); }
.band p { max-width: 60ch; margin: 10px 0 0; }

/* Inner pages */
.page-head { background: var(--paper); padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head--red { background: var(--red); border: 0; }
.page-head--red h1, .page-head--red .lede, .page-head--red .crumbs, .page-head--red .crumbs a { color: var(--white); }
.page-head--tall { padding: 100px 0 120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--char); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 16px 0 0; }
.page-body { padding: 44px 0 80px; }
.split { display: grid; gap: 36px; }
@media (min-width: 940px) { .split { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; } .split > .note { position: sticky; top: 110px; } }
.prose { max-width: 70ch; }
.prose h2 { margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.plain-list { margin: 0; padding-left: 1.2em; }
.plain-list li { margin-bottom: 6px; }

.note { background: var(--paper); border-left: 4px solid var(--char); padding: 18px 20px; }
.note--red { border-left-color: var(--red); background: var(--red-tint); }
.note p { margin: 0 0 8px; }
.note p:last-child { margin: 0; }
.note ul { margin: 0; padding-left: 1.2em; }
.note__title { font-weight: 700; }

/* Fire season page */
.season-now { border-left: 10px solid var(--open); padding: 6px 0 6px 22px; margin-bottom: 48px; }
[data-season="restricted"] .season-now { border-left-color: var(--restricted); }
[data-season="prohibited"] .season-now { border-left-color: var(--prohibited); }
.season-now p { margin: 0; }
.season-now__label { color: var(--muted); font-weight: 600; }
.season-now__status { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 4px 0 8px !important; }
.season-now__rule { font-size: 1.15rem; }
.seasons { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 820px) { .seasons { grid-template-columns: repeat(3, 1fr); } }
.seasons__item { border: 2px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; position: relative; }
.seasons__item p { margin: 0; color: var(--muted); }
.seasons__name { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.2rem; color: var(--char) !important; margin-bottom: 6px !important; display: flex; align-items: center; gap: 10px; }
.seasons__name::before { content: ""; width: 14px; height: 14px; border-radius: 50%; }
.seasons__item--open .seasons__name::before { background: var(--open); }
.seasons__item--restricted .seasons__name::before { background: var(--restricted); }
.seasons__item--prohibited .seasons__name::before { background: var(--prohibited); }
.seasons__item.is-current { border-color: var(--char); }
.seasons__item.is-current::after { content: "Now"; position: absolute; top: 14px; right: 16px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--char); color: var(--white); padding: 2px 8px; border-radius: var(--r-sm); }

/* Safety page */
.safety { display: grid; gap: 28px; }
@media (min-width: 940px) { .safety { grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; } .toc { position: sticky; top: 110px; } }
.toc { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (min-width: 940px) { .toc { flex-direction: column; border-left: 3px solid var(--red); padding-left: 16px; } }
.toc a { color: var(--char); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--red); }
.safety__body section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); max-width: 68ch; }
.safety__body section:last-child { border-bottom: 0; }
.safety__body h2 { margin-bottom: 12px; }
.safety__body ul, .safety__body ol { margin: 0; padding-left: 1.3em; }
.safety__body li { margin-bottom: 6px; }
.numbered li::marker { font-weight: 700; color: var(--red); }

/* Callouts */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font: inherit; font-size: .93rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.chip:hover { border-color: var(--char); }
.chip.is-active { background: var(--char); color: var(--white); border-color: var(--char); }
.callouts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--char); max-width: 820px; }
.callout { padding: 20px 0; border-bottom: 1px solid var(--line); }
.callout__type { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red-dark); margin-bottom: 6px; }
.callout__meta { color: var(--muted); font-size: .93rem; margin: 4px 0 6px; }
.callout p:last-child { margin: 0; }
.empty { color: var(--muted); padding: 24px 0; border-top: 2px solid var(--char); max-width: 820px; margin: 0; }
.callouts:not(:empty) + .empty { border-top: 0; }

/* Ranks */
.ranks { margin: 0; padding: 0; list-style: none; counter-reset: rank; border-top: 2px solid var(--char); }
.ranks li { counter-increment: rank; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; gap: 14px; }
.ranks li::before { content: counter(rank); color: var(--red); font-family: var(--display); font-stretch: 125%; font-weight: 900; min-width: 1.5em; }

/* Contact */
.contact-row { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-box { border: 2px solid var(--char); border-radius: var(--r-md); padding: 20px 22px; }
.contact-box p { margin: 0; }
.contact-box .contact-box__label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--muted); }
.contact-box .contact-box__big { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 3rem; line-height: 1.1; margin: 4px 0 8px; }
.contact-box__big a { color: var(--char); text-decoration: none; }
.contact-box .contact-box__big--text { font-size: 1.5rem; padding: 12px 0 6px; }
.contact-box__big--text a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.contact-box--red { border-color: var(--red); background: var(--red-tint); }
.contact-box--red .contact-box__big a { color: var(--red); }

/* Forms */
.form { display: grid; gap: 20px; max-width: 700px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; }
.form input[type=text], .form input[type=date], .form select, .form textarea { font: inherit; color: var(--text); background: var(--white); border: 2px solid #9A9A9A; border-radius: var(--r-sm); padding: 10px 12px; width: 100%; transition: border-color .15s var(--ease); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--char); }
.form textarea { resize: vertical; min-height: 100px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red) !important; }
.field.has-error label::after, .check.has-error span::after { content: " (required)"; color: var(--red); font-weight: 600; }
.form-done { background: #E8F5E9; border-left: 4px solid var(--open); padding: 14px 18px; }
.form-done p { margin: 0; }
.form-done .form-done__title { font-weight: 700; margin-bottom: 4px; }

/* Footer */
.footer { background: var(--char); color: #CFCFCF; padding: 48px 0 40px; margin-top: 0; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer__brand { grid-column: span 2; min-width: 0; }
@media (max-width: 560px) { .footer__brand { grid-column: 1 / -1; } }
.footer__brand img { width: 220px; height: auto; margin-bottom: 12px; }
.footer__brand p { font-size: .92rem; max-width: 52ch; margin: 0; }
.footer p { margin: 0 0 8px; }
.footer a { color: var(--white); }
.footer__title { font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .06em; font-size: .88rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

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