/* SWFL IT Support — static site styles. Mobile first. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

:root {
  --navy: #071624;
  --navy-2: #0c2740;
  --ink: #14202e;
  --muted: #3e5163;
  --blue: #0e76bc;
  --blue-deep: #0a5c94;
  --teal: #0c645f;
  --orange: #f58432;
  --line: #d5e0ea;
  --paper: #f3f7fb;
  --white: #ffffff;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(7, 22, 36, 0.1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

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

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-deep); }
a:hover { color: var(--teal); }

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

::selection { background: var(--orange); color: var(--navy); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero .kicker,
.band .kicker { color: #9fd0c8; }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 62ch;
}

.section { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 68ch; margin-bottom: 28px; }
.section-head p { color: var(--muted); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 1.6rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose a { font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.utility {
  background: var(--navy);
  color: #d5e4f0;
  font-size: 0.875rem;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
}
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { color: var(--orange); }
.utility-links { display: flex; gap: 16px; flex-wrap: wrap; }

.bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "brand toggle cta" "nav nav nav";
  align-items: center;
  gap: 10px 12px;
  min-height: 72px;
  padding: 10px 0;
}

.brand { grid-area: brand; display: flex; align-items: center; }
.brand img { display: block; height: 48px; width: auto; }

.header-cta { grid-area: cta; }
.nav-toggle { grid-area: toggle; }

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav {
  grid-area: nav;
  display: none;
  padding: 4px 0 12px;
}
.nav-toggle-input:checked ~ .nav { display: block; }

.nav-list, .menu-panel, .footer-list, .city-list, .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list { display: grid; gap: 4px; }

.nav-list > a,
.menu > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.nav-list > a[aria-current="page"],
.menu.is-current > summary { color: var(--blue-deep); }

.menu { border-top: 1px solid var(--line); }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-right: 6px;
}
.menu[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }

.menu-panel {
  display: grid;
  gap: 2px;
  padding: 0 0 10px 8px;
}
.menu-label {
  margin: 10px 0 2px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.menu-panel a {
  display: block;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  min-height: 40px;
}
.menu-panel a:hover,
.menu-panel a:focus-visible { background: var(--paper); }
.menu-panel a[aria-current="page"] { color: var(--blue-deep); font-weight: 700; }

.short { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #ffb06a; color: var(--navy); }
.btn-orange:focus-visible { outline-color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-line {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-line:hover { background: var(--paper); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(14, 118, 188, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0a2036 100%);
  color: #fff;
  padding: 48px 0 88px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lede { color: #d5e4f0; }
.hero-note { margin-top: 16px; }
.hero-note a { color: var(--orange); font-weight: 700; }

.hero-grid { display: grid; gap: 28px; }

.desk-card {
  background: rgba(8, 28, 48, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}
.desk-card h2 { font-size: 1.25rem; }
.desk-card ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.desk-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.desk-card li span {
  font-variant-numeric: tabular-nums;
  color: var(--orange);
  font-weight: 700;
}
.desk-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d5e4f0;
  font-size: 0.92rem;
}

.facts { margin-top: -48px; position: relative; z-index: 2; }
.facts-grid {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.facts article { padding: 18px 20px; }
.facts article + article { border-top: 1px solid var(--line); }
.fact-num {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.facts p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Cards and grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }

a.card, .card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  border-top: 3px solid var(--blue);
}
a.card:nth-child(3n+2), .grid-3 > a.card:nth-child(3n+2) { border-top-color: var(--teal); }
a.card:nth-child(3n), .grid-3 > a.card:nth-child(3n) { border-top-color: var(--orange); }
a.card:hover { border-color: var(--blue-deep); }
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.more { margin-top: auto; padding-top: 10px; color: var(--blue-deep); font-weight: 700; }

.plain-card { border-top-color: var(--line); background: var(--white); }

.num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.num-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.num-list strong.step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
}

.check-list { display: grid; gap: 8px; }
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.split { display: grid; gap: 28px; }
.sidecard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  align-self: start;
}
.section-paper .sidecard { background: var(--white); }
.sidecard h2 { font-size: 1.25rem; }

.band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.band h2 { max-width: 18ch; }
.band p { color: #d5e4f0; max-width: 60ch; }
.band-inner { display: grid; gap: 18px; }

.storm {
  background: var(--paper);
  border-left: 6px solid var(--orange);
  border-radius: 0 16px 16px 0;
  padding: 8px 0 8px 8px;
}
.storm-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  padding: 22px;
}

.tech { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tech li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.tech strong { color: var(--navy); }

.stories { display: grid; gap: 16px; }
.story {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.story blockquote { margin: 0; }
.story-tag { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }

.crumbs { font-size: 0.9rem; margin-bottom: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { display: flex; gap: 6px; color: #d5e4f0; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs li + li::before { content: "/"; color: #9fb3c4; }

.page-hero {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(14, 118, 188, 0.28), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 36px 0 42px;
}
.page-hero .lede { color: #d5e4f0; }
.page-hero .kicker { color: #9fd0c8; }

.page-hero-slim { padding: 28px 0 32px; }

.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.related a:hover { border-color: var(--blue-deep); }

.city + .city { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.city h2 { scroll-margin-top: 96px; }

/* Forms */
.form {
  display: grid;
  gap: 14px;
}
.form-row { display: grid; gap: 14px; }
label { font-weight: 600; display: grid; gap: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b7c6d4;
  border-radius: 10px;
  padding: 12px 12px;
  min-height: 44px;
}
textarea { min-height: 140px; resize: vertical; }
.check { font-weight: 500; grid-template-columns: auto 1fr; align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-note { color: var(--muted); font-size: 0.92rem; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#form-status {
  background: #e7f6f2;
  border: 1px solid #0c645f;
  color: #073e3b;
  border-radius: 10px;
  padding: 12px;
}
.map-frame {
  width: 100%;
  min-height: 280px;
  height: 360px;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
}
.contact-grid { display: grid; gap: 28px; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: 10rem 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* Resources */
.article-list { display: grid; gap: 14px; }
.meta-line { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d5e4f0;
  padding: 48px 0 28px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; }
.footer-list { display: grid; gap: 6px; }
.footer-list a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-brand p { margin: 0 0 8px; }
address { font-style: normal; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
}
.social svg { width: 18px; height: 18px; display: block; }
.footer-cities { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-cities ul { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 8px 0 0; padding: 0; }
.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: #b7c6d4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}
.legal a { color: #d5e4f0; }

.mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-call a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  background: var(--orange);
}
.mobile-call a.alt { background: var(--navy); color: #fff; }

.draft-note {
  background: #fff7f0;
  border: 1px solid #e7c3a4;
  color: #5c2e0a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .utility-hours { display: none; }
}

@media (max-width: 380px) {
  .full { display: none; }
  .short { display: inline; }
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .mobile-call { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts article + article { border-top: 0; border-left: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .band-inner { grid-template-columns: 1.4fr auto; align-items: center; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 0.8fr; }
  .stories { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav cta";
    gap: 24px;
  }
  .nav { display: block; padding: 0; }
  .nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }
  .nav-list > a, .menu > summary {
    min-height: 44px;
    padding: 8px 8px;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .nav-list > a:hover, .menu > summary:hover { background: var(--paper); }
  .menu { position: relative; border-top: 0; }
  .menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: max-content;
    min-width: 260px;
    max-width: min(560px, 70vw);
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .menu.wide .menu-panel { width: min(560px, 70vw); grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .menu[open] .menu-panel { display: grid; }
  .menu.wide .menu-label { grid-column: 1 / -1; }
  .menu.wide .span-all { grid-column: 1 / -1; }
}

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

@media print {
  .site-header, .mobile-call, .actions, .site-footer, .skip { display: none !important; }
  body { padding: 0; color: #000; }
  .hero, .page-hero, .band { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
