:root {
  --paper: #f3efe5;
  --ink: #111111;
  --red: #a6192e;
  --blue: #1557b0;
  --yellow: #f2c230;
  --line: rgba(17, 17, 17, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
main { min-height: 100vh; overflow: hidden; }

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 3.2vw;
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 24px; font-size: clamp(1.6rem, 2.7vw, 2.65rem); font-weight: 900; letter-spacing: -0.07em; white-space: nowrap; }
.brand > span { color: var(--red); }
.brand small { font-size: .78rem; letter-spacing: 0; font-weight: 700; border-left: 1px solid var(--ink); padding-left: 24px; }
.site-header nav { display: flex; align-items: center; gap: clamp(15px, 2.15vw, 38px); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.site-header nav a { padding: 12px 0 9px; border-bottom: 3px solid transparent; }
.site-header nav a:hover, .site-header nav a.active { border-color: var(--red); }
.site-header nav .ucm-link { color: var(--red); }
.menu-button { display: none; background: var(--ink); color: white; border: 0; padding: 12px 18px; font-weight: 700; }

.kicker, .eyebrow { font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.home-hero { min-height: 675px; padding: 52px 3.2vw 34px; display: grid; grid-template-columns: 54% 46%; border-bottom: 2px solid var(--ink); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1, .page-hero h1 {
  margin: 18px 0;
  font-size: clamp(4rem, 7.3vw, 7.6rem);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 900;
}
.hero-copy h1 { max-width: 900px; }
.red-rule { width: 148px; height: 14px; background: var(--red); margin: 28px 0; }
.lead { max-width: 640px; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.45; }
.actions { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.button { min-height: 62px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; border: 2px solid var(--ink); font-weight: 800; transition: .2s ease; }
.button span { font-size: 1.6rem; }
.button.primary { color: white; background: var(--red); border-color: var(--red); }
.button.secondary { background: transparent; }
.button.dark { background: var(--ink); color: white; border-color: var(--ink); }
.button:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }

.geometry { position: relative; min-height: 520px; align-self: center; }
.orbit { position: absolute; left: 42%; top: 47%; border: 2px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-a { width: 280px; height: 280px; }
.orbit-b { width: 440px; height: 440px; border-style: dashed; animation: spin 32s linear infinite; }
.quarter { position: absolute; width: 225px; height: 225px; left: calc(42% - 225px); top: calc(47% - 225px); border-radius: 225px 0 0 0; }
.quarter.red { background: var(--red); }
.quarter.blue { background: var(--blue); left: 42%; top: 47%; border-radius: 0 0 225px 0; }
.geo-square { position: absolute; width: 75px; height: 75px; }
.geo-square.yellow { background: var(--yellow); right: 9%; top: 5%; }
.geo-square.black { background: var(--ink); left: 50%; bottom: 0; width: 160px; height: 95px; }
.geo-dot { position: absolute; width: 23px; height: 23px; border-radius: 50%; background: var(--ink); }
.dot-a { left: 41%; top: 0; }
.dot-b { right: 0; top: 46%; }
.geo-line { position: absolute; background: var(--ink); opacity: .75; }
.line-a { width: 1px; height: 94%; left: 42%; top: 0; }
.line-b { width: 96%; height: 1px; left: 3%; top: 47%; }
.dot-grid { width: 110px; height: 110px; position: absolute; right: 4%; top: 29%; background-image: radial-gradient(var(--ink) 2.5px, transparent 2.5px); background-size: 22px 22px; }
.geometry--compact { min-height: 310px; transform: scale(.8); transform-origin: center right; }
.geometry--compact .orbit-b { width: 350px; height: 350px; }
.geometry--compact .orbit-a { width: 210px; height: 210px; }
.geometry--compact .quarter { width: 175px; height: 175px; left: calc(42% - 175px); top: calc(47% - 175px); }
.geometry--compact .quarter.blue { left: 42%; top: 47%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.home-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); min-height: 240px; border-bottom: 2px solid var(--ink); }
.home-grid > * { padding: 28px 3vw; border-right: 2px solid var(--ink); }
.home-grid > *:last-child { border-right: 0; }
.radar-card h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); margin: 16px 0 10px; letter-spacing: -.04em; }
.radar-card .kicker { color: var(--red); }
.radar-card p:last-child { max-width: 620px; line-height: 1.5; }
.module { display: flex; flex-direction: column; justify-content: space-between; transition: .2s ease; }
.module b { font-size: 4rem; line-height: 1; }
.module span { font-weight: 800; max-width: 150px; }
.module:hover { filter: brightness(.9); }
.module-blue { background: var(--blue); color: white; }
.module-yellow { background: var(--yellow); }
.module-black { background: var(--ink); color: white; }

.page-hero { min-height: 410px; padding: 46px 3.2vw 35px; display: grid; grid-template-columns: 60% 40%; border-bottom: 2px solid var(--ink); align-items: center; }
.page-hero h1 { font-size: clamp(3.8rem, 6.3vw, 6.7rem); }
.page-hero .lead { max-width: 720px; }
.accent-red .kicker { color: var(--red); }
.accent-blue .kicker { color: var(--blue); }
.accent-yellow .kicker { color: #8a6500; }

.toolbar { padding: 24px 3.2vw; display: flex; gap: 28px; align-items: end; border-bottom: 2px solid var(--ink); background: rgba(255,255,255,.28); }
.toolbar label { flex: 1; display: grid; gap: 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.toolbar input, .toolbar select { width: 100%; min-height: 52px; border: 2px solid var(--ink); background: var(--paper); padding: 0 16px; border-radius: 0; outline: none; }
.toolbar input:focus, .toolbar select:focus { box-shadow: 5px 5px 0 var(--yellow); }
.toolbar strong { min-width: 110px; text-align: right; padding-bottom: 16px; }
.toolbar--split label:first-child { flex: 2; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--ink); }
.person-card { min-height: 245px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; transition: .18s ease; }
.person-card:nth-child(4n) { border-right: 0; }
.person-card:hover { background: var(--yellow); }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 900; }
.person-card h2 { font-size: 1.28rem; margin: 8px 0; letter-spacing: -.03em; }
.person-card p { margin: 0; line-height: 1.4; }
.person-card .eyebrow { color: var(--red); }

.publication-list { border-bottom: 2px solid var(--ink); }
.publication { min-height: 140px; padding: 25px 3.2vw; display: grid; grid-template-columns: 160px 1fr 50px; gap: 30px; align-items: center; border-bottom: 1px solid var(--ink); }
.publication:hover { background: #fff8dc; }
.publication h2 { margin: 0 0 10px; font-size: clamp(1.15rem, 1.65vw, 1.65rem); letter-spacing: -.025em; }
.publication p { margin: 0; color: #474747; }
.publication > a { width: 44px; height: 44px; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; }
.publication > a:hover { background: var(--red); color: white; }
.pub-meta { display: flex; align-items: center; gap: 12px; }
.pub-meta b { font-size: 1.8rem; }
.pub-meta span { font-size: .68rem; text-transform: uppercase; font-weight: 800; writing-mode: vertical-rl; }
.no-link { text-align: center; opacity: .4; }

.project-feature { display: grid; grid-template-columns: 22% 1fr; gap: 5vw; padding: 70px 8vw; border-bottom: 2px solid var(--ink); }
.project-number { font-size: clamp(6rem, 15vw, 14rem); font-weight: 900; line-height: .8; color: var(--red); }
.project-feature h2 { font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -.07em; margin: 5px 0 0; }
.project-feature h3 { max-width: 800px; font-size: clamp(1.5rem, 2.5vw, 2.5rem); margin: 8px 0 20px; }
.project-feature p { max-width: 850px; font-size: 1.05rem; line-height: 1.65; }
.project-feature dl { display: flex; gap: 70px; margin-top: 28px; }
.project-feature dl div { border-left: 8px solid var(--yellow); padding-left: 14px; }
.project-feature dt { font-size: .7rem; text-transform: uppercase; font-weight: 800; }
.project-feature dd { margin: 5px 0 0; font-weight: 800; }
.project-types { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--ink); }
.project-type { padding: 35px; min-height: 330px; display: flex; flex-direction: column; border-right: 2px solid var(--ink); }
.project-type:last-child { border-right: 0; }
.project-type > span { font-weight: 900; }
.project-type h2 { font-size: 2.3rem; margin: auto 0 12px; }
.project-type p { line-height: 1.5; min-height: 72px; }
.project-type b { margin-top: 18px; }
.blue-card { background: var(--blue); color: white; }
.yellow-card { background: var(--yellow); }
.red-card { background: var(--red); color: white; }
.project-type:hover b { transform: translateX(8px); }

.timeline { border-bottom: 2px solid var(--ink); }
.timeline article { min-height: 145px; padding: 26px 3.2vw; display: grid; grid-template-columns: 80px 150px 1fr 60px; align-items: center; gap: 25px; border-bottom: 1px solid var(--ink); }
.timeline article:hover { background: var(--blue); color: white; }
.timeline-index { font-size: 2.6rem; font-weight: 900; color: var(--red); }
.timeline article:hover .timeline-index, .timeline article:hover .eyebrow { color: var(--yellow); }
.timeline time { font-size: .78rem; font-weight: 900; }
.timeline h2 { margin: 7px 0 0; font-size: clamp(1.25rem, 2vw, 2rem); }
.timeline article > span { font-size: 2rem; }

.collab-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--ink); }
.collab-grid article { min-height: 300px; padding: 32px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; }
.collab-grid article:last-child { border-right: 0; }
.collab-grid article:nth-child(1) { background: var(--red); color: white; }
.collab-grid article:nth-child(2) { background: var(--blue); color: white; }
.collab-grid article:nth-child(3) { background: var(--yellow); }
.collab-grid article:nth-child(4) { background: var(--ink); color: white; }
.collab-grid span { font-weight: 900; }
.collab-grid h2 { margin: auto 0 10px; font-size: 2rem; }
.collab-grid p { line-height: 1.5; }
.contact-band { padding: 65px 6vw; display: flex; align-items: end; justify-content: space-between; gap: 40px; border-bottom: 2px solid var(--ink); }
.contact-band h2 { max-width: 850px; font-size: clamp(2rem, 3.8vw, 4rem); margin: 12px 0 0; letter-spacing: -.05em; }

.source-link { padding: 20px 3.2vw; display: flex; justify-content: space-between; gap: 25px; font-size: .78rem; font-weight: 700; border-bottom: 2px solid var(--ink); }
.source-link a { color: var(--red); }
footer { padding: 42px 3.2vw; background: var(--ink); color: white; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 50px; }
footer .brand small { display: none; }
footer p { opacity: .7; }
footer > a { color: var(--yellow); font-weight: 800; }

@media (max-width: 1000px) {
  .site-header nav { display: none; position: absolute; left: -3.2vw; right: -3.2vw; top: 90px; padding: 20px 3.2vw; background: var(--paper); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: stretch; }
  .site-header nav.open { display: flex; }
  .menu-button { display: block; }
  .brand small { display: none; }
  .home-hero { grid-template-columns: 1fr; }
  .geometry { min-height: 400px; max-width: 650px; width: 100%; margin: auto; }
  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .page-hero .geometry { display: none; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-grid > * { border-bottom: 2px solid var(--ink); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .person-card:nth-child(2n) { border-right: 0; }
  .project-types, .collab-grid { grid-template-columns: 1fr 1fr; }
  .project-type:nth-child(2), .collab-grid article:nth-child(2) { border-right: 0; }
}

@media (max-width: 680px) {
  .site-header { height: 76px; }
  .brand { font-size: 1.85rem; }
  .home-hero { min-height: auto; padding-top: 34px; }
  .hero-copy h1, .page-hero h1 { font-size: 3.35rem; }
  .geometry { min-height: 330px; transform: scale(.76); transform-origin: center; margin: -20px auto; }
  .actions, .button { width: 100%; }
  .home-grid, .people-grid, .project-types, .collab-grid { grid-template-columns: 1fr; }
  .home-grid > *, .person-card, .project-type, .collab-grid article { border-right: 0; }
  .toolbar, .toolbar--split { align-items: stretch; flex-direction: column; }
  .toolbar strong { text-align: left; padding: 0; }
  .publication { grid-template-columns: 1fr 44px; }
  .pub-meta { grid-column: 1 / -1; }
  .project-feature { grid-template-columns: 1fr; padding: 45px 6vw; }
  .project-feature dl { flex-direction: column; gap: 18px; }
  .timeline article { grid-template-columns: 54px 1fr 32px; }
  .timeline time { grid-column: 2; }
  .timeline article > div:nth-of-type(2) { grid-column: 2; }
  .contact-band { flex-direction: column; align-items: stretch; }
  footer { grid-template-columns: 1fr; gap: 15px; }
}

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