:root {
  --ink: #0d1f2d;
  --ink-deep: #07151f;
  --ivory: #f3eee4;
  --card: #f7f3ea;
  --muted: #5a6b78;
  --line: rgba(13, 31, 45, 0.12);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="geo"] {
  --accent: #2ec4e0;
  --accent-ink: #041820;
}

[data-theme="fire"] {
  --accent: #f06a1a;
  --accent-ink: #1a0a02;
}

[data-theme="safety"] {
  --accent: #2fd0c4;
  --accent-ink: #041c1a;
}

[data-theme="safety"] .hero-shade {
  background:
    linear-gradient(105deg, rgba(5,12,20,0.55) 0%, rgba(5,12,20,0.22) 48%, rgba(5,12,20,0.08) 100%),
    linear-gradient(180deg, rgba(5,12,20,0.12) 0%, transparent 32%, rgba(5,12,20,0.62) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #dce4ea;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Top nav over banner */
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.15rem 0;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.35rem;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--accent); }

/* BIG banner — keep this */
.hero {
  position: relative;
  min-height: min(90svh, 880px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.05);
  animation: drift 18s var(--ease) infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(5,12,20,0.82) 0%, rgba(5,12,20,0.42) 50%, rgba(5,12,20,0.2) 100%),
    linear-gradient(180deg, rgba(5,12,20,0.32) 0%, transparent 40%, rgba(5,12,20,0.78) 100%);
}
.hero-copy {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 7.5rem 0 4rem;
  max-width: 40rem;
  animation: rise 0.85s var(--ease) both;
}
.kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  margin: 1.15rem 0 0;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 160ms var(--ease), background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}

/* BELOW = flyer panel at 1200px */
.flyer-panel {
  width: min(var(--max), calc(100% - 2rem));
  margin: -2.5rem auto 2.5rem;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 0.35rem;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(7, 21, 31, 0.16);
}

.flyer-head {
  background: var(--ink);
  color: #fff;
  padding: 1.35rem 1.5rem 1.15rem;
  position: relative;
  overflow: hidden;
}
.flyer-head::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' fill='none' stroke='%232ec4e033' stroke-width='1'%3E%3Cpath d='M0 80c40-20 80 10 120-10s80-10 120 20'/%3E%3Cpath d='M0 50c50-15 70 20 120 0s80-5 120 15'/%3E%3C/svg%3E");
  background-size: 240px 120px;
  pointer-events: none;
}
.flyer-head .kicker {
  position: relative;
  margin-bottom: 0.35rem;
}
.flyer-head h2 {
  margin: 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.flyer-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.flyer-body {
  background: var(--ivory);
  padding: 1.35rem 1.35rem 1.5rem;
}

/* Flyer-style 2x2 icon cards */
.feat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.feat {
  display: grid;
  grid-template-columns: 3.85rem 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem 1.05rem;
}
.feat .ico {
  width: 3.85rem;
  height: 3.85rem;
  flex-shrink: 0;
  display: block;
}
.feat .ico img,
.feat .ico svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.icon-card .ico {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  display: block;
}
.icon-card .ico img,
.icon-card .ico svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.85rem;
}
.icon-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem 1.05rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.icon-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 8px 22px rgba(7, 21, 31, 0.08);
}
.icon-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.icon-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.feat h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.feat p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.feat a.more {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.status {
  display: grid;
  grid-template-columns: 1fr auto 1.35fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.95rem 1.1rem;
}
.status .now {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.status .divider {
  width: 2px;
  align-self: stretch;
  background: var(--accent);
}
.status .planned b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.status .planned span {
  font-size: 0.9rem;
  color: var(--muted);
}

.extra {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  background: #fff;
  border-radius: 0.35rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(7, 21, 31, 0.08);
}
.extra h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.extra p {
  margin: 0 0 0.85rem;
  color: #3a4d5c;
  max-width: 46rem;
}
.extra p:last-child { margin-bottom: 0; }
.extra .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.flyer-foot {
  background: var(--ink-deep);
  color: #fff;
  padding: 1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  align-items: baseline;
}
.flyer-foot .url {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.flyer-foot .co {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.site-footer {
  padding: 1.25rem 0 2rem;
  color: #5f7382;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-footer a { color: var(--ink); font-weight: 600; }
.site-footer a:hover { color: var(--accent); }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  from { transform: scale(1.05); }
  to { transform: scale(1.12) translate(-1%, -0.7%); }
}

@media (max-width: 760px) {
  .feat-grid { grid-template-columns: 1fr; }
  .status { grid-template-columns: 1fr; }
  .status .divider { width: 100%; height: 2px; }
  /* keep menu visible */
  .hero { min-height: 78svh; }
  .flyer-panel { margin-top: -1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
