/* ==========================================================================
   innformation.com   design system
   Space / solar: deep-space ground, a red-orange sun for light. Every band of
   the page is a distinct surface with a lit seam between them, so sections
   read as separate places instead of one long scroll.
   Brand type: Varela Round for display, Nunito Sans for text. Self-hosted
   below   no external requests.
   ========================================================================== */

/* Varela Round ships a single 400 weight, so headings and the wordmark are
   set at 400 (never synthetic bold). Nunito Sans is a variable font covering
   400-800, so the in-between UI weights (550, 600, 650) render true. */
@font-face {
  font-family: "Varela Round";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/varela-round-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Varela Round";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/varela-round-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Surfaces, darkest to lightest */
  --space: #06060a;   /* footer, deepest */
  --bg: #08080c;      /* default ground */
  --bg-2: #0d0d13;    /* raised band (stats) */
  --tint: #101018;    /* alternating section */
  --tint-2: #1b1b25;  /* hover wells */
  --card: #14141d;
  --card-hover: #191924;

  /* Ink   raised contrast so body copy stays comfortable on black */
  --ink: #f7f7fa;
  --ink-soft: #b9b9c7;
  --ink-faint: #8b8b9a;

  /* Sun */
  --accent: #f97316;        /* solid fills, graphics */
  --accent-hover: #fb923c;
  --accent-text: #fdba74;   /* links & labels on dark */
  --accent-soft: rgba(249, 115, 22, 0.13);
  --accent-line: rgba(249, 115, 22, 0.30);
  --sun-red: #dc2626;

  --border: #23232e;
  --border-dark: #34343f;

  /* Legacy aliases still referenced by page markup */
  --dark: #08080c;
  --dark-border: #34343f;
  --dark-text: #b9b9c7;
  --gold: #f97316;
  --accent-dark: #fb923c;
  --accent-strong: #fdba74;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.45), 0 16px 32px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 28px 56px -20px rgba(0, 0, 0, 0.75);
  --glow: 0 0 60px -18px rgba(249, 115, 22, 0.45);

  --font-body: "Nunito Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Varela Round", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Star field   one tile, reused by the lit sections */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='24' cy='38' r='1' fill-opacity='.35'/%3E%3Ccircle cx='143' cy='19' r='.7' fill-opacity='.22'/%3E%3Ccircle cx='268' cy='52' r='1.1' fill-opacity='.30'/%3E%3Ccircle cx='71' cy='96' r='.6' fill-opacity='.20'/%3E%3Ccircle cx='196' cy='120' r='1' fill-opacity='.26'/%3E%3Ccircle cx='305' cy='140' r='.7' fill-opacity='.18'/%3E%3Ccircle cx='38' cy='176' r='1.2' fill-opacity='.28'/%3E%3Ccircle cx='120' cy='205' r='.7' fill-opacity='.20'/%3E%3Ccircle cx='242' cy='188' r='.9' fill-opacity='.24'/%3E%3Ccircle cx='168' cy='262' r='1' fill-opacity='.22'/%3E%3Ccircle cx='58' cy='288' r='.7' fill-opacity='.18'/%3E%3Ccircle cx='288' cy='268' r='1.1' fill-opacity='.26'/%3E%3Ccircle cx='214' cy='308' r='.6' fill-opacity='.16'/%3E%3Ccircle cx='96' cy='142' r='.5' fill-opacity='.16'/%3E%3C/g%3E%3C/svg%3E");

  --container: 1120px;

  /* Native controls (scrollbars, autofill, date pickers) follow the theme. */
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  color: var(--bg);
}

::selection {
  background: rgba(249, 115, 22, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 32em;
}

.section-head {
  max-width: 34em;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Pill label   reads as a friendly tag rather than a technical eyebrow */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #190a02;
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #190a02;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-color: var(--border-dark);
}

.btn-outline:hover {
  background: var(--tint-2);
  border-color: var(--ink-faint);
  color: var(--ink);
}

.btn-light {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--bg);
}

/* Quiet inline link with an arrow */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 1rem;
}

.text-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  line-height: 1;
  font-size: 1.24rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-word em {
  font-style: normal;
  color: inherit;
}

.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  font-size: 0.97rem;
  font-weight: 550;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--tint-2);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  background: var(--accent-soft);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 10px 18px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

.nav-mobile-cta {
  display: none;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  /* The panel stays laid out and only opacity/transform change, so opening
     never costs a layout pass   the frame the menu appears on is the one
     most likely to drop. translate3d keeps it on its own layer throughout. */
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0c0c12;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 24px 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    will-change: transform, opacity;
    transition:
      opacity 0.13s ease-in,
      transform 0.18s cubic-bezier(0.4, 0, 1, 1),
      visibility 0s linear 0.18s;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.16s ease-out,
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  /* Links trail the panel in. Small, cheap moves   opacity and transform
     only   so the stagger stays on the compositor. */
  .site-nav li {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
    transition:
      opacity 0.1s ease-in,
      transform 0.1s ease-in;
  }

  .site-nav.open li {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.17s ease-out,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(20ms + var(--i, 0) * 18ms);
  }

  .site-nav li:nth-child(1) { --i: 0; }
  .site-nav li:nth-child(2) { --i: 1; }
  .site-nav li:nth-child(3) { --i: 2; }
  .site-nav li:nth-child(4) { --i: 3; }
  .site-nav li:nth-child(5) { --i: 4; }
  .site-nav li:nth-child(6) { --i: 5; }
  .site-nav li:nth-child(7) { --i: 6; }
  .site-nav li:nth-child(n + 8) { --i: 7; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  /* The dividers separate items; the panel's own edge closes the list. */
  .site-nav li:last-child a {
    border-bottom: none;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: transparent;
  }

  .nav-cta {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
  }

  .nav-mobile-cta a {
    color: var(--accent-text);
    font-weight: 700;
  }
}

/* --------------------------------------------------------------------------
   Lit seam   the divider that makes each band read as its own section
   -------------------------------------------------------------------------- */

.stats,
.section.tint,
.band,
.cta-band,
.site-footer,
.page-hero {
  position: relative;
}

.stats::before,
.section.tint::before,
.band::before,
.cta-band::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 84%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.55), transparent);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    var(--stars),
    radial-gradient(940px 520px at 88% -16%, rgba(249, 115, 22, 0.26), rgba(220, 38, 38, 0.10) 42%, transparent 68%),
    var(--bg);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 68px;
  align-items: center;
}

.hero-copy .lede {
  margin: 22px 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.hero-note a {
  font-weight: 700;
  white-space: nowrap;
}

.hero-art {
  justify-self: stretch;
  min-width: 0;
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 56px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* App mockup (hero)   deliberately sparse so the product looks calm */

.app-mock {
  background: var(--card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 90px -24px rgba(249, 115, 22, 0.4);
  overflow: hidden;
  font-size: 0.9rem;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0f0f16;
}

.app-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e2e3a;
}

.app-url {
  margin-left: 12px;
  font-size: 0.76rem;
  color: var(--ink-faint);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
}

.app-body {
  display: flex;
}

.app-side {
  width: 132px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #0f0f16;
}

.app-side-item {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink-faint);
  font-weight: 550;
}

.app-side-item.active {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
}

.app-main {
  flex: 1;
  min-width: 0;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-caption {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  background: #17171f;
}

.app-row .name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-row .amount {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: auto;
}

.badge {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 650;
  padding: 3px 11px;
  border-radius: 999px;
}

.badge.green {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.badge.amber {
  background: rgba(245, 158, 11, 0.17);
  color: #fbbf24;
}

.badge.blue {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

@media (max-width: 520px) {
  .app-side {
    display: none;
  }

  .app-row .amount {
    display: none;
  }
}

/* Page hero (interior pages) */

.page-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background:
    var(--stars),
    radial-gradient(780px 400px at 92% -26%, rgba(249, 115, 22, 0.22), rgba(220, 38, 38, 0.08) 46%, transparent 70%),
    var(--bg);
}

.page-hero .container {
  position: relative;
}

.page-hero .lede {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section.tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-foot {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .band {
    padding: 64px 0;
  }

  .cta-band {
    padding: 72px 0;
  }
}

/* Stats strip */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  padding-bottom: 40px;
}

.stat {
  text-align: left;
  padding: 2px 28px;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 3px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

@media (max-width: 760px) {
  /* Two-by-two with a real gutter; the column dividers read as clutter here. */
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 28px;
  }

  .stat {
    border-left: none;
    padding: 0;
  }
}

/* Card grids */

.grid {
  display: grid;
  gap: 22px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 940px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--border-dark);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.card h3 {
  margin: 20px 0 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.card .icon,
.card .icon.green,
.card .icon.gold {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .icon svg {
  width: 22px;
  height: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 650;
  font-size: 0.97rem;
}

/* Feature checklist lists */

.checklist {
  margin-top: 18px;
}

.checklist li {
  position: relative;
  padding: 7px 0 7px 34px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.checklist li strong {
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23271306' stroke='%23f97316' stroke-opacity='.45'/%3E%3Cpath d='M6.8 12.4l3.4 3.4 7-7.1' fill='none' stroke='%23fb923c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Property-type chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  /* Held in to break as two even rows rather than leaving an orphan chip. */
  max-width: 660px;
  margin: 32px auto 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 10px 17px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.chip svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

/* Split feature rows */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split.reverse > :first-child {
    order: 0;
  }
}

.split h2 {
  margin-bottom: 14px;
}

.split p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.split-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px;
}

.panel-plain {
  box-shadow: none;
  background: var(--tint);
}

/* Big phone number block */

.phone-big {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 6px 0 8px;
}

.phone-big:hover {
  color: var(--accent-hover);
}

/* Quote / testimonial cards */

.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-card blockquote {
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.55;
}

.quote-card blockquote::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sun-red));
  margin-bottom: 16px;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: auto;
}

/* Statement band   a lit horizon */

.band {
  position: relative;
  overflow: hidden;
  background:
    var(--stars),
    radial-gradient(900px 380px at 50% -30%, rgba(249, 115, 22, 0.20), rgba(220, 38, 38, 0.07) 48%, transparent 72%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 76px 0;
  text-align: center;
}

.band .container {
  position: relative;
}

.band h2 {
  color: var(--ink);
}

.band p {
  color: var(--ink-soft);
  max-width: 40em;
  margin: 12px auto 0;
  font-size: 1.1rem;
}

/* CTA band   the sun coming up over the horizon */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    var(--stars),
    radial-gradient(720px 400px at 50% 132%, rgba(249, 115, 22, 0.38), rgba(220, 38, 38, 0.14) 52%, transparent 74%),
    var(--bg);
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 88px 0;
  text-align: center;
}

.cta-band .container {
  position: relative;
}

.cta-band h2 {
  color: var(--ink);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-band .cta-alt {
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 1rem;
}

.cta-band .cta-alt a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band .cta-alt a:hover {
  color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.faq-list details:hover {
  border-color: var(--border-dark);
}

/* Excluding the closing state lets the surface fade back at the same moment
   the panel starts collapsing, instead of snapping when it finishes. */
.faq-list details[open]:not([data-closing="true"]) {
  border-color: var(--accent-line);
  background: var(--card-hover);
}

/* Height is driven by JS; keep the panel clipped while it moves. */
.faq-list .faq-body {
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 650;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--accent-text);
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.22s cubic-bezier(0.22, 0.9, 0.28, 1);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

/* Snap the marker back the moment a close starts, not when it finishes. */
.faq-list details[data-closing="true"] summary::after {
  transform: rotate(0deg);
}

.faq-list .faq-body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}

.form-card h3 {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  margin-bottom: 7px;
  color: var(--ink);
}

.field label span {
  color: var(--accent-text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #0d0d13;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Strip the OS dropdown chrome and draw our own chevron, so the control is
   themed even before (or without) the JS listbox below. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field select::-ms-expand {
  display: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

/* Themed select   a real listbox in the site's own UI, replacing the OS
   dropdown. The native <select> stays in the form as the value carrier, so
   without JS the browser's own control is what renders. */

.select {
  position: relative;
}

/* Kept focusable (not display:none) so required-field validation can still
   point at it. */
.select .select-native {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.select-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  background: #0d0d13;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.select-button:hover {
  border-color: var(--ink-faint);
}

.select-button:focus-visible,
.select[data-open="true"] .select-button {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.select-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  transition: transform 0.18s ease, color 0.18s ease;
}

.select[data-open="true"] .select-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.select[data-open="true"] .select-menu {
  display: block;
  animation: select-open 0.14s ease both;
}

@keyframes select-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.select-option[data-active="true"] {
  background: var(--tint-2);
  color: var(--ink);
}

.select-option[aria-selected="true"] {
  color: var(--accent-text);
  font-weight: 650;
}

.select-option[aria-selected="true"]::after {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdba74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .select[data-open="true"] .select-menu {
    animation: none;
  }

  .select-chevron {
    transition: none;
  }
}

/* Confirmation shown after the form hands off to the email app */

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
  font-size: 0.97rem;
  font-weight: 600;
}

.form-status.visible {
  display: flex;
}

.form-status svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.form-footnote {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--ink-faint);
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card + .info-card {
  margin-top: 20px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-list li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.info-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
  width: 19px;
  height: 19px;
}

.info-list a {
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */

.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto 24px;
}

.news-item .news-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 13px;
}

.news-item h2,
.news-item h3 {
  margin: 16px 0 16px;
}

.news-item p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.news-item p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--space);
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}

@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-word {
  color: var(--ink);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 26em;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.site-footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 14px;
}

.site-footer li {
  padding: 5px 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.site-footer li a {
  color: var(--ink-soft);
}

.site-footer li a:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

/* Only ever hide content once JS has confirmed it can bring it back. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.js-anim .reveal.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Instant page transitions
   -------------------------------------------------------------------------- */

/* Thin sun-coloured progress bar, shown only if a fetch is slow enough to see */
.route-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--sun-red), var(--accent), var(--accent-hover));
  z-index: 100;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.route-progress.active {
  opacity: 1;
  transform: scaleX(0.7);
}

.route-progress.done {
  opacity: 0;
  transform: scaleX(1);
}

/* New page content animates in; the swap itself is never delayed by it. */
#main.route-in {
  animation: route-in 0.24s ease both;
}

@keyframes route-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* The menu still hides and shows   it just does it instantly. */
  .site-nav,
  .site-nav.open,
  .site-nav li,
  .site-nav.open li {
    transition: none;
    transform: none;
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #main.route-in {
    animation: none;
  }
}

/* ==========================================================================
   The landing journey — styles for the Three.js flight (js/space.js)
   Everything here is inert until <html class="js-3d"> is set by a live
   renderer, so no WebGL / reduced motion / JS-off all get the plain page.
   ========================================================================== */

/* Fixed layers behind the content. These elements only exist while mounted. */
.jr-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.jr-canvas.on {
  opacity: 1;
}

.jr-vignette,
.jr-warm,
.jr-flash {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.jr-vignette {
  background: radial-gradient(130% 100% at 50% 45%, transparent 56%, rgba(2, 2, 6, 0.55) 100%);
}

/* The sun's warmth, arriving */
.jr-warm {
  opacity: 0;
  background: radial-gradient(120% 95% at 50% 108%, rgba(249, 115, 22, 0.5), rgba(220, 38, 38, 0.16) 46%, transparent 76%);
}

/* The beacon's beam sweeping across you */
.jr-flash {
  opacity: 0;
  background: radial-gradient(75% 60% at 60% 40%, rgba(255, 224, 178, 0.26), transparent 70%);
}

.journey {
  position: relative;
  z-index: 2;
}

html.js-3d .site-footer {
  position: relative;
  z-index: 2;
  background: var(--space);
}

/* Scroll cue — three chevrons drifting down at the start */
.jr-cue {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  color: var(--accent-text);
  opacity: 0.85;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.jr-cue svg {
  width: 25px;
  height: 37px;
  animation: jr-cue 1.9s ease-in-out infinite;
}

.jr-cue.off {
  opacity: 0;
}

@keyframes jr-cue {
  0%, 100% { transform: translateY(-4px); opacity: 0.35; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Progress rail — the flight plan down the right edge */
.jr-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  height: 46vh;
  width: 14px;
  z-index: 40;
  transition: opacity 0.4s ease;
}

.jr-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.45), transparent);
}

.jr-rail-thumb {
  position: absolute;
  left: 50%;
  top: calc(var(--jrp, 0) * 100%);
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  background: #ffd9a8;
  box-shadow: 0 0 12px 2px rgba(249, 115, 22, 0.8);
}

.jr-dot {
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: rgba(20, 20, 29, 0.85);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jr-dot:hover {
  border-color: var(--accent);
}

.jr-dot.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.jr-rail.off {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .jr-rail,
  .jr-cue {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Journey mode: chapters become tall, pinned scenes over the canvas
   -------------------------------------------------------------------------- */

html.js-3d .journey .jr {
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
}

html.js-3d .journey .jr::before {
  content: none;
}

html.js-3d .journey [data-ch="hero"]    { min-height: 210vh; }
html.js-3d .journey [data-ch="stats"]   { min-height: 240vh; }
html.js-3d .journey [data-ch="suite"]   { min-height: 250vh; }
html.js-3d .journey [data-ch="room"]    { min-height: 220vh; }
html.js-3d .journey [data-ch="worlds"]  { min-height: 200vh; }
html.js-3d .journey [data-ch="support"] { min-height: 210vh; }
html.js-3d .journey [data-ch="quotes"]  { min-height: 240vh; }
html.js-3d .journey [data-ch="arrival"] { min-height: 240vh; }

html.js-3d .jr-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  box-sizing: border-box;
  will-change: opacity, transform;
}

html.js-3d .jr-pin > .container {
  width: 100%;
}

/* Copy needs to hold its own against a bright sky */
html.js-3d .journey :is(h1, h2, h3, p, li, blockquote, cite, .lede) {
  text-shadow: 0 1px 14px rgba(4, 4, 8, 0.8), 0 0 3px rgba(4, 4, 8, 0.6);
}

/* Glass — the UI floats in front of space instead of sitting on a band */
html.js-3d .journey .card,
html.js-3d .journey .quote-card,
html.js-3d .journey .split-panel {
  background: rgba(15, 15, 23, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(249, 115, 22, 0.16);
  box-shadow: 0 0 60px -20px rgba(249, 115, 22, 0.3), 0 26px 52px -26px rgba(0, 0, 0, 0.85);
}

html.js-3d .journey .chip {
  background: rgba(18, 18, 27, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Hero — the app mock drifts like a holo-panel beside the comet */
html.js-3d .hero .app-mock {
  background: rgba(15, 15, 23, 0.72);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border-color: rgba(249, 115, 22, 0.24);
  animation: jr-float 7s ease-in-out infinite alternate;
}

@keyframes jr-float {
  from { transform: perspective(1300px) rotateY(-8deg) rotateX(2.5deg) translateY(0); }
  to   { transform: perspective(1300px) rotateY(-8deg) rotateX(2.5deg) translateY(-14px); }
}

/* Stats — four waypoint cards, lit as their gate on the trail is crossed */
html.js-3d .journey .stats .container {
  gap: 18px;
  padding-top: 0;
  padding-bottom: 0;
}

html.js-3d .journey .stat {
  border-left: none;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 13, 19, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0.16;
  transform: translateY(16px) scale(0.97);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 0.9, 0.28, 1),
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

html.js-3d .journey .stat.lit {
  opacity: 1;
  transform: none;
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 0 44px -12px rgba(249, 115, 22, 0.5);
}

html.js-3d .journey .stat.lit strong {
  text-shadow: 0 0 26px rgba(249, 115, 22, 0.6);
}

/* Suite — heading up top, cards land at the bottom under their constellation */
html.js-3d .journey [data-ch="suite"] .jr-pin {
  align-items: stretch;
}

html.js-3d .jr-suite {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 6vh;
  padding-bottom: 6vh;
}

html.js-3d .jr-suite .section-head {
  margin-bottom: 0;
}

html.js-3d .journey [data-ch="suite"] .card {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.22, 0.9, 0.28, 1), transform 0.55s cubic-bezier(0.22, 0.9, 0.28, 1);
}

html.js-3d .journey [data-ch="suite"] .card.on {
  opacity: 1;
  transform: none;
}

html.js-3d .journey [data-ch="suite"] .section-foot {
  opacity: 0;
  transition: opacity 0.5s ease 0.15s;
}

html.js-3d .journey [data-ch="suite"].foot-on .section-foot {
  opacity: 1;
}

/* Room — the SVG mock steps aside; the hologram is drawn in the scene */
html.js-3d .jr-room-art {
  display: none;
}

/* Worlds — copy and chips sit low while the planets drift above */
html.js-3d .journey [data-ch="worlds"] .jr-pin {
  align-items: flex-end;
  padding-bottom: 9vh;
}

/* Quotes — each card materializes when its transmission lands */
html.js-3d .journey [data-ch="quotes"] .quote-card {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.22, 0.9, 0.28, 1), transform 0.5s cubic-bezier(0.22, 0.9, 0.28, 1);
}

html.js-3d .journey [data-ch="quotes"] .quote-card.on {
  opacity: 1;
  transform: none;
}

/* Arrival — a soft scrim so the copy reads against the sun */
html.js-3d .jr-arrival-inner {
  display: inline-block;
  padding: clamp(28px, 5vw, 54px) clamp(28px, 6vw, 72px);
  border-radius: 28px;
  background: radial-gradient(120% 120% at 50% 50%, rgba(6, 5, 10, 0.78), rgba(6, 5, 10, 0.4) 62%, transparent 100%);
}

/* The copy rides the top of the frame while the sun rises beneath it */
html.js-3d .journey [data-ch="arrival"] .jr-pin {
  align-items: flex-start;
  padding-top: 16vh;
}

/* Short windows: tighten so pinned chapters always fit */
@media (max-height: 760px) {
  html.js-3d .jr-pin {
    padding-top: 58px;
  }

  html.js-3d .journey .card {
    padding: 20px;
  }

  html.js-3d .journey .section-head {
    margin-bottom: 20px;
  }

  html.js-3d .journey h1 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
  }
}

/* Mobile: unpin — chapters flow naturally over the canvas, camera still flies */
@media (max-width: 900px) {
  html.js-3d .journey .jr {
    min-height: 0;
  }

  html.js-3d .jr-pin {
    position: static;
    height: auto;
    min-height: 100svh;
    padding: 104px 0 64px;
  }

  html.js-3d .journey .stat,
  html.js-3d .journey [data-ch="suite"] .card,
  html.js-3d .journey [data-ch="quotes"] .quote-card,
  html.js-3d .journey [data-ch="suite"] .section-foot {
    opacity: 1;
    transform: none;
  }

  /* Unpinned, the chapter is auto-height: space-between no longer separates
     the heading from the cards, so a flex gap has to. */
  html.js-3d .jr-suite {
    gap: 32px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Small phones: the waypoint cards stack so the longer labels can breathe */
@media (max-width: 560px) {
  html.js-3d .journey .stats .container {
    grid-template-columns: 1fr;
  }

  html.js-3d .journey .stat {
    padding: 18px 22px;
  }
}
