:root {
  --paper: #F5F1E8;
  --ink: #111111;
  --signal: #FFD400;
  --line: rgba(17, 17, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 10;
  left: 0;
  width: 100%;
  height: 15px;
  background: repeating-linear-gradient(135deg, var(--signal) 0 24px, var(--ink) 24px 48px);
}

body::before { top: 0; }
body::after { bottom: 0; }

.construction-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3.5rem, 7vw, 7rem);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(38px, 5vw, 72px) clamp(38px, 5vw, 72px);
}

.construction-shell::before {
  content: "";
  position: absolute;
  inset: clamp(2.2rem, 4vw, 4rem);
  border: 1px solid var(--ink);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - clamp(7rem, 14vw, 14rem));
  align-content: end;
  gap: clamp(3.5rem, 7vw, 7rem);
  max-width: 1500px;
  margin: 0 auto;
}

.hero {
  position: relative;
  padding-top: clamp(3rem, 8vw, 8rem);
}

.construction-visual {
  position: absolute;
  z-index: -1;
  inset: 8% 2% auto auto;
  width: min(34vw, 460px);
  aspect-ratio: 1.5;
  border: 2px solid var(--ink);
  transform: rotate(-3deg);
}

.construction-visual span {
  position: absolute;
  display: block;
  background: var(--signal);
  border: 2px solid var(--ink);
}

.construction-visual span:nth-child(1) { inset: 16% 62% 12% 8%; }
.construction-visual span:nth-child(2) { inset: 38% 8% 12% 38%; }
.construction-visual span:nth-child(3) { inset: 8% 8% 72% 38%; }

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
  font-weight: 900;
}

h1 span {
  display: block;
  color: var(--signal);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 7px 7px 0 var(--ink);
}

.supporting-copy {
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-family: ui-monospace;
  font-size: clamp(0.72rem, 1.2vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.build-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
  counter-reset: phase;
}

.progress-step {
  position: relative;
  padding: 1.2rem 0 0;
  counter-increment: phase;
  font-family: ui-monospace;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  letter-spacing: 0.16em;
}

.progress-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.progress-step:last-child {
  text-align: right;
}

.progress-step:last-child::before {
  right: 0;
  left: auto;
}

.progress-step[aria-current="step"] {
  font-weight: 900;
}

.progress-step[aria-current="step"]::before {
  width: 38%;
  background: var(--signal);
  animation: marker-pulse 2.6s ease-in-out infinite;
}

@keyframes marker-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@media (max-width: 700px) {
  body::before,
  body::after { height: 10px; }

  .construction-shell {
    padding: 3.5rem 1.4rem 3.8rem;
  }

  .construction-shell::before {
    inset: 2rem 0.8rem;
  }

  main {
    min-height: calc(100svh - 7.3rem);
    gap: 2.6rem;
  }

  .hero { padding-top: 2.5rem; }

  .construction-visual {
    top: 14%;
    right: 1%;
    width: 50vw;
    opacity: 0.42;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  h1 span {
    -webkit-text-stroke-width: 1.5px;
    text-shadow: 4px 4px 0 var(--ink);
  }

  .supporting-copy {
    max-width: 24ch;
    line-height: 1.7;
  }

  .progress-step {
    overflow-wrap: anywhere;
    letter-spacing: 0.08em;
  }
}

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