/* ======================================================================
   HELIOS — Travel the Solar System
   A dark, weightless, sun-gold space experience.
   Palette: deep warm black -> ember -> amber -> sun-gold -> core white
   ====================================================================== */

:root {
  /* Backgrounds */
  --bg:        #07060a;
  --bg-2:      #0c0a09;
  --panel:     #110d09;

  /* The sun, from core outward */
  --core:      #FFF4D2;   /* white-hot core      */
  --gold-1:    #FFD15C;   /* bright sun gold     */
  --gold:      #F5A623;   /* primary gold        */
  --gold-deep: #C8791A;   /* deep amber          */
  --ember:     #6e3f08;   /* glow / replaces maroon */
  --ember-2:   #2a1804;   /* darkest amber       */

  /* Type */
  --text:      #EFE7D6;
  --text-dim:  #968d7c;
  --text-mute: #5f594d;
  --white:     #F7F2E7;

  /* Lines */
  --line:      rgba(245, 166, 35, 0.16);
  --line-soft: rgba(239, 231, 214, 0.10);

  --display: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gut: clamp(20px, 5vw, 90px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.travelling { overflow: hidden; }

/* During a flight the page falls away — only the starfield, the weightless
   debris and the HUD remain. */
main { transition: opacity .55s ease; }
body.travelling main { opacity: 0; pointer-events: none; }
body.travelling .nav { opacity: 0; pointer-events: none; }

::selection { background: var(--gold); color: #1a1206; }

/* ───────────────────────── Background layers ───────────────────────── */

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* Warm sunlight bleeding in from corners — the sun-gold replacement
   for the inspiration's red corner glows. */
.sunwash {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 8%,  rgba(245,166,35,0.20), transparent 42%),
    radial-gradient(110% 80% at 0% 100%,  rgba(200,121,26,0.20), transparent 46%),
    radial-gradient(90%  70% at 92% 96%,  rgba(110,63,8,0.28),  transparent 50%),
    radial-gradient(140% 120% at 50% 50%, transparent 55%, rgba(7,6,10,0.55) 100%);
  transition: opacity .6s ease;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────────────────────── Floating zero-g debris ───────────────────────── */

.floaters {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.floater { position: absolute; will-change: transform; }

.floater-inner {
  width: var(--size);
  height: var(--size);
  will-change: transform;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.55));
}

/* Crystalline capsule (was the red gem in the inspiration -> molten gold) */
.capsule {
  border-radius: 50%;
  transform: rotate(38deg);
  background:
    radial-gradient(60% 50% at 35% 30%, var(--core), transparent 55%),
    linear-gradient(135deg, var(--gold-1) 0%, var(--gold) 38%, var(--gold-deep) 64%, #3a2207 100%);
  height: calc(var(--size) * 0.46);
  box-shadow: inset 0 0 18px rgba(255,244,210,.35), 0 0 26px rgba(245,166,35,.30);
}
.capsule.small { box-shadow: inset 0 0 10px rgba(255,244,210,.3), 0 0 16px rgba(245,166,35,.28); }

/* Asteroid */
.asteroid {
  border-radius: 50%;
  background:
    radial-gradient(40% 38% at 32% 28%, #5a5145, transparent 60%),
    radial-gradient(30% 30% at 70% 64%, #1b1813, transparent 60%),
    radial-gradient(circle at 50% 45%, #3b352c, #14110d 78%);
  box-shadow: inset -10px -12px 28px rgba(0,0,0,.7), inset 8px 6px 16px rgba(255,209,92,.12);
}

/* Gear / cog */
.gear {
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #b9b1a3, #6b6357 55%, #2a2620 100%);
  position: relative;
  box-shadow: inset -6px -6px 14px rgba(0,0,0,.6), inset 4px 4px 10px rgba(255,255,255,.18);
}
.gear::before {
  content: "";
  position: absolute; inset: -14%;
  border-radius: 22%;
  background: conic-gradient(from 0deg,
    #8c8478 0 7%, transparent 7% 16.6%, #8c8478 16.6% 23.6%, transparent 23.6% 33.3%,
    #8c8478 33.3% 40.3%, transparent 40.3% 50%, #8c8478 50% 57%, transparent 57% 66.6%,
    #8c8478 66.6% 73.6%, transparent 73.6% 83.3%, #8c8478 83.3% 90.3%, transparent 90.3%);
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%);
          mask: radial-gradient(circle, #000 60%, transparent 61%);
  z-index: -1;
}
.gear::after {
  content: "";
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d9d2c5, #2a2620);
}

/* ───────────────────────── Layout primitives ───────────────────────── */

main { position: relative; z-index: 4; }

section { padding: clamp(70px, 11vh, 150px) var(--gut); position: relative; }

.section-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(42px, 8vw, 118px);
  line-height: .96;
  letter-spacing: .01em;
  color: var(--white);
}

.asterisk {
  font-family: var(--display);
  font-weight: 200;
  color: var(--gold-1);
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1;
  text-shadow: 0 0 24px rgba(245,166,35,.5);
}
.asterisk.big { font-size: clamp(40px, 6vw, 92px); }

.dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: inline-block;
  box-shadow: inset 0 0 0 3px var(--bg), 0 0 14px rgba(245,166,35,.4);
}

/* ───────────────────────── Nav ───────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gut);
  transition: background .4s ease, padding .4s ease, backdrop-filter .4s ease, opacity .5s ease;
}
.nav.scrolled {
  background: rgba(7,6,10,.72);
  backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold); }

.nav-links { display: flex; gap: clamp(18px, 3vw, 46px); }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .04em;
  position: relative;
  transition: color .3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-orb {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 30%, rgba(255,209,92,.18), transparent 70%);
  color: var(--gold-1);
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s;
}
.nav-orb:hover {
  transform: rotate(45deg) scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 0 26px rgba(245,166,35,.4);
}

/* ───────────────────────── Hero ───────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 16vh;
  padding-bottom: 8vh;
}

.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  z-index: -1;
}
.orb {
  position: absolute; inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(60% 55% at 36% 30%, rgba(255,244,210,.9), rgba(245,166,35,.25) 38%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(40,28,8,.7), rgba(10,8,6,.85) 70%);
  box-shadow:
    inset -30px -40px 90px rgba(0,0,0,.7),
    inset 14px 18px 60px rgba(255,209,92,.25),
    0 0 120px rgba(245,166,35,.20);
  backdrop-filter: blur(2px);
  animation: orbBreath 14s ease-in-out infinite;
}
@keyframes orbBreath {
  50% { transform: scale(1.03); box-shadow: inset -30px -40px 90px rgba(0,0,0,.7), inset 14px 18px 70px rgba(255,209,92,.4), 0 0 160px rgba(245,166,35,.32); }
}
.ring {
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.ring-a { transform: rotate(-24deg) scaleY(.34); border-color: rgba(245,166,35,.28); animation: spin 60s linear infinite; }
.ring-b { transform: rotate(64deg) scaleY(.5); border-color: rgba(239,231,214,.10); animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: var(--t, rotate(360deg)) ; } }
/* keep the flattened look while spinning */
.ring-a { animation: spinA 60s linear infinite; }
.ring-b { animation: spinB 90s linear infinite; }
@keyframes spinA { from { transform: rotate(-24deg) scaleY(.34);} to { transform: rotate(336deg) scaleY(.34);} }
@keyframes spinB { from { transform: rotate(64deg) scaleY(.5);}  to { transform: rotate(424deg) scaleY(.5);} }

.hero-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(54px, 13vw, 200px);
  line-height: .9;
  letter-spacing: .02em;
  color: var(--white);
  text-shadow: 0 2px 60px rgba(0,0,0,.6);
}
.hero-sub {
  margin-top: 26px;
  color: var(--text-dim);
  letter-spacing: .12em;
  font-size: 14px;
  text-transform: uppercase;
}
.hero-brand {
  position: absolute;
  right: var(--gut);
  bottom: 16vh;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 104px);
  color: var(--white);
  letter-spacing: .01em;
  opacity: .96;
}
.hero-brand::first-letter { color: var(--gold-1); }

/* CTA */
.cta {
  margin-top: 44px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  border-radius: 60px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(245,166,35,.16), rgba(245,166,35,.04));
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-deep));
  opacity: 0; transition: opacity .35s ease; z-index: -1;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(245,166,35,.32); }
.cta:hover::before { opacity: 1; }
.cta:hover { color: #1a1206; border-color: transparent; }
.cta svg { transition: transform .35s var(--ease); }
.cta:hover svg { transform: translateX(4px); }
.cta.ghost { background: transparent; }

.scroll-hint {
  position: absolute;
  left: var(--gut); bottom: 5vh;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-mute);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}
.scroll-hint i {
  width: 1px; height: 38px;
  background: linear-gradient(var(--gold), transparent);
  display: block;
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ───────────────────────── About ───────────────────────── */

.about-grid {
  margin-top: clamp(40px, 7vh, 90px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.about-col {
  background: var(--bg);
  padding: 32px 26px 40px;
  min-height: 220px;
  display: flex; flex-direction: column;
  position: relative;
}
.about-col .dot { margin-bottom: 26px; }
.about-col h3 {
  font-family: var(--display); font-weight: 300;
  font-size: 18px; color: var(--text); margin-bottom: 12px;
}
.about-col p { font-size: 13.5px; color: var(--text-dim); line-height: 1.65; }

.about-card {
  background: var(--white);
  color: #18140e;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.about-card h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; margin-bottom: 16px; }
.about-card p { font-size: 13px; color: #4a443a; line-height: 1.6; }
.about-card .card-orb {
  position: absolute; right: -28px; bottom: -28px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-deep) 70%, #3a2207);
  box-shadow: 0 0 30px rgba(245,166,35,.5);
}

/* ───────────────────────── Voyages ───────────────────────── */

.voyages-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }

.voyages-body {
  margin-top: clamp(36px, 6vh, 70px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.dest-list { list-style: none; }
.dest-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: padding-left .35s var(--ease), background .35s ease;
}
.dest-item:hover { padding-left: 16px; }
.dest-item.active { padding-left: 16px; }

.dest-radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line);
  position: relative; flex: none;
  transition: border-color .3s;
}
.dest-item.active .dest-radio { border-color: var(--gold); }
.dest-radio::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 14px rgba(245,166,35,.7);
  transform: scale(0); transition: transform .35s var(--ease);
}
.dest-item.active .dest-radio::after { transform: scale(1); }

.dest-main h3 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 3vw, 34px); color: var(--text);
  line-height: 1.1;
  transition: color .3s;
}
.dest-item.active .dest-main h3,
.dest-item:hover .dest-main h3 { color: var(--white); }
.dest-main .dest-tagline { font-size: 13px; color: var(--text-mute); letter-spacing: .04em; }

.dest-dist { font-size: 12px; color: var(--text-dim); letter-spacing: .05em; text-align: right; white-space: nowrap; }
.dest-dist b { display: block; color: var(--gold-1); font-weight: 500; font-size: 15px; }

/* Detail panel */
.dest-detail {
  position: sticky; top: 110px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(245,166,35,.05), rgba(17,13,9,.4));
  overflow: hidden;
}
.dest-preview {
  height: 200px;
  display: grid; place-items: center;
  position: relative;
  margin: -6px -6px 24px;
}
.dest-world {
  width: 150px; height: 150px; border-radius: 50%;
  position: relative;
  box-shadow: inset -22px -26px 60px rgba(0,0,0,.75), 0 0 60px rgba(245,166,35,.18);
  transition: background .6s ease, box-shadow .6s ease;
  animation: floatY 7s ease-in-out infinite;
}
.dest-world.ringed::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 230px; height: 230px;
  border: 2px solid rgba(255,209,92,.4);
  border-radius: 50%;
  transform: translate(-50%,-50%) rotate(72deg) scaleY(.26);
  box-shadow: 0 0 0 6px rgba(245,166,35,.08);
}
@keyframes floatY { 50% { transform: translateY(-14px); } }

.dest-detail h4 {
  font-family: var(--display); font-weight: 300;
  font-size: 26px; color: var(--white); margin-bottom: 6px;
}
.dest-detail .dest-detail-tag { color: var(--gold-1); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.dest-detail p { margin-top: 14px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }

.dest-stats { display: flex; gap: 28px; margin: 22px 0 26px; }
.dest-stats div span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.dest-stats div b { font-family: var(--display); font-weight: 300; font-size: 22px; color: var(--text); }

.engage {
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-deep));
  color: #1a1206;
  font-family: var(--body); font-weight: 600;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s ease, filter .3s;
}
.engage:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(245,166,35,.4); filter: brightness(1.06); }
.engage svg { width: 16px; height: 16px; }

/* ───────────────────────── Tickets ───────────────────────── */

.tickets-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.tickets-note { color: var(--text-dim); font-size: 13px; line-height: 1.6; max-width: 320px; }

.ticket-cards {
  margin-top: clamp(36px, 6vh, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ticket {
  background: var(--white);
  color: #18140e;
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 300px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.ticket:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.ticket.featured { background: linear-gradient(180deg, #fff 70%, #fdf2d8); }
.ticket header { display: flex; align-items: flex-start; justify-content: space-between; }
.ticket h3 { font-family: var(--display); font-weight: 500; font-size: 20px; }
.ticket-orb { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.ticket-orb.gold { background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-deep)); }
.ticket-orb.rust { background: radial-gradient(circle at 35% 30%, #e08a3c, #7a3a12); }
.ticket-orb.pale { background: radial-gradient(circle at 35% 30%, #f0e2bd, #b59a5e); }
.ticket ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticket li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4a443a; }
.ticket li i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-deep); }
.tag {
  align-self: flex-start;
  background: #18140e; color: var(--gold-1);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
  margin-top: auto;
}
.ticket-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e7ddc7; padding-top: 16px; }
.price { font-family: var(--display); font-weight: 400; font-size: 22px; }
.mini {
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: #18140e; color: var(--gold-1);
  font-size: 16px; cursor: pointer;
  transition: transform .3s var(--ease), background .3s;
}
.mini:hover { transform: rotate(45deg) scale(1.08); background: var(--gold); color: #18140e; }

/* ───────────────────────── Topics ───────────────────────── */

.topics { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.topic-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.topic-list li {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(24px, 3vw, 38px); color: var(--text);
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line-soft); padding-bottom: 14px;
  transition: color .3s, padding-left .3s var(--ease);
}
.topic-list li:hover { color: var(--white); padding-left: 10px; }
.topic-list b { color: var(--gold-1); font-weight: 400; font-size: 18px; }
.topic-lead { font-size: clamp(15px, 2vw, 19px); color: var(--text); max-width: 540px; line-height: 1.6; }
.topic-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.topic-grid p { background: var(--bg); padding: 26px 18px; min-height: 130px; display: flex; align-items: flex-end; }
.topic-grid span { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.topics-right { position: relative; }
.topics-right .asterisk.big { position: absolute; right: 0; top: -10px; }

/* ───────────────────────── Footer ───────────────────────── */

.footer {
  padding: clamp(60px, 10vh, 130px) var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.footer-brand { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 9vw, 120px); color: var(--white); }
.footer-brand span { color: var(--gold); }
.footer p { color: var(--text-dim); max-width: 480px; font-size: 14px; }

/* ───────────────────────── Reveal on scroll ───────────────────────── */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════
   TRAVEL OVERLAY
   ══════════════════════════════════════════════════════════════════════ */

.travel {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.travel.on { opacity: 1; pointer-events: auto; }

.travel-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 40%, rgba(7,6,10,.72) 100%);
  transition: background .4s ease;
}
/* gets more intense under high g */
.travel.thrust .travel-vignette { background: radial-gradient(110% 110% at 50% 50%, transparent 28%, rgba(7,6,10,.85) 100%); }

.hud {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 34px);
  /* scrim so the readouts stay legible over bright warp streaks */
  background: linear-gradient(to top, rgba(7,6,10,.88) 0%, rgba(7,6,10,.55) 46%, rgba(7,6,10,0) 100%);
}

.hud-top { display: flex; align-items: flex-start; justify-content: space-between; }
.hud-label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.hud-dest-name { font-family: var(--display); font-weight: 300; font-size: clamp(20px, 3vw, 30px); color: var(--white); }
.hud-abort {
  background: transparent; border: 1px solid var(--line);
  color: var(--text-dim); padding: 10px 18px; border-radius: 40px;
  font-size: 12px; letter-spacing: .1em; cursor: pointer;
  transition: border-color .3s, color .3s;
}
.hud-abort:hover { border-color: var(--gold); color: var(--text); }

.hud-phase {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(40px, 9vw, 130px);
  line-height: .9;
  letter-spacing: .04em;
  color: var(--white);
  text-shadow: 0 0 60px rgba(245,166,35,.4);
  transition: color .5s ease, text-shadow .5s ease;
}
.travel.thrust .hud-phase { color: var(--gold-1); text-shadow: 0 0 80px rgba(245,166,35,.7); }

.hud-readouts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(20px, 5vw, 70px);
  justify-content: start;
}
.readout-label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 6px; }
.readout-val { display: flex; align-items: baseline; gap: 6px; }
.readout-val b {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(22px, 3.4vw, 40px); color: var(--text);
  font-variant-numeric: tabular-nums;
}
.readout-val i { font-style: normal; font-size: 12px; color: var(--text-dim); letter-spacing: .05em; }

.hud-progress { position: relative; height: 2px; background: var(--line-soft); border-radius: 2px; }
.hud-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-1)); box-shadow: 0 0 16px rgba(245,166,35,.7); border-radius: 2px; }
.hud-progress-marks { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.hud-progress-marks i { width: 1px; height: 10px; background: var(--line); transform: translateY(-4px); }

.hud-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hud-tip { color: var(--text-dim); font-size: 13px; letter-spacing: .03em; max-width: 60ch; transition: color .4s; }
.hud-warp {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold-1); padding: 12px 22px; border-radius: 40px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  display: inline-flex; gap: 10px; align-items: center;
  transition: background .3s, color .3s, transform .3s;
}
.hud-warp b { font-weight: 600; }
.hud-warp:hover { background: var(--gold); color: #1a1206; }
.hud-warp.active { background: var(--gold); color: #1a1206; box-shadow: 0 0 30px rgba(245,166,35,.5); }

/* Arrival */
.arrival {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
  padding: var(--gut);
  opacity: 0; pointer-events: none;
  transition: opacity 1.2s ease;
  background: radial-gradient(120% 120% at 50% 50%, transparent 30%, rgba(7,6,10,.6) 100%);
}
.arrival.on { opacity: 1; pointer-events: auto; }
.arrival-planet {
  width: clamp(180px, 30vw, 360px); aspect-ratio: 1; border-radius: 50%;
  position: relative;
  box-shadow: inset -40px -50px 120px rgba(0,0,0,.8), 0 0 100px rgba(245,166,35,.25);
  animation: floatY 8s ease-in-out infinite;
}
.arrival-planet.ringed::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 165%; height: 165%;
  border: 3px solid rgba(255,209,92,.45); border-radius: 50%;
  transform: translate(-50%,-50%) rotate(72deg) scaleY(.26);
}
.arrival-copy { max-width: 420px; }
.arrival-kicker { color: var(--gold-1); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.arrival-copy h2 { font-family: var(--display); font-weight: 200; font-size: clamp(40px, 7vw, 84px); color: var(--white); margin: 8px 0 16px; line-height: .95; }
.arrival-copy p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .voyages-body { grid-template-columns: 1fr; }
  .dest-detail { position: static; }
  .ticket-cards { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .hud-readouts { grid-template-columns: repeat(2, auto); }
  .hero-brand { position: static; margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
