/* ==========================================================================
   C&M Innovations — site styles
   Palette: white header (matches the logo), charcoal + cream + rust body.
   Type (matched to Nebo Earth Works, per the client): Antonio 600 for headlines (Anton's multi-weight sibling, one step lighter)
   (uppercase, tight), Barlow Condensed for labels/nav/buttons, Barlow for body.
   Signature motif: the slash from the monogram — eyebrow labels, dividers,
   and diagonal section edges.
   ========================================================================== */

:root {
  --white: #fefefe;
  --paper: #f3efe8;
  --paper-2: #e9e3d8;
  --ink: #16181a;
  --steel: #24272b;
  --steel-2: #2f3338;
  --stone: #8b8780;
  --stone-light: #b7b2aa;
  --rust: #b9562e;
  --rust-bright: #d6673a;
  --rust-deep: #8f3f1f;
  --line: rgba(22, 24, 26, 0.12);
  --line-dark: rgba(243, 239, 232, 0.14);

  --font-display: "Antonio", "Anton", "Impact", "Arial Narrow", sans-serif;
  --display-weight: 700;
  --display-stroke: 0.02em;  /* hairline outline that fattens the display font past Antonio's max weight (700). In em so it scales with text size: = 1.3px on the 64px desktop hero title (Kennedy's pick), thinner on small text */
  --hero-scale: 1.12;       /* hero title size multiplier (Kennedy picked 112% on the tuner) */
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h1 em, h2 em, h3 em, .statement em { font-style: normal; font-family: inherit; color: var(--rust-bright); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }

/* ---------- eyebrow label with the slash motif ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-cond);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: currentColor;
  transform: rotate(-60deg);
  transform-origin: center;
}
.eyebrow--light { color: var(--paper); opacity: 0.85; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.85em 1.6em;
  font-family: var(--font-cond);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
/* Solid buttons (Nebo-style): notched bottom-left corner + arrow */
.btn--rust, .btn--ink { clip-path: polygon(0 0, 100% 0, 100% 100%, 0.9em 100%, 0 calc(100% - 0.9em)); }
.btn--rust::after, .btn--ink::after {
  content: ""; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.btn--rust:hover::after, .btn--ink:hover::after { transform: translateX(4px); }
.btn--rust { background: var(--rust); color: var(--paper); }
.btn--rust:hover { background: var(--rust-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--steel-2); }
/* Outline buttons: same notched silhouette, drawn as a frame — the cut corner is left open so the lines just stop (Nebo) */
.btn--ghost, .btn--ghost-light { background: transparent; clip-path: polygon(0 0, 100% 0, 100% 100%, 0.9em 100%, 0 calc(100% - 0.9em)); }
.btn--ghost { color: var(--ink); border-color: var(--ink); }
.btn--ghost-light { color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }
/* the slanted accent stripe (same as the orange CTA band) inside every outline button */
.btn--ghost::before, .btn--ghost-light::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; right: 14%; width: 16%;
  transform: skewX(-14deg); background: currentColor; opacity: 0.08; z-index: -1; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.btn--ghost:hover::before, .btn--ghost-light:hover::before { opacity: 0.14; }
/* phone icon on call buttons */
.btn[href^="tel:"]::after {
  content: ""; order: -1; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6.2 6.2l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6.2 6.2l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1em; height: 1em; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--stone-light);
  font-family: var(--font-cond);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 36px;
}
.topbar a { color: var(--paper); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--rust-bright); }
.topbar__left { display: flex; gap: 1.5rem; }
.topbar__left span + span::before { content: "/"; margin-right: 1.5rem; color: var(--rust); }
@media (max-width: 720px) { .topbar__left { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- header (white — matches the logo background) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--ink); }
.brand__logo { width: 64px; height: 64px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
/* wordmark mirrors the logo: Didone serif "C&M" (like the monogram) + light spaced geometric "INNOVATIONS" (like the ring text) */
.brand__name { display: flex; align-items: baseline; gap: 0.45em; line-height: 1; text-transform: uppercase; -webkit-text-stroke: 0; }
.brand__mark, .brand__word { font-family: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.14em; }
.brand__tag { font-family: var(--font-cond); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rust); margin-top: 0.4rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a {
  text-decoration: none;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4em 0;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 0.5rem; padding: 0.7em 1.2em; font-size: 0.92rem; letter-spacing: 0.08em; color: var(--paper); }

/* Services dropdown */
.has-sub { position: relative; }
.has-sub > a { padding-right: 1.1em; }
.has-sub > a::before {
  content: ""; position: absolute; right: 0.1em; top: 50%;
  width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease);
}
.has-sub:hover > a::before, .has-sub:focus-within > a::before { transform: translateY(-30%) rotate(225deg); }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1rem; } /* hover bridge */
.sub {
  position: absolute; top: calc(100% + 0.9rem); left: -1.1rem; min-width: 240px; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--rust);
  padding: 0.5rem 0; box-shadow: 0 30px 50px -20px rgba(22, 24, 26, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .sub a { display: block; padding: 0.6em 1.1rem; font-size: 0.9rem; letter-spacing: 0.08em; }
.nav .sub a::after { display: none; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--paper); color: var(--rust); }
.nav .sub a[aria-current="page"] { font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* phone/tablet: the call button lives in the header (the dark top strip is hidden there) */
.header__call { display: none; }
@media (max-width: 980px) {
  .topbar { display: none; }
  .header .wrap { gap: 0.75rem; }
  .header__call { display: inline-flex; align-items: center; gap: 0.45em; margin: 0 auto; text-decoration: none; color: var(--ink); font-family: var(--font-cond); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; white-space: nowrap; }
  .header__call::before { content: ""; width: 1.05em; height: 1.05em; flex: none; background: var(--rust);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6.2 6.2l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6.2 6.2l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .brand__text { display: none; }
  .header .wrap { height: 72px; }
  .brand__logo { width: 54px; height: 54px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; /* header is sticky, so a tall menu must scroll inside itself */
  }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 0.65em 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 1rem 0 0; padding: 0.9em 1.2em; font-size: 1.05rem; justify-content: center; border-bottom: 0; }
  .has-sub { display: block; }
  .has-sub::after { display: none; }
  /* phones: Services is a tap-to-open dropdown (see site.js) */
  .has-sub > a { display: block; padding-right: 2rem; }
  .has-sub > a::before { display: block; right: 0.4rem; width: 9px; height: 9px; transform: translateY(-70%) rotate(45deg); }
  .has-sub.is-open > a::before { transform: translateY(-30%) rotate(225deg); }
  .has-sub:hover > a::before, .has-sub:focus-within > a::before { transform: translateY(-70%) rotate(45deg); }
  .has-sub.is-open:hover > a::before, .has-sub.is-open:focus-within > a::before { transform: translateY(-30%) rotate(225deg); }
  .sub { display: none; position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; padding: 0 0 0.5rem 1rem; }
  .has-sub.is-open .sub { display: block; }
  .nav .sub a { font-size: 1rem; padding: 0.4em 0; border-bottom: 0; color: var(--steel); }
  .nav .sub a::before { content: "/ "; color: var(--rust); }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: none; }
  .nav .sub .sub__all { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (min-width: 701px) { .hero__media img { object-position: center 74%; } } /* desktop: sit lower in the photo, less sky */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 24, 26, 0.76) 0%, rgba(22, 24, 26, 0.52) 45%, rgba(22, 24, 26, 0.14) 100%),
    linear-gradient(0deg, rgba(22, 24, 26, 0.7) 0%, rgba(22, 24, 26, 0) 40%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  /* fill the screen below the sticky header (≈121px) and leave room for the trust bar (≈59px) so both fit above the fold */
  min-height: min(calc(100vh - 184px), 760px);
  min-height: min(calc(100svh - 184px), 760px);
}
.hero__copy { container-type: inline-size; min-width: 0; }
/* home hero eyebrow: no slash, small enough that it's shorter than the company-name line below it */
.hero .eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; margin-bottom: 0.7rem; }
.hero .eyebrow::before { display: none; }
/* company name above the H1 (client request, 2026-09-30) — sized between the eyebrow and the title; the H1 stays the SEO title */
.hero__brand { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1; color: var(--paper); font-size: clamp(1.1rem, 3.1cqw, 1.75rem); margin-bottom: 0.55rem; }
.hero__brand::after { content: " /"; color: var(--rust-bright); }
.hero h1 { color: var(--white); max-width: none; font-size: calc(clamp(1.2rem, 8cqw, 4.2rem) * var(--hero-scale)); }
.hero h1 span { display: block; white-space: nowrap; }
.hero__lede { font-size: 1.1rem; max-width: 46ch; color: rgba(243, 239, 232, 0.86); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; }
.hero__phone { font-family: var(--font-cond); font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; opacity: 0.9; }
.hero__phone strong { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.06em; margin-left: 0.4em; text-decoration: underline; text-decoration-color: var(--rust-bright); text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.hero__phone:hover { color: var(--rust-bright); }


@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; align-items: center; min-height: 0; padding-top: 4.5rem; padding-bottom: 4.5rem; min-height: 78vh; min-height: 78svh; }
  /* phones: a touch darker over the photo, bigger title on three lines, no eyebrow (the trust bar below covers it) */
  .hero::before {
    background:
      linear-gradient(0deg, rgba(22, 24, 26, 0.1), rgba(22, 24, 26, 0.1)),
      linear-gradient(90deg, rgba(22, 24, 26, 0.76) 0%, rgba(22, 24, 26, 0.56) 45%, rgba(22, 24, 26, 0.2) 100%),
      linear-gradient(0deg, rgba(22, 24, 26, 0.7) 0%, rgba(22, 24, 26, 0) 40%);
  }
  .hero .eyebrow { margin-bottom: 0.5rem; } /* license number — shown on phones too */
  .hero__brand { font-size: clamp(1rem, 4.6cqw, 1.5rem); }
  .hero h1 { font-size: clamp(1.5rem, 10.5cqw, 3.2rem); }
  .hero h1 em { display: block; }
}

/* form card (contact page) */
.form-card {
  background: var(--white);
  color: var(--ink);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rust);
}
.form-card h2, .form-card h3 { font-size: 1.9rem; margin-bottom: 0.2rem; }
.form-card__sub { font-size: 0.86rem; color: var(--stone); margin-bottom: 1.2rem; }

.form { display: grid; gap: 0.8rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.3rem; }
.field label { font-family: var(--font-cond); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #54565b; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust); background: var(--white); }
.field textarea { min-height: 96px; resize: vertical; }
/* phone field with a fixed +1 country prefix (US numbers only) */
.phone-wrap { display: flex; align-items: stretch; }
.phone-prefix { display: flex; align-items: center; padding: 0 0.8em; border: 1px solid var(--line); border-right: 0; border-radius: 2px 0 0 2px; background: var(--paper-2); color: #54565b; font-family: var(--font-cond); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.04em; }
.phone-wrap input { flex: 1; min-width: 0; border-radius: 0 2px 2px 0; }
.phone-wrap:focus-within .phone-prefix { border-color: var(--rust); }
.form__note { font-size: 0.78rem; color: var(--stone); text-align: center; margin-top: 0.4rem; }
.form__note a { color: inherit; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- trust strip ---------- */
.trust {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.trust .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem;
  padding: 1rem 0;
  font-family: var(--font-cond); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel);
}
.trust span { display: inline-flex; align-items: center; gap: 0.6em; }
.trust span::before { content: "/"; color: var(--rust); font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: 1.1rem; line-height: 1; }
/* phones: a tidy 2-column grid, slashes lined up on the left of each item */
@media (max-width: 720px) {
  .trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 0.8rem; padding: 1rem 0; font-size: clamp(0.5rem, 3.3vw, 0.82rem); letter-spacing: 0.05em; }
  .trust span { display: flex; align-items: center; gap: 0.5em; line-height: 1; white-space: nowrap; }  /* text scales with the screen so it never wraps */
  .trust span::before { font-size: 1.2em; line-height: 1; }
}


/* phones: stacked button pairs go full width with centered text */
@media (max-width: 720px) {
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; justify-content: center; }
  .hero__actions .hero__phone { width: 100%; text-align: center; }
}
/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--ink); color: var(--paper); position: relative; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--steel { background: var(--steel); color: var(--paper); }
.section--steel h2, .section--steel h3 { color: var(--white); }
.section--white { background: var(--white); }
.section--dark::after, .section--steel::after {
  /* subtle grain */
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > *, .section--steel > * { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--steel); max-width: 56ch; }
.section--dark .section-head p, .section--steel .section-head p { color: rgba(243, 239, 232, 0.78); }
.section-head--split { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; max-width: none; }
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }

.lead { font-size: 1.18rem; line-height: 1.55; color: var(--steel); }
.section--dark .lead { color: rgba(243, 239, 232, 0.85); }

/* ---------- services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }

.tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--paper);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel);
  isolation: isolate;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(22, 24, 26, 0.92) 0%, rgba(22, 24, 26, 0.35) 55%, rgba(22, 24, 26, 0.05) 100%);
}
.tile__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem; z-index: 1; }
.tile__num { font-family: var(--font-cond); font-weight: 600; color: var(--rust-bright); font-size: 0.8rem; letter-spacing: 0.2em; }
.tile__title { font-family: var(--font-display); font-size: 1.8rem; font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; margin: 0.35rem 0 0.4rem; color: var(--white); }
.tile__desc { font-size: 0.86rem; line-height: 1.5; color: rgba(243, 239, 232, 0.8); margin: 0; }
.tile__link {
  display: inline-flex; align-items: center; gap: 0.5em;
  margin-top: 0.9rem; font-family: var(--font-cond); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.tile__link::after { content: "→"; transition: transform 0.3s var(--ease); }
.tile:hover .tile__link::after { transform: translateX(4px); }

/* ---------- split / feature layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
/* owners photo (About): capped so the whole portrait fits on screen without scrolling */
.split--owners { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split--owners .frame { max-width: min(100%, 52vh); } /* 4:5 portrait → height tops out around 65vh */
@media (max-width: 860px) { .split--owners { grid-template-columns: 1fr; } .split--owners .frame { max-width: 100%; } }

.frame { position: relative; isolation: isolate; } /* own stacking context so the offset ::before frame stays visible after the reveal animation ends */
.frame img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame--wide img { aspect-ratio: 4 / 3; }
.frame::before {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--rust);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.7;
}
@media (max-width: 720px) { .frame { margin: 0 14px 14px 0; } .frame::before { inset: 14px -14px -14px 14px; } } /* keep the offset frame inside the phone gutter */
.frame__caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-cond); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5em 0.9em;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.step__num {
  font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor;
  font-size: 3.2rem; line-height: 1; color: var(--rust-bright);
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.96rem; color: rgba(243, 239, 232, 0.78); }
.section:not(.section--dark):not(.section--steel) .step { border-top-color: var(--line); }
.section:not(.section--dark):not(.section--steel) .step p { color: var(--steel); }
.section:not(.section--dark):not(.section--steel) .step__num { color: var(--rust); }

/* ---------- promise / statement block ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  font-weight: var(--display-weight);
  -webkit-text-stroke: var(--display-stroke) currentColor;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 22ch;
}
.statement--center { margin: 0 auto; text-align: center; max-width: 40ch; font-size: clamp(2rem, 4.2vw, 3.6rem); text-wrap: balance; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 1000px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .promises { grid-template-columns: 1fr; } }
.promise { padding: 1.6rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.promise h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.promise p { font-size: 0.95rem; color: rgba(243, 239, 232, 0.78); margin: 0; }
.promise__icon { width: 34px; height: 34px; color: var(--rust-bright); margin-bottom: 1rem; }

/* ---------- project strip ---------- */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background: var(--rust); }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.strip figcaption { font-family: var(--font-cond); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 0.7rem; }

/* ---------- gallery (projects page) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
@media (max-width: 600px) { .filters { gap: 0.4rem; } .filters button { font-size: 0.78rem; padding: 0.45em 0.8em; letter-spacing: 0.05em; } }
.filters button {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5em 1.1em; font-family: var(--font-cond); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  color: var(--steel); transition: all 0.2s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Projects: one filterable grid of small, uniform 4:3 photos (client asked for smaller images, no groups or captions — 2026-09-30).
   Rows are a fixed height from the container width so a .gallery__big item is exactly 2×2 cells. */
.gallery { --gcols: 4; --ggap: 0.7rem; display: grid; grid-template-columns: repeat(var(--gcols), 1fr); grid-auto-flow: dense; gap: var(--ggap); container-type: inline-size; grid-auto-rows: calc((100cqw - (var(--gcols) - 1) * var(--ggap)) / var(--gcols) * 0.75); }
@media (max-width: 900px) { .gallery { --gcols: 3; } }
@media (max-width: 600px) { .gallery { --gcols: 2; --ggap: 0.5rem; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--steel); cursor: zoom-in; }
.gallery figure.is-hidden { display: none; }
.gallery .gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.project-group { margin-bottom: clamp(3rem, 6vw, 5rem); }
.project-group__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .project-group__head { grid-template-columns: 1fr; } }
.project-group__head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.2rem; }
.project-group__head p { color: var(--steel); font-size: 0.98rem; }
.project-group__meta { font-family: var(--font-cond); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.3rem; }
/* Rows are sized explicitly so the big featured photo (2 rows tall) never exceeds 75% of the screen height:
   width-based row = one 4:3 tile; height-based cap = (75vh - gap) / 2. */
.project-group__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; container-type: inline-size; grid-auto-rows: min(calc(25cqw - 0.4rem), calc(37.5vh - 0.4rem)); }
.project-group__grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--steel); position: relative; }
.project-group__grid figcaption, .photo-row figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.9rem 0.7rem; background: linear-gradient(0deg, rgba(22, 24, 26, 0.8), transparent); color: var(--paper); font-family: var(--font-cond); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.project-group__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.project-group__grid figure:hover img { transform: scale(1.04); }
.project-group__grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.project-group__grid figure:first-child img { aspect-ratio: auto; height: 100%; }
@media (max-width: 600px) { .project-group__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .project-group__grid figure:first-child { grid-column: span 2; grid-row: auto; } .project-group__grid figure:first-child img { aspect-ratio: 4 / 3; } .project-group__grid img { height: auto; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 24, 26, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 1400px); max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: 1px solid rgba(243, 239, 232, 0.4); color: var(--paper);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(243, 239, 232, 0.4); color: var(--paper);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--stone-light); font-family: var(--font-cond); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- reviews container ---------- */
.reviews-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
  background: var(--white);
}
@media (max-width: 640px) { .reviews-empty { grid-template-columns: 1fr; } }
.reviews-empty__mark { font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: 0; font-size: 5rem; line-height: 0.8; color: var(--rust); }
.reviews-empty h3 { font-size: 1.8rem; margin-bottom: 0.3rem; }
.reviews-empty p { color: var(--steel); margin-bottom: 0.8rem; }

/* ---------- service area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }
.area-list { columns: 2; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.area-list li { padding: 0.45em 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; break-inside: avoid; }
.area-list li::before { content: "/ "; color: var(--rust); font-family: var(--font-cond); font-weight: 700; }
.area__counties { font-family: var(--font-cond); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-light); margin-top: 1.2rem; line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.2rem 2.5rem 1.2rem 0;
  font-family: var(--font-cond); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--rust); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 0 1.4rem; color: var(--steel); max-width: 66ch; }
.section--dark .faq details { border-color: var(--line-dark); }
.section--dark .faq .faq__body { color: rgba(243, 239, 232, 0.78); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--rust); color: var(--paper); position: relative; overflow: hidden; }
.cta-band::before {
  /* the big "/" — drawn as a skewed bar (not a glyph) so both edges are perfectly parallel */
  content: "";
  position: absolute; top: -10%; bottom: -10%; right: 9vw;
  width: clamp(3.5rem, 6vw, 6rem);
  transform: skewX(-14deg);
  background: #a54f2c; /* ink at 12% over the rust band */
  pointer-events: none;
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(243, 239, 232, 0.88); max-width: 50ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--paper); isolation: isolate; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 24, 26, 0.9) 0%, rgba(22, 24, 26, 0.6) 60%, rgba(22, 24, 26, 0.3) 100%);
}
.page-hero .wrap { padding: clamp(3.5rem, 8vw, 6.5rem) 0; max-width: var(--max); }
.page-hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
/* two fixed lines (white / orange) — sized so the longer line never wraps */
.page-hero .h1--lines { max-width: none; font-size: clamp(1.75rem, 5.6vw, 4.6rem); }
.page-hero .h1--lines span { display: block; white-space: nowrap; }
.page-hero p { max-width: 52ch; font-size: 1.08rem; color: rgba(243, 239, 232, 0.85); }
.page-hero .hero__actions { margin-top: 1.6rem; }
/* short variant (About): image fills ~half the screen, title only, darker */
.page-hero--short .wrap { min-height: 50vh; min-height: 50svh; display: grid; align-content: center; padding: 2.5rem 0; }
.page-hero--short .page-hero__title { position: relative; } /* only the H1 is in flow, so IT is what gets centred */
.page-hero--short .page-hero__top { position: absolute; left: 0; bottom: 100%; padding-bottom: 1.2rem; }
.page-hero--short .page-hero__top .crumbs { margin-bottom: 1.2rem; }
.page-hero--short h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 20ch; margin-bottom: 0; }
.page-hero--short::before { background: linear-gradient(90deg, rgba(22, 24, 26, 0.96) 0%, rgba(22, 24, 26, 0.86) 60%, rgba(22, 24, 26, 0.68) 100%); }
.crumbs { font-family: var(--font-cond); font-weight: 500; font-size: 0.84rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 239, 232, 0.65); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rust-bright); }
.crumbs span { margin: 0 0.5em; color: var(--rust-bright); }

/* ---------- article / prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin-top: 1.6em; color: var(--rust-deep); }
.prose p, .prose li { color: var(--steel); font-size: 1.04rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--rust); }
.prose a { color: var(--rust-deep); text-underline-offset: 3px; }
.prose a:hover { color: var(--rust); }
/* inline photos inside service-page copy (click opens the lightbox) */
.prose-fig { margin: 1.4rem 0 1.9rem; cursor: zoom-in; }
.prose-fig img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.prose-fig--tall img { aspect-ratio: 4 / 3; }
.prose-fig figcaption { margin-top: 0.65rem; font-family: var(--font-cond); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.prose-fig figcaption::before { content: "/ "; color: var(--rust); }
.prose blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 2px solid var(--rust); font-family: var(--font-cond); font-weight: 500; font-size: 1.4rem; line-height: 1.35; color: var(--ink); }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-family: var(--font-cond); font-weight: 600; font-size: 0.84rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 0.7rem; }

/* two-col page layout (content + sidebar) */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 108px; display: grid; gap: 1.2rem; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.side-card h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.side-card p { font-size: 0.92rem; color: var(--steel); }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { padding: 0.5em 0; border-top: 1px solid var(--line); font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; }
.side-card li a { text-decoration: none; display: flex; justify-content: space-between; }
.side-card li a::after { content: "→"; color: var(--rust); }
.side-card li a:hover { color: var(--rust-deep); }
.side-card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.side-card--dark h3 { color: var(--white); }
.side-card--dark p { color: rgba(243, 239, 232, 0.8); }
.side-card__phone { font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: 2rem; text-decoration: none; display: block; margin: 0.4rem 0 0.2rem; letter-spacing: 0.02em; }
.side-card__phone:hover { color: var(--rust-bright); }
.side-card__small { font-family: var(--font-cond); font-weight: 600; font-size: 0.84rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }

/* check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2rem; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.98rem; color: var(--steel); padding: 0.55em 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: "/"; color: var(--rust); font-family: var(--font-cond); font-weight: 700; font-size: 1.15rem; line-height: 1.3; flex-shrink: 0; }

/* photo row */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } }
.photo-row figure { margin: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--steel); position: relative; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.photo-row figure:hover img { transform: scale(1.04); }

/* factor cards (cost factors) */
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .factors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .factors { grid-template-columns: 1fr; } }
.factor { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.factor h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.factor p { font-size: 0.92rem; color: var(--steel); margin: 0; }
.factor__num { font-family: var(--font-cond); font-weight: 600; color: var(--rust); font-size: 0.8rem; letter-spacing: 0.2em; margin-bottom: 0.4rem; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.6rem; }
.contact-info__item { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.contact-info__label { font-family: var(--font-cond); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.4rem; }
.contact-info__value { font-family: var(--font-display); font-weight: 600; -webkit-text-stroke: 0; font-size: 1.7rem; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.contact-info__value a { text-decoration: none; }
.contact-info__value a:hover { color: var(--rust); }
.contact-info__value .fb-icon { color: var(--rust); vertical-align: -0.15em; }
/* blog posts: link back to the service page they support (blog is off the nav, SEO-only) */
.post__related { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--rust); background: var(--paper-2); font-family: var(--font-cond); font-size: 1.02rem; letter-spacing: 0.02em; }
.post__related a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rust); text-underline-offset: 0.2em; }
@media (max-width: 720px) { .contact-info__value { font-size: 1.45rem; } } /* phones: a bit smaller */
.contact-info__sub { font-size: 0.9rem; color: var(--steel); margin-top: 0.2rem; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.35); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card__meta { font-family: var(--font-cond); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.post-card p { font-size: 0.92rem; color: var(--steel); margin: 0; }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.value { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value__num { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; color: var(--rust); font-size: 0.8rem; letter-spacing: 0.2em; }
.value h3 { font-size: 1.5rem; margin: 0.4rem 0 0.4rem; }
.value p { font-size: 0.95rem; color: var(--steel); margin: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--stone-light); font-size: 0.92rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 5rem) 0 3rem; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer__logo { width: 110px; margin-bottom: 1.2rem; opacity: 0.95; }
.footer p { color: var(--stone-light); }
.footer h4 { font-family: var(--font-cond); font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--stone-light); text-decoration: none; }
.footer a:hover { color: var(--rust-bright); }
.fb-icon { width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: 0.35em; }
.footer__social { display: inline-flex; align-items: center; margin-top: 0.3rem; color: var(--paper) !important; }
.footer__social:hover { color: var(--rust-bright) !important; }
.footer__phone { font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: 1.8rem; letter-spacing: 0.02em; color: var(--paper) !important; display: block; margin-bottom: 0.2rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; padding: 1.4rem 0; font-family: var(--font-cond); font-size: 0.86rem; letter-spacing: 0.05em; }
.footer__legal { display: flex; gap: 1.4rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* hero entrance */
.hero .reveal-hero { animation: heroIn 1.1s var(--ease) both; }
.hero .reveal-hero:nth-child(2) { animation-delay: 0.12s; }
.hero .reveal-hero:nth-child(3) { animation-delay: 0.24s; }
.hero .reveal-hero:nth-child(4) { animation-delay: 0.36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal-hero { animation: none; } }

/* ---------- misc ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); margin: clamp(2rem, 5vw, 4rem) 0; }

/* 404 */
.err { text-align: center; padding: clamp(5rem, 12vw, 10rem) 0; }
.err__code { font-family: var(--font-display); font-weight: var(--display-weight); -webkit-text-stroke: 0; font-size: clamp(6rem, 18vw, 14rem); line-height: 1; color: var(--rust); }
