:root {
  --bg: #010b16;
  --text: #f4f8fb;
  --muted: #aebbc5;
  --line: rgba(93, 151, 187, .25);
  --cyan: #0fb7f4;
  --cyan-soft: #77ddff;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 48%, rgba(0, 121, 190, .12), transparent 33%),
    linear-gradient(90deg, rgba(1, 11, 22, .58), transparent 55%);
}

#network {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .8;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(28px, 4.4vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(1, 9, 18, .72), rgba(1, 9, 18, .22));
  position: relative;
  z-index: 3;
}

.brand { display: inline-block; }
.brand img {
  display: block;
  width: clamp(250px, 23vw, 350px);
  height: auto;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d8e1e7;
  font-size: clamp(.96rem, 1.15vw, 1.12rem);
  font-weight: 400;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.phone svg {
  width: 23px;
  height: 23px;
  fill: var(--cyan);
}

.phone:hover,
.phone:focus-visible {
  color: var(--cyan-soft);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(400px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, var(--bg) 0%, rgba(1,11,22,.92) 25%, rgba(1,11,22,.28) 54%, rgba(1,11,22,.02) 100%),
    url("assets/acarmitt-hero-construction-hd.jpg");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.hero-copy {
  grid-column: 1;
  position: relative;
  max-width: 760px;
  padding: clamp(34px, 6vh, 78px) 20px clamp(34px, 6vh, 78px) clamp(42px, 8.5vw, 145px);
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  z-index: 3;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-soft);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(15,183,244,.12), 0 0 16px var(--cyan);
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 5.2vw, 6rem);
  font-weight: 430;
  line-height: 1.04;
  letter-spacing: -.045em;
}

h1 span {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(15,183,244,.22);
}

.accent {
  width: 94px;
  height: 2px;
  margin: clamp(24px, 3.8vh, 38px) 0;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(15,183,244,.7);
}

.lead,
.support {
  max-width: 590px;
  margin: 0;
  color: #dce4e9;
  font-size: clamp(1.04rem, 1.3vw, 1.28rem);
  line-height: 1.65;
}

.support {
  margin-top: 3px;
  color: var(--muted);
}

.site-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(28px, 4.4vw, 76px);
  border-top: 1px solid var(--line);
  color: #7f909c;
  background: rgba(1, 8, 15, .56);
  font-size: .82rem;
  position: relative;
  z-index: 3;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 26px; }
.site-footer a { color: #91a3ae; text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--cyan-soft); }

@media (max-width: 900px) {
  .page-shell { height: auto; }
  .site-header { min-height: 96px; }
  .hero {
    min-height: calc(100dvh - 152px);
    display: flex;
    align-items: flex-end;
  }
  .hero-art {
    background-image:
      linear-gradient(180deg, rgba(1,11,22,.08) 5%, rgba(1,11,22,.6) 52%, var(--bg) 88%),
      linear-gradient(90deg, rgba(1,11,22,.18), transparent),
      url("assets/acarmitt-hero-construction-hd.jpg");
    background-position: center, center, 64% center;
    background-size: cover;
  }
  .hero-copy {
    width: 100%;
    max-width: 680px;
    padding: 38vh 28px 50px;
  }
}

@media (max-width: 760px) {
  #network { opacity: .62; }

  .page-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .site-header {
    min-height: 72px;
    padding: 9px 18px;
  }

  .brand img { width: clamp(190px, 55vw, 230px); }

  .phone {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .phone span { display: none; }
  .phone svg { width: 20px; height: 20px; }

  .hero {
    min-height: 0;
    align-items: center;
  }

  .hero-art {
    background-image:
      linear-gradient(180deg, rgba(1,11,22,.04) 0%, rgba(1,11,22,.18) 30%, rgba(1,11,22,.92) 67%, var(--bg) 91%),
      url("assets/acarmitt-hero-construction-hd.jpg");
    background-position: center, 63% top;
    background-size: cover, auto 64%;
    background-repeat: no-repeat;
  }

  .hero-copy {
    max-width: 590px;
    padding: clamp(145px, 20vh, 220px) 22px clamp(18px, 3vh, 30px);
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: .64rem;
    letter-spacing: .13em;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(2.55rem, 10.5vw, 3.45rem);
    line-height: 1.02;
  }

  .accent {
    width: 72px;
    margin-block: 21px;
  }

  .lead,
  .support {
    max-width: 520px;
    font-size: .98rem;
    line-height: 1.52;
  }

  .support { margin-top: 6px; }

  .site-footer { flex-direction: column; text-align: center; gap: 10px; padding: 15px 20px 20px; }
  .site-footer {
    min-height: 62px;
    flex-direction: row;
    padding: 10px 18px;
    font-size: .72rem;
  }
  .site-footer p { max-width: 210px; text-align: left; }
  .site-footer nav { gap: 18px; flex-wrap: nowrap; justify-content: center; }
}

@media (max-width: 420px) {
  .site-header { padding-inline: 15px; }
  .brand img { width: 185px; }
  .phone { width: 39px; height: 39px; }
  .hero-copy { padding: clamp(130px, 18vh, 190px) 18px 22px; }
  h1 { font-size: clamp(2.55rem, 12.5vw, 3.2rem); }
  .lead, .support { font-size: .94rem; }
  .site-footer {
    min-height: 58px;
    gap: 12px;
    padding-inline: 14px;
  }
  .site-footer p { display: none; }
  .site-footer nav { width: 100%; gap: 24px; }
}

@media (max-width: 760px) and (max-height: 720px) {
  .page-shell {
    height: auto;
    overflow: visible;
  }
  .hero { min-height: 640px; }
  .hero-copy { padding-top: 190px; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .site-header { min-height: 88px; }
  .brand img { width: 270px; }
  .hero-copy { padding-block: 24px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(3rem, 4.7vw, 4.8rem); }
  .accent { margin-block: 20px; }
  .lead, .support { font-size: 1rem; line-height: 1.5; }
  .site-footer { min-height: 48px; padding-block: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  #network { display: none; }
}
