/* Shared stylesheet for exp/ detail pages */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --navy:       #141572;
  --midnight:   #0B0E40;
  --ivory:      #F4EFE6;
  --ivory-dark: #E8E2D9;
  --copper:     #C9A84C;
  --copper-dim: rgba(201, 168, 76, 0.18);
  --charcoal:   #2A2A2A;
  --white:      #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 4px;
  --ease:   0.2s ease;
  --max-w:  820px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); line-height: 1.65; color: var(--charcoal); background: var(--ivory); }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 52px;
  background: var(--midnight);
  border-bottom: 1px solid var(--copper-dim);
}

.nav-back {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-back:hover { opacity: 0.8; }

.nav-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* MAIN */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* PAGE HEADER */
.detail-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ivory-dark);
}

.detail-company {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.detail-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(42, 42, 42, 0.45);
}

.detail-intro {
  margin-top: 1rem;
  font-size: 0.93rem;
  color: rgba(42, 42, 42, 0.75);
  line-height: 1.75;
  max-width: 640px;
}

/* GRAPHIC SUMMARY */
.summary-wrap {
  margin-bottom: 3rem;
}

.summary-wrap h2 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.summary-img {
  width: 100%;
  border-radius: var(--radius);
  cursor: zoom-in;
  border: 1px solid var(--ivory-dark);
}

/* HIGHLIGHTS */
.highlights h2 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.highlight-item {
  padding: 1.1rem 1.25rem 1.1rem 1rem;
  border-left: 3px solid var(--copper);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 0.9rem;
}

.highlight-item strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.highlight-item p {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.7;
}

/* IMAGE LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 14, 64, 0.9);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}

/* FOOTER */
footer {
  background: var(--midnight);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--copper-dim);
}

footer a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--copper);
  transition: opacity 0.2s ease;
}

footer a:hover { opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
