:root {
  --ink: #183249;
  --body: #405a6d;
  --subtle: #71899b;
  --paper: #edf4f8;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-hi: #ffffff;
  --line: #b7cad9;
  --line-strong: #7899b2;
  --accent: #1d5f96;
  --accent-2: #2d87bd;
  --display: "Arial Narrow", "Aptos Narrow", "Segoe UI", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(29, 95, 150, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 95, 150, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--mono);
}

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

.page-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-size: 0.82rem;
  line-height: 1;
}

.site-header p,
footer p,
footer a {
  margin: 0;
  color: var(--subtle);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.header-meta a,
footer a { color: var(--accent); }

.header-meta a:hover,
.header-meta a:focus-visible,
footer a:hover,
footer a:focus-visible { color: var(--accent-2); }

.hero { padding: 3.75rem 0 3.25rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: stretch;
}

.hero-copy { display: flex; flex-direction: column; justify-content: center; }

.draft-panel {
  display: flex;
  min-height: 315px;
  padding: 1rem;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.38);
}

.draft-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--subtle);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.draft-panel-mark {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 200px;
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(29, 95, 150, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 95, 150, 0.09) 1px, transparent 1px);
  background-size: 20px 20px;
}

.draft-panel-mark strong {
  position: relative;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.draft-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 1px;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
}

.draft-crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 78%;
  background: var(--line-strong);
  content: "";
  transform: translate(-50%, -50%);
}

.draft-number {
  position: absolute;
  right: 0.65rem;
  bottom: 0.55rem;
  color: var(--subtle);
  font-size: 0.62rem;
  font-weight: 700;
}

.draft-specs { margin: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1,
h2,
h3 { margin-top: 0; }

h1 {
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

h1 span { color: var(--accent); }

.intro-copy {
  max-width: 500px;
  margin: 0;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.65;
}

.hero-readout {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.65rem 1rem;
  max-width: 360px;
  margin-top: 1.6rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-readout strong { color: var(--accent); font-weight: 800; }

.project-list { padding-bottom: 4.75rem; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow { margin-bottom: 0; }

.section-heading h2 {
  margin-bottom: 0;
  color: var(--subtle);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tiles { display: grid; gap: 0.5rem; }

.project-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

a.project-tile:hover,
a.project-tile:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-hi);
  transform: translateX(3px);
}

.project-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.tile-index {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tile-copy { min-width: 0; }

.tile-copy strong {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-tile-static { cursor: default; }

.tile-status {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.tile-action {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

footer {
  min-height: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

footer a { color: var(--accent); }
footer a:hover,
footer a:focus-visible { color: var(--accent-2); }

.project-intro { max-width: 760px; padding: 4.25rem 0 2.75rem; }
.project-intro h1 { font-size: clamp(2.8rem, 6.2vw, 4.8rem); }

.project-overview {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 4.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-notes { padding: 1.75rem; }

.project-notes > p:not(.eyebrow) {
  margin: 0;
  color: var(--body);
  font-size: 0.78rem;
  line-height: 1.75;
}

dl { margin: 2rem 0 0; }

dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

dt,
dd {
  font-size: 0.62rem;
  line-height: 1.5;
}

dt { color: var(--subtle); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
dd { margin: 0; color: var(--accent); text-align: right; }

@media (max-width: 680px) {
  .page-shell { width: min(100% - 32px, 1120px); }
  .site-header, footer { min-height: 64px; }
  .hero, .project-intro { padding: 3.5rem 0 2.75rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .draft-panel { min-height: 250px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .project-intro h1 { font-size: clamp(2.65rem, 13vw, 4.4rem); }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 0.7rem; }
  .header-meta { gap: 0.8rem; }
  .header-meta p { display: none; }
  .project-tile { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; min-height: 0; }
  .tile-action { grid-column: 2; justify-self: start; }
  .project-notes { padding: 1.35rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.4rem; }
}

@media (max-width: 430px) {
  .site-header p { display: none; }
  .hero-readout { grid-template-columns: auto 1fr; }
  .tile-status { font-size: 0.52rem; }
}
