/* =========================================================
   CIDS.IO — CAPSTONE SYSTEMS
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background: #f5f5f3;
  color: #111111;

  font-family: "Inter", "Segoe UI", Arial, sans-serif;

  font-size: 16px;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --black: #111111;
  --black-soft: #1b1b1b;

  --yellow: #ffc20e;
  --orange: #f47700;

  --white: #ffffff;

  --surface: #f5f5f3;
  --surface-2: #eeeeeb;

  --gray-200: #d9d9d5;
  --gray-300: #c5c5c0;
  --gray-400: #999993;
  --gray-500: #666661;
  --gray-700: #383836;

  --green: #168448;

  --content-width: 1240px;

  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.content-width {
  width: min(calc(100% - 48px), var(--content-width));

  margin-inline: auto;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;

  top: 12px;
  left: 12px;

  z-index: 9999;

  padding: 10px 14px;

  background: var(--yellow);
  color: var(--black);

  font-weight: 700;

  text-decoration: none;

  transform: translateY(-150%);

  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 50;

  background: var(--black);
  color: var(--white);

  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  min-height: 70px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.institution-lockup {
  display: flex;

  align-items: center;

  gap: 9px;

  text-decoration: none;
}

.header-logo {
  width: 38px;
  height: 38px;

  flex: 0 0 auto;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 3px;

  background: var(--white);

  overflow: hidden;
}

.header-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.cids-header-logo {
  border: 2px solid var(--yellow);

  padding: 2px;
}

.institution-text {
  margin-left: 5px;

  display: flex;
  flex-direction: column;

  gap: 1px;
}

.institution-text strong {
  font-size: 13px;

  font-weight: 700;

  line-height: 1.2;
}

.institution-text span {
  color: #a9a9a5;

  font-family: var(--mono);

  font-size: 9px;

  line-height: 1.4;

  letter-spacing: 0.02em;
}

.header-meta {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #aaa9a4;

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 500;

  text-transform: uppercase;

  letter-spacing: 0.06em;

  white-space: nowrap;
}

.header-meta-primary {
  color: var(--yellow);

  font-weight: 700;
}

.header-divider {
  color: #4f4f4b;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 610px;

  overflow: hidden;

  background: var(--white);

  border-bottom: 1px solid var(--black);
}

.hero-grid-pattern {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);

  background-size: 36px 36px;

  pointer-events: none;
}

.hero::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 6px;
  height: 100%;

  background: var(--yellow);
}

.hero-shape {
  position: absolute;

  width: 250px;
  height: 250px;

  background: var(--orange);

  opacity: 0.9;

  pointer-events: none;
}

.hero-shape-left {
  left: -205px;
  bottom: -170px;

  transform: rotate(45deg);
}

.hero-shape-right {
  right: -205px;
  top: -170px;

  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  z-index: 2;

  min-height: 610px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(390px, 0.85fr);

  align-items: center;

  gap: 80px;
}

.hero-copy {
  padding: 60px 0;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 23px;

  padding-left: 14px;

  border-left: 4px solid var(--yellow);

  color: var(--gray-500);

  font-family: var(--mono);

  font-size: 10px;

  font-weight: 700;

  line-height: 1.6;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;

  max-width: 760px;

  font-size: clamp(56px, 7vw, 94px);

  font-weight: 800;

  line-height: 0.94;

  letter-spacing: -0.065em;
}

.hero h1 span {
  position: relative;

  z-index: 1;
}

.hero h1 span::after {
  content: "";

  position: absolute;

  left: 3px;
  right: 0;
  bottom: 6px;

  z-index: -1;

  height: 13px;

  background: var(--yellow);
}

.hero-description {
  max-width: 660px;

  margin: 32px 0 0;

  color: var(--gray-500);

  font-size: 18px;

  line-height: 1.75;
}

.hero-programs {
  margin-top: 27px;

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 7px 12px;

  font-size: 11px;

  font-weight: 700;
}

.hero-separator {
  color: var(--orange);
}

/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
  position: relative;

  min-height: 445px;

  background: var(--black);

  overflow: hidden;
}

.hero-visual::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 194, 14, 0.28);

  border-radius: 50%;
}

.hero-visual::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  border: 1px solid rgba(255, 255, 255, 0.11);

  border-radius: 50%;
}

.hero-frame {
  position: absolute;

  inset: 28px;

  border: 1px solid rgba(255, 194, 14, 0.36);
}

.hero-logo-main {
  position: absolute;

  z-index: 4;

  top: 50%;
  left: 50%;

  width: 245px;
  height: 245px;

  transform: translate(-50%, -50%);

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 16px;

  background: var(--white);

  border: 5px solid var(--yellow);
}

.hero-logo-main img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.hero-logo-secondary {
  position: absolute;

  z-index: 5;

  right: 30px;
  bottom: 30px;

  width: 88px;
  height: 88px;

  padding: 8px;

  background: var(--white);

  border: 3px solid var(--yellow);
}

.hero-logo-secondary img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.hero-crosshair {
  position: absolute;

  z-index: 6;

  width: 17px;
  height: 17px;

  border: 1px solid var(--yellow);
}

.hero-crosshair::before,
.hero-crosshair::after {
  content: "";

  position: absolute;

  background: var(--yellow);
}

.hero-crosshair::before {
  left: 50%;
  top: -7px;

  width: 1px;
  height: 29px;
}

.hero-crosshair::after {
  top: 50%;
  left: -7px;

  width: 29px;
  height: 1px;
}

.hero-crosshair-top {
  top: 48px;
  left: 48px;
}

.hero-crosshair-bottom {
  right: 48px;
  top: 48px;
}

.hero-code {
  position: absolute;

  z-index: 6;

  color: #8b8b86;

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.hero-code-top {
  right: 48px;
  top: 48px;

  color: var(--yellow);
}

.hero-code-bottom {
  left: 48px;
  bottom: 44px;
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.overview-section {
  background: var(--black);

  color: var(--white);

  border-bottom: 4px solid var(--yellow);
}

.overview-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
}

.overview-item {
  min-height: 106px;

  padding: 21px 27px;

  display: flex;

  align-items: flex-start;

  gap: 16px;

  border-right: 1px solid #353531;
}

.overview-item:last-child {
  border-right: 0;
}

.overview-index {
  color: var(--yellow);

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 700;
}

.overview-item div {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.overview-label {
  color: #969691;

  font-family: var(--mono);

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}

.overview-item strong {
  font-size: 14px;

  line-height: 1.4;
}

/* =========================================================
   SYSTEMS SECTION
   ========================================================= */

.systems-section {
  padding: 77px 0 90px;

  background: var(--surface);

  border-bottom: 1px solid var(--border);
}

.section-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(270px, 390px);

  gap: 60px;

  align-items: end;

  padding-bottom: 26px;

  border-bottom: 1px solid var(--black);
}

.section-number {
  color: var(--yellow);

  font-family: var(--mono);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.06em;
}

.section-kicker {
  margin-top: 4px;

  color: var(--gray-500);

  font-family: var(--mono);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.section-header h2,
.about-copy h2 {
  margin: 9px 0 0;

  font-size: clamp(38px, 4vw, 57px);

  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.05em;
}

.section-heading-side p {
  margin: 0;

  color: var(--gray-500);

  font-size: 14px;

  line-height: 1.7;
}

.section-counter {
  display: block;

  margin-top: 15px;

  color: var(--black);

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.06em;
}

/* =========================================================
   PROJECT LIST
   ========================================================= */

.project-list {
  margin-top: 32px;

  border-top: 1px solid var(--border);
}

.project-card {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(370px, 0.85fr);

  gap: 48px;

  padding: 34px 30px 34px 35px;

  background: var(--white);

  border: 1px solid var(--border);

  border-top: 0;

  overflow: hidden;
}

.project-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 5px;

  background: var(--project-accent, var(--yellow));
}

.project-card:hover {
  background: #fbfbfa;
}

/* =========================================================
   PROJECT LEFT COLUMN
   ========================================================= */

.project-main {
  min-width: 0;

  display: flex;

  flex-direction: column;
}

/* Project top information */

.project-topline {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}

.project-id {
  color: var(--gray-500);

  font-family: var(--mono);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}

.project-status {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.project-status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--status-color, #aaa);
}

/* Identity */

.project-identity {
  margin-top: 29px;

  display: flex;

  align-items: flex-start;

  gap: 20px;
}

.project-logo {
  width: 72px;
  height: 72px;

  flex: 0 0 auto;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 9px;

  background: var(--black);

  border: 1px solid var(--black);
}

.project-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.project-logo-fallback {
  color: var(--yellow);

  font-family: var(--mono);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.03em;
}

.project-title {
  margin: 1px 0 0;

  font-size: 35px;

  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.045em;
}

.project-subtitle {
  display: block;

  margin-top: 8px;

  color: var(--gray-500);

  font-size: 12px;

  line-height: 1.45;

  font-weight: 600;
}

/* Description */

.project-description {
  margin-top: 27px;
}

.project-description p {
  max-width: 620px;

  margin: 0;

  color: var(--gray-700);

  font-size: 16px;

  line-height: 1.75;
}

.project-description strong {
  color: var(--black);
}

/* Project metadata */

.project-meta {
  margin-top: 26px;

  padding-top: 17px;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px 30px;

  border-top: 1px solid var(--border);
}

.project-meta-item {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 3px;
}

.project-meta-label {
  color: var(--gray-500);

  font-family: var(--mono);

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.08em;
}

.project-meta-value {
  color: var(--black);

  font-family: var(--mono);

  font-size: 10px;

  font-weight: 600;

  line-height: 1.4;

  overflow-wrap: anywhere;
}

/* Team */

.project-team {
  margin-top: 24px;

  padding-top: 17px;

  border-top: 1px solid var(--border);
}

.meta-label {
  display: block;

  margin-bottom: 7px;

  color: var(--gray-500);

  font-family: var(--mono);

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.team-names {
  display: flex;

  flex-wrap: wrap;

  gap: 4px 25px;

  font-size: 11px;

  line-height: 1.45;
}

.team-names strong {
  font-weight: 700;
}

/* =========================================================
   PROJECT RIGHT COLUMN
   ========================================================= */

.project-side {
  min-width: 0;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  gap: 24px;

  padding-top: 18px;
}

/* =========================================================
   SCREENSHOT CAROUSEL
   ========================================================= */

.project-media-frame {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;

  background: #191919;

  border: 1px solid var(--black);

  overflow: hidden;
}

.project-media-frame.has-images {
  background: #111111;
}

.project-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transition: opacity 220ms ease;
}

.project-image.active {
  opacity: 1;
}

.media-placeholder {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 10px;

  color: #7f7f7a;

  font-family: var(--mono);

  text-align: center;
}

.media-placeholder-mark {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #666660;

  color: var(--yellow);

  font-size: 18px;
}

.media-placeholder span:last-child {
  max-width: 210px;

  font-size: 8px;

  line-height: 1.5;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

/* Carousel controls */

.carousel-controls {
  position: absolute;

  z-index: 10;

  left: 12px;
  right: 12px;
  bottom: 12px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;
}

.carousel-button {
  width: 36px;
  height: 36px;

  padding: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.28);

  background: rgba(17, 17, 17, 0.88);

  color: var(--white);

  cursor: pointer;

  font-size: 20px;

  line-height: 1;

  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.carousel-button:hover {
  background: var(--yellow);

  color: var(--black);
}

.carousel-indicators {
  display: flex;

  align-items: center;

  gap: 5px;

  padding: 6px 8px;

  background: rgba(17, 17, 17, 0.86);
}

.carousel-indicator {
  width: 20px;
  height: 3px;

  padding: 0;

  border: 0;

  background: #70706b;

  cursor: pointer;
}

.carousel-indicator.active {
  background: var(--yellow);
}

/* =========================================================
   PROJECT ACTION
   ========================================================= */

.project-actions {
  display: flex;

  align-items: flex-end;

  justify-content: flex-end;

  gap: 16px;
}

.visit-button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap: 26px;

  min-height: 50px;

  padding: 0 14px 0 19px;

  background: var(--yellow);

  color: var(--black);

  border: 2px solid var(--black);

  text-decoration: none;

  font-size: 11px;

  font-weight: 800;

  line-height: 1;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.visit-button:hover {
  background: #ffd43e;

  transform: translate(-3px, -3px);

  box-shadow: 5px 5px 0 var(--black);
}

.visit-arrow {
  font-size: 17px;
}

/* =========================================================
   UPCOMING PROJECTS
   ========================================================= */

.project-card.is-upcoming {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.015), transparent 45%), var(--white);
}

.project-card.is-upcoming .project-logo {
  background: var(--surface-2);

  border-color: var(--border);
}

.project-card.is-upcoming .project-title {
  color: #555550;
}

.project-card.is-upcoming .project-description p {
  color: var(--gray-500);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  background: var(--black);

  color: var(--white);

  border-bottom: 4px solid var(--yellow);
}

.about-grid {
  min-height: 390px;

  padding: 60px 0;

  display: grid;

  grid-template-columns:
    230px
    minmax(0, 1fr);

  align-items: center;

  gap: 70px;
}

.about-brand {
  position: relative;

  align-self: stretch;

  display: flex;

  align-items: center;
  justify-content: center;
}

.about-brand::after {
  content: "";

  position: absolute;

  right: 0;

  top: -60px;
  bottom: -60px;

  width: 1px;

  background: #33332f;
}

.about-logo {
  width: 170px;
  height: 170px;

  padding: 14px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: var(--white);

  border: 5px solid var(--yellow);
}

.about-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.about-kicker {
  color: var(--yellow);
}

.about-copy h2 {
  max-width: 750px;

  color: var(--white);
}

.about-copy p {
  max-width: 720px;

  margin: 26px 0 0;

  color: #b5b5b0;

  font-size: 15px;

  line-height: 1.8;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--black-soft);

  color: var(--white);
}

.footer-main {
  min-height: 205px;

  padding: 42px 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 45px;
}

.footer-identity {
  display: flex;

  align-items: center;

  gap: 20px;
}

.footer-logos {
  display: flex;

  align-items: center;

  gap: 8px;
}

.footer-logo {
  width: 62px;
  height: 62px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 5px;

  background: var(--white);
}

.footer-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.footer-logo-cids {
  border: 3px solid var(--yellow);
}

.footer-institution {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.footer-institution strong {
  font-size: 15px;

  font-weight: 700;
}

.footer-institution span {
  color: #9e9e99;

  font-size: 11px;
}

.footer-institution span:last-child {
  margin-top: 7px;

  color: var(--yellow);

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.06em;
}

.footer-system {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 4px;

  color: #92928c;

  font-family: var(--mono);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}

.footer-system strong {
  margin-bottom: 4px;

  color: var(--yellow);

  font-size: 19px;

  letter-spacing: -0.03em;
}

.footer-bottom {
  min-height: 54px;

  padding: 15px 0;

  border-top: 1px solid #343430;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  color: #777772;

  font-family: var(--mono);

  font-size: 8px;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}

.footer-status {
  color: var(--yellow);

  font-weight: 700;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .hero-copy {
    padding: 68px 0 38px;
  }

  .hero-visual {
    min-height: 400px;

    margin-bottom: 40px;
  }

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

    gap: 34px;
  }

  .project-side {
    order: 2;
  }

  .project-media-frame {
    aspect-ratio: 16 / 8;
  }

  .project-actions {
    justify-content: flex-end;
  }
}

/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {
  .content-width {
    width: calc(100% - 34px);
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-item:nth-child(2) {
    border-right: 0;
  }

  .overview-item:nth-child(-n + 2) {
    border-bottom: 1px solid #353531;
  }

  .section-header {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .project-identity {
    align-items: flex-start;
  }

  .about-grid {
    grid-template-columns:
      150px
      minmax(0, 1fr);

    gap: 45px;
  }

  .about-logo {
    width: 150px;
    height: 150px;
  }

  .footer-main {
    align-items: flex-start;

    flex-direction: column;
  }

  .footer-system {
    align-items: flex-start;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .content-width {
    width: calc(100% - 28px);
  }

  /* Header */

  .header-inner {
    min-height: auto;

    padding: 12px 0;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
  }

  .header-logo {
    width: 33px;
    height: 33px;
  }

  .institution-text {
    margin-left: 3px;
  }

  .institution-text strong {
    font-size: 11px;
  }

  .institution-text span {
    max-width: 220px;

    font-size: 8px;
  }

  .header-meta {
    padding-left: 74px;

    font-size: 8px;
  }

  /* Hero */

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 54px 0 32px;
  }

  .eyebrow {
    max-width: 290px;

    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 66px);
  }

  .hero-description {
    margin-top: 24px;

    font-size: 15px;
  }

  .hero-programs {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 325px;

    margin-bottom: 28px;
  }

  .hero-frame {
    inset: 20px;
  }

  .hero-logo-main {
    width: 175px;
    height: 175px;

    padding: 11px;

    border-width: 4px;
  }

  .hero-logo-secondary {
    width: 67px;
    height: 67px;

    right: 18px;
    bottom: 18px;

    padding: 5px;

    border-width: 2px;
  }

  .hero-crosshair-top {
    top: 32px;
    left: 32px;
  }

  .hero-crosshair-bottom {
    right: 32px;
    top: 32px;
  }

  .hero-code-top {
    right: 31px;
    top: 31px;
  }

  .hero-code-bottom {
    left: 31px;
    bottom: 28px;
  }

  /* Overview */

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

  .overview-item {
    min-height: 79px;

    padding: 18px 20px;

    border-right: 0;

    border-bottom: 1px solid #353531;
  }

  .overview-item:nth-child(2) {
    border-right: 0;
  }

  .overview-item:last-child {
    border-bottom: 0;
  }

  /* Systems */

  .systems-section {
    padding: 63px 0 67px;
  }

  .section-header {
    padding-bottom: 21px;
  }

  .section-header h2,
  .about-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-heading-side p {
    font-size: 13px;
  }

  .project-list {
    margin-top: 25px;
  }

  .project-card {
    padding: 27px 20px 28px 24px;

    gap: 27px;
  }

  .project-topline {
    align-items: flex-start;
  }

  .project-identity {
    gap: 15px;
  }

  .project-logo {
    width: 58px;
    height: 58px;

    padding: 7px;
  }

  .project-title {
    font-size: 28px;
  }

  .project-subtitle {
    font-size: 11px;
  }

  .project-description {
    margin-top: 22px;
  }

  .project-description p {
    font-size: 14px;
  }

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

    margin-top: 21px;

    gap: 12px;
  }

  .team-names {
    flex-direction: column;

    gap: 3px;

    font-size: 10px;
  }

  .project-side {
    gap: 19px;
    padding-top: 0;
  }

  .project-media-frame {
    aspect-ratio: 16 / 10;
  }

  .project-actions {
    justify-content: flex-start;
  }

  .visit-button {
    min-height: 47px;
  }

  /* About */

  .about-grid {
    min-height: auto;

    padding: 51px 0 56px;

    grid-template-columns: 1fr;

    gap: 35px;
  }

  .about-brand {
    height: 125px;

    justify-content: flex-start;
  }

  .about-brand::after {
    display: none;
  }

  .about-logo {
    width: 125px;
    height: 125px;

    border-width: 4px;
  }

  .about-copy p {
    font-size: 14px;
  }

  /* Footer */

  .footer-main {
    min-height: auto;

    padding: 38px 0;
  }

  .footer-identity {
    flex-direction: column;

    align-items: flex-start;

    gap: 17px;
  }

  .footer-logo {
    width: 56px;
    height: 56px;
  }

  .footer-institution strong {
    font-size: 13px;
  }

  .footer-institution span {
    font-size: 10px;
  }

  .footer-system {
    align-items: flex-start;
  }

  .footer-system strong {
    font-size: 17px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;

    padding: 14px 0 17px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   PROJECT STATUS POSITIONING
   ========================================================= */

.project-card {
  position: relative;
}

.project-status {
  position: absolute;

  top: 34px;
  right: 30px;

  z-index: 5;

  display: inline-flex;

  align-items: center;

  gap: 7px;

  font-family: var(--mono);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.project-status-dot {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--status-color, #aaa);
}

/* =========================================================
   LONG OVERVIEW VALUES
   ========================================================= */

.overview-item strong {
  max-width: 250px;

  font-size: 13px;

  line-height: 1.5;
}

.overview-item:nth-child(2) strong,
.overview-item:nth-child(3) strong {
  max-width: 260px;
}

@media (max-width: 1050px) {
  .overview-item strong {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .overview-item strong {
    max-width: none;

    font-size: 13px;

    line-height: 1.45;
  }
}
