/* Local Disaster Recovery Jobs
   One stylesheet. Mobile first. Breakpoints at 480, 768, 1200.
   No webfonts, no external requests. */

:root {
  --ink: #16191d;
  --slate: #1f3346;
  --slate-lt: #35506b;
  --amber: #b05e00;
  --amber-dk: #8a4c00;
  --sand: #f4f2ef;
  --line: #d9d5cf;
  --white: #ffffff;
  --muted: #4a5158;

  --wrap: 1180px;
  --gap: 1rem;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* ---------- reset ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

/* No scroll-behavior: smooth. The jump index on /jobs/ spans roughly 18,000px, and
   animating that turns a jump into a multi-second scroll. scroll-padding-top keeps the
   target heading clear of the sticky header. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
  margin: 0 0 0.6em;
}

h1 { font-size: 1.75rem; letter-spacing: -0.015em; }
h2 { font-size: 1.375rem; margin-top: 2.25rem; }
h3 { font-size: 1.125rem; margin-top: 1.75rem; }
h4 { font-size: 1rem; margin-top: 1.25rem; }

p, ul, ol, dl, table { margin: 0 0 1rem; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

a {
  color: var(--slate-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover, a:focus { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Amber only reaches 2.7:1 against the slate background, under the 3:1 minimum for
   a focus indicator. On the dark surfaces the ring goes white instead. */
.site-header :focus-visible,
.site-footer :focus-visible,
.banner :focus-visible {
  outline-color: var(--white);
}

strong { font-weight: 700; }

.lede { font-size: 1.0625rem; color: var(--muted); }

.muted { color: var(--muted); }

.small { font-size: 0.875rem; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 2rem 0; }
.section--tint { background: var(--sand); }

main { display: block; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--slate);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip:focus {
  left: 0;
  color: var(--white);
}

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

.site-header {
  background: var(--slate);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header a { color: var(--white); }

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.75rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: block;
  max-width: 12rem;
}
.wordmark span { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.85; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* Full width, below the wordmark row, on small screens. */
.site-nav {
  order: 3;
  flex: 0 0 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 0.6rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] { text-decoration: underline; }

/* Collapsed on small screens until toggled. With JS off the [hidden] is never
   applied, so the nav simply renders open. */
.site-nav[hidden] { display: none; }

/* Visible at every width. This audience is overwhelmingly on a phone, and the
   number is the primary conversion path. */
.header-phone {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone span {
  display: block;
  font-weight: 400;
  font-size: 0.6875rem;
  opacity: 0.85;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
}

/* Amber is reserved for Apply. Nothing else uses it. */
.btn-apply {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}
.btn-apply:hover,
.btn-apply:focus {
  background: var(--amber-dk);
  border-color: var(--amber-dk);
  color: var(--white);
}

.site-header .btn-apply { padding: 0.5rem 0.8rem; font-size: 0.875rem; }

.btn-secondary {
  background: transparent;
  border-color: var(--slate);
  color: var(--slate);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--slate);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

/* ---------- banner ---------- */

.banner {
  background: var(--slate);
  color: var(--white);
  padding: 2.25rem 0;
}
.banner h1 { color: var(--white); margin-bottom: 0.4rem; }
.banner .slogan {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: #e6ecf2;
}
.banner p { color: #dfe6ed; }
.banner a { color: var(--white); }
.banner .eyebrow {
  font-size: 0.875rem;
  color: #c3ceda;
  margin: 0 0 0.35rem;
}
.banner .btn-row { margin-top: 1.25rem; }

/* Outline button on the dark banner. */
.btn-secondary--ondark {
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary--ondark:hover,
.btn-secondary--ondark:focus {
  background: var(--white);
  color: var(--slate);
}

.page-head { padding: 1.75rem 0 0.5rem; }

/* ---------- cards and paths ---------- */

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
}
.card h2, .card h3 { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

/* ---------- hours block ---------- */

.hours {
  border-left: 4px solid var(--amber);
  background: var(--sand);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.hours :last-child { margin-bottom: 0; }
.hours .phone-lg {
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--slate);
  margin-bottom: 0.25rem;
}

/* ---------- link strips and jump index ---------- */

.linklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.linklist li { margin: 0; }

.jump {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 0 0 2rem;
}
.jump h2 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.jump h2 + p { margin-top: -0.4rem; }
.jump a[aria-current="true"] { font-weight: 700; color: var(--ink); }

/* ---------- state and role sections ---------- */

.state-section,
.role-section { padding-top: 0.5rem; }

.state-section + .state-section { border-top: 1px solid var(--line); margin-top: 2rem; }

.role-section { border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1rem; }

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.meta-list li {
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
}
.meta-list li + li { border-top: 1px solid var(--line); }
.meta-list strong { color: var(--slate); }

.backlink { font-size: 0.875rem; }

/* ---------- forms ---------- */

.form-wrap {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
}

.field { margin: 0 0 1rem; }

.field label,
fieldset legend {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.3rem;
  color: var(--slate);
}

.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #7e858d;
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
}

textarea { min-height: 7rem; resize: vertical; }

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%),
    linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

input:focus, select:focus, textarea:focus { border-color: var(--slate); }

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  min-width: 0;
}

.radio-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.radio-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  margin: 0;
}
.radio-row input { width: auto; margin: 0; }

.req { color: var(--amber-dk); font-weight: 700; }

/* Honeypot. Off-screen rather than display:none so it is not flagged, and
   removed from the tab order and the accessibility tree. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- faq ---------- */

.faq-group { margin-bottom: 1rem; }
.faq-q { scroll-margin-top: 5rem; }
.faq-q + p { margin-top: -0.2rem; }

/* Anchor targets clear the sticky header. */
[id] { scroll-margin-top: 5rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--slate);
  color: #dfe6ed;
  padding: 2rem 0 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem;
}
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }

.footer-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: #c3ceda;
}

/* ---------- breakpoints ---------- */

@media (min-width: 480px) {
  h1 { font-size: 2rem; }
  .linklist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .btn { font-size: 1rem; }
}

@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
  h1 { font-size: 2.375rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.25rem; }

  .wrap { padding: 0 1.5rem; }
  .section { padding: 2.75rem 0; }
  .banner { padding: 3.25rem 0; }

  .nav-toggle { display: none; }

  /* Nav is always visible from here up, even if JS set hidden. */
  .site-nav,
  .site-nav[hidden] { display: block; }
  .site-nav { order: 0; flex: 0 1 auto; }
  .site-nav ul { display: flex; gap: 1.25rem; padding: 0; }
  .site-nav a { padding: 0; border-bottom: 0; font-size: 0.9375rem; }

  .header-phone { text-align: right; font-size: 0.9375rem; }

  /* Room for the name and the tagline to each sit on one line. */
  .wordmark { max-width: 20rem; font-size: 1.0625rem; }
  .wordmark span { white-space: nowrap; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linklist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .banner .slogan { font-size: 1.1875rem; }
  .lede { font-size: 1.125rem; }
}

@media (min-width: 1200px) {
  .wrap { padding: 0 2rem; }
  .section { padding: 3.25rem 0; }
  .linklist { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 2fr 1fr 1fr 1.2fr; }

  /* Long-form prose stays readable on wide screens. */
  .prose { max-width: 46rem; }
}

/* ---------- print ---------- */

@media print {
  .site-header, .site-footer, .jump, .btn { display: none; }
  body { font-size: 12pt; color: #000; }
}
