/* ================================================================
   SKYSCRAPERS — style.css
   Theme reminder: preserve the user's stark nocturnal editorial system.
   Use black fields, electric blue accents, rigid typography, and crisp borders.
   ================================================================ */

:root {
  --black: #000000;
  --blue: #0078BF;
  --white: #ffffff;
  --grey: #666666;
  --deep-blue: #041423;
  --panel: #071523;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'futura-pt', 'Futura', 'Century Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid #1b1b1b;
  backdrop-filter: blur(10px);
}

.nav-logo {
  position: absolute;
  left: 2rem;
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: 1.5px solid var(--white);
  padding: 0.48rem 1.1rem;
  display: block;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  position: absolute;
  right: 1.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HOME PAGE
   ================================================================ */
.home-main {
  padding-top: 56px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 120, 191, 0.18), transparent 24%),
    radial-gradient(circle at 82% 28%, rgba(0, 120, 191, 0.12), transparent 26%),
    linear-gradient(180deg, #02060c 0%, #000000 58%, #02060c 100%);
}

.hero-img-wrap {
  width: 100%;
  min-height: calc(100vh - 56px);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 3rem;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('main page image.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 24vh;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.92) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 120, 191, 0.18) 0,
      rgba(0, 120, 191, 0.18) 22px,
      transparent 22px,
      transparent 46px
    );
  opacity: 0.9;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.40) 52%, rgba(0,0,0,0.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.52) 100%);
  z-index: 1;
}

.hero-frame {
  display: none;
}

.hero-meta {
  position: absolute;
  top: 6.8rem;
  right: 3rem;
  width: min(280px, 34vw);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2, 10, 16, 0.72);
  backdrop-filter: blur(6px);
  z-index: 3;
}

.hero-meta-label,
.hero-stat-label {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}

.hero-meta-copy {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-stat {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-value {
  display: block;
  margin-top: 0.25rem;
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(860px, 72vw);
}

.hero-kicker {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 12rem);
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--white);
}

.hero-sub {
  max-width: 42rem;
  font-family: 'futura-pt', sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-cta,
.hero-secondary {
  display: inline-block;
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1.5px solid var(--white);
  padding: 0.7rem 1.6rem;
  color: var(--white);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.hero-secondary {
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

.hero-cta:hover,
.hero-secondary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ================================================================
   ARCHIVE PAGE
   ================================================================ */
.archive-main {
  padding-top: 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.archive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.archive-list li {
  border-top: 1px solid #1a1a1a;
}
.archive-list li:last-child {
  border-bottom: 1px solid #1a1a1a;
}

.archive-list a {
  display: block;
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  padding: 1rem 0;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.15s;
  text-align: center;
}
.archive-list a:hover { color: var(--blue); }

/* Removed staggered padding to center align all region names */
.archive-list li a { padding-left: 0; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-main {
  padding-top: 56px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3rem;
  padding-right: 3rem;
}

.about-text {
  max-width: 720px;
  font-size: 1.25rem;
  line-height: 1.85;
  color: #fff;
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.about-text:last-child { margin-bottom: 0; }

/* ================================================================
   HEIGHT PAGE
   ================================================================ */
.height-main {
  padding-top: 56px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.height-scroll-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 3rem 0;
  gap: 8px;
  border-bottom: 2px solid #333;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--black);
}
.height-scroll-area::-webkit-scrollbar { height: 3px; }
.height-scroll-area::-webkit-scrollbar-thumb { background: var(--blue); }

.height-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.height-item-svg { width: 60px; display: block; }

.height-item-name {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  margin-top: 6px;
  line-height: 1.3;
}

.height-item-m {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.5rem;
  color: var(--blue);
  text-align: center;
  margin-top: 2px;
}

.height-labels {
  padding: 0.6rem 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--grey);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'futura-pt', sans-serif;
}

/* ================================================================
   TIMELINE PAGE
   ================================================================ */
.timeline-main {
  padding-top: 56px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.timeline-scroll-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 3rem 0;
  gap: 2px;
  background: var(--black);
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--black);
}
.timeline-scroll-area::-webkit-scrollbar { height: 3px; }
.timeline-scroll-area::-webkit-scrollbar-thumb { background: var(--blue); }

.timeline-card {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid #111;
}

.timeline-card-svg { width: 100%; display: block; }

.timeline-card-info {
  padding: 0.6rem 0.5rem;
  border-top: 1px solid #222;
}

.timeline-year {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue);
  line-height: 1;
}

.timeline-name {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  line-height: 1.2;
}

.timeline-height {
  font-size: 0.55rem;
  color: var(--grey);
  margin-top: 0.2rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .nav {
    justify-content: flex-start;
    padding: 0 1.5rem;
    gap: 0;
  }
  .nav-logo { position: static; }
  .nav-links {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #222;
    padding: 0.5rem 1rem;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-img-wrap {
    padding: 0 1.5rem 2rem;
    min-height: calc(100vh - 56px);
  }

  .hero-frame {
    inset: 1.2rem 1.2rem 1.2rem 1.2rem;
  }

  .hero-meta {
    top: 5.4rem;
    right: 1.5rem;
    width: min(300px, calc(100vw - 3rem));
  }

  .hero-content {
    max-width: 90vw;
  }

  .archive-list li:nth-child(1) a { padding-left: 1.2rem; }
  .archive-list li:nth-child(2) a { padding-left: calc(1.2rem + 3vw); }
  .archive-list li:nth-child(3) a { padding-left: calc(1.2rem + 6vw); }
  .archive-list li:nth-child(4) a { padding-left: calc(1.2rem + 9vw); }
  .archive-list li:nth-child(5) a { padding-left: calc(1.2rem + 12vw); }

  .about-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    align-items: flex-start;
    padding-top: 80px;
  }
}

@media (max-width: 640px) {
  .hero-img-wrap {
    align-items: flex-end;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .hero-sub {
    font-size: 0.7rem;
    max-width: 92vw;
  }

  .hero-meta {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 4.2rem 0 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta,
  .hero-secondary {
    width: 100%;
    text-align: center;
  }

  .archive-list a {
    white-space: normal;
    word-break: break-word;
  }
}

/* ================================================================
   FEATURED CARDS (HOME)
   ================================================================ */
.featured {
  padding: 4rem 3rem 3rem;
  border-top: 1px solid #1a1a1a;
}

.section-title {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.bld-card {
  display: flex;
  flex-direction: column;
  background: #060a0e;
  border: 1px solid #1a1a1a;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.bld-card:hover {
  border-color: #0078BF;
  transform: translateY(-3px);
}

.bld-card-img {
  width: 100%;
  height: 117px;
  background: #080c10;
  border-bottom: 1px solid #1a1a1a;
}

.bld-card-title {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  padding: 1rem 1rem 0.3rem;
  line-height: 1.1;
}

.bld-card-loc {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0078BF;
  padding: 0 1rem;
}

.bld-card-stats {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid #111;
  margin-top: 0.8rem;
}

.bld-card-stats > div {
  display: flex;
  flex-direction: column;
}

.bld-card-val {
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1;
}

.bld-card-lbl {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 3px;
}

.bld-card-link {
  font-family: 'futura-pt', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.6rem 1rem;
  border-top: 1px solid #111;
  transition: color 0.15s;
}

.bld-card:hover .bld-card-link {
  color: #0078BF;
}

@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .bld-card-img {
    height: 91px;
  }
}