:root {
  --navy: #0d2b4d;
  --green: #66bb46;
  --ink: #132033;
  --gray: #6b6f72;
  --light: #e6e9ed;
  --white: #ffffff;
  --card: rgba(255, 255, 255, 0.84);
  --card-solid: #ffffff;
  --shadow: 0 24px 60px rgba(13, 43, 77, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--white);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.construction-page {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.visual-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    image-set(url("assets/office-construction-hero.png") 1x)
    center / cover no-repeat;
  transform: scale(1.03);
  animation: slow-focus 14s ease-in-out infinite alternate;
}

.soft-mask {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.18) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(230, 233, 237, 0.92) 100%);
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 260px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
  background: var(--white);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(13, 43, 77, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.header-action svg {
  width: 18px;
  height: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 156px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 94px) 0 clamp(28px, 5vh, 54px);
}

.hero-copy {
  max-width: 680px;
  padding-bottom: clamp(12px, 4vh, 36px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--green);
  border-radius: 999px;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.lede {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #27384e;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.65;
  font-weight: 520;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 900;
}

.primary-cta {
  gap: 10px;
  padding: 0 18px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(102, 187, 70, 0.28);
}

.primary-cta svg {
  width: 20px;
  height: 20px;
}

.secondary-cta {
  padding: 0 16px;
  border: 1px solid rgba(13, 43, 77, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
}

.status-panel {
  align-self: center;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-header strong {
  color: var(--green);
  font-size: 1.7rem;
}

.progress-track {
  position: relative;
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8dde3;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 76%;
  border-radius: inherit;
  background: var(--green);
  animation: pulse-width 3.2s ease-in-out infinite;
}

.scanner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: scan 2.4s linear infinite;
}

.route-line {
  position: relative;
  height: 74px;
  margin: 24px 2px 8px;
}

.road {
  position: absolute;
  right: 7px;
  bottom: 19px;
  left: 7px;
  height: 3px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 18px, transparent 18px 28px);
  opacity: 0.6;
}

.dot {
  position: absolute;
  bottom: 13px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(102, 187, 70, 0.22);
}

.dot-start {
  left: 0;
}

.dot-end {
  right: 0;
}

.delivery-van {
  position: absolute;
  left: 5%;
  bottom: 25px;
  width: 84px;
  height: 34px;
  animation: drive 5.5s ease-in-out infinite;
}

.van-body,
.van-cab {
  position: absolute;
  bottom: 8px;
  background: var(--navy);
}

.van-body {
  left: 0;
  width: 52px;
  height: 24px;
  border-radius: 5px 3px 3px 5px;
}

.van-cab {
  right: 6px;
  width: 30px;
  height: 21px;
  border-radius: 4px 8px 3px 1px;
}

.van-cab::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 5px;
  width: 11px;
  height: 8px;
  border-radius: 2px;
  background: #cfd8e3;
}

.wheel {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  animation: spin 0.55s linear infinite;
}

.wheel-a {
  left: 12px;
}

.wheel-b {
  right: 12px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.status-grid li {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 112px;
  padding: 14px 10px;
  border: 1px solid rgba(13, 43, 77, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-grid svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.motion-strip {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(13, 43, 77, 0.92);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(13, 43, 77, 0.2);
}

.belt {
  position: relative;
  height: 46px;
  overflow: hidden;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 20px, transparent 20px 34px),
    rgba(255, 255, 255, 0.08);
}

.belt::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--green);
}

.box {
  position: absolute;
  bottom: 12px;
  width: 27px;
  height: 24px;
  border: 2px solid rgba(13, 43, 77, 0.45);
  border-radius: 4px;
  background: #c99254;
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.22);
  animation: box-travel 6s linear infinite;
}

.box::before {
  content: "";
  position: absolute;
  inset: -2px auto auto 50%;
  width: 4px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.box-one {
  animation-delay: -0.8s;
}

.box-two {
  animation-delay: -2.8s;
}

.box-three {
  animation-delay: -4.6s;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker span:first-child {
  background: var(--green);
}

.primary-cta,
.secondary-cta,
.header-action,
.brand-lockup {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.primary-cta:hover,
.secondary-cta:hover,
.header-action:hover,
.brand-lockup:hover {
  transform: translateY(-2px);
}

.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.header-action:focus-visible,
.brand-lockup:focus-visible {
  outline: 3px solid rgba(102, 187, 70, 0.42);
  outline-offset: 4px;
}

@keyframes slow-focus {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.07) translate3d(-12px, -8px, 0);
  }
}

@keyframes pulse-width {
  0%,
  100% {
    width: 72%;
  }
  50% {
    width: 82%;
  }
}

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

@keyframes drive {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  45% {
    transform: translateX(245px) translateY(-2px);
  }
  52% {
    transform: translateX(245px) translateY(-2px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes box-travel {
  0% {
    left: -34px;
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    left: calc(100% + 34px);
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .soft-mask {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(230, 233, 237, 0.88) 100%);
  }

  .brand-header {
    width: calc(100vw - 28px);
    max-width: 720px;
    padding-top: 16px;
  }

  .header-action {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    max-width: 720px;
    min-height: auto;
    padding: 44px 0 24px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    max-width: 12ch;
  }

  .status-panel {
    max-width: 560px;
  }

  .motion-strip {
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    max-width: 720px;
  }

  @keyframes drive {
    0%,
    100% {
      transform: translateX(0) translateY(0);
    }
    45% {
      transform: translateX(min(64vw, 390px)) translateY(-2px);
    }
    52% {
      transform: translateX(min(64vw, 390px)) translateY(-2px);
    }
  }
}

@media (max-width: 580px) {
  .brand-header,
  .hero,
  .motion-strip {
    max-width: 340px;
    margin-left: 14px;
    margin-right: auto;
  }

  .brand-logo {
    width: 180px;
    max-height: 58px;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2.35rem, 10.6vw, 3rem);
  }

  .lede {
    font-size: 1rem;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .status-panel {
    padding: 16px;
  }

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

  .status-grid li {
    min-height: 82px;
    grid-template-columns: 34px 1fr;
    justify-items: start;
    text-align: left;
  }

  .ticker span {
    flex: 1 1 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
