/* ==========================================================================
   Gazelle Construction LLC — gazelleconstructionllc.com
   Single stylesheet. Organized top-to-bottom:
   tokens → base → utilities → header/nav → hero → sections → pages → footer
   ========================================================================== */

/* ----------------------------------------------- fonts (self-hosted) */
@font-face {
  font-family: "Archivo Var";
  src: url("/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces Var";
  src: url("/fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------- design tokens */
:root {
  --navy-950: #0c1826;
  --navy-900: #10213a;
  --navy-850: #142a44;
  --navy-800: #17304e;
  --navy-700: #1f4066;

  --bronze: #b08d57;
  --bronze-deep: #8a6b3e;
  --bronze-soft: #c8a76f;
  --bronze-pale: #e9dfc9;

  --paper: #f7f5f1;
  --paper-2: #efebe2;
  --white: #ffffff;

  --ink: #16232f;
  --text: #39434f;
  --text-soft: #626c78;
  --mist: #b9c2cd;          /* soft text on navy */
  --mist-strong: #dde3ea;

  --line: #ddd6c9;
  --line-soft: #e8e3d8;
  --line-dark: rgba(255, 255, 255, 0.14);

  --danger: #a33a2e;
  --ok: #3d6b4f;

  --font-body: "Archivo Var", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces Var", Georgia, "Times New Roman", serif;

  --fs-hero: clamp(2.55rem, 5.4vw, 4.15rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 2.7rem);
  --fs-h3: clamp(1.45rem, 2.2vw, 1.85rem);
  --fs-lede: clamp(1.06rem, 1.4vw, 1.19rem);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 122px);
  --radius: 3px;

  --shadow-soft: 0 14px 40px rgba(16, 30, 48, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-800); text-decoration-color: rgba(138, 107, 62, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--bronze-deep); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

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

::selection { background: var(--bronze-pale); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 200;
  background: var(--navy-950);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 10px; }

/* ----------------------------------------------- utilities */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--white { background: var(--white); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--navy-950); }
.section--line-top { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-lede { font-size: var(--fs-lede); color: var(--text-soft); max-width: 62ch; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .section-lede, .section--dark p { color: var(--mist); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--bronze);
  flex: none;
}
.kicker-num { color: var(--bronze); font-weight: 700; letter-spacing: 0.08em; }
.kicker--center { justify-content: center; }
.section--dark .kicker { color: var(--bronze-soft); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95em 1.75em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 640;
  letter-spacing: 0.025em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-950); color: #fff; }

.btn-bronze { background: var(--bronze); color: var(--navy-950); }
.btn-bronze:hover { background: var(--bronze-soft); color: var(--navy-950); }

.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--bronze-pale); color: var(--navy-950); }

.btn-ghost { background: transparent; color: var(--navy-800); border-color: rgba(23, 48, 78, 0.35); }
.btn-ghost:hover { border-color: var(--bronze-deep); color: var(--bronze-deep); }

.btn-ghost-light { background: transparent; color: var(--mist-strong); border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { border-color: var(--bronze-soft); color: var(--bronze-soft); }

.btn-invert { background: var(--white); color: var(--navy-900); }
.btn-invert:hover { background: var(--bronze-pale); }

.btn-lg { padding: 1.1em 2.1em; font-size: 1rem; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 640;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy-800);
}
.link-arrow::after { content: "\2192"; transition: transform 0.22s var(--ease); }
.link-arrow:hover { color: var(--bronze-deep); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--bronze-soft); }

/* ----------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 30, 48, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark-img { width: auto; height: 48px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: 0.01em;
  color: var(--navy-950);
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-top: 3px;
}

.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: clamp(14px, 1.7vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.93rem;
  font-weight: 560;
  letter-spacing: 0.015em;
  text-decoration: none;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--navy-950); border-bottom-color: var(--bronze); }
.nav-list a[aria-current="page"] { color: var(--navy-950); font-weight: 680; border-bottom-color: var(--bronze); }

.nav-panel-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }

.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; white-space: nowrap; flex: none; }
.header-phone-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.header-phone-num { font-size: 1.02rem; font-weight: 700; color: var(--navy-950); letter-spacing: 0.01em; }
.header-phone:hover .header-phone-num { color: var(--bronze-deep); }

.header-cta { white-space: nowrap; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav-toggle-box { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle-bar,
.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy-950);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-box::before { top: 0; }
.nav-toggle-bar { top: 6px; }
.nav-toggle-box::after { top: 12px; }
.nav-toggle-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-950);
}
body.nav-open .nav-toggle-box::before { top: 6px; transform: rotate(45deg); }
body.nav-open .nav-toggle-bar { opacity: 0; }
body.nav-open .nav-toggle-box::after { top: 6px; transform: rotate(-45deg); }

/* ----------------------------------------------- hero (home) */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 8% -10%, rgba(176, 141, 87, 0.14), transparent 60%),
    var(--navy-950);
  color: var(--mist-strong);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
}
.hero-art {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: min(58%, 760px);
  opacity: 0.75;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(84px, 12vw, 148px) clamp(84px, 11vw, 132px);
  max-width: calc(var(--container));
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--bronze); }
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero h1 .h1-accent { color: var(--bronze-soft); }
.hero-lede {
  max-width: 58ch;
  font-size: var(--fs-lede);
  color: var(--mist);
  margin-bottom: 38px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* trust strip */
.trust-strip {
  position: relative;
  border-top: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.028);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 640;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-strong);
}
.trust-item::before { content: ""; width: 5px; height: 5px; background: var(--bronze); rotate: 45deg; flex: none; }

/* ----------------------------------------------- interior page hero */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 10% -20%, rgba(176, 141, 87, 0.13), transparent 60%),
    var(--navy-950);
  color: var(--mist);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  padding-block: clamp(64px, 9vw, 108px);
  max-width: 780px;
}
.page-hero .hero-kicker { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--white); margin-bottom: 18px; }
.page-hero .lede { font-size: var(--fs-lede); color: var(--mist); max-width: 60ch; margin: 0; }
.page-hero .lede a { color: var(--bronze-soft); text-decoration-color: rgba(200, 167, 111, 0.5); }
.page-hero .lede a:hover { color: var(--white); }
.breadcrumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze-soft); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, 0.3); }
.breadcrumb [aria-current] { color: var(--bronze-soft); }

/* ----------------------------------------------- home: services grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.25s var(--ease);
}
.svc-cell:hover { background: var(--paper); }
.svc-num { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--bronze); }
.svc-cell h3 { font-family: var(--font-body); font-size: 1.17rem; font-weight: 680; letter-spacing: -0.005em; margin: 0; color: var(--navy-950); }
.svc-cell p { font-size: 0.95rem; color: var(--text-soft); margin: 0; flex: 1; }
.svc-cell .svc-more {
  font-size: 0.88rem;
  font-weight: 660;
  color: var(--navy-800);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-cell:hover .svc-more { opacity: 1; transform: none; color: var(--bronze-deep); }
.svc-foot { display: flex; justify-content: flex-end; margin-top: 26px; }

/* ----------------------------------------------- split bands */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--flip .split-copy { order: 2; }
.split--flip .split-visual { order: 1; }
.split-copy h2 { font-size: var(--fs-h2); }
.split-copy .section-lede { margin-bottom: 26px; }
.split-list {
  columns: 2;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.split-list li {
  break-inside: avoid;
  padding: 9px 0 9px 20px;
  position: relative;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--line-soft);
}
.split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 1.5px;
  background: var(--bronze);
}
.section--dark .split-list li { border-bottom-color: rgba(255, 255, 255, 0.12); color: var(--mist-strong); }

.split-visual { position: relative; }
.frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
}
.frame img { width: 100%; height: auto; }
.frame::before, .frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--bronze);
  pointer-events: none;
}
.frame::before { top: -7px; left: -7px; border-right: none; border-bottom: none; }
.frame::after { bottom: -7px; right: -7px; border-left: none; border-top: none; }
.section--dark .frame { border-color: rgba(255, 255, 255, 0.16); background: var(--navy-900); }
.frame-caption {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.section--dark .frame-caption { color: var(--mist); }

/* ----------------------------------------------- project cards */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
}
.proj-grid--index { grid-template-columns: repeat(2, 1fr); }
.proj-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.proj-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.proj-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.025); }
.proj-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.proj-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.proj-card h3 { font-size: 1.3rem; margin: 0; }
.proj-loc { font-size: 0.88rem; color: var(--text-soft); letter-spacing: 0.03em; }
.proj-scope { font-size: 0.95rem; color: var(--text-soft); margin: 6px 0 0; }
.proj-cta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.9rem;
  font-weight: 660;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.proj-card:hover .proj-cta { color: var(--bronze-deep); }

/* ----------------------------------------------- why gazelle */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 4.5vw, 56px) clamp(36px, 6vw, 84px);
}
.why-item { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.why-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--bronze);
}
.why-item h3 { font-size: 1.32rem; margin-bottom: 10px; }
.why-item p { color: var(--text-soft); font-size: 0.99rem; margin: 0; }

/* ----------------------------------------------- process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step { padding: 30px clamp(14px, 1.8vw, 26px) 8px 0; position: relative; }
.process-step + .process-step { border-left: 1px solid var(--line-soft); padding-left: clamp(16px, 2vw, 28px); }
.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 8px; color: var(--navy-950); }
.process-step p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }

/* ----------------------------------------------- service area */
.area-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.area-col h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 14px;
}
.area-col ul { list-style: none; margin: 0; padding: 0; }
.area-col li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.97rem; color: var(--text); }
.area-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 2px solid var(--bronze);
  background: var(--paper);
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ----------------------------------------------- CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--fs-h2); color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band .section-lede { margin-inline: auto; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 30px; }
.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  font-size: 1rem;
  color: var(--mist);
}
.cta-contacts a { color: var(--mist-strong); text-decoration: none; font-weight: 640; }
.cta-contacts a:hover { color: var(--bronze-soft); }

/* ----------------------------------------------- generic content pages */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--bronze-deep);
  border-bottom: 2px solid var(--bronze-deep);
  transform: rotate(-45deg);
}

/* fact block (about / contact aside) */
.fact-block {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
}
.fact-block dl { margin: 0; }
.fact-block dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-top: 18px;
}
.fact-block dt:first-child { margin-top: 0; }
.fact-block dd { margin: 4px 0 0; font-size: 1.02rem; color: var(--ink); font-weight: 560; }
.fact-block dd a { text-decoration: none; color: var(--navy-800); }
.fact-block dd a:hover { color: var(--bronze-deep); }

/* ----------------------------------------------- project detail */
.pd-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.pd-meta-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-meta > div { background: var(--white); padding: 20px 24px; }
.pd-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin: 0 0 6px;
}
.pd-meta dd { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 560; }

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.pd-story h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin: 2em 0 0.6em;
}
.pd-story h2:first-child { margin-top: 0; }
.pd-story p { color: var(--text); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery a { display: block; border: 1px solid var(--line); background: var(--white); padding: 6px; }
.gallery a:hover { border-color: var(--bronze); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.78rem; color: var(--text-soft); padding: 8px 4px 2px; letter-spacing: 0.04em; }

.pd-cta {
  margin-top: clamp(44px, 6vw, 70px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pd-cta h2 { font-size: 1.5rem; margin: 0; }
.pd-cta p { margin: 6px 0 0; color: var(--text-soft); }

/* lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  width: auto;
}
.lightbox::backdrop { background: rgba(8, 14, 22, 0.88); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; width: auto; height: auto; margin-inline: auto; }
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ----------------------------------------------- contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 26px; }
.contact-direct { border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 3vw, 34px); }
.contact-direct h2 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-big-phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 560;
  color: var(--navy-950);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.contact-big-phone:hover { color: var(--bronze-deep); }
.contact-direct .email-link { font-size: 1rem; word-break: break-all; }
.contact-hours { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--text-soft); }

.next-steps { border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 3vw, 34px); }
.next-steps h2 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em; margin-bottom: 14px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.next-steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.next-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--bronze);
}

/* form */
.quote-form-wrap { border: 1px solid var(--line); background: var(--white); padding: clamp(26px, 4vw, 44px); }
.quote-form-wrap > h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-intro { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 660; color: var(--ink); letter-spacing: 0.01em; }
.field .opt { font-weight: 480; color: var(--text-soft); font-size: 0.84rem; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cdc5b4;
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--bronze-deep);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a6b3e' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* segmented radio */
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cdc5b4; border-radius: var(--radius); overflow: hidden; }
.segmented label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  background: var(--white);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.segmented label + label { border-left: 1px solid #cdc5b4; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--navy-800); color: #fff; }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--bronze-deep); outline-offset: -3px; }

/* photo uploader */
.photo-drop {
  border: 1.5px dashed #c4bba7;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  text-align: center;
  font-size: 0.94rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.photo-drop:hover, .photo-drop.is-drag { border-color: var(--bronze-deep); background: var(--paper-2); }
.photo-drop strong { color: var(--navy-800); font-weight: 660; }
.photo-drop input { display: none; }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-thumb { position: relative; width: 84px; }
.photo-thumb img { width: 84px; height: 84px; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; }
.photo-thumb button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: var(--navy-950);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
}
.photo-thumb button:hover { background: var(--danger); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-note { font-size: 0.85rem; color: var(--text-soft); max-width: 46ch; margin: 0; }

.form-status { margin-top: 18px; font-size: 0.95rem; }
.form-status[data-state="error"] { color: var(--danger); font-weight: 600; }
.field-error { font-size: 0.84rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.form-success { text-align: left; padding: 10px 0; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-soft); }
.form-success .success-contacts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 30px; font-weight: 640; }

.turnstile-slot { margin-top: 4px; }

/* honeypot — visually removed, still in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------------------- reviews placeholder (unpublished) */
.reviews-placeholder { display: none; }

/* ----------------------------------------------- 404 */
.page-404 .err-wrap { text-align: center; padding-block: clamp(90px, 14vw, 170px); }
.page-404 .err-code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); color: var(--bronze); line-height: 1; margin-bottom: 8px; }
.page-404 h1 { font-size: var(--fs-h2); }
.page-404 .section-lede { margin-inline: auto; }
.page-404 .cta-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ----------------------------------------------- footer */
.site-footer {
  background: var(--navy-950);
  color: var(--mist);
  border-top: 3px solid var(--bronze);
  padding-top: clamp(52px, 7vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 560;
  color: var(--white);
  margin: 0 0 14px;
}
.footer-wordmark span { color: var(--bronze-soft); font-size: 1.05rem; font-weight: 480; }
.footer-blurb { font-size: 0.93rem; max-width: 40ch; color: var(--mist); }
.footer-cred { list-style: none; margin: 18px 0 0; padding: 0; }
.footer-cred li {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--mist-strong);
  padding: 6px 0 6px 18px;
  position: relative;
}
.footer-cred li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  background: var(--bronze);
  rotate: 45deg;
}
.footer-h {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  margin: 4px 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: var(--mist); text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-contact li { color: var(--mist); font-size: 0.95rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  font-size: 0.8rem;
  color: rgba(185, 194, 205, 0.75);
  letter-spacing: 0.04em;
}
.footer-bottom p { margin: 0; }

/* ----------------------------------------------- mobile call bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--navy-950);
}
.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.mobile-bar-call { color: #fff; background: var(--navy-950); }
.mobile-bar-quote { color: var(--navy-950); background: var(--bronze); }

/* ----------------------------------------------- reveal animation */
.reveal { opacity: 1; transform: none; }
.js .reveal.rv-hide { opacity: 0; transform: translateY(16px); }
.js .reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.rv-hide { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .header-phone { display: none; }
}

@media (max-width: 1020px) {
  /* collapse nav */
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--navy-950);
    padding: 34px var(--gutter) 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s var(--ease), visibility 0s 0.32s;
    overflow-y: auto;
    z-index: 95;
  }
  body.nav-open .site-nav { transform: none; visibility: visible; transition: transform 0.32s var(--ease), visibility 0s 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: 16px 2px;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--mist-strong);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--bronze-soft); border-bottom-color: var(--bronze); }
  .nav-panel-extra { display: block; margin-top: 30px; }
  .nav-panel-phone {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 18px;
  }
  .nav-panel-phone:hover { color: var(--bronze-soft); }
  .nav-panel-cta { width: 100%; }
  .nav-panel-note { margin-top: 22px; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--mist); }
  body.nav-open { overflow: hidden; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); border-top: none; }
  .process-step { border-top: 1px solid var(--line); }
  .process-step + .process-step { border-left: none; padding-left: 0; }
  .process-step:nth-child(n+2) { border-left: none; }
  .process-grid { gap: 0 28px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand-mark-img { height: 40px; }
  .brand-name { font-size: 1.22rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.26em; }

  .split { grid-template-columns: 1fr; }
  .split--flip .split-copy { order: 1; }
  .split--flip .split-visual { order: 2; }
  .split-list { columns: 1; }

  .area-wrap { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
  .quote-form-wrap { order: 1; }
  .pd-meta { grid-template-columns: 1fr; }
  .pd-meta-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile-bar { display: grid; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px)); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { display: none; }
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .pd-meta-4 { grid-template-columns: 1fr; }
  .proj-grid, .proj-grid--index { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .trust-inner { justify-content: flex-start; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .gallery { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}

/* ---- About: full logo lockup above fact block ---- */
.about-logo {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px 30px 18px;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}
.about-logo img { width: min(300px, 80%); height: auto; }


/* ===== Final production polish ===== */
@media (max-width: 640px) {
  .page-home .hero h1 { font-size: clamp(2.25rem, 11.5vw, 3.45rem); }
  .mobile-bar-btn { padding: 12px 8px; font-size: 0.88rem; }
}
@media (max-width: 860px) {
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px)); }
}
