/* Arctic Heating & Cooling — arcticheatandcool.com
   Editorial heritage design: arctic navy, ice, copper, warm paper.
   Libre Baskerville display + Inter body. */

:root {
  --navy: #16334d;
  --navy-2: #1d4060;
  --navy-3: #254e74;
  --navy-deep: #0c1b2a;
  --ink: #2a3138;
  --copper: #be6f3b;
  --copper-dark: #a85f2f;
  --copper-text: #9a5423;
  --ice: #e8eef4;
  --ice-2: #edf3f8;
  --paper: #fbfaf6;
  --cream: #f9f1e8;
  --gray: #6d7883;
  --hair: #d7dde2;
  --pale: #a9c6dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}

/* subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, .serif {
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 0.7rem; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }
a { color: var(--navy-3); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: 0.8rem;
}

/* ---------- header ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--pale);
  font-size: 0.84rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .lic { color: var(--pale); letter-spacing: 0.02em; }

header.site {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo img { height: 50px; width: auto; }

nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  position: relative;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--copper);
  transition: right 0.22s ease;
}
nav.main a:hover::after, nav.main a.active::after { right: 0; }
nav.main a.active { color: var(--copper-text); }

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  text-decoration: none;
}
.header-phone .num {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
}
.header-phone .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-text);
}
.header-phone:hover .num { color: var(--copper-dark); }

.btn {
  display: inline-block;
  background: var(--copper);
  color: #fff !important;
  font-weight: 700;
  font-family: "Inter", -apple-system, sans-serif;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(190, 111, 59, 0.28);
}
.btn:hover { background: var(--copper-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(190, 111, 59, 0.32); }
.btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn.navy { background: var(--navy); box-shadow: 0 2px 10px rgba(22,51,77,0.25); }
.btn.navy:hover { background: var(--navy-2); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(47, 94, 138, 0.55), rgba(22, 51, 77, 0) 65%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding: 96px 0 calc(10.5vw + 64px);
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .sub {
  color: #d9e5ef;
  font-size: 1.14rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero .kicker { color: var(--pale); }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { color: var(--pale); font-size: 0.92rem; margin-top: 1.3rem; }
.hero .ridge {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* hand-drawn copper underline for one hero word */
.uword { position: relative; white-space: nowrap; }
.uword svg {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
}
.uword svg path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.9;
}

/* review strip in hero */
.review-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.7rem;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.92rem;
  color: #d9e5ef;
  text-decoration: none;
  transition: background 0.2s;
}
.review-strip:hover { background: rgba(255,255,255,0.12); }
.review-strip .stars { color: #e9a469; letter-spacing: 2px; font-size: 1rem; margin: 0; }

.page-hero { padding: 64px 0 calc(10.5vw + 48px); }

/* ---------- trust strip ---------- */
.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 20px 0;
}
.trust .wrap {
  display: flex;
  justify-content: center;
  gap: 12px 44px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.trust span::before { content: "✓ "; color: var(--copper); font-weight: 800; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.ice { background: var(--ice); }
section.navy { background: var(--navy); color: #e8f0f7; }
section.navy h2 { color: #fff; }
section.dark {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(47, 94, 138, 0.35), rgba(12, 27, 42, 0) 70%),
    var(--navy-deep);
  color: #dbe6ef;
}
section.dark h2, section.dark h3 { color: #fff; }
section.dark .kicker { color: var(--pale); }
.center { text-align: center; }
.lede { font-size: 1.1rem; max-width: 720px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: 22px;
  margin-top: 2.4rem;
}
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(22, 51, 77, 0.1); }
.card p { font-size: 0.94rem; margin-bottom: 0; color: #4a545d; }
.card .icon { font-size: 1.9rem; margin-bottom: 10px; }

.icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-ring svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
section.dark .icon-ring { background: rgba(255,255,255,0.08); }
section.dark .icon-ring svg { stroke: var(--pale); }

/* triage cards (home) */
a.triage { text-decoration: none; display: block; }
.triage .go {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--copper-text);
  letter-spacing: 0.02em;
}
.triage .go::after { content: " →"; transition: margin-left 0.18s; }
.triage:hover .go::after { margin-left: 4px; }

/* ---------- process strip ---------- */
.process .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 2.6rem;
}
.step .n {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.95rem; color: #4a545d; margin-bottom: 0; }

/* panel — playbook style */
.panel {
  background: var(--ice);
  border-left: 3px solid var(--navy);
  padding: 24px 28px;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}
.panel.warm { background: var(--cream); border-left-color: var(--copper); }
.panel p:last-child { margin-bottom: 0; }

/* ---------- two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-top: 2rem;
}
.feature img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(22, 51, 77, 0.2);
}

/* ---------- testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(22,51,77,0.1); }
.quote-card blockquote {
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 14px;
}
.quote-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--copper-text);
  letter-spacing: 0.04em;
}
.stars { color: var(--copper); letter-spacing: 3px; margin-bottom: 12px; }

/* testimonials on dark */
section.dark .quote-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
section.dark .quote-card:hover { box-shadow: 0 16px 34px rgba(0,0,0,0.3); }
section.dark .quote-card blockquote { color: #eef4f9; }
section.dark .quote-card cite { color: #e9a469; }
section.dark .stars { color: #e9a469; }
section.dark a { color: var(--pale); }

/* ---------- story band ---------- */
.story {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.story img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(22, 51, 77, 0.2);
}
.story .sig {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  color: var(--copper-text);
  margin-top: 0.6rem;
}

/* ---------- lists ---------- */
ul.checks { list-style: none; margin: 0 0 1rem; }
ul.checks li { padding-left: 28px; position: relative; margin-bottom: 9px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--copper); font-weight: 800; }

/* ---------- FAQ ---------- */
details.faq {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: Georgia, serif;
}
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 22px 18px; color: #4a545d; }

/* ---------- gallery (bento) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 215px;
  gap: 14px;
  margin-top: 2.4rem;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid img:hover { transform: scale(1.015); box-shadow: 0 14px 30px rgba(22,51,77,0.18); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------- forms ---------- */
form.contact { display: grid; gap: 14px; margin-top: 1.2rem; }
form.contact .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form.contact input, form.contact textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
form.contact input:focus, form.contact textarea:focus {
  outline: 2px solid var(--navy-3);
  border-color: var(--navy-3);
}
form.contact .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { font-weight: 600; display: none; }
.form-msg.ok { color: #2e7d43; display: block; }
.form-msg.err { color: #b3402e; display: block; }

/* ---------- map ---------- */
.map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 30px rgba(22,51,77,0.12);
}

/* ---------- service area towns ---------- */
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
  margin-bottom: 1.4rem;
}
.towns span {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band .phone {
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin: 12px 0 4px;
  transition: color 0.2s;
}
.cta-band .phone:hover { color: #e9a469; }

/* ---------- footer ---------- */
.footer-ridge { display: block; width: 100%; height: auto; margin-bottom: -1px; background: transparent; }
footer.site {
  background: var(--navy-deep);
  color: #b9cbdb;
  padding: 54px 0 96px;
  font-size: 0.93rem;
}
footer.site .flogo { height: 42px; width: auto; margin-bottom: 16px; opacity: 0.95; }
footer.site .wrap {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr);
  gap: 44px;
}
footer.site h4 {
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
footer.site a { color: #e8f0f7; text-decoration: none; }
footer.site a:hover { color: #e9a469; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site .fine {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  color: #7f95a8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- sticky mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--copper);
  z-index: 100;
  text-align: center;
  padding: 15px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.call-bar a {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .process .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .story img { max-width: 340px; }
  footer.site .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .header-phone { display: none; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 12px 24px rgba(22,51,77,0.12);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 15px 24px; border-top: 1px solid var(--hair); width: 100%; }
  nav.main a::after { display: none; }
  .topbar .lic { display: none; }
  .topbar .wrap { justify-content: center; }
  .grid.cols-4, .grid.cols-2, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid .wide, .gallery-grid .tall { grid-column: auto; grid-row: auto; }
  .gallery-grid { grid-auto-rows: 240px; }
  form.contact .row { grid-template-columns: minmax(0, 1fr); }
  .call-bar { display: block; }
  section { padding: 54px 0; }
  .hero { padding: 64px 0 calc(10.5vw + 52px); }
  body { padding-bottom: 58px; }
}
