/* ============================================================
   SELECT ROOFING & MASONRY — DESIGN SYSTEM
   Visual language: architectural spec-sheet / blueprint detail.
   Palette pulled from the trade's own materials — brick, copper
   patina, mortar, slate — not a generic SaaS palette.
   ============================================================ */

:root {
  /* --- color tokens --- */
  --ink: #1b1f22; /* charcoal slate, dark surfaces + text */
  --ink-soft: #262b2f;
  --brick: #8c3a28; /* primary accent — fired brick red   */
  --brick-deep: #6e2c1e;
  --brick-tint: #f1dcd3;
  --patina: #4f7567; /* secondary accent — oxidised copper */
  --patina-deep: #3c5a50;
  --patina-tint: #dce7e1;
  --mortar: #e8e0cf; /* warm structural surface            */
  --paper: #f8f4ec; /* lightest background                */
  --paper-deep: #efe8d8;
  --slate: #4a5054; /* body copy on light                 */
  --slate-soft: #767d81;
  --line: rgba(27, 31, 34, 0.16);
  --line-dark: rgba(248, 244, 236, 0.18);
  --shadow-sm: 0 6px 18px -10px rgba(27, 31, 34, 0.35);
  --shadow-md: 0 22px 48px -20px rgba(27, 31, 34, 0.4);

  --radius-sm: 3px;
  --radius-md: 6px;

  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Public Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-transform: none;
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}
svg {
  display: block;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0 32px;
  }
}

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

/* ---------- type scale ---------- */
h1,
.h1 {
  font-size: clamp(2.6rem, 6vw + 1rem, 3.5rem);
  letter-spacing: -0.01em;
}
h2,
.h2 {
  font-size: clamp(2rem, 3.4vw + 1rem, 3.4rem);
  letter-spacing: -0.005em;
}
h3,
.h3 {
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.7rem);
}
h4,
.h4 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  color: var(--slate);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brick);
  display: inline-block;
}
.section-dark .eyebrow,
.ink .eyebrow {
  color: var(--patina-tint);
}
.section-dark .eyebrow::before,
.ink .eyebrow::before {
  background: var(--patina-tint);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn-brick {
  background: var(--brick);
  color: var(--paper);
}
.btn-brick:hover {
  background: var(--brick-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.ink .btn-outline,
.section-dark .btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}
.ink .btn-outline:hover,
.section-dark .btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}
.btn-ghost {
  color: var(--brick);
  padding: 0.4em 0;
  font-weight: 700;
  gap: 0.4em;
}
.btn-ghost svg {
  transition: transform 0.25s var(--ease);
}
.btn-ghost:hover svg {
  transform: translateX(5px);
}
.btn-sm {
  padding: 0.65em 1.2em;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* ============================================================
   TOP UTILITY BAR + HEADER
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}
.topbar a {
  color: var(--paper);
}
.topbar a:hover {
  color: var(--patina-tint);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}
.topbar-left span {
  white-space: nowrap;
}
.dot {
  opacity: 0.45;
}
.topbar-right a {
  font-weight: 600;
}
@media (max-width: 680px) {
  .topbar-left span:nth-child(3) {
    display: none;
  }
}
@media (max-width: 540px) {
  .topbar {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--brick);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul > li {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--brick);
}
.nav-link.is-active {
  border-color: var(--brick);
}
.caret {
  width: 9px;
  height: 9px;
  transition: transform 0.2s var(--ease);
}
.has-mega:hover .caret,
.has-mega:focus-within .caret {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 520px;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 4px 10px 6px;
}
.mega-col a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.mega-col a:hover {
  background: var(--mortar);
  color: var(--brick);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}
.header-phone svg {
  color: var(--brick);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .main-nav,
  .header-phone {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav-close {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--line-dark);
  background: none;
  border-radius: var(--radius-sm);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav ul {
  padding: 10px 24px 30px;
}
.mobile-nav > ul > li {
  border-bottom: 1px solid var(--line-dark);
}
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.mobile-link svg {
  transition: transform 0.25s var(--ease);
}
.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.mobile-sub a {
  display: block;
  padding: 10px 4px 10px 14px;
  font-size: 0.95rem;
  color: var(--patina-tint);
  font-weight: 600;
  border-left: 2px solid var(--line-dark);
  margin-bottom: 2px;
}
.mobile-nav-item.is-open .mobile-sub {
  max-height: 600px;
}
.mobile-nav-item.is-open .mobile-link svg {
  transform: rotate(180deg);
}
.mobile-nav-foot {
  padding: 18px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-foot a.btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}

/* ============================================================
   COURSING DIVIDER — signature structural motif
   a hairline rule with brick-joint tick marks, used wherever a
   blueprint-style "dimension line" separates content.
   ============================================================ */
.coursing {
  position: relative;
  height: 1px;
  background: var(--line);
  background-image: repeating-linear-gradient(
    90deg,
    var(--slate-soft) 0 1px,
    transparent 1px 46px
  );
  margin: 0 0;
}
.coursing-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-top: 8px;
}
.section-dark .coursing,
.ink .coursing {
  background-image: repeating-linear-gradient(
    90deg,
    var(--line-dark) 0 1px,
    transparent 1px 46px
  );
}

/* pitch divider — one deliberate angled transition, used once per page max */
.pitch {
  position: relative;
  height: 64px;
  margin-top: -1px;
}
.pitch svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   LAYOUT SECTIONS
   ============================================================ */
.section {
  padding: 96px 0;
}
.section-tight {
  padding: 64px 0;
}
.section-dark,
.ink {
  background: var(--ink);
  color: var(--paper);
}
.section-mortar {
  background: var(--mortar);
}
.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.section-header > h2 {
  margin-top: 14px;
}
.section-header > .lede {
  margin-top: 16px;
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }
  .section-tight {
    padding: 48px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.03s;
}
.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.17s;
}
.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.31s;
}
.reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.38s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--paper);
  padding: 56px 0 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  margin-top: 16px;
}
.hero-copy .lede {
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-dims {
  margin-top: 20px;
  margin-bottom: 10px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--brick);
  line-height: 1;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.hero-art {
  position: relative;
}
.hero-art svg {
  width: 100%;
  height: auto;
}
.hero-bottom {
  margin-top: 56px;
}

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }
}

/* roof cutaway illustration — staggered entrance */
.cut-house {
  opacity: 0;
  transform: translateY(10px);
  animation: housein 0.7s var(--ease) forwards 0.1s;
}
.cut-callout {
  opacity: 0;
  animation: fadein 0.4s var(--ease) forwards 0.6s;
}
.cut-band {
  opacity: 0;
  transform: translateX(-10px);
  animation: bandin 0.5s var(--ease) forwards;
}
.cut-band:nth-of-type(1) {
  animation-delay: 0.75s;
}
.cut-band:nth-of-type(2) {
  animation-delay: 0.87s;
}
.cut-band:nth-of-type(3) {
  animation-delay: 0.99s;
}
.cut-band:nth-of-type(4) {
  animation-delay: 1.11s;
}
.cut-band:nth-of-type(5) {
  animation-delay: 1.23s;
}
.cut-leader {
  opacity: 0;
  animation: fadein 0.5s var(--ease) forwards 1.4s;
}
@keyframes housein {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bandin {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cut-house,
  .cut-band,
  .cut-leader,
  .cut-callout {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* badge row */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--slate);
}
.badge svg {
  color: var(--patina);
  flex: none;
}

/* alert strip */
.alert-strip {
  background: var(--brick);
  color: var(--paper);
}
.alert-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  text-align: center;
  font-size: 0.92rem;
}
.alert-strip strong {
  font-weight: 800;
}
.alert-strip a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   SERVICE CARDS — "shingle lift" interaction
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 26px 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--patina);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-md);
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--mortar);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brick);
  margin-bottom: 20px;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease);
}
.svc-card:hover .svc-icon {
  transform: translateY(-4px) rotate(-6deg);
  background: var(--brick);
  color: var(--paper);
}
.svc-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--patina);
  display: block;
  margin-bottom: 8px;
}
.svc-card h3 {
  margin-bottom: 10px;
}
.svc-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brick);
}
.svc-link svg {
  transition: transform 0.25s var(--ease);
}
.svc-card:hover .svc-link svg {
  transform: translateX(5px);
}

/* ============================================================
   ABOUT / FEATURE LIST
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.about-art {
  position: relative;
}
.about-art .frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/5;
}
.about-art .frame svg {
  width: 100%;
  height: 100%;
}
.about-tag {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-tag strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--brick);
  line-height: 1;
}
.about-tag span {
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 600;
  max-width: 11ch;
  line-height: 1.2;
}

.feature-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.feature-item:first-child {
  border-top: 1px solid var(--line);
}
.feature-num {
  font-family: var(--font-mono);
  color: var(--brick);
  font-weight: 600;
  font-size: 0.85rem;
  flex: none;
  padding-top: 3px;
}
.feature-item h4 {
  margin-bottom: 6px;
}
.feature-item p {
  color: var(--slate);
  font-size: 0.94rem;
}
.about-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
}
@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}
.tl-step {
  position: relative;
  padding: 0 22px 0 0;
}
.tl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: -22px;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line-dark) 0 1px,
    transparent 1px 10px
  );
}
@media (max-width: 900px) {
  .tl-step:not(:last-child)::after {
    display: none;
  }
}
.tl-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--patina-tint);
  letter-spacing: 0.06em;
}
.tl-step h4 {
  margin: 18px 0 10px;
  color: var(--paper);
  font-size: 1.2rem;
}
.tl-step p {
  color: rgba(248, 244, 236, 0.72);
  font-size: 0.92rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-top: 64px;
}
.stat-cell {
  padding: 30px 22px 4px;
  border-right: 1px solid var(--line-dark);
}
.stat-cell:last-child {
  border-right: none;
}
.stat-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--paper);
}
.stat-cell span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--patina-tint);
}
@media (max-width: 700px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell {
    border-bottom: 1px solid var(--line-dark);
  }
}

/* ============================================================
   GALLERY
   ============================================================ */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 0.6em 1.2em;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover {
  border-color: var(--brick);
  color: var(--brick);
}
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gal-grid {
    grid-template-columns: 1fr;
  }
}
.gal-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  /* aspect-ratio: 4/3.1; */
  border: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}
.gal-item svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}
.gal-item:hover svg {
  transform: scale(1.06);
}
.gal-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 12, 13, 0.86) 70%);
  color: var(--paper);
}
.gal-cap span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--patina-tint);
  display: block;
  margin-bottom: 4px;
}
.gal-cap strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.gal-item.is-hidden {
  display: none;
}
.gal-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.25s var(--ease);
}
.gal-item:hover .gal-zoom {
  opacity: 1;
  transform: scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 19, 0.92);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-inner {
  background: var(--paper);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.3s var(--ease);
}
.lightbox.is-open .lightbox-inner {
  transform: none;
}
.lightbox-media {
  background: var(--ink);
  aspect-ratio: 16/10;
}
.lightbox-media svg {
  width: 100%;
  height: 100%;
}
.lightbox-body {
  padding: 24px 26px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.lightbox-body p {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 8px;
  max-width: 42ch;
}
.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.testi-track {
  overflow: hidden;
}
.testi-slides {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.testi-slide {
  flex: 0 0 100%;
  padding: 6px;
}
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px clamp(20px, 5vw, 52px);
  text-align: center;
}
.stars {
  color: var(--brick);
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}
.testi-card p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 20px 0 26px;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.35;
}
.testi-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.testi-person strong {
  display: block;
  font-size: 0.92rem;
}
.testi-person span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-soft);
}
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-arrow:hover {
  border-color: var(--brick);
  color: var(--brick);
}
.testi-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testi-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
}
.testi-dots button.is-active {
  background: var(--brick);
  width: 22px;
  border-radius: 5px;
  transition: all 0.25s var(--ease);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--paper);
  max-width: 14ch;
}
.cta-band .lede {
  color: rgba(248, 244, 236, 0.74);
  margin-top: 10px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(248, 244, 236, 0.82);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-brand .brand-text strong {
  color: var(--paper);
}
.footer-brand p {
  font-size: 0.9rem;
  margin: 18px 0 22px;
  max-width: 34ch;
  color: rgba(248, 244, 236, 0.65);
}
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--patina-tint);
  margin-bottom: 18px;
}
.site-footer ul li {
  margin-bottom: 11px;
  font-size: 0.92rem;
}
.site-footer ul a:hover {
  color: var(--paper);
  text-decoration: underline;
}
.foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.foot-contact svg {
  flex: none;
  margin-top: 3px;
  color: var(--patina-tint);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(248, 244, 236, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover {
  border-color: var(--patina-tint);
  color: var(--patina-tint);
}

/* sticky mobile call bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  display: none;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.mobile-call-bar .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--paper);
}
.mobile-call-bar a:first-child {
  background: var(--brick);
}
@media (max-width: 680px) {
  .mobile-call-bar {
    display: block;
  }
  body {
    padding-bottom: 58px;
  }
}

/* ============================================================
   GENERIC PAGE / INNER-PAGE HERO (about, services, gallery, contact)
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 76px;
  position: relative;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--patina-tint);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.crumb a {
  color: var(--patina-tint);
}
.crumb a:hover {
  color: var(--paper);
  text-decoration: underline;
}
.page-hero h1 {
  color: var(--paper);
  max-width: 18ch;
}
.page-hero .lede {
  color: rgba(248, 244, 236, 0.74);
  margin-top: 16px;
  max-width: 56ch;
}

/* form */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brick);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field-hint {
  font-size: 0.74rem;
  color: var(--slate-soft);
  margin-top: 6px;
  display: block;
}
.consent {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--slate);
  align-items: flex-start;
  margin-top: 6px;
}
.consent input {
  width: auto;
  margin-top: 3px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--patina-tint);
  color: var(--patina-deep);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-success.is-visible {
  display: flex;
}
.form-success svg {
  flex: none;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.info-card:first-child {
  border-top: none;
}
.info-card .ic {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--mortar);
  color: var(--brick);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.info-card h4 {
  margin-bottom: 4px;
}
.info-card p,
.info-card a {
  color: var(--slate);
  font-size: 0.9rem;
}
.info-card a:hover {
  color: var(--brick);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  background: var(--mortar);
}
.map-frame svg {
  width: 100%;
  height: 100%;
}

/* accordion (FAQ) */
.accordion-item {
  border-top: 1px solid var(--line);
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.accordion-trigger svg {
  flex: none;
  transition: transform 0.3s var(--ease);
  color: var(--brick);
}
.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-panel-inner {
  padding: 0 4px 22px;
  color: var(--slate);
  font-size: 0.94rem;
  max-width: 64ch;
}

/* values / team grid */
.value-card {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.value-card .svc-icon {
  background: var(--patina-tint);
  color: var(--patina-deep);
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--ink);
  margin-bottom: 16px;
  overflow: hidden;
}
.team-photo svg {
  width: 100%;
  height: 100%;
}
.team-card h4 {
  margin-bottom: 2px;
}
.team-card span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--brick);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* service detail rows on services.html */
.svc-detail {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 36px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:first-of-type {
  border-top: none;
}
@media (max-width: 760px) {
  .svc-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.svc-detail-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: var(--mortar);
  color: var(--brick);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 5px;
  top: 5px;
}
.svc-detail h3 {
  margin: 18px 0 10px;
}
.svc-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.svc-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--slate);
}
.svc-list {
  list-style: none;
  margin-top: 6px;
}
.svc-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.94rem;
  color: var(--slate);
}
.svc-list svg {
  flex: none;
  color: var(--patina);
  margin-top: 3px;
}

/* utility spacing */
.mt-0 {
  margin-top: 0 !important;
}
.center-col {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
