@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

/* TrueCon General Contractors Ltd. — site styles
   Direction: industrial editorial. Warm paper, charcoal ink, one lumber accent.
   Fonts: Barlow Condensed (display), Barlow (body), IBM Plex Mono (labels). */

:root {
  --paper: #F2EFE9;
  --ink: #161513;
  --muted: #5E5952;
  --line: #D5CFC3;
  --white: #FFFFFF;
  --dark: #161513;
  --dark-line: #2E2B27;
  --dark-text: #E9E4DB;
  --dark-muted: #A7A199;
  --accent: #C4622A;
  --accent-hover: #A9511F;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Courier New', monospace;
  --gutter: 80px;
  --max: 1280px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.bleed { padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; line-height: 0.92; letter-spacing: 0.3px; text-transform: uppercase; }
.h-xl { font-size: clamp(48px, 8vw, 112px); }
.h-lg { font-size: clamp(48px, 6.4vw, 88px); }
.h-md { font-family: var(--display); font-weight: 600; line-height: 1.02; font-size: clamp(30px, 3.6vw, 50px); }
.h-sm { font-family: var(--display); font-weight: 700; line-height: 1; font-size: clamp(26px, 2.6vw, 36px); }
.h-xs { font-family: var(--display); font-weight: 700; line-height: 1; font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.mono.accent { color: var(--accent); }
.mono.small { font-size: 11px; }
.mono.tiny { font-size: 10px; }

.label { display: flex; align-items: center; gap: 16px; }
.label::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.dark .label::after { background: var(--dark-line); }
.dark .mono { color: var(--dark-muted); }
.dark .mono.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; font-weight: 600; font-size: 16px; letter-spacing: 0.3px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 14px 22px; font-size: 14px; }
.arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.arrow svg { transition: transform .18s ease; }
.arrow:hover svg { transform: translateX(4px); }
.arrow.light { color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: var(--white); border-bottom: 1px solid var(--line); transition: background .25s ease, border-color .25s ease; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.is-overlay:not(.is-solid) { background: transparent; border-color: transparent; }
.site-header.is-overlay:not(.is-solid) .nav a, .site-header.is-overlay:not(.is-solid) .phone, .site-header.is-overlay:not(.is-solid) .wordmark { color: #fff; }
.site-header.is-overlay:not(.is-solid) .wordmark small { color: rgba(255,255,255,0.85); }
.site-header.is-overlay:not(.is-solid) .burger span { background: #fff; }
.wordmark { display: flex; flex-direction: column; gap: 4px; line-height: 1; text-decoration: none; color: var(--ink); }
.wordmark b { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: 1.5px; }
.wordmark small { font-family: var(--mono); font-size: 9px; letter-spacing: 2.6px; color: var(--muted); white-space: nowrap; }
body.inner main { padding-top: var(--header-h); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding-bottom: 4px; border-bottom: 2px solid transparent; color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav a:hover { border-bottom-color: var(--accent); }
.header-actions { display: flex; gap: 22px; align-items: center; }
.phone { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; color: var(--muted); text-decoration: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); }
.mobile-nav { display: none; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav { display: flex; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); z-index: 40; flex-direction: column; padding: 32px 20px; gap: 6px; }
.mobile-nav a { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 34px; padding: 12px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.mobile-nav .btn { margin-top: 24px; }
.mobile-nav .phone { margin-top: 16px; font-size: 16px; text-align: center; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: max(880px, 92vh); padding-top: 140px; background: var(--dark); display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,21,19,0.55) 0%, rgba(22,21,19,0.08) 30%, rgba(22,21,19,0.30) 60%, rgba(22,21,19,0.92) 100%); }
.hero .container { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 150px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 12px; color: #fff; }
.eyebrow::before { margin-top: 4px; }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--accent); flex-shrink: 0; }
.hero h1 { color: #fff; }
.hero p { font-size: clamp(17px, 1.5vw, 21px); color: var(--dark-text); max-width: 680px; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.hero-caption { flex-shrink: 0; border-left: 1px solid rgba(255,255,255,0.35); padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.hero-caption .mono { color: #fff; font-size: 11px; }
.hero-caption .mono.tiny { color: rgba(255,255,255,0.6); }

/* ---------- credential strip ---------- */
.creds { position: relative; z-index: 2; margin-top: -72px; background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creds > div { padding: 30px 32px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.creds > div:last-child { border-right: 0; }
.creds b { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.creds span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 0 0 120px 0; }
.split { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: end; }
.split-body { display: flex; flex-direction: column; gap: 32px; }
.side-facts { display: flex; flex-direction: column; gap: 28px; }
.side-facts .mono-list { display: flex; flex-direction: column; gap: 10px; }
.statement { max-width: 900px; }

.dark { background: var(--dark); color: var(--dark-text); background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 48px 48px; }
.dark h1, .dark h2, .dark h3, .dark .h-md, .dark .h-sm, .dark .h-xs { color: #fff; }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card > img { width: 100%; height: 400px; object-fit: cover; }
.card-body { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; padding-top: 6px; margin: 0; list-style: none; }
.list-2 li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.list-2 li::before { content: '—'; font-family: var(--mono); font-size: 11px; color: var(--accent); }
.bar { background: var(--white); border: 1px solid var(--line); padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 32px; }
.bar-left { display: flex; gap: 28px; align-items: center; }

/* projects (home) */
.proj-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; }
.proj-col { display: flex; flex-direction: column; gap: 28px; }
.proj { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.proj img { width: 100%; object-fit: cover; }
.proj-grid > .proj img { height: 588px; }
.proj-col .proj img { height: 266px; }
.proj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.proj-meta .mono { white-space: nowrap; flex-shrink: 0; }
.proj-meta b { font-family: var(--display); font-weight: 700; font-size: 26px; color: #fff; line-height: 1.05; }
.proj-col .proj-meta b { font-size: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 0 40px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: 0; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 0.9; color: var(--line); }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; }

/* safety */
.safety { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.safety img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; }
.safety-body { padding: 88px var(--gutter); display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.checks svg { flex-shrink: 0; margin-top: 2px; }

/* service area */
.area { border-bottom: 1px solid var(--line); }
.area .container { display: flex; align-items: center; gap: 40px; padding-top: 36px; padding-bottom: 36px; }
.area-list { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.area-list span { font-family: var(--display); font-weight: 600; font-size: 22px; }
.area-list i { width: 6px; height: 6px; background: var(--accent); }

/* cta band */
.cta { padding: 88px 0; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 64px; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.cta-copy .h-lg { font-size: clamp(40px, 4.4vw, 56px); line-height: 0.98; }
.cta-copy p { font-size: 18px; color: var(--dark-muted); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.cta-actions .phone-lg { font-family: var(--mono); font-size: 22px; letter-spacing: 1px; color: #fff; text-decoration: none; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--accent); }
.foot-desc { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 360px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: max(640px, 66vh); padding-top: 140px; background: var(--dark); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,21,19,0.15) 0%, rgba(22,21,19,0.05) 35%, rgba(22,21,19,0.88) 100%); }
.page-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding-bottom: 64px; max-width: calc(var(--max)); width: 100%; }
.page-hero h1 { color: #fff; }
.page-header { padding: 112px 0 64px; }
.page-header .split { align-items: end; }
.page-header h1 { }

.intro { display: grid; grid-template-columns: 1fr 520px; gap: 96px; align-items: start; padding-bottom: 96px; }
.intro-copy { display: flex; flex-direction: column; gap: 28px; }
.intro-copy p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.list-card { background: var(--white); border: 1px solid var(--line); padding: 32px 36px 20px; display: flex; flex-direction: column; gap: 14px; }
.num-list { list-style: none; margin: 0; padding: 0; }
.num-list li { display: flex; gap: 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.num-list li .mono { flex-shrink: 0; }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 112px; }
.col { padding: 0 40px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--line); }
.col:first-child { padding-left: 0; border-left: 0; }
.col h3 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.col p { color: var(--muted); }

.gallery { padding: 112px 0; }
.gal-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.gal-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.gal-2 figure, .gal-4 figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gal-2 img { width: 100%; height: 420px; object-fit: cover; }
.gal-4 img { width: 100%; height: 250px; object-fit: cover; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 120px; }
.tile { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile > img { width: 100%; height: 330px; object-fit: cover; }
.tile-body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.tile-body h3 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; }
.tile-body p { color: var(--muted); }

/* projects page */
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 48px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.chip.is-active, .chip:hover { background: var(--ink); color: #fff; }
.featured { position: relative; margin-bottom: 168px; }
.featured > img { width: 100%; height: 660px; object-fit: cover; }
.featured-panel { position: absolute; right: 0; bottom: -96px; width: 520px; background: var(--white); border: 1px solid var(--line); padding: 32px 36px; display: flex; flex-direction: column; gap: 14px; }
.featured-panel h2 { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.featured-panel p { font-size: 15px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.facts div { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts b { font-weight: 500; font-size: 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 40px 0 120px; }
.cat { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.cat > img { width: 100%; height: 340px; object-fit: cover; }
.cat-strip { display: grid; gap: 4px; padding-top: 4px; }
.cat-strip img { width: 100%; height: 132px; object-fit: cover; }
.cat-body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 10px; }
.cat-body .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cat-body h3 { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; }
.cat-body p { font-size: 15px; color: var(--muted); }

/* about */
.photo-wide { display: flex; flex-direction: column; gap: 12px; padding-bottom: 112px; }
.photo-wide img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 78%; }
.photo-wide .caps { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.org { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.org .card-body { padding: 40px; gap: 14px; }
.org h3 { font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1; }
.facts-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 40px; }
.facts-strip div { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--dark-line); }
.facts-strip div:first-child { padding-left: 0; border-left: 0; }
.facts-strip b { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; color: #fff; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.two-col > div { display: flex; flex-direction: column; gap: 14px; }
.two-col h3 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.two-col p { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 640px; gap: 80px; align-items: start; padding-bottom: 96px; }
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.phone-xl { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.5vw, 56px); line-height: 1; text-decoration: none; }
.email-lg { font-size: 22px; text-decoration: none; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 10px; }
.info-grid div { display: flex; flex-direction: column; gap: 6px; }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--line); padding: 40px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { height: 50px; border: 1px solid var(--line); padding: 0 14px; background: var(--white); border-radius: 0; }
.field textarea { height: 160px; padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.form button { height: 56px; background: var(--accent); color: #fff; border: 0; font-weight: 600; font-size: 16px; cursor: pointer; letter-spacing: 0.3px; }
.form button:hover { background: var(--accent-hover); }
.form button[disabled] { opacity: 0.6; cursor: default; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; padding: 14px 16px; border: 1px solid var(--line); display: none; }
.form-status.ok { display: block; border-color: #2F6F3E; color: #2F6F3E; }
.form-status.err { display: block; border-color: #A9511F; color: #A9511F; }
.hp { position: absolute; left: -9999px; }
.map { height: 380px; border: 0; width: 100%; display: block; filter: grayscale(1) contrast(1.05); background: var(--line); }
.map-link { display: inline-flex; margin-top: 14px; }
.map-wrap { padding-bottom: 96px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .split { grid-template-columns: 280px 1fr; gap: 48px; }
  .intro { grid-template-columns: 1fr 440px; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr 520px; gap: 48px; }
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .nav, .header-actions .btn, .header-actions .phone { display: none; }
  .wordmark small { font-size: 8px; letter-spacing: 2px; }
  .burger { display: flex; }
  .wordmark b { font-size: 26px; }
  .hero { min-height: max(620px, 88vh); padding-top: 100px; }
  .hero .container { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .hero-caption { border-left: 0; padding-left: 0; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -48px; }
  .creds > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 24px; }
  .creds > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .creds > div:nth-last-child(-n+2) { border-bottom: 0; }
  .section { padding: 80px 0; }
  .section-tight { padding-bottom: 80px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .services, .tiles, .cat-grid, .org, .two-col { grid-template-columns: 1fr; }
  .card > img { height: 280px; }
  .bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-grid > .proj img { height: 380px; }
  .steps, .cols-3, .values { grid-template-columns: 1fr; gap: 32px; }
  .step, .col { padding: 0; border-left: 0; }
  .safety { grid-template-columns: 1fr; }
  .safety img { min-height: 320px; height: 360px; }
  .safety-body { padding: 56px var(--gutter); }
  .cta .container { flex-direction: column; align-items: flex-start; gap: 32px; }
  .cta-actions { align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: max(480px, 60vh); padding-top: 100px; }
  .intro { grid-template-columns: 1fr; padding-bottom: 64px; }
  .cols-3 { padding-bottom: 64px; }
  .gallery { padding: 72px 0; }
  .gal-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-2 img { height: 300px; }
  .gal-4 img { height: 200px; }
  .featured { margin-bottom: 48px; }
  .featured > img { height: 420px; }
  .featured-panel { position: static; width: auto; margin-top: 0; border-top: 0; }
  .photo-wide img { height: 380px; }
  .facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 24px; }
  .facts-strip div { border-left: 0; padding: 22px 0; border-bottom: 1px solid var(--dark-line); }
  .facts-strip div:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form { padding: 28px; }
  .page-header { padding: 80px 0 40px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero .container { padding-bottom: 72px; }
  .hero-actions { gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .creds { grid-template-columns: 1fr; margin: -40px 0 0 0; }
  .creds > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .creds > div:last-child { border-bottom: 0 !important; }
  .creds b { font-size: 24px; }
  .card-body, .tile-body, .cat-body { padding: 22px; }
  .list-2 { grid-template-columns: 1fr; }
  .proj-grid > .proj img, .proj-col .proj img { height: 230px; }
  .proj-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .area .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .gal-4 { grid-template-columns: 1fr; }
  .cat > img { height: 240px; }
  .cat-strip img { height: 90px; }
  .cta-copy .h-lg { font-size: 38px; }
}

/* ---------- very wide displays (4K / ultra-wide): scale the whole layout up a touch ---------- */
@media (min-width: 1800px) and (max-width: 2299px) { html { zoom: 1.12; } }
@media (min-width: 2300px) { html { zoom: 1.28; } }
