:root {
  --bg0: #071a19;
  --bg1: #020505;

  --headerH: 160px;

  /* nav gradient like the video */
  --navTop: rgba(11, 58, 56, 0.92);
  --navMid: rgba(18, 88, 85, 0.62);
  --navFade: rgba(18, 88, 85, 0);

  --text: #e8f3f3;
  --muted: #a9c7c6;

  --orange: #f0914e;
  --orange2: #f3ab67;

  --glass: rgba(10, 10, 10, 0.28);
  --stroke: rgba(255, 255, 255, 0.12);

  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --shadow2: 0 20px 40px rgba(0, 0, 0, 0.45);

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      1200px 700px at 50% -10%,
      rgba(18, 122, 116, 0.35),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 15% 30%,
      rgba(240, 145, 78, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

.bg-ornaments {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(0, 0, 0, 0) 12px,
    rgba(0, 0, 0, 0) 28px
  );
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.container {
  width: min(calc(1220px / 1.5), calc((100% - 56px) / 1.5));
  margin: 0 auto;
  zoom: 1.5;
  position: relative;
  border-radius: var(--radius-xl);
}

.container::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background:
    radial-gradient(
      900px 320px at 50% -10%,
      rgba(240, 145, 78, 0.14),
      transparent 62%
    ),
    radial-gradient(
      820px 320px at 85% 110%,
      rgba(10, 165, 160, 0.1),
      transparent 62%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 10px,
      rgba(0, 0, 0, 0) 10px,
      rgba(0, 0, 0, 0) 26px
    );
  opacity: 0.16;
  border: 1px solid rgba(240, 145, 78, 0.16);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  filter: blur(0.2px);
  pointer-events: none;
  z-index: -1;
}

.container::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.55)
  );
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.center {
  text-align: center;
}
.sub {
  color: #b7d6d5;
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 400;
}
.big {
  font-size: clamp(20px, 4vw, 56px);
  margin: 0;
  letter-spacing: 0.2px;
}
.accent {
  color: var(--orange);
}
a {
  color: inherit;
  text-decoration: none;
}
.nav-anchor {
  position: relative;
  top: -124px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.nav-shell {
  height: var(--headerH);
  padding: 10px 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(
    180deg,
    var(--navTop) 0%,
    var(--navMid) 70%,
    var(--navFade) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}
.nav-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--headerH);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  opacity: 0.35;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 6px 6px 10px;
  user-select: none;
}
.brand-word {
  font-family: "Cinzel Decorative", serif;
  font-size: 44px;
  letter-spacing: 0.4px;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.brand-mark {
  display: grid;
  place-items: center;
}
.brand-logo {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: none;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 44px;
  padding-top: 22px;
  margin-right: clamp(12px, 4vw, 72px);
}
.nav a,
.nav span {
  font-size: 26px;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.2px;
  position: relative;
  padding: 8px 2px;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.nav a:hover,
.nav span:hover {
  opacity: 1;
}
.nav a::after,
.nav span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(191, 243, 241, 0.55);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav a:hover::after,
.nav span:hover::after {
  transform: scaleX(1);
}
.nav a.is-accent,
.nav span.is-accent {
  color: var(--orange);
  font-weight: 600;
}
.nav a.is-accent::after,
.nav span.is-accent::after {
  background: rgba(240, 145, 78, 0.9);
}

.nav-search {
  margin-left: 6px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(232, 243, 243, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.nav-search:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.26);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  margin-top: 22px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 6px auto;
  background: rgba(232, 243, 243, 0.85);
}

/* HERO */
.hero {
  position: relative;
  height: 220vh;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(0.95) brightness(1.12);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.25));
  pointer-events: none;
  z-index: 1;
}

/* scroll-driven dark mask + centered text */
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(4, 22, 20, 0.88) 0%,
    rgba(2, 12, 11, 0.92) 60%,
    rgba(0, 0, 0, 0.96) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s linear;
}
.hero-mask-text {
  text-align: center;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.scroll-text-main {
  margin: 0;
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow:
    0 0 40px rgba(10, 165, 160, 0.45),
    0 4px 24px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-text-sub {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 400;
  color: rgba(191, 243, 241, 0.85);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.1s ease 0.6s,
    transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}
.hero-mask.text-main-in .scroll-text-main {
  opacity: 1;
  transform: translateY(0);
}
.hero-mask.text-sub-in .scroll-text-sub {
  opacity: 1;
  transform: translateY(0);
}

/* top hint arrow */
.top-hint {
  position: absolute;
  left: 50%;
  top: calc(var(--headerH) + 6px);
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(240, 145, 78, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.section {
  padding: 90px 0;
}
.section--dark {
  background: transparent;
}

/* Burn map section: scale down text proportionally (title + stats) */
.section--burn-map {
  --burnTextScale: 0.66;
  --burnMapScale: 0.74;
  --burnHeaderH: var(--headerH);
  --burnFade: 96px;
}
.section--burn-map.section {
  padding: 22px 0 18px;
  height: calc(100vh - var(--burnHeaderH));
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.section--burn-map.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 22, 20, 0.88) 0%,
    rgba(2, 12, 11, 0.92) 60%,
    rgba(0, 0, 0, 0.96) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--burnFade),
    #000 calc(100% - var(--burnFade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--burnFade),
    #000 calc(100% - var(--burnFade)),
    transparent 100%
  );
}
.section--burn-map .container {
  width: calc((100vw - 350px) / 1.5);
  max-width: none;
  height: calc((100vh - var(--burnHeaderH) - 40px) / 1.5);
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.section--burn-map .section-title {
  margin-bottom: 12px !important;
}
.section--burn-map .big {
  font-size: clamp(12px, 2.2vw, 30px);
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Map layout with side stats */
.map-layout {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, 100%);
  margin: 0 auto;
}
.map-iframe-wrap {
  flex: 0 0 68%;
  height: 520px;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(10, 165, 160, 0.4);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: var(--shadow2);
  overflow: hidden;
}
.map-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Burn map layout overrides: wider containers, shorter height */
.section--burn-map .map-layout {
  width: 100%;
  max-width: none;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.section--burn-map .map-iframe-wrap {
  flex: 0 1 calc(1520px * var(--burnMapScale, 1));
  height: 100%;
  min-width: 0;
}
.section--burn-map .map-stats {
  flex: 0 1 420px;
  max-width: 210px;
  gap: 14px;
  min-width: 0;
  height: 100%;
}
.section--burn-map .map-stat-item {
  gap: 6px;
}
.map-stats-source {
  font-size: calc(1rem * var(--burnTextScale, 1));
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
  margin: 0;
}
.map-stats-lead {
  font-size: calc(1.45rem * var(--burnTextScale, 1));
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}
.map-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-stat-number {
  font-size: calc(3.9rem * var(--burnTextScale, 1));
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.map-stat-unit {
  font-size: calc(1.85rem * var(--burnTextScale, 1));
  font-weight: 600;
  margin-left: 4px;
}
.map-stat-desc {
  font-size: calc(1.1rem * var(--burnTextScale, 1));
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}
.map-stat-divider {
  height: 1px;
  background: rgba(10, 165, 160, 0.3);
}
@media (max-width: 860px) {
  .section--burn-map {
    --burnTextScale: 0.8;
    --burnMapScale: 0.78;
  }
  .map-layout {
    flex-direction: column;
  }
  .map-iframe-wrap {
    flex: none;
    width: 100%;
    height: 360px;
  }
  /* keep burn map left-right (no stacking) */
  .section--burn-map .map-layout {
    flex-direction: row;
  }
  .section--burn-map .map-iframe-wrap {
    flex: 0 1 calc(720px * var(--burnMapScale, 1));
    width: auto;
    height: 100%;
  }
}

@media (max-width: 1100px) {
  .section--burn-map {
    --burnTextScale: 0.7;
    --burnMapScale: 0.78;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Tile colors (used by icon-grid) */
.tile--gold {
  background: linear-gradient(135deg, #ffcc4a, #f0914e);
}
.tile--gold2 {
  background: linear-gradient(135deg, #ffd35c, #ffb23e);
}
.tile--sky {
  background: linear-gradient(135deg, #b9d9ff, #a6c6ff);
}
.tile--sky2 {
  background: linear-gradient(135deg, #c5e2ff, #9fc8ff);
}
.tile--peach {
  background: linear-gradient(135deg, #ffd7a6, #f0914e);
}
.tile--peach2 {
  background: linear-gradient(135deg, #ffcb9c, #f5a46a);
}

/* Explore grid */
.section-title {
  margin-bottom: 30px;
}
.icon-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
}
.icon-card {
  border-radius: 26px;
  background: rgba(7, 92, 89, 0.92);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 178px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.42);
}
.icon-tile {
  width: 96px;
  height: 78px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 28px;
}
.label {
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  line-height: 1.15;
}

.btn-outline {
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(191, 243, 241, 0.7);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(232, 243, 243, 0.92);
  font-size: 18px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(240, 145, 78, 0.75);
}

.footer {
  padding: 70px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  font-family: "Cinzel Decorative", serif;
  font-size: 34px;
}
.footer-sub {
  margin-top: 8px;
  color: rgba(232, 243, 243, 0.7);
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(232, 243, 243, 0.75);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.footer-links a:hover {
  color: rgba(232, 243, 243, 0.95);
  border-color: rgba(240, 145, 78, 0.45);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    gap: 28px;
    margin-right: 22px;
  }
  .nav a,
  .nav span {
    font-size: 22px;
  }
  .brand-word {
    font-size: 36px;
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    right: 14px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav.is-open {
    display: flex;
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
