:root {
  --ink: #0c0f10;
  --paper: #f0efea;
  --line: rgba(12, 15, 16, 0.2);
  --muted: #5f625f;
  --signal: #d0552f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 100vh;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 88px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.site-header nav a,
.email-link,
footer {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav a,
.email-link,
footer a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.site-header nav {
  display: flex;
  gap: clamp(22px, 3vw, 46px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  min-height: calc(100vh - 160px);
  padding: clamp(72px, 10vw, 150px) clamp(24px, 5vw, 80px);
}

.hero-copy {
  align-self: center;
  max-width: 940px;
}

h1 {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(4.4rem, 10vw, 10rem);
  letter-spacing: -0.055em;
  line-height: 0.82;
  margin: 0 0 42px;
  text-transform: uppercase;
}

.signal-mark {
  color: var(--signal);
}

.hero-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 620px;
}

.email-link {
  display: inline-block;
}

.hero-mark {
  align-self: center;
  border-left: 1px solid var(--line);
  display: grid;
  min-height: 62%;
  place-items: center;
}

.hero-mark img {
  height: auto;
  width: min(40vw, 560px);
}

.production {
  background: #e8e8e2;
  border-top: 1px solid var(--ink);
  padding: clamp(78px, 9vw, 132px) clamp(24px, 5vw, 80px);
}

.production-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(170px, 0.55fr) 1.4fr minmax(260px, 0.8fr);
  margin-bottom: clamp(56px, 7vw, 96px);
}

.section-label,
.project-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 5px 0 0;
}

.section-label span,
.status i {
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.section-label span {
  background: var(--signal);
}

.production-heading h2 {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.9rem, 5.6vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}

.production-heading > p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.drafting-board {
  background-color: #f2f1eb;
  background-image:
    linear-gradient(rgba(41, 75, 99, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 75, 99, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(41, 75, 99, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 75, 99, 0.2) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  border: 1px solid rgba(41, 75, 99, 0.5);
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px);
  position: relative;
}

.drafting-board::before,
.drafting-board::after {
  color: rgba(41, 75, 99, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  position: absolute;
}

.drafting-board::before {
  content: "DW / ACTIVE PRODUCTION / REV 01";
  left: 14px;
  top: 10px;
}

.drafting-board::after {
  bottom: 10px;
  content: "DRAFT — NOT FOR RELEASE";
  right: 14px;
}

.draft-route {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.route-segment {
  background: var(--signal);
  opacity: 0.72;
  position: absolute;
}

.route-1 { height: 2px; left: 0; top: 20%; width: 25%; }
.route-2 { height: 28%; left: 25%; top: 20%; width: 2px; }
.route-3 { height: 2px; left: 25%; top: 48%; width: 22%; }
.route-4 { height: 20%; left: 47%; top: 48%; width: 2px; }
.route-5 { height: 2px; left: 47%; top: 68%; width: 30%; }
.route-6 { height: 36%; left: 77%; top: 32%; width: 2px; }
.route-7 { height: 2px; left: 77%; top: 32%; width: 23%; }

.route-cursor {
  animation: route-cursor 9s linear infinite;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(208, 85, 47, 0.18);
  height: 8px;
  left: 0;
  position: absolute;
  top: 20%;
  transform: translate(-50%, -50%);
  width: 8px;
}

.project-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.project-card {
  background: rgba(242, 241, 235, 0.9);
  border: 1px solid #294b63;
  min-height: 330px;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

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

.project-card::before {
  border-top: 2px solid #294b63;
  left: 0;
  top: -1px;
  width: 100%;
}

.project-card::after {
  border-left: 8px double rgba(41, 75, 99, 0.5);
  bottom: 12px;
  right: 12px;
  top: 12px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
}

.status {
  align-items: center;
  color: #294b63;
  display: flex;
  gap: 7px;
}

.status i {
  background: #294b63;
}

.stealth-cover {
  display: grid;
  gap: 10px;
  margin: 72px 0 44px;
  width: 72%;
}

.stealth-cover span {
  background: var(--ink);
  height: 12px;
}

.stealth-cover span:nth-child(2) {
  width: 86%;
}

.stealth-cover span:nth-child(3) {
  width: 54%;
}

.project-card h3 {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.project-card > p {
  color: var(--muted);
  margin: 0;
}

@keyframes route-cursor {
  0% { left: 0; top: 20%; }
  20% { left: 25%; top: 20%; }
  34% { left: 25%; top: 48%; }
  50% { left: 47%; top: 48%; }
  62% { left: 47%; top: 68%; }
  80% { left: 77%; top: 68%; }
  92% { left: 77%; top: 32%; }
  100% { left: 100%; top: 32%; }
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 72px;
  }

  .hero-mark {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 72px;
    min-height: 360px;
    padding-top: 48px;
  }

  .hero-mark img {
    width: min(78vw, 500px);
  }

  .production-heading {
    grid-template-columns: 1fr;
  }

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

  .project-card {
    min-height: 290px;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 0.76rem;
  }

  .brand img {
    height: 34px;
    width: 34px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    height: auto;
    padding-bottom: 28px;
    padding-top: 28px;
  }
}

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

  .route-cursor {
    display: none;
  }
}
