:root {
  --bg: #05070b;
  --bg-soft: #0b0e14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --text: #f3f1eb;
  --muted: rgba(243, 241, 235, 0.72);
  --muted-strong: rgba(243, 241, 235, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --gold: #c7b289;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #080a0f 0%, #04060a 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

li + li { margin-top: 0.45rem; }

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

h1, h2, h3, .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* TOPBAR */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5,7,11,.86);
  backdrop-filter: blur(14px);
}

.home-topbar {
  position: absolute;
  width: 100%;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.brand {
  font-size: 1.95rem;
  color: var(--text);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.1rem;
  align-items: center;
}

.topnav a,
.footer-links a {
  color: rgba(243,241,235,.72);
  transition: color 140ms ease;
}

.topnav a:hover,
.topnav a.active,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

main { flex: 1; }

/* HERO */

.hero-home {
  position: relative;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.hero-backdrop,
.hero-overlay,
.hero-content-home {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
  linear-gradient(
  180deg,
  rgba(2,4,7,.18) 0%,
  rgba(4,6,10,.42) 36%,
  rgba(4,6,10,.82) 76%,
  rgba(4,6,10,.96) 100%);
}

.hero-content-home {
  display: flex;
  align-items: flex-end;
}

.hero-inner {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto 3rem;
}

.hero-home h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.8rem,8vw,6.9rem);
  line-height: .93;
}

.city {
  margin-top: .9rem;
  color: rgba(243,241,235,.7);
  font-size: .82rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.division-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
}

.division-links a {
  color: var(--muted-strong);
  font-size: 1rem;
  letter-spacing: .04em;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.division-links a:hover {
  border-color: rgba(255,255,255,.8);
  color: var(--text);
}

/* INNER PAGES */

.inner-page {
  padding: 4rem 1.4rem 1.7rem;
}

.narrow {
  width: min(960px,100%);
  margin: 0 auto;
}

.section-intro {
  display: grid;
  gap: .85rem;
  margin-bottom: 1.8rem;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .7rem;
}

.section-intro h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.6rem,5vw,4.2rem);
  line-height: .98;
}

/* CARDS */

.info-grid {
  display: grid;
  gap: .9rem;
  margin-bottom: 1.8rem;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.info-grid.two-up {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.info-card,
.gate-shell,
.experiment-item {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 1.2rem;
  display: grid;
  gap: .7rem;
}

.info-card h2 {
  margin: 0;
  font-size: 1.8rem;
}

/* FOOTER (COMPACT VERSION) */

.site-footer {
  border-top: 1px solid var(--line);
  padding: .55rem 1rem .7rem;
  background: #05070b;
  font-size: 10px;
  text-align: center;
  color: rgba(243,241,235,.58);
}

.footer-links,
.footer-wrap {
  width: min(var(--max),100%);
  margin: 0 auto;
}

.footer-wrap {
  display: grid;
  gap: .3rem;
}

.footer-links {
  display: flex;
  gap: .75rem 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 10px;
}

.site-footer a {
  color: rgba(243,241,235,.62);
  text-decoration: none;
}

.site-footer a:hover {
  color: rgba(243,241,235,.85);
}

/* DISCLOSURE FOOTNOTE */

.disclosure {
  color: rgba(243,241,235,.40);
  font-size: 9px;
  opacity: .32;
  max-width: 620px;
  margin: 2px auto 0;
  line-height: 1.22;
}

/* UTILITIES */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* MOBILE */

@media (max-width:860px){

.topbar{
align-items:flex-start;
flex-direction:column;
gap:.75rem;
}

.info-grid,
.info-grid.two-up{
grid-template-columns:1fr;
}

.hero-inner{
margin-bottom:2rem;
}

.hero-home h1{
font-size:clamp(3rem,14vw,5rem);
}

}

@media (max-width:520px){

.inner-page,
.site-footer,
.topbar{
padding-left:1rem;
padding-right:1rem;
}

.division-links{
gap:.9rem 1rem;
}

}
