/* Barlow and Barlow Condensed (SIL Open Font License), served from this site. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: optional; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: optional; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: optional; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Job-site industrial: black ground from the logo, concrete-light sections,
   equipment yellow only for actions and key numbers. Square corners, no shadows. */
:root {
  --ink: #141312;
  --ink-raised: #1f1d1b;
  --concrete: #ecebe7;
  --gray: #8e8a83;
  --gray-deep: #5c5852;
  --yellow: #f2b800;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --band: clamp(64px, 10vw, 128px);
  --header-h: 68px;
  --bar-h: 56px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--concrete);
  font: 400 1.125rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.band--light { background: var(--concrete); color: var(--ink); }
.band--yellow { background: var(--yellow); color: var(--ink); }

.label {
  font: 600 0.8125rem/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
}
.band--light .label { color: var(--gray-deep); }
.h2 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 0.92; letter-spacing: 0.005em; }
.lede { max-width: 38rem; font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--gray); }
.band--light .lede { color: var(--gray-deep); }

/* Marks a fact we still need from Bryant Built. Removed before launch. */
.needed {
  display: inline-block;
  padding: 1px 8px;
  border: 2px dashed currentColor;
  font: 600 0.8em/1.4 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; padding: 8px 12px; background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.band--yellow :focus-visible { outline-color: var(--ink); }

/* Buttons: sharp rectangles, condensed caps */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font: 700 1.125rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn:hover { background: var(--concrete); border-color: var(--concrete); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.btn--ink:hover { background: var(--concrete); border-color: var(--ink); color: var(--ink); }
.band--light .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--concrete); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-raised);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font: 600 0.9375rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--concrete);
}
.nav a:not(.btn):hover { color: var(--yellow); }
.nav .btn { min-height: 44px; font-size: 1rem; }

/* Hero */
.hero { position: relative; display: grid; min-height: clamp(560px, 86svh, 860px); overflow: hidden; background: var(--ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video--tall { display: none; }
.hero-caption--tall { display: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--ink) 94%, transparent) 0%,
    color-mix(in srgb, var(--ink) 60%, transparent) 38%,
    color-mix(in srgb, var(--ink) 0%, transparent) 72%);
}
.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  padding-block: 48px clamp(40px, 6vw, 72px);
  display: grid;
  gap: 24px;
}
.hero h1 { font-weight: 800; font-size: clamp(3.4rem, 10.5vw, 8.5rem); line-height: 0.86; letter-spacing: 0.002em; }
.hero h1 span { display: block; color: var(--yellow); }
.hero .lede { color: var(--concrete); max-width: 34rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-caption { position: absolute; z-index: 1; top: 20px; right: var(--gutter); margin: 0; padding: 7px 10px 6px; background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--concrete); }

@media (max-aspect-ratio: 4/5) {
  .hero-video--wide { display: none; }
  .hero-video--tall { display: block; }
  .hero-caption--wide { display: none; }
  .hero-caption--tall { display: block; }
}

/* Proof: each figure sits in the logo's thick square frame */
.proof { border-top: 1px solid var(--ink-raised); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-item { display: grid; align-content: start; gap: 10px; padding: 24px 22px 26px; border: 4px solid var(--concrete); }
.proof-num { font: 800 clamp(2.3rem, 3.4vw, 3.4rem)/0.9 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof-num small { font-size: 0.42em; font-weight: 700; letter-spacing: 0.08em; margin-left: 6px; color: var(--concrete); }
.proof-item p { font-size: 1rem; line-height: 1.45; color: var(--gray); }
.proof-item strong { display: block; color: var(--concrete); font-weight: 600; }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.services-intro { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.services-intro figure { margin: 8px 0 0; }
.services-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.services-intro figcaption { margin-top: 10px; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 4px 18px; padding: 28px 0 30px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.service::before { content: ""; width: 14px; height: 14px; margin-top: 9px; border: 3px solid var(--ink); }
.service h3 { font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: 0.01em; }
.service p { grid-column: 2; max-width: 36rem; color: var(--gray-deep); }

/* Our big rig: the crane clip edge to edge, heading and one line below */
.rig { background: var(--ink); border-top: 1px solid var(--ink-raised); }
.rig-media { position: relative; }
.rig-media video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; background: var(--ink-raised); }
.rig-caption { position: absolute; top: 16px; right: var(--gutter); margin: 0; padding: 7px 10px 6px; background: color-mix(in srgb, var(--ink) 78%, transparent); color: var(--concrete); }
.rig-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(32px, 5vw, 56px) clamp(8px, 2vw, 24px); }
.rig + .band { border-top: 1px solid var(--ink-raised); }

/* Featured job */
.feature { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.feature-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-raised); }
.feature-text { display: grid; gap: 20px; }
.feature-text p { color: var(--gray); }
.feature-text strong { color: var(--concrete); font-weight: 600; }
.feature-after { margin: 8px 0 0; }
.feature-after img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-after figcaption { margin-top: 10px; }

/* Recent jobs */
.jobs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.jobs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) 24px; }
.job { grid-column: span 2; display: grid; align-content: start; gap: 8px; margin: 0; }
.job--lg { grid-column: span 3; }
.job img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; background: var(--gray); }
.job h3 { font-weight: 700; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1; }
.job p { color: var(--gray-deep); font-size: 1.0625rem; }

/* Homes */
.homes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.homes .h2 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); }
.homes p { max-width: 34rem; font-size: 1.2rem; }
.homes-side { display: grid; gap: 20px; justify-items: start; }

/* Service area */
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.area-text { display: grid; gap: 24px; }
.legend { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--gray); }
.legend i { flex: none; width: 14px; height: 14px; }
.legend .k-home { background: var(--yellow); }
.legend .k-job { background: var(--concrete); }
.area-map { width: 100%; height: auto; border: 1px solid var(--ink-raised); background: var(--ink); }
.map-state { fill: var(--ink-raised); stroke: var(--gray); stroke-width: 1; }
.map-home { fill: var(--yellow); }
.map-region { fill: var(--gray); font: 600 15px var(--display); letter-spacing: 0.22em; }
.map-pin { fill: var(--concrete); stroke: var(--ink); stroke-width: 2; }
.map-town { fill: var(--concrete); font: 700 18px var(--display); text-transform: uppercase; letter-spacing: 0.06em; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.map-scale rect { fill: var(--concrete); }
.map-scale text { fill: var(--concrete); font: 600 13px var(--display); letter-spacing: 0.14em; }

/* Contact */
.contact { border-top: 1px solid var(--ink-raised); }
.contact-grid { display: grid; gap: 28px; }
.phone-big {
  display: inline-block;
  font: 800 clamp(2.9rem, 9vw, 7rem)/0.9 var(--display);
  color: var(--yellow);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  user-select: all;
}
.phone-big:hover { color: var(--concrete); }
.email-big { display: inline-block; font: 800 clamp(1.9rem, 6.2vw, 4.6rem)/1 var(--display); color: var(--yellow); text-decoration: none; overflow-wrap: anywhere; letter-spacing: 0.01em; }
.email-big:hover { color: var(--concrete); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; color: var(--gray); }
.contact-lines a { color: var(--concrete); }
.copy-btn { min-height: 40px; padding: 0 14px; font-size: 0.95rem; color: var(--concrete); }
.contact-lines .btn { color: var(--concrete); }
.contact-lines .btn--yellow { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--ink-raised); padding-block: 40px; }
.site-footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; }
.site-footer img { height: 44px; width: auto; }
.footer-facts { display: grid; gap: 6px; font-size: 1rem; color: var(--gray); }
.footer-facts strong { color: var(--concrete); font-weight: 600; }
.footer-links { display: grid; gap: 8px; justify-items: end; font-size: 1rem; color: var(--gray); }
.footer-links a { color: var(--concrete); }
.footer-links a:hover { color: var(--yellow); }

/* Phone action bar */
.action-bar { display: none; }

@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .rig-text { grid-template-columns: minmax(0, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services, .feature, .homes, .area { grid-template-columns: minmax(0, 1fr); }
  .services-intro { position: static; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job, .job--lg { grid-column: span 1; }
  .job--lg:first-child { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-items: start; }
}

@media (max-width: 719px) {
  :root { --header-h: 60px; }
  .nav a:not(.nav-keep) { display: none; }
  .brand img { height: 30px; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-item { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; }
  .jobs { grid-template-columns: minmax(0, 1fr); }
  .job--lg:first-child { grid-column: auto; }
  .hero-content .btn-row { display: none; }
  .rig-media video { aspect-ratio: 4 / 3; object-position: 58% 60%; }
  .action-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ink);
    border-top: 1px solid var(--gray-deep);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--bar-h);
    font: 700 1.125rem/1 var(--display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--concrete);
  }
  .action-bar a + a { border-left: 1px solid var(--gray-deep); }
  .action-bar .primary { background: var(--yellow); color: var(--ink); }
  .site-footer { padding-bottom: calc(40px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* Projects page */
.page-intro { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.h1-page { font-weight: 800; font-size: clamp(3.4rem, 10vw, 8rem); line-height: 0.86; margin-bottom: 20px; }
.project { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ink-raised); }
.project--light { background: var(--concrete); color: var(--ink); border-top: 0; }
.project--light .label { color: var(--gray-deep); }
.project-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.project-text { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.project-text > p:not(.label) { color: var(--gray); }
.project--light .project-text > p:not(.label) { color: var(--gray-deep); }
.facts { display: grid; gap: 0; margin: 8px 0 0; border-top: 2px solid currentColor; }
.facts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.facts dt { font: 600 0.8125rem/1.6 var(--display); text-transform: uppercase; letter-spacing: 0.16em; color: var(--gray); }
.project--light .facts dt { color: var(--gray-deep); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery > :first-child { grid-column: 1 / -1; }
.gallery--2 > :first-child { grid-column: auto; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-raised); }
.gallery > :first-child { aspect-ratio: 16 / 9; }
.gallery--2 img, .gallery--2 video, .gallery--2 > :first-child { aspect-ratio: 4 / 3; }

@media (max-width: 960px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-text { position: static; }
}
@media (max-width: 560px) {
  .gallery, .gallery--2 { grid-template-columns: minmax(0, 1fr); }
}

/* Privacy page: plain reading column, left edge on the site grid. */
.legal > * { max-width: 42rem; }
.legal h2 { font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1; margin: 2.75rem 0 0.75rem; }
.legal p + p { margin-top: 1rem; }
.legal a { color: var(--yellow); text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
