/* Build: 2026-08-23-r1 */
/* Power Fuel Oil — static rebuild stylesheet */

/* ---------- Design tokens ---------- */
:root {
  --color-primary: #FFD700;      /* gold */
  --color-secondary: #B81919;    /* red */
  --color-text: #000000;         /* black */
  --color-accent: #0028FF;       /* blue — used for focus states only */
  --color-white: #FFFFFF;
  --color-light-bg: #F5F5F5;

  --font-primary: 'Roboto', Arial, Helvetica, sans-serif;

  --header-h: 96px;
  --header-h-mobile: 76px;

  --container-max: 1320px;
  --radius-pill: 50px;

  --transition: 0.2s ease;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text);
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Visible, accessible focus state everywhere (blue accent) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 46px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover,
.btn:focus-visible {
  background: #961414;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-text);
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 58px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav ul {
  display: flex;
  gap: 40px;
}
.main-nav a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 17px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-secondary);
}
.main-nav a.active {
  color: var(--color-secondary);
  border-bottom-color: var(--color-white);
}
.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 9px 34px; font-size: 14px; }
.header-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 28px;
  padding: 4px 8px;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(147deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 52%, rgba(255,215,0,0.55) 100%),
    url('../img/hero-home.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero .container { width: 100%; }
.hero-content { max-width: 620px; }
.hero-content h1 {
  color: var(--color-primary);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-content .hero-sub {
  color: var(--color-white);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 28px;
}
.hero-content .hero-sub span { display: block; }

/* ---------- Who We Are ---------- */
.who-we-are {
  background: var(--color-text);
  border-top: 1px solid var(--color-secondary);
  padding: 56px 0;
}
.who-we-are .container {
  display: flex;
  align-items: center;
  gap: 48px;
}
.who-we-are .wwa-heading {
  flex: 0 0 auto;
  min-width: 220px;
}
.who-we-are h2 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 0.5px;
  margin: 0;
}
.who-we-are .wwa-image {
  flex: 0 0 auto;
  width: 190px;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
}
.who-we-are .wwa-image img { width: 100%; height: 100%; object-fit: cover; }
.who-we-are .wwa-text {
  color: var(--color-white);
  font-size: 16px;
  max-width: 640px;
}

/* ---------- We Make It Easy ---------- */
.make-it-easy { padding: 108px 0; text-align: center; }
.make-it-easy h2 {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-size: 26px;
  margin-bottom: 56px;
}
.easy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.easy-grid h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}
.easy-grid p { color: #333; font-size: 15px; font-weight: 700; }
.easy-grid p a { color: var(--color-secondary); font-weight: 700; }
.easy-grid img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 28px auto 0;
}

/* ---------- Why Chose Us ---------- */
.why-us {
  background: var(--color-secondary);
  padding: 64px 0;
}
.why-us .container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.why-us h2 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 26px;
  flex: 0 0 auto;
  min-width: 220px;
}
.why-us .why-lists {
  display: flex;
  gap: 80px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.why-us .why-lists ul { display: flex; flex-direction: column; gap: 14px; }
.why-us .why-lists li {
  color: var(--color-white);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-us .why-lists li::before {
  content: '+';
  color: var(--color-white);
  font-weight: 700;
}
.why-us .why-lists a { color: var(--color-white); }
.why-us .why-lists a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--color-text);
  padding: 64px 0 72px;
}
.faq h2 {
  color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  font-size: 26px;
  margin-bottom: 36px;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--color-secondary);
}
.faq-item + .faq-item { border-top: 1px solid rgba(184,25,25,0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--color-white);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-weight: 700;
}
.faq-item summary .faq-icon::before { content: '+'; }
.faq-item[open] summary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.faq-item[open] summary .faq-icon::before { content: '\2212'; }
.faq-item .faq-body {
  background: var(--color-white);
  padding: 4px 22px 20px;
  color: #1a1a1a;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-text);
  border-top: 1px solid var(--color-secondary);
  padding: 56px 0 0;
}
.footer-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 100px;
  padding-bottom: 40px;
}
.footer-brand img { height: 64px; margin-bottom: 8px; }
.footer-links { text-align: center; }
.footer-links h3 {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--color-secondary);
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-cta { text-align: center; padding-bottom: 40px; }
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  font-size: 13px;
}
.footer-legal a { color: #999; }
.footer-legal a:hover { color: var(--color-primary); }
.footer-bottom {
  background: var(--color-primary);
  text-align: center;
  padding: 12px 16px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Inner page hero (About / Areas) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 620px;
  background: var(--color-text);
}
.page-hero .side-panel {
  flex: 0 0 33%;
  width: 33%;
  position: sticky;
  top: var(--header-h);
  align-self: stretch;
  background: var(--color-secondary);
  background-size: 150%;
  background-position: 62% 32%;
  overflow: hidden;
}
.page-hero .side-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184, 25, 25, 0.72);
}
.page-hero .side-panel .side-label {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  color: var(--color-white);
  font-size: 40px;
  font-weight: 700;
  z-index: 2;
}
.page-hero .main-panel {
  flex: 1 1 auto;
  background: var(--color-text);
  padding: 64px 56px;
  display: flex;
  align-items: center;
}
.page-hero .main-panel-inner { max-width: 760px; }
.page-hero h1 {
  color: var(--color-primary);
  font-size: 30px;
  margin-bottom: 18px;
}
.page-hero p, .page-hero li { color: var(--color-white); }
.page-hero h2 {
  color: var(--color-primary);
  font-size: 22px;
  margin-top: 28px;
}
.page-hero ul.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.page-hero ul.checklist li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.page-hero strong { color: var(--color-white); }
.page-hero a.inline-link { color: var(--color-secondary); font-weight: 600; }

/* Areas We Serve specific: photo hero with overlay text panel + zip grid */
.areas-hero {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.15) 100%),
    url('../img/areas-hero.webp');
  background-size: cover;
  background-position: 30% center;
  background-attachment: fixed;
  padding: 64px 0 56px;
  border-top: 3px solid var(--color-secondary);
}
.areas-hero-intro {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.areas-hero h1 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 14px;
}
.areas-hero > .container > .areas-hero-intro > p {
  color: var(--color-white);
  max-width: 760px;
  margin-bottom: 0;
}
.zip-grid {
  columns: 2;
  column-gap: 60px;
  max-width: 760px;
  margin-top: 36px;
}
.zip-grid li {
  color: var(--color-white);
  font-size: 15px;
  padding: 4px 0;
  break-inside: avoid;
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 80px; }
.legal-page h1 { color: var(--color-secondary); font-size: 32px; margin-bottom: 8px; }
.legal-page .updated { color: #666; font-size: 14px; margin-bottom: 32px; }
.legal-page h2 { color: var(--color-text); font-size: 20px; margin-top: 32px; }
.legal-page p, .legal-page li { color: #222; font-size: 15px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-page a { color: var(--color-secondary); font-weight: 600; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--color-text);
}
.error-page h1 { color: var(--color-primary); font-size: 96px; margin-bottom: 0; }
.error-page p { color: var(--color-white); font-size: 18px; margin-bottom: 28px; }

/* =====================================================================
   Accessibility Toolbar
   Brand-matched: gold-ringed red circular toggle with a flame-motif
   accessibility glyph, docked bottom-left. Real functioning CSS class
   toggles on <html>, persisted via localStorage.
   ===================================================================== */
.a11y-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-toggle svg { width: 30px; height: 30px; }

.a11y-panel {
  position: fixed;
  bottom: 90px;
  left: 24px;
  z-index: 9999;
  width: 300px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--color-white);
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 18px;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 {
  font-size: 16px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y-panel .a11y-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--color-text);
  padding: 2px 6px;
}
.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.a11y-btn {
  background: var(--color-light-bg);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.a11y-btn.active {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.a11y-btn:hover { background: #ebebeb; }
.a11y-btn.active:hover { background: #961414; }
.a11y-reset {
  grid-column: 1 / -1;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  font-weight: 700;
}

/* ---- Toggle-driven states on <html> ---- */
html.a11y-larger-text-1 { font-size: 112.5%; }
html.a11y-larger-text-2 { font-size: 125%; }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-contrast body { background: #000; }
html.a11y-contrast body :not(.a11y-panel):not(.a11y-panel *) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast img { filter: grayscale(1) contrast(1.2); }
html.a11y-invert body { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img,
html.a11y-invert video { filter: invert(1) hue-rotate(180deg); }
html.a11y-light-bg body :not(.a11y-panel):not(.a11y-panel *) {
  background-color: #fff !important;
  color: #111 !important;
}
html.a11y-underline-links a { text-decoration: underline !important; }
html.a11y-readable-font body,
html.a11y-readable-font input,
html.a11y-readable-font button {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .brand img { height: 48px; }
  .main-nav ul { gap: 26px; }
  .main-nav a { font-size: 15px; }
  .hero-content h1 { font-size: 48px; }
  .who-we-are .container { flex-wrap: wrap; }
  .easy-grid { gap: 28px; }
  .why-us .why-lists { gap: 40px; }
  .page-hero { flex-direction: column; min-height: 0; align-items: stretch; }
  .page-hero .side-panel {
    flex-basis: 220px;
    width: 100%;
    position: relative;
    top: auto;
    height: 220px;
  }
  .page-hero .main-panel { padding: 40px 28px; }
}

@media (max-width: 768px) {
  :root { --header-h-mobile: 68px; }
  .site-header { height: var(--header-h-mobile); }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h-mobile);
    left: 0;
    right: 0;
    background: var(--color-text);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 20px;
    border-bottom: 2px solid var(--color-secondary);
    transform: translateY(calc(-100% - 100vh));
    transition: transform var(--transition);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .header-cta { display: none; }
  .header-cta-mobile { display: block; margin-top: 6px; }

  .hero { min-height: 90vh; }
  .areas-hero-intro { min-height: 0; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-content .btn { display: block; margin: 0 auto; }

  .who-we-are .container { flex-direction: column; text-align: center; }
  .who-we-are .wwa-heading { min-width: 0; }

  .easy-grid { grid-template-columns: 1fr; gap: 36px; }

  .why-us .container { flex-direction: column; text-align: left; }
  .why-us h2 { text-align: center; width: 100%; }

  .footer-top { flex-direction: column; align-items: center; text-align: center; }

  .zip-grid { columns: 1; }

  .page-hero .side-panel { flex-basis: 180px; height: 180px; }
  .page-hero .side-label { font-size: 28px; left: 20px; top: 50%; transform: translateY(-50%); }

  .a11y-panel { left: 12px; bottom: 82px; width: calc(100vw - 24px); }
  .a11y-toggle { left: 12px; bottom: 12px; }
}
