/* ==========================================================================
   Conrad CCW — design system
   Single source of truth. Page builders: do NOT add <style> blocks beyond
   tiny page-specific tweaks (see SPEC.md).
   Fonts loaded in <head>: Chakra Petch (display) + IBM Plex Sans (body).
   Signature system: the KERF (blue cut-line dividers), cut-schedule
   eyebrows, blade-tick strips, spec-plate tables.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* color */
  --ink: #0a0a0a;          /* page surface (brand near-black) */
  --carbon: #131417;       /* raised surface / cards */
  --steel: #1b1d22;        /* hover surface */
  --seam: #2a2d33;         /* hairlines, borders */
  --bone: #ece9e4;         /* primary text (concrete-dust white) */
  --gravel: #a4a7ac;       /* secondary text */
  --arc: #1c75bb;          /* brand blue — THE accent */
  --arc-bright: #3f97dd;   /* links / hover on dark */
  --flag: #e05252;         /* form errors only */
  --ok: #3fae6a;           /* form success only */

  /* type */
  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-900: clamp(2.3rem, 5.5vw, 4rem);      /* hero h1 */
  --fs-800: clamp(1.75rem, 3.4vw, 2.6rem);   /* h2 */
  --fs-700: clamp(1.3rem, 2.2vw, 1.6rem);    /* h3 */
  --fs-600: 1.2rem;                          /* h4 / card titles */
  --fs-500: 1.125rem;                        /* lead paragraphs */
  --fs-400: 1rem;                            /* body */
  --fs-300: .875rem;                         /* small */
  --fs-200: .8125rem;                        /* eyebrows, captions, meta */

  /* space */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 6.5rem;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);

  /* misc */
  --container: 72rem;
  --radius: 2px;           /* square-ish corners everywhere */
  --header-h: 4.5rem;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img, picture, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-900); text-transform: uppercase; }
h2 { font-size: var(--fs-800); text-transform: uppercase; }
h3 { font-size: var(--fs-700); }
h4 { font-size: var(--fs-600); }

p { max-width: 65ch; }

a {
  color: var(--arc-bright);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--bone); }

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

::selection { background: var(--arc); color: #fff; }

/* ---------- 3. Utilities -------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}
.container--narrow { width: min(52rem, 100% - 2.5rem); margin-inline: auto; }

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

.lead { font-size: var(--fs-500); color: var(--gravel); }
.text-center { text-align: center; }
.muted { color: var(--gravel); }

/* Eyebrow — cut-schedule mark. Usage: <p class="eyebrow">C-02 · Core drilling</p> */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-200);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--arc-bright);
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--arc);
  flex: none;
}
.eyebrow--center { justify-content: center; }

/* ---------- 4. Signature: kerf + blade ticks ------------------------------ */
/* Kerf divider — the saw cut between sections.
   <div class="kerf" aria-hidden="true"><span class="kerf__cut"></span></div> */
.kerf {
  position: relative;
  height: 1px;
  background: var(--seam);
  overflow: visible;
}
.kerf__cut {
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: clamp(6rem, 18vw, 13rem);
  background: var(--arc);
  transform-origin: left center;
}
.kerf--right .kerf__cut { left: auto; right: 0; transform-origin: right center; }

.js .kerf__cut { transform: scaleX(0); transition: transform .9s cubic-bezier(.22, .8, .3, 1); }
.js .kerf.is-visible .kerf__cut { transform: scaleX(1); }

/* Blade ticks — segment strip echoing the diamond-blade logo edge.
   <div class="ticks" aria-hidden="true"></div> */
.ticks {
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--arc) 0 16px,
    transparent 16px 26px
  );
  opacity: .85;
}

/* ---------- 5. Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-300);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .95em 1.7em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--arc);
  color: #fff;
}
.btn--primary:hover { background: var(--arc-bright); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(236, 233, 228, .55);
}
.btn--ghost:hover { border-color: var(--bone); color: var(--bone); background: rgba(236, 233, 228, .07); }
.btn--sm { padding: .65em 1.2em; font-size: var(--fs-200); }
.btn--block { width: 100%; }

/* ---------- 6. Header / nav ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--seam);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 3rem; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.site-nav__list a {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--bone);
  padding: .4em 0;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--arc-bright); }
.site-nav__list a[aria-current="page"] {
  color: var(--arc-bright);
  border-bottom-color: var(--arc);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.phone-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-300);
  letter-spacing: .06em;
  color: var(--bone);
  white-space: nowrap;
}
.phone-link i { color: var(--arc-bright); margin-right: .35em; }
.phone-link:hover { color: var(--arc-bright); }

/* Hamburger (hidden ≥900px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: .6rem;
  background: transparent;
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--bone);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--carbon);
    border-bottom: 2px solid var(--arc);
    padding: var(--sp-4) var(--sp-4) var(--sp-5);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__list a {
    display: block;
    padding: .85em .25em;
    border-bottom: 1px solid var(--seam);
  }
  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
  }
  .site-nav__actions .btn { width: 100%; }
  .phone-link { text-align: center; padding: .5em; }
}

/* ---------- 7. Hero -------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 52rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgba(10, 10, 10, .18) 0%, rgba(10, 10, 10, .62) 55%, rgba(10, 10, 10, .9) 100%);
}
.hero__content {
  position: relative;
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  padding-block: var(--sp-6) var(--sp-7);
}

/* Title block — anchored bottom-left like a drawing sheet */
.hero__plate {
  max-width: 38rem;
  border: 1px solid rgba(236, 233, 228, .28);
  border-left: 3px solid var(--arc);
  background: rgba(10, 10, 10, .68);
  backdrop-filter: blur(4px);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.hero__plate .eyebrow { margin-bottom: var(--sp-2); }
.hero__lead {
  margin-top: var(--sp-3);
  color: var(--gravel);
  font-size: var(--fs-500);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.hero__ticks {
  position: absolute;
  left: 0; right: 0; bottom: 0;
}

/* Interior page variant — shorter, same anatomy */
.hero--interior { min-height: min(46vh, 26rem); }
.hero--interior .hero__content { padding-block: var(--sp-5) var(--sp-6); }
.hero--interior .hero__plate { max-width: 44rem; }

/* ---------- 8. Sections ---------------------------------------------------- */
.section { padding-block: var(--section-pad); }
.section--carbon { background: var(--carbon); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: var(--sp-3); color: var(--gravel); }
.section-head--center p { margin-inline: auto; }

/* Two-column prose + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--seam);
}
.split--media-right .split__media { order: 2; }
@media (max-width: 799px) {
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
}

/* ---------- 9. Service rows (cut-schedule strips) --------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.25rem);
}
.svc-row + .svc-row { border-top: 1px solid var(--seam); }
.svc-row--flip .svc-row__media { order: 2; }
.svc-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--seam);
}
.svc-row__body h3 {
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.svc-row__body p { color: var(--gravel); }
.svc-row__body .btn { margin-top: var(--sp-4); }
@media (max-width: 799px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row--flip .svc-row__media { order: 0; }
}

/* Checklist */
.checklist { margin-block: var(--sp-3); display: grid; gap: .55rem; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--gravel);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .8rem;
  height: 2px;
  background: var(--arc);
}

/* ---------- 10. Cards ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--sp-4);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--carbon);
  border: 1px solid var(--seam);
  border-top: 2px solid var(--seam);
  border-radius: var(--radius);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.card:hover {
  border-top-color: var(--arc);
  background: var(--steel);
  transform: translateY(-3px);
}
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-3);
}
.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  color: var(--arc-bright);
  font-size: 1.15rem;
}
.card__title { text-transform: uppercase; }
.card__title a { color: var(--bone); }
.card__title a:hover { color: var(--arc-bright); }
.card__body > p { color: var(--gravel); font-size: var(--fs-300); flex: 1; }
.card__more {
  font-family: var(--font-display);
  font-size: var(--fs-200);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--arc-bright);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.card__more:hover { color: var(--bone); }
.card__more i { transition: transform .15s ease; }
.card__more:hover i { transform: translateX(3px); }

/* Icon-only feature tiles (why-us rows, safety points) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--sp-4);
}
.feature {
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: var(--sp-4);
  background: var(--carbon);
}
.feature i {
  color: var(--arc-bright);
  font-size: 1.4rem;
  margin-bottom: var(--sp-3);
  display: block;
}
.feature h3, .feature h4 {
  font-size: var(--fs-600);
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.feature p { color: var(--gravel); font-size: var(--fs-300); }

/* ---------- 11. Spec plate / tables ----------------------------------------- */
.plate {
  border: 1px solid var(--seam);
  border-left: 3px solid var(--arc);
  background: var(--carbon);
  padding: var(--sp-4) var(--sp-5);
}
.plate--quote { font-style: italic; color: var(--gravel); }

.table-wrap { overflow-x: auto; border: 1px solid var(--seam); }
.spec-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-200);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--arc-bright);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--seam);
  background: var(--carbon);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: .8rem var(--sp-4);
  border-bottom: 1px solid var(--seam);
  font-size: var(--fs-300);
  white-space: nowrap;
}
.spec-table td:last-child, .spec-table th:last-child { white-space: normal; min-width: 14rem; }
.spec-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: var(--fs-200);
  color: var(--gravel);
  background: var(--carbon);
}
.spec-table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bone);
}
.spec-table tbody td { color: var(--gravel); }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* Stat strip (use only with real, non-fabricated numbers) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--sp-4);
}
.stat {
  border-left: 2px solid var(--arc);
  padding-left: var(--sp-3);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}
.stat__label {
  color: var(--gravel);
  font-size: var(--fs-300);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--font-display);
}

/* ---------- 12. FAQ accordions ----------------------------------------------- */
.faq { border: 1px solid var(--seam); border-radius: var(--radius); background: var(--carbon); }
.faq + .faq { margin-top: var(--sp-3); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-400);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--arc-bright);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}
.faq[open] summary::after { content: "\2013"; }
.faq[open] summary { border-bottom: 1px solid var(--seam); }
.faq__body { padding: var(--sp-3) var(--sp-4) var(--sp-4); color: var(--gravel); }
.faq__body p + p { margin-top: var(--sp-2); }

/* ---------- 13. CTA band ------------------------------------------------------ */
.cta-band {
  background: var(--carbon);
  border-top: 1px solid var(--seam);
  border-bottom: 1px solid var(--seam);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.cta-band h2 { max-width: 24ch; }
.cta-band__note { color: var(--gravel); margin-top: var(--sp-2); }
.cta-band__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
}

/* ---------- 14. Forms ---------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: grid; gap: .45rem; }
.form__field label {
  font-family: var(--font-display);
  font-size: var(--fs-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.form__req { color: var(--arc-bright); }
.form__field input,
.form__field textarea {
  background: var(--carbon);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: .8em 1em;
  color: var(--bone);
  width: 100%;
  transition: border-color .15s ease;
}
.form__field textarea { resize: vertical; min-height: 9rem; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(164, 167, 172, .6); }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--arc-bright);
  box-shadow: 0 0 0 1px var(--arc-bright);
}

/* validation states (JS toggles .form__field--error and fills .form__error) */
.form__error {
  color: var(--flag);
  font-size: var(--fs-300);
  min-height: 1.2em;
}
.form__field--error input,
.form__field--error textarea {
  border-color: var(--flag);
  box-shadow: 0 0 0 1px var(--flag);
}

.form__success {
  border: 1px solid var(--ok);
  border-left-width: 3px;
  background: rgba(63, 174, 106, .08);
  padding: var(--sp-4);
  color: var(--bone);
}
.form__success i { color: var(--ok); margin-right: .5em; }
.form__note { color: var(--gravel); font-size: var(--fs-300); }

/* Contact info block */
.contact-list { display: grid; gap: var(--sp-3); }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  color: var(--gravel);
}
.contact-list i {
  color: var(--arc-bright);
  width: 1.25rem;
  text-align: center;
  flex: none;
}
.contact-list a { color: var(--bone); }
.contact-list a:hover { color: var(--arc-bright); }

/* ---------- 15. Gallery + lightbox ------------------------------------------------ */
.gallery {
  columns: 3 18rem;
  column-gap: var(--sp-4);
}
.gallery__item {
  break-inside: avoid;
  margin: 0 0 var(--sp-4);
  border: 1px solid var(--seam);
  background: var(--carbon);
}
.gallery__link { display: block; position: relative; overflow: hidden; }
.gallery__link img {
  width: 100%;
  transition: transform .3s ease, opacity .3s ease;
}
.gallery__link:hover img { transform: scale(1.03); opacity: .85; }
.gallery__item figcaption {
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  font-size: var(--fs-300);
  color: var(--gravel);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  max-width: min(70rem, 92vw);
  margin: 0;
  text-align: center;
}
.lightbox__figure img {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  margin-inline: auto;
  border: 1px solid var(--seam);
}
.lightbox__caption {
  color: var(--gravel);
  font-size: var(--fs-300);
  margin-top: var(--sp-3);
}
.lightbox__btn {
  position: absolute;
  background: rgba(19, 20, 23, .85);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  color: var(--bone);
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color .15s ease, color .15s ease;
}
.lightbox__btn:hover { border-color: var(--arc-bright); color: var(--arc-bright); }
.lightbox__btn--close { top: var(--sp-4); right: var(--sp-4); }
.lightbox__btn--prev { left: var(--sp-4); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: var(--sp-4); top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) {
  .lightbox__btn--prev { left: var(--sp-2); }
  .lightbox__btn--next { right: var(--sp-2); }
}

/* ---------- 16. Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--carbon);
  border-top: 1px solid var(--seam);
  margin-top: 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--sp-5);
  padding-block: var(--sp-6);
}
.site-footer__logo { height: 4.5rem; width: auto; margin-bottom: var(--sp-3); }
.site-footer__brand p { color: var(--gravel); font-size: var(--fs-300); }
.site-footer__heading {
  font-size: var(--fs-200);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--arc-bright);
  margin-bottom: var(--sp-3);
}
.site-footer__col ul { display: grid; gap: .55rem; }
.site-footer__col a { color: var(--gravel); font-size: var(--fs-300); }
.site-footer__col a:hover { color: var(--arc-bright); }
.site-footer__col li { color: var(--gravel); font-size: var(--fs-300); }
.site-footer__col i { color: var(--arc-bright); width: 1.1rem; margin-right: .35em; }
.site-footer__cities { color: var(--gravel); font-size: var(--fs-300); }
.site-footer__bar { border-top: 1px solid var(--seam); }
.site-footer__bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
}
.site-footer__bar p { color: var(--gravel); font-size: var(--fs-200); }
@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 17. Scroll reveal + reduced motion --------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .3, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .kerf__cut { transform: scaleX(1); }
}

/* ---------- 18. Small helpers --------------------------------------------------------- */
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }

/* Accent divider image (chainsaw graphic) */
.divider-graphic {
  max-width: 22rem;
  margin: var(--sp-5) auto 0;
  opacity: .5;
}
