:root {
  --yellow: #f7d117;
  --black: #000000;
  --white: #ffffff;
  --border-width: 1.5px;
  --border: var(--border-width) solid var(--black);
  --footer-h: 38px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: "Archivo Narrow", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  line-height: 1.08;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

.portfolio-system {
  display: grid;
  grid-template-columns:
    minmax(250px, 20vw)
    minmax(340px, 1fr)
    minmax(340px, 31vw)
    minmax(240px, 17vw);
  min-height: calc(100svh - var(--footer-h));
  border-bottom: var(--border);
}

.left-rail,
.middle-panel,
.right-rail {
  min-width: 0;
}

.left-rail {
  display: flex;
  min-height: calc(100svh - var(--footer-h));
  flex-direction: column;
  border-right: var(--border);
}

.system-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 54px;
  border-bottom: var(--border);
}

.system-nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: clamp(15px, 1.05vw, 21px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

sup {
  margin-left: 2px;
  font-size: 0.52em;
}

.identity-block {
  min-height: 36vh;
  border-bottom: var(--border);
  padding: clamp(22px, 2vw, 36px) clamp(18px, 1.45vw, 28px);
}

.display-title {
  margin: 0;
  font-family: "Bungee", "Archivo Black", Impact, sans-serif;
  font-size: clamp(58px, 5.6vw, 112px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
}

.discipline-list {
  margin: clamp(22px, 2vw, 34px) 0 0;
  font-size: clamp(17px, 1.15vw, 25px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.left-summary {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 1.45vw, 28px);
}

.left-summary p:not(.micro-label) {
  max-width: 420px;
  margin: 0;
  font-size: clamp(14px, 0.86vw, 18px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.micro-label,
.data-label {
  margin: 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: clamp(11px, 0.7vw, 14px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.solid-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  background: var(--black);
  color: var(--yellow);
  font-size: clamp(15px, 1vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
}

.solid-button:hover,
.contact-box:hover {
  background: var(--white);
  color: var(--black);
}

.ticker {
  display: flex;
  overflow: hidden;
  border-top: var(--border);
  background: var(--black);
  color: var(--yellow);
  white-space: nowrap;
}

.ticker span {
  display: inline-block;
  padding: 9px 32px;
  font-family: "Bungee", "Archivo Black", Impact, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.middle-panel {
  grid-column: span 2;
  border-right: var(--border);
}

.mission-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  min-height: calc(100svh - var(--footer-h));
}

.mission-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: var(--border);
  padding: clamp(30px, 3vw, 54px);
}

.mission-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(43px, 3.2vw, 72px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}

.mission-note {
  max-width: 390px;
  margin: 0;
  font-size: clamp(14px, 0.9vw, 18px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.portrait-panel {
  position: relative;
  min-height: calc(100svh - var(--footer-h));
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(100%) contrast(118%) brightness(0.92);
  mix-blend-mode: screen;
  opacity: 0.92;
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.portrait-panel figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-label {
  display: flex;
  justify-content: space-between;
  border-block: var(--border);
  background: var(--black);
  color: var(--yellow);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  border-bottom: var(--border);
  padding: 26px 20px;
}

.data-row h3 {
  margin: 0;
  font-size: clamp(25px, 2.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.trajectory-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  border-bottom: var(--border);
  padding: 22px 20px;
  cursor: default;
}

.trajectory-item:hover {
  background: var(--black);
  color: var(--yellow);
}

.trajectory-item:hover .data-label,
.trajectory-item:hover p {
  color: var(--yellow);
}

.trajectory-item h3 {
  margin: 0;
  font-size: clamp(27px, 2.15vw, 43px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}

.trajectory-item p {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.trajectory-item span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.right-rail {
  display: flex;
  min-height: calc(100svh - var(--footer-h));
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
}

.status-block p:not(.micro-label) {
  margin: 26px 0 0;
  font-size: clamp(14px, 0.88vw, 18px);
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-module {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 16px;
  min-height: 44vh;
  align-items: stretch;
}

.contact-box {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  border: var(--border);
  padding: 16px;
}

.contact-box strong {
  align-self: center;
  font-family: "Bungee", "Archivo Black", Impact, sans-serif;
  font-size: clamp(26px, 1.8vw, 40px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.plus {
  font-family: Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.vertical-meta {
  display: flex;
  justify-content: space-between;
  border-left: var(--border);
  padding: 20px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.projects-mini {
  border-top: var(--border);
  padding-top: 22px;
}

.projects-mini ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.projects-mini li {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.projects-mini li::before {
  content: "+ ";
}

.system-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  min-height: var(--footer-h);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--black);
  color: var(--yellow);
  padding: 0 20px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1380px) {
  .portfolio-system {
    grid-template-columns:
      minmax(230px, 22vw)
      minmax(320px, 1fr)
      minmax(320px, 30vw)
      minmax(220px, 18vw);
  }

  .display-title {
    font-size: clamp(54px, 5vw, 88px);
  }
}

@media (max-width: 1100px) {
  .portfolio-system {
    display: block;
    min-height: auto;
    padding-bottom: var(--footer-h);
  }

  .left-rail,
  .right-rail,
  .middle-panel {
    min-height: auto;
    border-right: 0;
  }

  .left-rail,
  .middle-panel {
    border-bottom: var(--border);
  }

  .identity-block {
    min-height: auto;
  }

  .left-summary {
    min-height: 320px;
  }

  .mission-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mission-copy {
    min-height: 430px;
    border-right: 0;
    border-bottom: var(--border);
  }

  .portrait-panel {
    min-height: 620px;
  }

  .right-rail {
    gap: 42px;
    padding-bottom: 64px;
  }

  .contact-module {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .system-nav {
    grid-template-columns: 1fr;
  }

  .system-nav a {
    min-height: 42px;
    border-bottom: var(--border);
  }

  .system-nav a:last-child {
    border-bottom: 0;
  }

  .display-title {
    font-size: clamp(52px, 18vw, 92px);
  }

  .discipline-list,
  .mission-copy h2 {
    overflow-wrap: anywhere;
  }

  .mission-copy {
    min-height: 390px;
    padding: 26px 20px;
  }

  .portrait-panel {
    min-height: 480px;
  }

  .data-row,
  .trajectory-item {
    grid-template-columns: 1fr;
  }

  .contact-module {
    grid-template-columns: 1fr;
  }

  .vertical-meta {
    display: none;
  }

  .system-footer {
    position: static;
    display: grid;
    min-height: auto;
    padding: 12px 20px;
  }
}
