* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #151518;
  color: #eeeef0;
  font-family: Georgia, "Times New Roman", serif;
}

body { overflow-x: hidden; }

a { color: inherit; }

.hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: #151518;
}


.capture-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.nav-hitboxes {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hit {
  position: absolute;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  background: rgba(255,255,255,0);
}

/* Coordinates derived from the supplied 2048 × 1134 homepage screenshot. */
.hit-outer { left: 40.1%; top: 4.1%; width: 10.5%; height: 3.4%; }
.hit-atrium { left: 50.7%; top: 4.1%; width: 7.0%; height: 3.4%; }
.hit-corridor { left: 58.0%; top: 4.1%; width: 8.6%; height: 3.4%; }

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

.hit:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}




.hero-note {
  position: absolute;
  left: 50%;
  top: 78.2%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: min(640px, calc(100vw - 60px));
  text-align: center;
  text-decoration: none;
  color: rgba(214,214,220,0.68);
  text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}

.hero-note:hover .hero-note-line1,
.hero-note:hover .hero-note-line2,
.hero-note:focus-visible .hero-note-line1,
.hero-note:focus-visible .hero-note-line2 {
  color: rgba(230,230,235,0.82);
}

.hero-note:focus-visible {
  outline: none;
}

.hero-note-line1 {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-variant: small-caps;
  color: rgba(214,214,220,0.68);
}

.hero-note-line2 {
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: rgba(198,198,204,0.56);
}

.transition-spacer {
  position: relative;
  height: clamp(280px, 46vh, 520px);
  margin-top: -1px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.035), transparent 34%),
    linear-gradient(180deg,
      #060607 0%,
      #070708 34%,
      #080809 72%,
      #09090a 100%);
}

.transition-spacer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 7vh, 72px);
  width: min(280px, 42vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  opacity: 0.55;
}

.indexable {
  position: relative;
  min-height: 100vh;
  padding: clamp(84px, 11vw, 140px) 24px clamp(64px, 9vw, 128px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.055), transparent 28%),
    linear-gradient(180deg, #09090a 0%, #09090a 100%);
}

.indexable-inner {
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto;
}

.small-cap {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  opacity: 0.68;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-weight: 400;
  font-size: clamp(38px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

h2 {
  position: relative;
  z-index: 1;
  margin: 72px 0 24px;
  font-weight: 400;
  font-size: clamp(25px, 4vw, 44px);
}

p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.72;
  color: rgba(238,238,240,0.78);
}

.lead {
  color: rgba(238,238,240,0.92);
  font-size: clamp(18px, 2vw, 24px);
}

.gateway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 48px 0 14px;
}

.gateway-grid a {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.20);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  color: rgba(238,238,240,0.88);
  background: rgba(255,255,255,0.035);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.gateway-grid a:hover,
.gateway-grid a:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

.works-index {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.works-index li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(238,238,240,0.76);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
}

.works-index strong {
  color: rgba(238,238,240,0.96);
  font-weight: 400;
}

.microcopy {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: rgba(238,238,240,0.54);
}


.bottom-entry-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 42px 0 4px;
}

.bottom-entry {
  display: inline-block;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(238,238,240,0.92);
  background: rgba(255,255,255,0.035);
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bottom-entry:hover,
.bottom-entry:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.48);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .hero { min-height: 620px; }
  .capture-image { object-position: center center; }
  .hero-note { top: 74.5%; width: min(92vw, 520px); }
  .transition-spacer { height: 34vh; }
  .indexable { padding-top: 84px; }
  .gateway-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gateway-grid { grid-template-columns: 1fr; }
}
