@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap");

:root {
  /* Mako — chest amber, ear cyan, eye emerald, rust fur */
  --bg: #050506;
  --bg-elev: #0e1014;
  --text: #ffffff;
  --muted: #9b958c;
  --faint: #6a645c;
  --amber: #ffb347;
  --amber-hot: #ffe2a8;
  --rust: #c45a28;
  --cyan: #4ee2ec;
  --emerald: #50c878;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1080px;
  --font: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #050506;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #9ff4fa; }
.wrap { width: min(var(--max), calc(100% - 2.75rem)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: #fff; color: #000; padding: .5rem .75rem; }

/* Nav — Reflect three-zone */
.site-header {
  position: relative;
  z-index: 20;
  padding: 1.1rem 0;
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: .4rem;
  background:
    radial-gradient(circle at 45% 40%, var(--amber) 0 34%, transparent 36%),
    linear-gradient(145deg, var(--rust), #1a100c);
  box-shadow: 0 0 18px rgba(255, 179, 71, .7);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta .ghost {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.nav-cta .ghost:hover { color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .62rem 1.05rem;
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: #1a1006 !important;
  background: linear-gradient(180deg, #ffd08a, var(--amber) 42%, #e08a20);
  box-shadow: 0 0 0 1px rgba(255, 179, 71, .35), 0 10px 30px rgba(255, 179, 71, .35);
}
.btn:hover { filter: brightness(1.07); }

/* ========== HERO — Reflect composition, Mako light ========== */
.hero-stage {
  position: relative;
  text-align: center;
  padding: 2.75rem 0 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Soft concentric rings */
.hero-rings {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 140vmax;
  height: 140vmax;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 4.2rem,
    rgba(255, 179, 71, 0.045) 4.2rem 4.28rem
  );
  mask-image: radial-gradient(circle, #000 10%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: .4rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 71, .28);
  background: rgba(255, 179, 71, .08);
  color: #d5cfc5;
  font-size: .86rem;
  font-weight: 500;
}
.pill-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.hero-stage h1 {
  margin: 0 0 .85rem;
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: #fff;
}
.hero-stage .lede {
  margin: 0 auto 1.6rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: .62rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  font-size: .9rem;
  font-weight: 600;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* Preview + massive Mako eclipse (white-hot → amber → rust) */
.hero-preview {
  position: relative;
  z-index: 1;
  width: min(920px, 100vw);
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero-eclipse {
  position: absolute;
  left: 50%;
  top: -6%;
  width: 70%;
  height: 55%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 226, 168, 0.85) 12%,
      rgba(255, 179, 71, 0.65) 28%,
      rgba(196, 90, 40, 0.35) 48%,
      rgba(196, 90, 40, 0.08) 68%,
      transparent 78%);
  filter: blur(28px);
  opacity: 1;
}

.hero-eclipse-wide {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 110%;
  height: 90%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%,
    rgba(255, 179, 71, 0.28) 0%,
    rgba(78, 226, 236, 0.06) 40%,
    transparent 70%);
  filter: blur(40px);
}

.preview-frame {
  position: relative;
  z-index: 2;
  margin: 0 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 18, 0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(255, 179, 71, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  aspect-ratio: 16 / 10.2;
}
.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.preview-glass {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 30%),
    linear-gradient(180deg, transparent 50%, rgba(5,5,6,0.55));
  pointer-events: none;
}
.preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 9, 12, 0.4);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  color: #fff !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 30px rgba(78, 226, 236, .25);
}
.preview-play:hover {
  background: rgba(255, 179, 71, 0.25);
}
.preview-play svg { margin-left: .12rem; }

/* Metrics — BELOW the fold, not in hero */
.metrics-band {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(14, 16, 20, 0.6));
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  text-align: left;
}
.metric {
  background: none;
  border: none;
  padding: 0;
}
.metric .label {
  margin: 0 0 .35rem;
  color: var(--faint);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.metric .value {
  margin: 0 0 .3rem;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.metric .note {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .12rem .5rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-proven { color: #052214; background: var(--emerald); }
.badge-estimated { color: #2a1a05; background: var(--amber); }
.badge-unmeasured { color: #042226; background: var(--cyan); }
.badge-nogo, .badge-falsified, .badge-closed { color: #2a1212; background: #e39a9a; }
.badge-live { color: #042226; background: var(--cyan); }

/* Body sections — quieter, less card soup */
section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}
section h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.025em;
}
.section-lede {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}
.quote {
  margin: 0;
  max-width: 36rem;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -.015em;
  border-left: 2px solid var(--amber);
  padding-left: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}
.card, .achieve-list article, .invention {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}
.card h3, .achieve-list h3, .invention h3 {
  margin: 0 0 .45rem;
  font-size: 1.02rem;
  color: #fff;
}
.card p, .card li, .achieve-list p, .invention p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.card ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.card li { margin: .25rem 0; }

.achieve-list, .invention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.invention {
  background:
    linear-gradient(135deg, rgba(255, 179, 71, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 179, 71, 0.16);
}
.invention:nth-child(even) {
  background:
    linear-gradient(135deg, rgba(78, 226, 236, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.025);
  border-color: var(--line);
}
.invention h3 { margin-top: .4rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th, td {
  text-align: left;
  padding: .8rem .95rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--faint);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(255, 179, 71, 0.04);
}
td { color: var(--muted); font-size: .93rem; }
td strong { color: #fff; font-weight: 650; }

.figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.figure.portrait { max-width: 26rem; }
.figure figcaption {
  padding: .7rem .9rem;
  color: var(--faint);
  font-size: .85rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.chip-row { display: none; } /* retired from hero */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.5rem;
  color: var(--faint);
  font-size: .88rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .grid-2, .achieve-list, .invention-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: auto; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .metrics { grid-template-columns: 1fr; }
  .nav-cta .ghost { display: none; }
  .preview-frame { margin: 0; border-radius: 14px; }
}


.overview-poster {
  max-width: 44rem;
  margin-inline: auto;
  background: #050d18;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 60px rgba(255,179,71,.12);
}
.overview-poster img {
  width: 100%;
  height: auto;
}
