html,
body {
    font-family: sans-serif;
}

/*
 * Previously this block set `height: 100vh; overflow: hidden;` on
 * html/body, which disabled native page scrolling entirely. GSAP
 * ScrollTrigger (and the Earth rotation it drives) needs real scroll
 * position to work against, so this has been removed. The hero pins
 * itself in place for its scroll-driven sequence via ScrollTrigger's
 * own `pin: true` (see dist/thinkrium-hero.js), which is the correct
 * way to keep the globe on screen without blocking scroll globally.
 */

/**
 * Thinkrium hero — muted palette pulled from the supplied colorkit:
 * terracotta #c2532f, tan #e4c081, cream #f8f2be, sage #7fad91, teal #0c7a7d
 */
:root {
  --think-automate: #c2532f;
  --think-media: #e4c081;
  --think-robotics: #d8cf9c; /* darkened cream slightly for contrast on dark bg */
  --think-web: #7fad91;
  --think-motors: #0c7a7d;
  --think-bg: #16181a;
  --think-ink: #f4f1ea;
}

.thinkrium-page__content {
    
    
}

.thinkrium-page { position: relative; }

.thinkrium-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #2aafbd;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #16363b;
}

.thinkrium-hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.thinkrium-hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Static CSS-only fallback mark, shown when WebGL isn't available. */
.thinkrium-hero__fallback-mark {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 22vw;
  font-weight: 800;
  color: var(--think-automate);
  z-index: 1;
  transition: color 0.5s ease;
  user-select: none;
}

.thinkrium-hero.no-webgl .thinkrium-hero__canvas-wrap {
  display: none;
}

.thinkrium-hero.no-webgl .thinkrium-hero__fallback-mark {
  display: flex;
}

.thinkrium-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--think-bg);
}

.thinkrium-fallback__mark {
  font-size: 22vw;
  font-weight: 800;
  color: var(--think-automate);
}

/* Arrows */
.thinkrium-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(248, 242, 190, 0.74);
  border: 1px solid rgba(22, 54, 59, 0.18);
  color: #16363b;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.thinkrium-hero__arrow:hover,
.thinkrium-hero__arrow:focus-visible {
  background: rgba(248, 242, 190, 0.92);
  border-color: rgba(22, 54, 59, 0.38);
}

.thinkrium-hero__arrow:active { transform: translateY(-50%) scale(0.92); }

.thinkrium-hero__arrow--prev { left: 1.5rem; }
.thinkrium-hero__arrow--next { right: 1.5rem; }
* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

/* =========================
   HERO
========================= */

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;

  background: #1ebbd3;
}


/* your Three.js canvas/image area */

.hero-art {
  position: absolute;
  inset: 0;
}


/* =========================
   SIDE NAV
========================= */

.side-rail {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
}


/* vertical line */

.rail-line {
  position: absolute;
  left: 7px;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(30, 40, 40, .5);
}

.side-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 125px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 50;
}

.rail-line {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 1px;
  height: calc(100% - 16px);
  background: rgba(35, 45, 45, 0.55);
}

.rail-item {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #29383a;
  z-index: 2;
  margin-top: -10px;
}

.travel-dot {
    width: 50px;
    height: 50px;
    position: absolute;
    z-index:999;
    top: -5px;
    left: -12px;
}

/*.stop-dot {*/
/*  position: absolute;*/
/*  left: 7px;*/

/*  width: 11px;*/
/*  height: 11px;*/

/*  border-radius: 50%;*/

/*  background: #bd3d3f;*/
/*  border: 2px solid #f3e7cf;*/

/*  box-shadow: 0 1px 3px rgba(0,0,0,.3);*/
/*}*/

.rail-label {
  margin-left: 36px;
  font-size: 10px;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateX(5px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.rail-item:hover .rail-label,
.rail-item.active .rail-label {
  opacity: 1;
  transform: translateX(0);
}

 
.destination-dot {
  position: absolute;
  left: 0;
  width: 26px;
  height: 26px;
  object-fit: contain;
  z-index: 5;
  pointer-events: none;
  transform-origin: center;
}


/* Panels — one visible at a time, matched to active state */
.thinkrium-hero__panels {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  text-align: center;
  display: none;
}

.thinkrium-panel {
  display: none;
  animation: thinkrium-fade-in 0.4s ease;
}

.thinkrium-panel.is-active { display: block; }

.thinkrium-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.thinkrium-panel p {
  margin: 0;
  opacity: 0.75;
}

@keyframes thinkrium-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .thinkrium-panel { animation: none; }
}

@media (max-width: 640px) {
  .thinkrium-hero__arrow { width: 40px; height: 40px; }
  .thinkrium-hero__nav { gap: 1rem; }
  .thinkrium-hero__nav-link { font-size: 0.75rem; }
}
