:root {
  --orange: #f47b20;
  --orange-bright: #ff963d;
  --charcoal: #17191b;
  --white: #f7f4ee;
  --muted: rgba(247, 244, 238, 0.68);
  --line: rgba(255, 255, 255, 0.18);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--white);
  background: var(--charcoal);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 15, 16, 0.97) 0%, rgba(13, 15, 16, 0.85) 34%, rgba(13, 15, 16, 0.24) 72%, rgba(13, 15, 16, 0.34) 100%),
    linear-gradient(0deg, rgba(12, 14, 15, 0.75) 0%, transparent 45%),
    url("../assets/images/construction-hero.webp") 64% center / cover no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: var(--charcoal);
  background: var(--white);
  border-radius: 0.25rem;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
}

.brand:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 6px;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  color: var(--orange);
}

.brand-mark svg {
  width: 100%;
  fill: currentColor;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  text-transform: uppercase;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.22em;
}

.industry-label {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.industry-label > span {
  width: 1.8rem;
  height: 1px;
  background: var(--orange);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38rem;
  padding: clamp(3.5rem, 8vh, 7rem) 0;
}

.hero-content {
  width: min(46rem, 67vw);
}

.coming-soon {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.58rem 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--orange-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 150, 61, 0.5);
  animation: pulse 2.4s infinite;
}

.eyebrow {
  margin: clamp(2.4rem, 6vh, 4.8rem) 0 1rem;
  color: var(--orange-bright);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 750;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7.5vw, 7.7rem);
  font-weight: 760;
  letter-spacing: -0.064em;
  line-height: 0.88;
  text-wrap: balance;
}

h1 em {
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1.4px rgba(247, 244, 238, 0.86);
}

.hero-subtitle {
  margin: clamp(1.8rem, 4vh, 2.8rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.promise-row {
  display: flex;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.4rem, 5vh, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.promise {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.promise-number {
  padding-top: 0.12rem;
  color: var(--orange-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-style: italic;
}

.promise-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.scroll-line {
  display: block;
  width: 3.2rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-line::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--orange);
  animation: scan 3s ease-in-out infinite;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.48);
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.domain {
  color: rgba(255, 255, 255, 0.68);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 720ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 100ms; }
.reveal-2 { animation-delay: 220ms; }
.reveal-3 { animation-delay: 340ms; }
.reveal-4 { animation-delay: 470ms; }
.reveal-5 { animation-delay: 600ms; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255, 150, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 150, 61, 0); }
}

@keyframes scan {
  0% { transform: translateX(-105%); }
  60%, 100% { transform: translateX(105%); }
}

@media (max-width: 760px) {
  body::before {
    background:
      linear-gradient(90deg, rgba(13, 15, 16, 0.93) 0%, rgba(13, 15, 16, 0.66) 100%),
      linear-gradient(0deg, rgba(12, 14, 15, 0.84) 0%, transparent 62%),
      url("../assets/images/construction-hero.webp") 68% center / cover no-repeat;
  }

  .industry-label {
    max-width: 9rem;
    text-align: right;
  }

  .industry-label > span,
  .scroll-cue {
    display: none;
  }

  .hero {
    min-height: 34rem;
    padding: 3.75rem 0;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 14.3vw, 5.8rem);
    line-height: 0.92;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-shell {
    padding: 0 1.1rem;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .industry-label {
    max-width: 7.5rem;
    font-size: 0.56rem;
    line-height: 1.5;
  }

  .promise-row {
    gap: 1.25rem;
  }

  .promise {
    gap: 0.55rem;
  }

  .promise-text {
    font-size: 0.61rem;
  }

  .site-footer {
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.54rem;
    line-height: 1.5;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .hero {
    min-height: 30rem;
    padding: 2.75rem 0;
  }

  .eyebrow {
    margin-top: 2rem;
  }

  .promise-row {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .coming-soon,
  .brand:focus-visible {
    border: 1px solid CanvasText;
  }
}
