/* ==========================================================================
   London Chimney & Fireplace Shoppe
   Design system + page styles
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Neutrals — cool/true grays, no warm cast */
  --ink:        #17191b;
  --charcoal:   #24272a;
  --slate:      #3e4247;
  --muted:      #6e7378;
  --line:       #e3e4e3;
  --mist:       #edeeec;
  --cream:      #f7f8f6;
  --white:      #ffffff;

  /* Brand red, taken from the showroom building */
  --brand:      #99302a;
  --brand-dark: #7a241f;
  --brand-lift: #b8433a;

  /* Light accent on dark panels, echoing the sign lettering */
  --on-dark:      #c9ccce;
  --on-dark-soft: #9aa0a4;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius: 3px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(23, 25, 27, .06), 0 2px 8px rgba(23, 25, 27, .04);
  --shadow-md: 0 2px 6px rgba(23, 25, 27, .07), 0 12px 32px rgba(23, 25, 27, .08);
  --shadow-lg: 0 4px 12px rgba(23, 25, 27, .09), 0 24px 60px rgba(23, 25, 27, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 76px;
  --bar-h: 40px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.005em; }

p { text-wrap: pretty; }
strong, b { font-weight: 650; color: var(--ink); }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px;
  background: var(--brand-lift); flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--on-dark); }
.eyebrow--light::before { background: var(--brand-lift); }

.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
}

/* --- Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--cream { background: var(--cream); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--line); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lede { color: var(--on-dark-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
/* 10 services land as 5 x 2 on desktop, 2 x 5 on tablet */
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .grid--5 { grid-template-columns: 1fr; } }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 650; letter-spacing: .01em;
  padding: .875rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 1.05em; height: 1.05em; }

.btn--primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--charcoal); box-shadow: var(--shadow-md); }

.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--white); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cream); box-shadow: var(--shadow-md); }

.btn--sm { padding: .625rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1.0625rem 2rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-size: .9375rem; color: var(--brand);
}
.link-arrow::after {
  content: "→"; transition: transform .2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --- Utility bar -------------------------------------------------------- */
.utility-bar {
  background: var(--ink);
  color: var(--on-dark-soft);
  font-size: .8125rem;
  line-height: var(--bar-h);
  height: var(--bar-h);
  overflow: hidden;
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.utility-bar__status { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.utility-bar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ea564; flex: none;
  box-shadow: 0 0 0 3px rgba(78, 165, 100, .2);
}
.utility-bar__dot--closed { background: var(--brand-lift); box-shadow: 0 0 0 3px rgba(168, 135, 79, .2); }
.utility-bar__links { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; }
.utility-bar a { transition: color .2s var(--ease); }
.utility-bar a:hover { color: var(--white); }
.utility-bar strong { color: var(--cream); font-weight: 600; }
.utility-bar__sep { color: #3a3e41; }
@media (max-width: 860px) {
  .utility-bar__links { display: none; }
  .utility-bar__inner { justify-content: center; }
}

/* --- Header ------------------------------------------------------------- */
.site-top {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .25s var(--ease);
}
.site-top.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(23, 25, 27, .07); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
@media (max-width: 480px) { .brand img { height: 32px; } }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem;
  font-size: .9375rem; font-weight: 550;
  color: var(--slate); border-radius: var(--radius);
  transition: color .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--brand); background: var(--cream); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__caret { width: 10px; height: 10px; transition: transform .2s var(--ease); opacity: .55; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translate(-50%, 6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__panel::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}

.nav__panel--services { width: 440px; }
.nav__panel--products { width: 660px; }

.nav__cols { display: grid; gap: 1.5rem 2rem; }
.nav__panel--services .nav__cols { grid-template-columns: 1fr 1fr; }
.nav__panel--products .nav__cols { grid-template-columns: repeat(3, 1fr); }

.nav__group-title {
  display: flex; align-items: flex-end;
  min-height: 2.9em;              /* two lines, so the rules line up across columns */
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em; line-height: 1.35;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: .5rem; margin-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.nav__sublink {
  display: block; padding: .4rem .6rem; margin-left: -.6rem;
  font-size: .9rem; color: var(--slate);
  border-radius: var(--radius);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__sublink:hover { color: var(--brand); background: var(--cream); }
.nav__all {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .6rem; padding: .4rem .6rem; margin-left: -.6rem;
  font-size: .8125rem; font-weight: 650; color: var(--brand);
}
.nav__all:hover { text-decoration: underline; text-underline-offset: 3px; }

.nav__promo {
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: center;
  gap: 1.125rem;
  margin-top: 1.5rem;
  padding: .75rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}
.nav__promo-media {
  display: block; overflow: hidden;
  border-radius: 2px;
}
.nav__promo-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s var(--ease);
}
.nav__promo:hover .nav__promo-media img { transform: scale(1.06); }
.nav__promo-body { display: block; padding-right: .5rem; }
.nav__promo-kicker {
  display: block;
  font-size: .625rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brand-lift);
}
.nav__promo-title {
  display: block;
  font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.25;
  color: var(--white); margin-top: .3rem;
}
.nav__promo-text {
  display: block;
  font-size: .8125rem; line-height: 1.5;
  color: var(--on-dark-soft); margin-top: .35rem;
}

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--cream); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1080px) {
  .nav, .header__cta .btn--outline { display: none; }
  .nav-toggle { display: inline-flex; }
}
.btn__short { display: none; }
@media (max-width: 560px) {
  .btn__long { display: none; }
  .btn__short { display: inline; }
  .header__cta .btn { padding-inline: 1rem; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--white);
  padding: calc(var(--header-h) + var(--bar-h) + 1.5rem) 0 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }

.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.0625rem 0;
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.mobile-nav__link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .5; }
.mobile-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.mobile-nav__sub > div { overflow: hidden; }
.mobile-nav__link[aria-expanded="true"] + .mobile-nav__sub { grid-template-rows: 1fr; }
.mobile-nav__sub-inner { padding: .5rem 0 1rem; }
.mobile-nav__group {
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
  margin: 1rem 0 .35rem;
}
.mobile-nav__sublink {
  display: block; padding: .5rem 0 .5rem .9rem;
  font-size: 1rem; color: var(--slate);
  border-left: 2px solid var(--line);
}
.mobile-nav__sublink:hover { color: var(--brand); border-color: var(--brand); }
.mobile-nav__footer {
  margin-top: 1.75rem;
  display: grid; gap: .75rem;
}
.mobile-nav__meta { font-size: .875rem; color: var(--muted); margin-top: .75rem; }
.mobile-nav__meta strong { display: block; color: var(--ink); }

/* --- Hero (home) -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(84vh, 780px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgba(23, 25, 27, .92) 0%, rgba(23, 25, 27, .6) 48%, rgba(23, 25, 27, .34) 100%);
}
@media (min-width: 781px) {
  .hero::after {
    background:
      linear-gradient(to top, rgba(23, 25, 27, .94) 0%, rgba(23, 25, 27, .62) 45%, rgba(23, 25, 27, .4) 100%),
      linear-gradient(100deg, rgba(23, 25, 27, .88) 0%, rgba(23, 25, 27, .6) 42%, rgba(23, 25, 27, .12) 78%);
  }
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem); width: 100%;
}
.hero__content { max-width: 46rem; color: var(--on-dark); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: inherit; }
.hero__sub {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  line-height: 1.65; margin-top: 1.25rem; max-width: 40rem;
}
.hero .btn-row { margin-top: 2rem; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__chip {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 550; color: var(--on-dark);
}
.hero__chip svg { width: 1.05rem; height: 1.05rem; color: var(--on-dark); flex: none; }

/* --- Page hero (sub-pages) ---------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(23, 25, 27, .94) 0%, rgba(23, 25, 27, .82) 45%, rgba(23, 25, 27, .5) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  max-width: 44rem;
}
.page-hero h1 { color: var(--white); }
.page-hero p { margin-top: 1.125rem; font-size: clamp(1rem, .95rem + .35vw, 1.1875rem); line-height: 1.65; }
.page-hero .btn-row { margin-top: 2rem; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .8125rem; color: var(--on-dark-soft); margin-bottom: 1.25rem;
}
.breadcrumbs a { transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs span { opacity: .5; }

/* --- Trust strip -------------------------------------------------------- */
.trust-strip {
  background: var(--charcoal);
  border-block: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.125rem;
}
.trust-strip__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: .75rem 2rem;
}
.trust-strip__item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  color: var(--on-dark);
}
.trust-strip__item svg { width: 1.15rem; height: 1.15rem; color: var(--on-dark); flex: none; }
@media (max-width: 700px) {
  .trust-strip__inner { justify-content: flex-start; }
  .trust-strip__item { flex: 1 1 calc(50% - 1rem); font-size: .8125rem; }
}

/* --- Split cards (two businesses) --------------------------------------- */
.split {
  display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.split-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 32rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.split-card__media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.split-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.split-card:hover .split-card__media img { transform: scale(1.045); }
.split-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgba(23, 25, 27, .95) 0%, rgba(23, 25, 27, .88) 38%,
    rgba(23, 25, 27, .58) 66%, rgba(23, 25, 27, .2) 100%);
}
.split-card__body {
  position: relative; z-index: 2;
  margin-top: auto; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.split-card h3 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.split-card p { margin-top: .75rem; font-size: .9375rem; line-height: 1.65; }
.split-card__list {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: 1.25rem;
}
.split-card__list li {
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .65rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--on-dark);
}
.split-card .btn { margin-top: 1.5rem; }

/* --- Cards -------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
a.card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card__media { position: relative; overflow: hidden; background: var(--line); }
.card__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s var(--ease);
}
a.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.25rem 1.375rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.1875rem; }
.card__body p {
  margin-top: .5rem; font-size: .9rem; line-height: 1.6; color: var(--muted);
  flex: 1;
}
.card__cta {
  display: block;
  margin-top: 1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand);
  line-height: 1.5;
}
.card__cta i {
  display: inline-block; font-style: normal;
  transition: transform .2s var(--ease);
}
a.card:hover .card__cta i { transform: translateX(4px); }

/* Service card: icon variant */
.svc-card { padding: 1.75rem 1.5rem; }
.svc-card__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--brand);
  margin-bottom: 1.125rem;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.svc-card__icon svg { width: 1.4rem; height: 1.4rem; }
a.svc-card:hover .svc-card__icon { background: var(--brand); color: var(--white); }
.svc-card h3 { font-size: 1.125rem; }
.svc-card p { margin-top: .45rem; font-size: .875rem; line-height: 1.6; color: var(--muted); flex: 1; }

/* --- Feature rows (product highlights) ---------------------------------- */
.feature-row {
  display: grid; align-items: center;
  gap: clamp(1.75rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.feature-row + .feature-row { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.feature-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-md);
}
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-row--flip .feature-row__media { order: 2; }
@media (max-width: 780px) { .feature-row--flip .feature-row__media { order: 0; } }
.feature-row__badge {
  display: inline-block;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  padding: .3rem .7rem;
  background: var(--cream);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.feature-row__body p { margin-top: 1rem; color: var(--muted); }

/* --- Checklist / signal lists ------------------------------------------- */
.check-list { display: grid; gap: .875rem; }
.check-list li {
  display: flex; gap: .75rem;
  font-size: .9375rem; line-height: 1.6;
}
.check-list svg {
  width: 1.125rem; height: 1.125rem; flex: none;
  margin-top: .28rem; color: var(--brand);
}
.check-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: .875rem 2rem; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.panel--cream { background: var(--cream); border-color: var(--line); }
.panel--dark { background: var(--charcoal); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.panel--dark h3 { color: var(--white); }
.panel > h3 + * { margin-top: 1rem; }
.panel__rule { width: 2.5rem; height: 2px; background: var(--brand-lift); margin-bottom: 1.25rem; }

/* --- Stats -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--white); padding: 1.75rem 1.5rem; text-align: center; }
.section--dark .stats { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }
.section--dark .stat { background: var(--ink); }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  line-height: 1; color: var(--brand);
  letter-spacing: -.02em;
}
.section--dark .stat__num { color: var(--on-dark); }
.stat__label {
  margin-top: .6rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
}
.section--dark .stat__label { color: var(--on-dark-soft); }

/* --- Testimonials ------------------------------------------------------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, .5rem + 1.5vw, 1.5rem);
}
.review {
  display: flex; flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.section--cream .review { border-color: var(--line); }
.review__stars { display: flex; gap: .15rem; color: #c8901f; margin-bottom: 1rem; }
.review__stars svg { width: 1rem; height: 1rem; }
.review blockquote {
  font-family: var(--font-display);
  font-size: 1.0625rem; line-height: 1.5; color: var(--ink);
  flex: 1;
}
.review figcaption {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem; font-weight: 600; color: var(--muted);
  letter-spacing: .02em;
}
.review figcaption span { color: var(--brand); }

/* --- Team --------------------------------------------------------------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, .5rem + 2vw, 2rem);
}
.member__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 1;
}
.member__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transition: transform .6s var(--ease);
}
.member:hover .member__media img { transform: scale(1.04); }
.member__monogram {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--charcoal), var(--ink));
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
  color: var(--on-dark);
  letter-spacing: .02em;
}
.member h3 { margin-top: 1.125rem; font-size: 1.25rem; }
.member__role {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  margin-top: .3rem;
}
.member p { margin-top: .75rem; font-size: .9rem; line-height: 1.65; color: var(--muted); }

/* --- Logo walls --------------------------------------------------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-wall__cell {
  background: var(--white);
  display: grid; place-items: center;
  padding: 1.5rem 1.25rem;
  min-height: 6.5rem;
}
.logo-wall__cell img {
  max-height: 3rem; width: auto; max-width: 100%;
  object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-wall__cell:hover img { filter: none; opacity: 1; }
/* The official Stûv SVG has no intrinsic width and is supplied in white. */
.logo-wall__cell a[href="https://stuvamerica.com/en/products/"] { width: 100%; }
.logo-wall__cell img[alt="Stûv"] { width: 100%; filter: brightness(0); }
.logo-wall__cell:hover img[alt="Stûv"] { filter: brightness(0); }

.badge-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
}
.badge-row img {
  height: clamp(3.5rem, 3rem + 2vw, 5rem);
  width: auto; object-fit: contain;
}
.badge-row--light img { filter: brightness(0) invert(1); opacity: .8; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(23, 25, 27, .96) 0%, rgba(23, 25, 27, .86) 50%, rgba(23, 25, 27, .62) 100%);
}
.cta-band__inner {
  position: relative; z-index: 2;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 1rem; }
.cta-band__aside { display: grid; gap: 1rem; }
.cta-band__info {
  display: grid; gap: .35rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
}
.cta-band__info dt {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark);
}
.cta-band__info dd { font-size: 1rem; color: var(--white); font-weight: 550; }
.cta-band__info dd + dt { margin-top: .85rem; }

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  align-items: start;
}
.route-card {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
}
.route-card__tag {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.route-card h3 { margin-top: .5rem; font-size: 1.375rem; }
.route-card p { margin-top: .6rem; font-size: .9375rem; color: var(--muted); }
.route-card dl { margin-top: 1.25rem; display: grid; gap: .5rem; font-size: .9375rem; }
.route-card dl div { display: flex; gap: .6rem; align-items: baseline; }
.route-card dt {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  min-width: 3.75rem;
}
.route-card dd a { font-weight: 600; color: var(--ink); }
.route-card dd a:hover { color: var(--brand); }
.route-card .btn { margin-top: 1.5rem; align-self: flex-start; }

.form { display: grid; gap: 1.125rem; }
.form__row { display: grid; gap: 1.125rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label {
  font-size: .8125rem; font-weight: 650; letter-spacing: .03em;
  color: var(--ink);
}
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  padding: .8rem .9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .9375rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(153, 48, 42, .12);
}
.field__hint { font-size: .75rem; color: var(--muted); }
.form__note { font-size: .8125rem; color: var(--muted); }
.form__status {
  font-size: .875rem; font-weight: 600;
  padding: .8rem 1rem; border-radius: var(--radius);
  display: none;
}
.form__status.is-ok { display: block; background: #e8f1e9; color: #205c2f; }
.form__status.is-err { display: block; background: #f8e9e8; color: var(--brand-dark); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.hours { display: grid; gap: .1rem; }
.hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.hours dt { color: var(--muted); }
.hours dd { font-weight: 600; color: var(--ink); }
.hours .is-closed dd { color: var(--muted); font-weight: 500; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  font-size: .9375rem;
  padding-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.site-footer__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__logo { height: 46px; width: auto; margin-bottom: 1.25rem; }
.site-footer p { font-size: .875rem; line-height: 1.7; max-width: 32ch; }
.footer__title {
  font-family: var(--font-body);
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-dark);
  margin-bottom: 1.125rem;
}
.footer__list { display: grid; gap: .55rem; font-size: .875rem; }
.footer__list a { transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--white); }
.footer__contact { display: grid; gap: .9rem; font-size: .875rem; }
.footer__contact div { display: grid; gap: .15rem; }
.footer__contact dt { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #767c80; }
.footer__contact dd a, .footer__contact dd { color: var(--cream); font-weight: 550; }
.footer__contact dd a:hover { color: var(--brand-lift); }

.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: var(--on-dark-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.social svg { width: 1.1rem; height: 1.1rem; }

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  font-size: .8125rem;
}
.site-footer__bar a:hover { color: var(--white); }
.site-footer__payments { height: 1.5rem; width: auto; opacity: .55; }

/* --- Sticky mobile call bar --------------------------------------------- */
.call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(23, 25, 27, .1);
  padding: .625rem var(--gutter);
  padding-bottom: max(.625rem, env(safe-area-inset-bottom));
  gap: .5rem;
}
.call-bar .btn { flex: 1; white-space: nowrap; font-size: .875rem; padding-inline: .75rem; }
@media (max-width: 700px) {
  .call-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
}

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

/* --- Prose (long copy) -------------------------------------------------- */
.prose > * + * { margin-top: 1.125rem; }
.prose h3 { margin-top: 2.25rem; }
.prose p { color: var(--muted); }
.prose ul { display: grid; gap: .6rem; }
.prose ul li { display: flex; gap: .7rem; color: var(--muted); font-size: .9375rem; }
.prose ul li::before { content: "—"; color: var(--brand-lift); flex: none; }
