:root {
  --black: #050505;
  --ink: #141414;
  --muted: #686868;
  --line: #d8d8d8;
  --paper: #f5f2ec;
  --white: #ffffff;
  --red: #ff2a0a;
  --red-dark: #c51c06;
  --steel: #8c969b;
  --timber: #b8773f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 3vw, 42px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0));
}

.brand {
  display: block;
  width: clamp(116px, 14vw, 172px);
  height: 46px;
  overflow: hidden;
}

.brand img,
.footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a,
.header-cta {
  position: relative;
}

.nav-links a::after,
.header-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.header-cta:hover::after {
  transform: scaleX(1);
}

.header-cta {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-construction.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.55) 36%, rgba(0, 0, 0, 0.08) 70%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 52%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  padding: 104px clamp(18px, 5vw, 72px) 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8.5vw, 124px);
  line-height: 0.87;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.4;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-ghost {
  color: var(--white);
}

.button-ghost:hover {
  background: var(--white);
  color: var(--black);
}

.button-ghost.light:hover {
  background: var(--black);
  color: var(--white);
}

.hero-meta {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: 18px;
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-meta span {
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  padding-top: 10px;
}

.section-pad {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 28%, rgba(255, 42, 10, 0.24), transparent 28%),
    linear-gradient(135deg, #102738 0%, #07131f 48%, #03070b 100%);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto;
  color: var(--white);
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro::before {
  width: min(46vw, 560px);
  aspect-ratio: 1.35;
  right: clamp(10px, 5vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.22;
  background:
    linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, 0.95) 47%, rgba(255, 255, 255, 0.95) 49%, transparent 50%) 0 0 / 100% 55% no-repeat,
    linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, 0.95) 47%, rgba(255, 255, 255, 0.95) 49%, transparent 50%) 0 0 / 100% 55% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) 9% 51% / 82% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) 12% 51% / 2px 42% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) 88% 51% / 2px 42% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) 12% 93% / 76% 2px no-repeat;
}

.intro::after {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.28) 8% 8.2%, transparent 8.2% 100%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.22) 18% 18.2%, transparent 18.2% 100%);
}

.intro-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.intro-copy {
  max-width: 780px;
}

.intro h2,
.section-heading h2,
.process-title h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro p,
.work-copy p,
.contact p,
.timeline p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.intro p {
  max-width: 560px;
  margin-top: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.blueprint-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(6, 18, 30, 0.54);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.blueprint-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.42);
  border-right: 2px solid rgba(255, 255, 255, 0.24);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 84% 70%, 84% 18%, 0 18%);
}

.blueprint-card::after {
  content: "1200  /  SITE  /  SECTION  A";
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.blueprint-card img {
  position: relative;
  z-index: 1;
  width: min(210px, 70%);
  height: auto;
}

.blueprint-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--white);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
}

.stats div {
  min-height: 210px;
  padding: clamp(24px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats strong {
  color: var(--red);
  font-size: 14px;
}

.stats span {
  max-width: 260px;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.work {
  background: var(--paper);
}

.section-heading {
  max-width: var(--max);
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 760px;
}

.work-grid {
  max-width: min(100%, 1840px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  min-height: 640px;
  display: grid;
  grid-template-rows: 300px 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 22px 50px rgba(5, 5, 5, 0.14);
  outline: none;
}

.work-card-large {
  min-height: 640px;
  grid-row: auto;
}

.work-card.dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.work-image,
.courts-image,
.housing-image,
.interior-image {
  height: 300px;
  min-height: 300px;
  background-size: cover;
  background-blend-mode: normal;
}

.work-image {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.72) 100%),
    url("assets/steel-warehouse.png");
  background-position: 58% 52%;
}

.courts-image {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.72) 100%),
    url("assets/commercial-courts.webp");
  background-position: center 54%;
}

.housing-image {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.72) 100%),
    url("assets/residential-home.png");
  background-position: 56% 52%;
}

.interior-image {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.72) 100%),
    url("assets/interior-design.avif");
  background-position: center 54%;
}

.work-copy {
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-rows: 18px minmax(132px, auto) 1fr;
  align-content: start;
}

.work-copy span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.98;
  text-transform: uppercase;
  align-self: start;
}

@media (min-width: 1420px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.services {
  background: var(--white);
}

.service-list {
  max-width: var(--max);
  border-top: 1px solid var(--ink);
}

.service-list a {
  min-height: 126px;
  display: grid;
  grid-template-columns: 80px minmax(210px, 0.8fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease, padding 180ms ease;
}

.service-list a:hover {
  padding-left: 18px;
  background: var(--black);
  color: var(--white);
}

.service-list span {
  color: var(--red);
  font-weight: 900;
}

.service-list strong {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

.service-list em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.service-list a:hover em {
  color: rgba(255, 255, 255, 0.76);
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 98px);
  background: var(--paper);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  border-top: 1px solid var(--ink);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  counter-increment: steps;
  content: "0" counter(steps);
  position: absolute;
  right: 0;
  top: 27px;
  color: var(--red);
  font-weight: 900;
}

.timeline span {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p {
  max-width: 420px;
  margin-bottom: 0;
  padding-right: 48px;
}

.contact {
  padding: clamp(74px, 10vw, 138px) clamp(18px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
}

.contact-inner {
  max-width: var(--max);
}

.contact h2 {
  max-width: 960px;
  margin-bottom: 24px;
}

.contact p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
}

.footer {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer img {
  width: 150px;
  height: 44px;
}

.detail-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.detail-hero-media,
.detail-hero-shade {
  position: absolute;
  inset: 0;
}

.warehouse-hero .detail-hero-media {
  background-image: url("assets/steel-warehouse.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.courts-hero .detail-hero-media {
  background-image: url("assets/commercial-courts.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.housing-hero .detail-hero-media {
  background-image: url("assets/residential-home.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.interior-hero .detail-hero-media {
  background-image: url("assets/interior-design.avif");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.detail-hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.1) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0) 54%);
}

.detail-hero-content {
  position: relative;
  width: min(980px, calc(100% - 36px));
  padding: 126px clamp(18px, 5vw, 72px) 72px;
}

.detail-hero h1 {
  max-width: 900px;
}

.detail-hero p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.42;
}

.detail-intro {
  background: var(--white);
}

.detail-intro-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.detail-intro h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.94;
  text-transform: uppercase;
}

.detail-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.warehouse-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  color: var(--white);
}

.warehouse-points div {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.warehouse-points strong {
  max-width: 260px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}

.warehouse-points span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.warehouse-method {
  background:
    linear-gradient(rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
}

.method-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.method-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.method-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.method-grid h3 {
  margin: auto 0 18px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
  text-transform: uppercase;
}

.method-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-content {
    padding-bottom: 112px;
  }

  .hero-meta {
    left: 18px;
    right: 18px;
    justify-content: space-between;
  }

  .intro-grid,
  .work-grid,
  .process,
  .detail-intro-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .warehouse-points {
    grid-template-columns: 1fr 1fr;
  }

  .stats div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .work-card-large {
    min-height: 640px;
  }

  .service-list a {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .service-list em {
    grid-column: 2;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 14px 14px;
  }

  .brand {
    width: 118px;
    height: 38px;
  }

  .header-cta {
    font-size: 11px;
  }

  .hero-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .button {
    width: 100%;
  }

  .work-copy,
  .stats div {
    padding: 24px;
  }

  .detail-hero-content {
    width: 100%;
    padding: 118px 16px 58px;
  }

  .warehouse-points {
    grid-template-columns: 1fr;
  }

  .warehouse-points div,
  .method-grid article {
    min-height: 220px;
  }
}
