/* ==========================================================================
   North Shore Oil Tank Removal — site styles
   Steel & Amber theme. Light, fast, mobile-first. Written for this project.
   ========================================================================== */

/* Self-hosted Inter (SIL Open Font License). One variable-weight file, so there
   is no Google Fonts request and no extra DNS/TLS round trip before first paint. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:        #F4F6F7;
  --bg-alt:    #E9EEF1;
  --ink:       #0F1D26;
  --ink-soft:  #33454F;
  --muted:     #55666F;   /* AA on --bg and --bg-alt */
  --hairline:  #DEE6EA;
  --hairline-2:#CBD6DC;

  --panel:     #0E2A3B;   /* deep steel navy */
  --panel-2:   #08202E;
  --panel-ink: #EEF3F5;
  --panel-mut: #9CB0BC;

  --accent:    #B45309;   /* amber text on light (AA) */
  --amber:     #F59E1E;   /* buttons / highlights */
  --amber-2:   #FBB040;   /* hover */
  --amber-ink: #10202B;   /* text on amber */
  --amber-soft:#FCEBD3;

  --ok:        #14713C;
  --white:     #FFFFFF;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 12px;
  --radius-lg: 20px;
  --pill: 100px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 1px 2px rgba(15,29,38,.05), 0 2px 8px rgba(15,29,38,.05);
  --shadow: 0 6px 24px rgba(15,29,38,.08);
  --shadow-lg: 0 20px 48px rgba(15,29,38,.14);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
ul,ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
.h-accent { color: var(--accent); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--panel); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; line-height: 1; cursor: pointer;
  padding: 13px 22px; border-radius: var(--pill); border: 1.5px solid transparent;
  text-decoration: none; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .05s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 28px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: var(--amber-2); }
.btn--call { background: var(--amber); color: var(--amber-ink); }
.btn--call:hover { background: var(--amber-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--panel); }
.btn--light:hover { background: var(--amber); color: var(--amber-ink); }
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,246,247,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--panel); border-radius: 10px; color: var(--amber); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; color: var(--ink); }
.brand-tag { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .96rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.section--dark { background: linear-gradient(180deg, var(--panel), var(--panel-2)); color: var(--panel-ink); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--panel-ink); }
.section--dark p { color: var(--panel-mut); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.section--dark .eyebrow { color: var(--amber); }
.lede { font-size: 1.16rem; color: var(--ink-soft); }

/* ---------- Lead hero ---------- */
.lead-hero {
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(245,158,30,.16), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  color: var(--panel-ink);
  padding: clamp(2.4rem, 6vw, 4.4rem) 0;
}
.lead-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.lead-hero h1 { color: #fff; }
.lead-hero .h-accent { color: var(--amber); }
.hero-lede { font-size: 1.16rem; color: #C9D6DE; max-width: 46ch; }
.lead-hero .eyebrow { color: var(--amber); }

.trust-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; margin: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--pill); font-size: .85rem; color: #DCE6EB; }
.trust-chips svg { width: 15px; height: 15px; color: var(--amber); flex: none; }

.phone-line { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 2px; }
.phone-line-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--panel-mut); }
.phone-line a { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.phone-line a:hover { color: var(--amber); }

/* ---------- Quote form card ---------- */
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-lg); }
.quote-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .25rem; }
.quote-card .quote-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-soft); }
.field .req { color: var(--accent); }
.field input,.field textarea,.field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 13px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--hairline-2); border-radius: 10px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus,.field textarea:focus,.field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,30,.22); }
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--amber); }
.consent label { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.form-fineprint { font-size: .78rem; color: var(--muted); text-align: center; margin: 11px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 13px; padding: 11px 15px; border-radius: 10px; font-size: .92rem; }
.form-status.is-ok { background: var(--amber-soft); color: var(--accent); }
.form-status.is-error { background: #F7E1DC; color: #8C3A28; }
.form-status[hidden] { display: none; }

/* ---------- Cards (services / areas) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 24px 22px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--hairline-2); }
.card .card-ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--amber-soft); border-radius: 11px; margin-bottom: 4px; }
.card .card-ico svg { width: 24px; height: 24px; color: var(--accent); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card .arrow { margin-top: auto; color: var(--accent); font-weight: 700; font-size: .92rem; padding-top: 8px; }

/* ---------- Feature / icon grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { padding: 24px 22px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature .feature-ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--amber-soft); border-radius: 11px; margin-bottom: 13px; }
.feature .feature-ico svg { width: 23px; height: 23px; color: var(--accent); }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { position: relative; margin: 0; padding: 24px 22px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.steps li::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 12px; background: var(--panel); color: var(--amber); font-weight: 800; border-radius: 50%; }
.steps li h3 { margin-bottom: .3rem; }
.steps li p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hairline-2); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: absolute; right: 4px; top: 22px; width: 14px; height: 14px; }
.faq-icon::before,.faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-icon::after { top: 0; left: 6px; width: 2px; height: 14px; transition: transform .2s var(--ease); }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 40px 18px 0; color: var(--ink-soft); }
.faq-answer p { margin: 0 0 .7em; }
.faq-answer :last-child { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.price-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--featured { border-color: var(--amber); box-shadow: var(--shadow); }
.price-name { font-weight: 800; font-size: 1.15rem; }
.price-sub { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.price-amount { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.price-amount .cur { font-size: .95rem; font-weight: 700; color: var(--muted); vertical-align: super; }
.price-unit { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.price-features { list-style: none; padding: 0; margin: 0 0 18px; }
.price-features li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .95rem; color: var(--ink-soft); }
.price-features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; }

/* ---------- Spec table (permits) ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .97rem; }
.spec-table th,.spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.spec-table th { width: 34%; color: var(--ink-soft); font-weight: 700; }

/* ---------- Callouts ---------- */
.callout { border-left: 4px solid var(--amber); background: var(--amber-soft); padding: 15px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; font-size: .97rem; }
.callout strong { color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }
.callout--note { border-left-color: var(--muted); background: var(--bg-alt); }
.callout--note strong { color: var(--ink-soft); }

/* ---------- Prose / breadcrumb ---------- */
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb .sep { opacity: .5; margin: 0 2px; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.takeaways { background: var(--bg-alt); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 1.5rem; }
.takeaways h2 { margin-top: 0; font-size: 1.2rem; }
.takeaways p:last-child { margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--panel), var(--panel-2)); color: var(--panel-ink); padding: clamp(2rem, 5vw, 3.4rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #C9D6DE; max-width: 60ch; font-size: 1.12rem; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #9CB0BC; }
.page-hero .breadcrumb a:hover { color: var(--amber); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(180deg, var(--panel), var(--panel-2)); color: #fff; text-align: center; padding: clamp(2.6rem, 6vw, 4rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D6DE; max-width: 54ch; margin-inline: auto; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); color: var(--panel-ink); padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; }
.footer-brand p { color: var(--panel-mut); font-size: .92rem; margin-top: 10px; max-width: 34ch; }
.footer-heading { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--panel-mut); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); color: var(--panel-mut); font-size: .86rem; }
.footer-bottom a { color: var(--panel-mut); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { opacity: .5; }
.footer-disclaimer { color: #7C93A0; font-size: .78rem; margin-top: 1.4rem; }

/* ---------- Sticky mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -6px 22px rgba(15,29,38,.22); }
.callbar a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.callbar .callbar-phone { flex: 2 1 0; background: var(--amber); color: var(--amber-ink); }
.callbar .callbar-quote { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.callbar .ico { width: 19px; height: 19px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .lead-hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--hairline); padding: 12px 18px 20px;
    gap: 2px; transform: translateY(-130%); transition: transform .25s var(--ease); box-shadow: var(--shadow); max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav-toggle {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
    background: transparent; border: 1.5px solid var(--hairline-2); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .header-cta .btn--call { display: none; }   /* the sticky call bar covers this on phones */
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}
