/* ==========================================================================
   Chicago Fireplace & Chimney Co. — chicagochimney.com
   Single stylesheet. No external fonts, no frameworks.
   ========================================================================== */

:root {
  /* REPLACEABLE IMAGES
     Swap the file in assets/ (keep the name) or change the path here.
     Every decorative background used by the CSS is declared in this block. */
  --img-hero: url("hero-chimney.jpg");
  --img-cta-band: url("band-high-lift.jpg");
  --img-logo: url("logo.jpg");
  /* END REPLACEABLE IMAGES */

  /* Ink & surface */
  --soot:        #16120f;
  --soot-2:      #241d18;
  --ink:         #2c2723;
  --ink-soft:    #5b5149;
  --ink-faint:   #8a7d71;
  --paper:       #fbf7f2;
  --paper-2:     #f3ece3;
  --line:        #e2d7c9;
  --line-strong: #cbbba6;

  /* Brand */
  --ember:       #c04a14;
  --ember-dark:  #9a380c;
  --ember-light: #e8863f;
  --brass:       #a8803c;
  --brick:       #7d3320;

  --focus:       #1b6fd6;

  /* Type */
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --step-3:  clamp(1.7rem, 1.45rem + 1.2vw, 2.45rem);
  --step-4:  clamp(2.05rem, 1.6rem + 2.1vw, 3.4rem);

  /* Space */
  --sp-1: 0.375rem;
  --sp-2: 0.75rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;

  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(22,18,15,.06), 0 8px 28px -12px rgba(22,18,15,.22);
  --shadow-lg: 0 2px 6px rgba(22,18,15,.08), 0 26px 60px -24px rgba(22,18,15,.36);
}

/* --------------------------------------------------------- reset & base */
*, *::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-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-dark); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--brick); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.14;
  color: var(--soot);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.012em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
h4 { font-size: var(--step-0); letter-spacing: 0; }
p { margin: 0 0 var(--sp-3); }
ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.25em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }
strong { color: var(--soot); }
blockquote { margin: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
@media (min-width: 40em) { .wrap, .wrap-narrow { width: min(100% - 4rem, var(--wrap)); } .wrap-narrow { max-width: var(--wrap-narrow); } }

.section { padding-block: var(--sp-6); }
.section--tight { padding-block: var(--sp-5); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--soot); color: #e8e0d6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--ember-light); }
/* cards keep their light surface inside dark sections */
.section--dark .card, .section--dark .product-card { color: var(--ink); }
.section--dark .card h3, .section--dark .product-card h3 { color: var(--soot); }
.section--dark .card p, .section--dark .product-card p { color: var(--ink-soft); }
.section--dark .card a:not(.btn) { color: var(--ember-dark); }

.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--soot); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ember-dark);
  margin: 0 0 var(--sp-2);
}
.section--dark .eyebrow { color: var(--ember-light); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.section--dark .lede { color: #d5cabd; }
.measure { max-width: 40rem; }
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: var(--step-0); font-weight: 650;
  line-height: 1.1; padding: .85em 1.5em; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ember); color: #fff; box-shadow: 0 10px 24px -12px rgba(192,74,20,.9); }
.btn--primary:hover { background: var(--ember-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--soot); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--soot); color: #fff; border-color: var(--soot); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--soot); border-color: #fff; }
.btn--sm { font-size: var(--step--1); padding: .6em 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 650; text-decoration: none; color: var(--ember-dark);
}
.arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */
.topbar {
  background: var(--soot); color: #cfc4b8; font-size: var(--step--1);
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem var(--sp-3); align-items: center; justify-content: center; padding-block: .5rem; }
@media (min-width: 50em) { .topbar__inner { justify-content: space-between; } }
.topbar a { color: #f3e9dd; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--ember-light); text-decoration: underline; }
.topbar__creds { display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; margin: 0; list-style: none; padding: 0; }
.topbar__creds li { margin: 0; display: flex; align-items: center; gap: .35em; }
.topbar__creds li::before { content: "\2713"; color: var(--ember-light); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,242,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--soot); flex: 0 1 auto; min-width: 0; }
.brand img { width: 150px; height: auto; }
@media (min-width: 30em) { .brand img { width: 186px; } }
.brand__text { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5em;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--soot);
  font: inherit; font-weight: 650; font-size: var(--step--1);
  padding: .55em .9em; border-radius: 999px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--soot); }
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -5px; } .nav-toggle__bars::after { top: 5px; }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.header-call { display: none; }
@media (min-width: 72em) {
  .header-call { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* primary nav */
.primary-nav { width: 100%; }
@media (max-width: 71.99em) {
  .primary-nav {
    display: none; width: 100%; order: 3;
    border-top: 1px solid var(--line); padding-block: var(--sp-2) var(--sp-3);
  }
  .primary-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; flex-direction: column; gap: .1rem; }
.nav-list > li > a, .nav-list > li > .subnav-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .4em; width: 100%;
  padding: .6rem .2rem; text-decoration: none; color: var(--soot); font-weight: 600;
  background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left;
}
.nav-list > li > a:hover, .nav-list > li > .subnav-toggle:hover { color: var(--ember-dark); }
.nav-list a[aria-current="page"], .subnav-toggle[data-current] { color: var(--ember-dark); }
.subnav { padding-left: .9rem !important; border-left: 2px solid var(--line); margin: 0 0 var(--sp-2) .2rem; }
.subnav a { display: block; padding: .38rem .2rem; text-decoration: none; color: var(--ink-soft); font-size: var(--step--1); }
.subnav a:hover { color: var(--ember-dark); }
.has-sub > .subnav { display: none; }
.has-sub.is-open > .subnav { display: block; }
.caret { border: solid currentColor; border-width: 0 2px 2px 0; padding: 3px; transform: rotate(45deg); translate: 0 -2px; }

@media (min-width: 72em) {
  .primary-nav { width: auto; }
  .nav-list { flex-direction: row; align-items: center; gap: .15rem; }
  .nav-list > li { position: relative; }
  .nav-list > li > a, .nav-list > li > .subnav-toggle {
    padding: .55rem .7rem; border-radius: 8px; font-size: .97rem; white-space: nowrap;
  }
  .nav-list > li > a:hover, .nav-list > li > .subnav-toggle:hover { background: var(--paper-2); }
  .subnav {
    position: absolute; top: calc(100% + 2px); left: 0; min-width: 16rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: .4rem !important; margin: 0;
  }
  .subnav a { padding: .45rem .7rem; border-radius: 6px; font-size: .92rem; }
  .subnav a:hover { background: var(--paper-2); color: var(--ember-dark); }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub.is-open > .subnav { display: block; }
}

/* --------------------------------------------------------- sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-strong);
  box-shadow: 0 -6px 24px -12px rgba(22,18,15,.5);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85rem .5rem; text-decoration: none; font-weight: 700; font-size: .95rem;
}
.callbar a:first-child { background: var(--ember); color: #fff; }
.callbar a:last-child { background: #fff; color: var(--soot); }
@media (min-width: 72em) { .callbar { display: none; } }
@media (max-width: 71.99em) { body { padding-bottom: 3.4rem; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; background: var(--soot-2); color: #f1e9e0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img-hero);
  background-size: cover; background-position: center 42%;
  opacity: .30; filter: saturate(.85);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,14,11,.94) 0%, rgba(18,14,11,.80) 48%, rgba(18,14,11,.42) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: var(--sp-6) var(--sp-6); }
@media (min-width: 60em) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-5); align-items: center; padding-block: var(--sp-7); }
}
.hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.hero h1 em { font-style: normal; color: var(--ember-light); }
.hero__lede { font-size: var(--step-1); color: #ded2c5; max-width: 34rem; }
.hero .eyebrow { color: var(--ember-light); }
.hero__cta { margin-top: var(--sp-4); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: #fff; color: var(--soot); border-color: #fff; }
.hero__note { margin-top: var(--sp-3); font-size: var(--step--1); color: #bcafa1; }
.hero__note strong { color: #fff; }

.hero__figure { margin: var(--sp-5) 0 0; }
@media (min-width: 60em) { .hero__figure { margin: 0; } }
.hero__figure img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14);
}
.hero__figure figcaption {
  margin-top: .7rem; font-size: var(--step--1); color: #bcafa1;
}

/* trust strip */
.trust {
  background: var(--soot); color: #e4d9cc; border-top: 1px solid rgba(255,255,255,.08);
}
.trust__grid {
  display: grid; gap: var(--sp-3); padding-block: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 40em) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; gap: .8rem; align-items: flex-start; }
.trust__item img { width: 46px; flex: none; }
.trust__item .badge-dot {
  flex: none; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; border-radius: 999px;
  background: rgba(232,134,63,.16); color: var(--ember-light);
  display: grid; place-items: center; font-weight: 800; font-size: .74rem; letter-spacing: .02em;
  border: 1px solid rgba(232,134,63,.4); white-space: nowrap;
}
.trust__item h3 { color: #fff; font-size: var(--step-0); margin: 0 0 .15rem; font-family: var(--sans); font-weight: 700; }
.trust__item p { margin: 0; font-size: var(--step--1); color: #b6a999; line-height: 1.5; }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 38em) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60em) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--sp-4); }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  display: flex; flex-direction: column; gap: .4rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card h3 { margin-bottom: .2rem; }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: .97rem; }
.card .arrow-link { margin-top: auto; padding-top: var(--sp-2); }
.card--link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card, a.card--link { text-decoration: none; color: var(--ink); }
a.card h3 { color: var(--soot); }
a.card:hover h3 { color: var(--ember-dark); }
a.card:hover .arrow-link { text-decoration: underline; }
.card__badge { align-self: flex-start; width: 168px; max-width: 100%; height: auto; margin-bottom: .5rem; }

.card__num {
  font-family: var(--serif); font-size: var(--step-2); color: var(--ember);
  line-height: 1; margin-bottom: .3rem;
}
.card--flat { background: transparent; border: 0; border-top: 3px solid var(--soot); border-radius: 0; padding: var(--sp-3) 0 0; }

/* service list (plain, dense) */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 36em) { .tick-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58em) { .tick-list { grid-template-columns: repeat(3, 1fr); } }
.tick-list li { display: flex; gap: .6em; align-items: flex-start; margin: 0; }
.tick-list li::before {
  content: "\2713"; color: var(--ember); font-weight: 800; flex: none; translate: 0 1px;
}

/* brand chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .35rem .85rem; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft);
  background: #fff;
}
.section--dark .chips li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); color: #d7ccbf; }

/* split feature */
.split { display: grid; gap: var(--sp-4); align-items: start; }
@media (min-width: 58em) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .split--reverse > :first-child { order: 2; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }

/* ------------------------------------------------------------- galleries */
.gallery { display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 46em) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); } }
@media (min-width: 70em) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.gallery img { width: 100%; height: auto; background: var(--paper-2); }
.gallery figcaption {
  padding: .7rem .8rem .85rem; font-size: var(--step--1); line-height: 1.45; color: var(--ink-soft);
}
.gallery figcaption b { display: block; color: var(--soot); font-size: .95rem; margin-bottom: .15rem; }
.gallery a { display: block; text-decoration: none; }
.gallery a:hover img { opacity: .9; }

/* product grids keep full product visible */
.product-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 46em) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 66em) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-grid figure, .product-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem; text-align: center; display: flex; flex-direction: column; gap: .5rem;
}
a.product-card { text-decoration: none; color: inherit; }
a.product-card .arrow-link { margin-top: auto; justify-content: center; }
.product-card img, .product-grid img {
  width: 100%; height: 150px; object-fit: contain; background: var(--paper-2); border-radius: 6px;
}
.product-card p, .product-grid figcaption {
  margin: 0; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4;
}
.product-card h3 { font-family: var(--sans); font-size: .95rem; margin: 0; color: var(--soot); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,9,7,.93);
  display: none; align-items: center; justify-content: center; padding: 1.2rem;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { color: #e3d8ca; font-size: var(--step--1); margin-top: .8rem; text-align: center; max-width: 46rem; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__close {
  position: absolute; top: .8rem; right: .8rem; background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; width: 2.6rem; height: 2.6rem;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }

/* ------------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: var(--sp-2); }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq-item > summary {
  cursor: pointer; list-style: none; padding: var(--sp-3);
  font-family: var(--serif); font-size: var(--step-1); font-weight: 700; color: var(--soot);
  display: flex; gap: var(--sp-2); align-items: flex-start; justify-content: space-between;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.6rem; line-height: 1;
  color: var(--ember); flex: none; translate: 0 2px;
}
.faq-item[open] > summary::after { content: "\2013"; }
.faq-item > summary:hover { color: var(--ember-dark); }
.faq-answer { padding: 0 var(--sp-3) var(--sp-3); border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.faq-answer > :last-child { margin-bottom: 0; }

/* article / prose */
.prose { max-width: 42rem; }
.prose h2 { margin-top: var(--sp-5); }
.prose h3 { margin-top: var(--sp-4); }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--ember); }
.callout {
  border-left: 4px solid var(--ember); background: var(--paper-2);
  padding: var(--sp-3); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: var(--sp-4);
}
.callout > :last-child { margin-bottom: 0; }

/* page header */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: var(--sp-5); }
.page-head h1 { margin-bottom: var(--sp-2); }
.page-head .lede { max-width: 44rem; margin-bottom: 0; }
.breadcrumb { font-size: var(--step--1); color: var(--ink-faint); margin-bottom: var(--sp-2); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ember-dark); text-decoration: underline; }

/* CTA band */
.cta-band { position: relative; background: var(--brick); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; background-image: var(--img-cta-band);
  background-size: cover; background-position: center; opacity: .22;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,20,10,.92), rgba(60,20,10,.62)); }
.cta-band__inner { position: relative; z-index: 1; padding-block: var(--sp-5); display: grid; gap: var(--sp-3); align-items: center; }
@media (min-width: 56em) { .cta-band__inner { grid-template-columns: minmax(0,1fr) auto; gap: var(--sp-5); } }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #f0ded4; margin-bottom: 0; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brick); }
.cta-band .btn--primary { background: #fff; color: var(--brick); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--paper-2); color: var(--brick); }

/* ------------------------------------------------------------------ form */
.form-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 40em) { .form-grid .field--half { grid-column: span 1; } .form-grid { grid-template-columns: repeat(2, 1fr); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 650; font-size: var(--step--1); margin-bottom: .35rem; color: var(--soot); }
.field .req { color: var(--ember-dark); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ember); outline: 3px solid rgba(192,74,20,.18); outline-offset: 0; }
.field textarea { min-height: 9rem; resize: vertical; }
.field .hint { font-size: var(--step--1); color: var(--ink-faint); margin: .3rem 0 0; }
.hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.form-status { margin-top: var(--sp-3); padding: var(--sp-3); border-radius: var(--radius); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e7f3e9; border: 1px solid #b6d9bd; color: #1d5c2c; }
.form-status--err { background: #fbeae6; border: 1px solid #edbfb2; color: #8c2d10; }
.cf-turnstile { margin-block: var(--sp-2); }

/* contact detail block */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.contact-list li { margin: 0; display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .ico {
  flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--paper-2);
  display: grid; place-items: center; color: var(--ember-dark); font-size: 1rem;
}
.contact-list b { display: block; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.contact-list a { font-weight: 650; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* areas */
.area-columns { columns: 1; column-gap: var(--sp-4); }
@media (min-width: 34em) { .area-columns { columns: 2; } }
@media (min-width: 52em) { .area-columns { columns: 3; } }
@media (min-width: 72em) { .area-columns { columns: 4; } }
.area-columns ul { list-style: none; padding: 0; margin: 0; }
.area-columns li { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .3rem; break-inside: avoid; }

/* news / blog list */
.post-list { display: grid; gap: var(--sp-3); }
@media (min-width: 46em) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); display: flex; flex-direction: column; gap: .4rem; }
.post-card time, .post-meta { font-size: var(--step--1); color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; font-weight: 650; }
.post-card h3 { font-size: var(--step-1); margin: 0; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.post-card .arrow-link { margin-top: auto; padding-top: .6rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--soot); color: #b7aa9b; padding-block: var(--sp-5) var(--sp-4); margin-top: 0; }
.site-footer h2, .site-footer h3 { color: #fff; font-family: var(--sans); font-size: var(--step-0); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.footer-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 44em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 66em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer a { color: #e6dbcd; text-decoration: none; }
.site-footer a:hover { color: var(--ember-light); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; font-size: .95rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-logo { width: 190px; margin-bottom: var(--sp-3); background: #fff; padding: .5rem .7rem; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--sp-4); padding-top: var(--sp-3);
  display: flex; flex-wrap: wrap; gap: .4rem var(--sp-3); justify-content: space-between;
  font-size: var(--step--1); color: #8d8175;
}
.footer-bottom p { margin: 0; }
[data-ss-credit] { color: #8d8175; }
[data-ss-credit] a { color: #a1958a; text-decoration: underline; font-weight: 400; }
[data-ss-credit] a:hover { color: var(--ember-light); }

/* misc */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
[data-ss-empty] { color: var(--ink-faint); font-style: italic; }
.note { font-size: var(--step--1); color: var(--ink-faint); }
.table-wrap { overflow-x: auto; margin-bottom: var(--sp-4); -webkit-overflow-scrolling: touch; }
table.spec { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-3); font-size: .95rem; min-width: 30rem; }
table.spec caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: var(--step-1);
  color: var(--soot); padding-bottom: .5rem; }
table.spec tbody th { background: transparent; font-weight: 650; }
table.spec th, table.spec td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--paper-2); font-weight: 700; color: var(--soot); }
