:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef2f8;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe3ef;
  --accent: #0f52ba;
  --accent-bright: #2563eb;
  --accent-soft: #e0ecff;
  --warn-bg: #fff8eb;
  --warn-border: #f59e0b;
  --warn-ink: #78350f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-bright); }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 8px 14px; font-size: 0.86rem; }

/* Status Banner */
.status-banner {
  background: var(--warn-bg);
  border-bottom: 1px solid #fde68a;
  color: var(--warn-ink);
  font-size: 0.9rem;
  padding: 10px 0;
}

.status-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  background: #f59e0b;
  color: #fff;
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 42px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }

.hero-lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.media-caption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Panoramic Strip */
.panoramic-box {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.panoramic-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 768;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
}

/* Sections */
.section {
  padding: 46px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* Market Jump Pills + Cards */
.market-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.market-pill:hover, .market-pill:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.markets-stack {
  display: grid;
  gap: 22px;
}

.market-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.market-card.no-media {
  grid-template-columns: 1fr;
}

.market-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.feature-list {
  margin: 12px 0;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 8px;
}

.editorial-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--surface-alt);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.editorial-note.warn {
  background: var(--warn-bg);
  border-left-color: var(--warn-border);
  color: var(--warn-ink);
}

.market-media-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s ease;
}

.market-media-btn:hover { border-color: var(--accent); }

.market-media-btn img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Common Functions Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.section-alt .info-card {
  background: var(--bg);
}

/* Infographics & Gallery */
.infographic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-item button {
  border: 0;
  background: #f8fafc;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-body {
  padding: 12px 14px;
  font-size: 0.88rem;
}

.gallery-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.gallery-body span {
  color: var(--muted);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  border-radius: 10px;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.video-meta {
  margin-top: 10px;
  font-size: 0.9rem;
}

.video-meta strong { display: block; margin-bottom: 3px; }
.video-meta p { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* Coverage Table */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  font-weight: 600;
}

/* Contact & Footer */
.contact-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-box p { color: #dbeafe; margin: 6px 0 0; max-width: 620px; }

.btn-light {
  background: #fff;
  color: #0f172a;
}
.btn-light:hover { background: #e0ecff; }

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox-content {
  max-width: min(1100px, 95vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  background: #fff;
}

.lightbox-caption {
  color: #f8fafc;
  text-align: center;
  font-size: 0.94rem;
  max-width: 780px;
}

.lightbox-controls {
  display: flex;
  gap: 10px;
}

.lb-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }

@media (max-width: 900px) {
  .hero-grid, .market-card, .grid-3, .grid-2, .gallery-grid, .video-grid {
    grid-template-columns: 1fr;
  }
}
