/* Ashcraft Appliances — site styles */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
:root {
  --navy-900: #0a1a33;
  --navy-800: #10244a;
  --navy-700: #183262;
  --blue: #004aad;
  --blue-bright: #3d7cf0;
  --red: #e3121b;
  --red-dark: #b80d14;
  --frost: #eef3fa;
  --steel: #9db0cb;
  --paper: #f4f6f9;
  --ink: #0a1a33;
  --ink-muted: #4a5a74;
  --line-dark: rgba(238, 243, 250, .14);
  --line-light: #d9e0ea;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--frost); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; margin: 0; }
h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.6rem; line-height: 1.1; }
p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em;
  text-decoration: none; padding: .7em 1.2em; border-radius: 4px; border: 2px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--line-dark); color: var(--frost); }
.btn-line:hover { border-color: var(--frost); }

/* Top bar */
.topbar { background: var(--navy-800); color: var(--steel); font-size: .95rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: var(--frost); }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topbar .area { display: none; } .topbar .wrap { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 26, 51, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 54px; }
.brand .word { width: 170px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 600 1.05rem var(--font-body); color: var(--frost); text-decoration: none; background: none; border: 0;
  padding: 10px 12px; cursor: pointer; border-radius: 4px;
}
.nav > a:hover, .nav .dd > button:hover { color: #fff; background: var(--navy-800); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.dd { position: relative; }
.dd > button svg { width: 12px; height: 12px; margin-left: 4px; vertical-align: middle; transition: transform .15s; }
.dd > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; padding: 8px;
  background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.dd-menu a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 4px; font-weight: 500; }
.dd-menu a:hover { background: var(--navy-700); }
.dd > button[aria-expanded="true"] + .dd-menu { display: block; }
.header-call { padding: .55em 1em; font-size: 1.15rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--frost); border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-call { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--navy-900); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { padding: 14px 4px; text-align: left; width: 100%; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .dd-menu { position: static; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
}
@media (max-width: 420px) { .brand .word { width: 140px; } .brand .mark { width: 44px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { color: var(--steel); font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 34em; margin-top: 24px; }
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.call-big {
  display: inline-grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px;
  text-decoration: none; background: var(--red); color: #fff; border-radius: 6px; padding: 16px 26px 16px 20px;
  transition: background-color .15s;
}
.call-big:hover { background: var(--red-dark); }
.call-big svg { width: 34px; height: 34px; grid-row: span 2; }
.call-big .small { font-size: .95rem; font-weight: 500; opacity: .9; }
.call-big .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; letter-spacing: .01em; }
.hero-actions .or { color: var(--steel); }
.hero-actions .or a { color: var(--frost); font-weight: 600; }
.hours { color: var(--steel); font-size: 1rem; margin-top: 4px; }

/* The peaks: the logo's two overlapping mountains frame the photo */
.peaks { position: relative; aspect-ratio: 1 / .92; }
.peaks .p-blue, .peaks .p-red, .peaks .photo { position: absolute; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.peaks .p-blue { inset: 0 22% 0 0; background: var(--blue); }
.peaks .p-red { inset: 8% 0 0 26%; background: var(--red); }
.peaks .photo { inset: 9% 13% 0 13%; overflow: hidden; }
.peaks .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .peaks .p-blue { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .peaks .p-red  { animation: rise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
  .peaks .photo  { animation: rise .9s .24s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { transform: translateY(14%); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .peaks { max-width: 440px; width: 100%; margin: 8px auto 0; }
}

/* Area strip */
.area-strip { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--navy-800); }
.area-strip .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-top: 18px; padding-bottom: 18px; }
.area-strip p { color: var(--steel); }
.area-strip ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }

/* Light section */
.light { background: var(--paper); color: var(--ink); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-muted); max-width: 32em; }
.dark .section-head p { color: var(--steel); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Services list */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--line-light); }
.svc-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 8px 40px; align-items: center;
  padding: 26px 4px; text-decoration: none; color: var(--ink);
}
.svc-list h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc-list p { color: var(--ink-muted); }
.svc-list .go { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-light); display: grid; place-items: center; transition: background-color .15s, border-color .15s, color .15s; }
.svc-list .go svg { width: 18px; height: 18px; }
.svc-list a:hover h3 { color: var(--blue); }
.svc-list a:hover .go { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 760px) {
  .svc-list a { grid-template-columns: 1fr auto; }
  .svc-list p { grid-column: 1; }
  .svc-list .go { grid-row: 1 / span 2; grid-column: 2; }
}

/* How we work */
.dark { background: var(--navy-900); color: var(--frost); }
.work { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.work-img { position: relative; }
.work-img img { border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.work-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--blue); border-radius: 6px; z-index: -1; }
.work-img { z-index: 0; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin-top: 40px; }
.points h3 { font-size: 1.55rem; margin-bottom: 8px; }
.points p { color: var(--steel); }
.points .icon svg { width: 100%; height: 100%; display: block; }
.points .icon { display: block; width: 40px; height: 40px; color: var(--red); margin-bottom: 14px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work-img { max-width: 420px; margin-right: 18px; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* Steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--blue);
}
.steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: -12px; height: 2px; background: var(--line-light); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } .steps li::after { display: none; } }

/* Call band */
.callband { background: var(--blue); color: #fff; }
.callband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.callband h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 16em; }
.callband .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.callband .btn-line { border-color: rgba(255,255,255,.45); }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--steel); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .logo { width: 200px; margin-bottom: 18px; }
.site-footer h2 { font-size: 1.35rem; color: var(--frost); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--frost); }
.site-footer a:hover { text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--line-dark); margin-top: 56px; padding-top: 24px; font-size: .95rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.crumbs { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--frost); text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
.page-hero .lead { color: var(--steel); font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin-top: 20px; max-width: 34em; }
.page-hero .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge-247 { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px 6px 10px; border: 1px solid var(--line-dark); border-radius: 999px; font-weight: 600; font-size: .98rem; color: var(--frost); }
.badge-247 .dot { width: 9px; height: 9px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 0 4px rgba(43,213,118,.18); }
.hero-photo { position: relative; z-index: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--blue); border-radius: 6px; z-index: -1; }
.hero-photo::after { content: ""; position: absolute; left: -14px; bottom: 28px; width: 28px; height: 28px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { margin-right: 18px; }
}

/* Prose + media split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.light .split p { color: var(--ink-muted); }
.dark .split p { color: var(--steel); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Item grid (things we fix / services) */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 2px solid currentColor; }
.items > div { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line-light); }
.dark .items > div { border-bottom-color: var(--line-dark); }
.items h3 { font-size: 1.5rem; margin-bottom: 8px; }
.light .items p { color: var(--ink-muted); }
.dark .items p { color: var(--steel); }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 32px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* Emergency strip */
.urgent { background: var(--red); color: #fff; }
.urgent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.urgent p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.urgent a { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.urgent a svg { width: 28px; height: 28px; }
.urgent a:hover { text-decoration: underline; }

/* Brands */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.brands h3 { margin-bottom: 14px; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-list li { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 4px; color: var(--frost); }
.fine { font-size: .9rem; color: var(--steel); margin-top: 28px; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } }

/* Fireplace type cards: photo + text, two up */
.types { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
.types img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.types h3 { margin-bottom: 8px; }
.light .types p { color: var(--ink-muted); }
.types ul { margin-top: 14px; }
@media (max-width: 760px) { .types { grid-template-columns: 1fr; } }

/* Services overview cards */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.svc-cards a { display: block; text-decoration: none; color: var(--ink); }
.svc-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 18px; }
.svc-cards h3 { font-size: 1.75rem; margin-bottom: 6px; }
.svc-cards p { color: var(--ink-muted); }
.svc-cards a:hover h3 { color: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 2px solid var(--frost); }
.contact-grid > div { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line-dark); }
.contact-grid h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-grid p { color: var(--steel); }
.contact-grid a { color: var(--frost); font-weight: 600; }
.contact-grid .big { font-family: var(--font-display); font-weight: 700; font-size: 2rem; text-decoration: none; }

.credit { margin-left: 16px; }
.credit a { color: var(--steel); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
