:root {
  font-family: "DM Sans", "Avenir Next", sans-serif;
  color: #081a2a;
  background: #f4f2eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #081a2a;
  --navy-soft: #132943;
  --paper: #f4f2eb;
  --paper-light: #fbfaf6;
  --muted: #71756e;
  --line: #d9d8cf;
  --lime: #d7ef75;
  --coral: #e9694e;
  --display: "Barlow Condensed", Impact, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
}

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

.site-header {
  height: 82px;
  padding: 0 clamp(22px, 6vw, 92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
}

.site-brand {
  width: 125px;
  height: 82px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.site-brand img {
  width: 123px;
  height: 82px;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-nav a > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
}

.profile-link {
  padding: 10px 13px;
  border: 1px solid #526073;
}

.profile-link:hover {
  color: var(--navy);
  background: var(--lime);
  border-color: var(--lime);
}

.page-shell { width: 100%; }

.hero {
  min-height: 390px;
  padding: 46px clamp(22px, 8.6vw, 132px) 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: clamp(34px, 8vw, 120px);
  color: var(--paper);
  background: var(--navy);
}

.hero-copy { max-width: 630px; }

.eyebrow,
.section-kicker,
.hero-index,
.project-card__index,
.project-card__status,
.project-card__bottom,
.footer-brand {
  font-family: var(--mono);
  font-size: 9px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #b9c3d0;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgb(215 239 117 / 15%);
}

.eyebrow__year { color: #7c899a; }

h1,
.section-heading h2,
.project-card__title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: 82px;
  line-height: 0.92;
}

.title-stop { color: var(--lime); }

.hero-description {
  max-width: 430px;
  margin: 20px 0 21px;
  color: #c1c8d0;
  font-size: 14px;
  line-height: 1.7;
}

.hero-link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 13px;
  color: var(--navy);
  background: var(--lime);
  font-size: 11px;
  font-weight: 700;
}

.hero-link span { font-size: 16px; }
.hero-link:hover { background: #e7ff8a; }

.hero-mark {
  position: relative;
  width: 100%;
  align-self: center;
}

.hero-mark img {
  width: 100%;
  display: block;
}

.hero-index {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  color: #8e9baa;
}

.hero-index span { color: var(--lime); }

.project-section {
  padding: 54px clamp(22px, 8.6vw, 132px) 85px;
  background: var(--paper);
}

.section-heading {
  min-height: 88px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--navy);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
}

.section-kicker span { color: var(--coral); }

.section-heading h2 {
  margin: 0 0 13px;
  font-size: 32px;
  line-height: 1;
}

.section-count {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.section-count span {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.project-card {
  min-width: 0;
  background: var(--paper-light);
  animation: arrive 420ms both;
  animation-delay: calc(var(--card-index) * 90ms);
}

.project-preview {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  color: inherit;
  background: #e6e5dc;
}

.project-preview[href]:hover .preview-art,
.project-preview[href]:hover .project-preview__image {
  transform: scale(1.025);
}

.project-preview__image,
.preview-art {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 220ms ease;
}

.project-preview__image { object-fit: cover; }

.preview-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.preview-art--puzzle {
  background-color: #e6e5dc;
  background-image: linear-gradient(0deg, transparent 49.5%, rgb(7 24 43 / 9%) 50%, transparent 50.5%), linear-gradient(90deg, transparent 49.5%, rgb(7 24 43 / 9%) 50%, transparent 50.5%);
  background-size: 38px 38px;
}

.preview-art--connect {
  background-color: #dce8cd;
  background-image: radial-gradient(#8ba183 1px, transparent 1px);
  background-size: 18px 18px;
}

.preview-art__detail {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
}

.preview-ui-label {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 1;
  padding: 6px 8px;
  color: var(--paper);
  background: var(--navy);
  font-family: var(--mono);
  font-size: 8px;
}

.puzzle-tiles {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transform: rotate(-7deg);
}

.puzzle-tiles i {
  width: 37px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: var(--paper-light);
  font-family: var(--display);
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--navy);
}

.puzzle-tiles i:nth-child(2),
.puzzle-tiles i:nth-child(4) {
  background: var(--lime);
}

.connect-nodes {
  position: absolute;
  width: 44%;
  height: 60%;
  background: linear-gradient(27deg, transparent 48.8%, #081a2a 49.2% 50.5%, transparent 50.9%), linear-gradient(150deg, transparent 47.8%, #081a2a 48.2% 49.5%, transparent 49.9%), linear-gradient(90deg, transparent 49%, #081a2a 49.4% 50.4%, transparent 50.8%);
}

.connect-nodes i {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--lime);
}

.connect-nodes i:nth-child(1) { top: 5%; left: 42%; }
.connect-nodes i:nth-child(2) { top: 37%; left: 5%; }
.connect-nodes i:nth-child(3) { top: 37%; right: 5%; }
.connect-nodes i:nth-child(4) { bottom: 3%; left: 23%; }
.connect-nodes i:nth-child(5) { right: 23%; bottom: 3%; }

.project-card__body { padding: 19px 20px 18px; }

.project-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-card__index {
  margin: 0;
  color: var(--coral);
}

.project-card__index span { color: var(--muted); }
.project-card__status {
  color: var(--coral);
  font-size: 9px;
  font-weight: 500;
}

.project-card__title {
  margin: 9px 0 5px;
  font-size: 29px;
  line-height: 1;
}

.project-card__description {
  min-height: 38px;
  margin: 0 0 13px;
  color: #555c61;
  font-size: 12px;
  line-height: 1.65;
}

.project-card__bottom {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #777d7c;
  font-size: 8px;
}

.site-footer {
  min-height: 72px;
  padding: 0 clamp(22px, 8.6vw, 132px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper);
  background: var(--navy);
}

.footer-brand { color: #c2cbd3; }
.footer-brand span,
.site-footer > a:last-child span { color: var(--lime); }

.site-footer > a:last-child {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 42px;
    grid-template-columns: minmax(0, 1fr) 185px;
    gap: 28px;
  }

  h1 { font-size: 64px; }
  .hero-description { font-size: 13px; }
  .project-section { padding-top: 42px; }
  .project-grid { gap: 16px; }
  .project-card__body { padding: 15px; }
  .project-card__title { font-size: 25px; }
}

@media (max-width: 560px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  .site-brand {
    width: 105px;
    height: 70px;
  }

  .site-brand img {
    width: 105px;
    height: 70px;
  }

  .site-nav {
    gap: 12px;
    font-size: 10px;
  }

  .profile-link { padding: 8px; }

  .hero {
    padding: 36px 22px 39px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  h1 {
    max-width: 450px;
    font-size: 61px;
  }

  .hero-mark {
    width: min(100%, 240px);
    justify-self: end;
  }

  .project-section { padding: 38px 20px 55px; }
  .section-heading h2 { font-size: 29px; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-card__body { padding: 17px; }
  .project-card__title { font-size: 28px; }

  .site-footer {
    min-height: 68px;
    padding: 0 20px;
  }

  .footer-brand {
    max-width: 225px;
    line-height: 1.7;
  }
}

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