:root {
  --bg: #0a0d17;
  --bg-2: #0d1221;
  --fg: #e6e9f3;
  --muted: #a9b3c9;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #7d8aff;
  --accent-2: #5ed5ff;
  --radius: 14px;
  --shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  --max: 1200px;
  --page-pad: clamp(22px, 5vw, 46px);
  --card-gap: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(140deg, #0b1020, #0a0d17 40%, #080b14);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 20;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 13, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #7d8aff, #5ed5ff);
  transition: width 0.1s ease;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--page-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7d8aff, #5ed5ff);
  color: #0a0d17;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 34px rgba(125, 138, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  box-shadow: 0 12px 34px rgba(125, 138, 255, 0.7);
}

.nav-text-primary {
  font-weight: 600;
}

.nav-text-secondary {
  font-size: 13px;
  color: #8fa1d9;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  align-items: center;
}

.nav-links.is-open {
  display: flex;
}

.nav-link {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #c7cee0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav-link:hover::before {
  width: 300px;
  height: 300px;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--line);
  color: #e6e9f3;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-primary {
  background: linear-gradient(135deg, #7d8aff, #5ed5ff);
  color: #0a0d17;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(94, 213, 255, 0.28);
}

.nav-toggle {
  display: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(125, 138, 255, 0.3);
  transform: scale(1.05);
}

main {
  flex: 1;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px var(--page-pad);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.section.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-subtitle {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}

/* HERO */
.hero-section {
  position: relative;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: calc(var(--card-gap) + 8px);
  align-items: center;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(15, 20, 38, 0.92), rgba(10, 13, 23, 0.96));
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.42);
}

.hero-title {
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: #9fb3ff;
  font-size: clamp(14px, 5vw, 18px);
}

.hero-tagline {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 620px;
}

.hero-heading-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe4f4;
  font-size: 13px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge-pill {
  padding: 6px 10px;
  background: linear-gradient(135deg, #7d8aff, #5ed5ff);
  color: #0a0d17;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  box-shadow: none;
}

.hero-badge-text {
  display: none;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 16px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7d8aff, #5ed5ff);
  color: #0a0d17;
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: #e6e9f3;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-chip-row {
  display: none;
}

.meta-grid,
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--card-gap);
  margin: 14px 0 18px;
}

.meta-item,
.meta-pill {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.meta-item:hover,
.meta-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 138, 255, 0.3);
}

.meta-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa1d9;
  margin-bottom: 4px;
  display: block;
}

.meta-value {
  font-weight: 700;
}

.note,
.hero-footer-text {
  color: var(--muted);
  font-size: 13px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.hero-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  max-width: 420px;
  width: 100%;
  justify-self: center;
  align-self: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-photo-card:hover {
  box-shadow: 0 16px 40px rgba(125, 138, 255, 0.4);
  border-color: rgba(125, 138, 255, 0.4);
}

.hero-photo-inner {
  position: relative;
  display: block;
  background: #0c1020;
  width: 100%;
  padding: 0;
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-photo-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(5, 8, 21, 0.78);
  color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hero-photo-glow {
  display: none;
}

.hero-photo-orbit {
  display: none;
}

.hero-meta-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 14px;
}

.hero-meta-compact .meta-item {
  color: var(--fg);
  font-weight: 600;
}

.hero-meta-compact .meta-separator {
  color: var(--muted);
  font-weight: 400;
}

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  margin-bottom: 10px;
}

.card.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.card.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(125, 138, 255, 0.3);
}

.details-panel,
.emission-card,
.legal-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.details-panel.fade-in,
.emission-card.fade-in,
.legal-block.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.details-panel.fade-in.visible,
.emission-card.fade-in.visible,
.legal-block.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.details-panel:hover,
.emission-card:hover,
.legal-block:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(125, 138, 255, 0.3);
}

.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.inline-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 138, 255, 0.3);
  transform: scale(1.02);
}

.inline-dot {
  width: 7px;
  height: 7px;
  border-radius: 10px;
  background: var(--accent-2);
}

.card h3,
.legal-block h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.card-title,
.details-heading {
  font-weight: 700;
}

.card p,
.card li,
.legal-block p,
.legal-block li,
.details,
.details dd,
.details dt {
  color: var(--muted);
  font-size: 14px;
}

.card ul,
.legal-block ul {
  margin-left: 1.1em;
  display: grid;
  gap: 6px;
}

/* GRIDS */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--card-gap);
}

.details-grid,
.emissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--card-gap) + 4px);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--card-gap) + 4px);
}

.details dl {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 2fr);
  gap: 6px 12px;
  font-size: 14px;
  color: var(--muted);
}

.details dt {
  font-weight: 600;
  color: var(--fg);
  transition: color 0.2s ease;
  user-select: none;
}

.details dt:hover {
  color: var(--accent-2);
}

.details dd {
  transition: opacity 0.3s ease;
}

.details dd.is-dimmed {
  opacity: 0.7;
}

/* TABLES */
.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 440px;
}

.emission-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
}

th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: #dce4ff;
}

.card-title-row,
.emission-header,
.details-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  transition: transform 0.2s ease;
}

.card:hover .card-title-row,
.emission-card:hover .emission-header,
.details-panel:hover .details-heading {
  transform: translateX(4px);
}

.card-tag,
.emission-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #dbe5ff;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.card:hover .card-tag,
.emission-card:hover .emission-badge {
  background: rgba(125, 138, 255, 0.15);
  border-color: rgba(125, 138, 255, 0.3);
  transform: scale(1.05);
}

.emission-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.emission-pill span {
  font-weight: 700;
  color: var(--fg);
}

.emission-note,
.note-muted {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce4ff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-chip {
  background: linear-gradient(135deg, rgba(125, 138, 255, 0.3), rgba(94, 213, 255, 0.3));
  color: #f6f8ff;
  box-shadow: 0 10px 30px rgba(94, 213, 255, 0.35);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

/* LEGAL + FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 18px 22px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  background: #050814;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-right {
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-inner {
    justify-content: space-between;
    padding-inline: 16px;
  }
  .nav-ready .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .nav-ready .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
    gap: 10px;
  }
  .nav-ready .nav-links.is-open {
    display: flex;
  }
  .section {
    padding: 34px 16px;
  }
}

.portraitImg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  object-fit: cover;
  -webkit-object-fit: cover;
  transition: filter 0.3s ease;
}

.hero-photo-card:hover .portraitImg {
  filter: brightness(1.1);
}


@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-photo-card {
    justify-self: center;
    max-width: 340px;
    margin-left: 0;
  }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

