/* ============================================
   SATURN SEAWAYS — Heritage Textile Edition
   Light cream palette · navy primary · red-orange accent
   "Sailing finest weaves across oceans"
   ============================================ */

:root {
  /* Surfaces — page is warm cream linen; cards/highlights stay clean white */
  --bg: #faf6ec;            /* page */
  --bg-2: #ffffff;          /* alternate panels (contact, etc) */
  --bg-3: #f4f6fb;          /* very subtle cool tint for image placeholders */
  --bg-card: #ffffff;       /* cards */
  --bg-hover: #f0f4fb;      /* card hover wash — cool, not beige */

  /* Dark zones (hero + globe) — deep navy night sky */
  --bg-dark: #0d1a3a;
  --bg-dark-2: #15244a;
  --bg-dark-3: #1d2f5e;

  /* Ink — navy on cream, cream on navy */
  --ink: #1a2747;          /* logo "Saturn" navy */
  --ink-2: #3a4666;
  --ink-mute: #6c7796;
  --ink-soft: #9ba3b8;

  --ink-light: #f4ecd9;     /* on dark bg */
  --ink-light-2: #d8d2c0;
  --ink-light-mute: #a3aac0;

  /* Brand colours pulled from the wordmark */
  --navy: #1e3a8a;
  --navy-2: #2e4ba8;
  --navy-soft: rgba(30, 58, 138, 0.10);
  --navy-line: rgba(30, 58, 138, 0.18);

  --accent: #d63522;        /* logo red-orange tip */
  --accent-2: #b8281a;
  --accent-soft: rgba(214, 53, 34, 0.10);
  --accent-line: rgba(214, 53, 34, 0.22);

  --gold-warm: #b8965a;     /* subtle premium / heritage */
  --gold-soft: rgba(184, 150, 90, 0.14);

  /* Lines on cream */
  --line: rgba(26, 39, 71, 0.10);
  --line-2: rgba(26, 39, 71, 0.20);

  /* Lines on navy */
  --line-light: rgba(244, 236, 217, 0.14);
  --line-light-2: rgba(244, 236, 217, 0.24);

  --serif: 'Fraunces', 'EB Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1280px;
  --pad: clamp(1.1rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  /* Subtle paper-like texture across the whole page */
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(214, 53, 34, 0.04), transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(30, 58, 138, 0.05), transparent 60%);
  background-attachment: fixed;
}

/* Make sure all sections sit above the yarn thread */
.hero, .marquee, .section, .footer { position: relative; z-index: 1; }
/* But yarn-thread should be visible behind .biz-card and other floating cards
   — those are inside sections, so they stack above z-index 1 by DOM order. */

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--navy); color: var(--bg); }

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--navy), var(--accent));
  z-index: 200;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ============================================
   YARN THREAD — solid, glowing, scroll-drawn
   ============================================ */
.yarn-thread {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.yarn-thread #yarn-path { display: none; }
.yarn-thread use {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Soft halo behind the yarn for depth */
.yarn-glow {
  stroke: url(#yarn-grad);
  stroke-width: 16;
  opacity: 0.22;
  filter: blur(7px);
}
/* Main yarn body — thick, solid; drawn-in by JS via stroke-dashoffset */
.yarn-body {
  stroke: url(#yarn-grad);
  stroke-width: 3.2;
  filter: drop-shadow(0 1px 1px rgba(26, 39, 71, 0.14));
}
/* Twist highlight — thin offset shimmer that perpetually drifts,
   suggests yarn fibres twisting around the core */
.yarn-twist {
  stroke: rgba(255, 245, 220, 0.55);
  stroke-width: 1;
  stroke-dasharray: 6 18;
  animation: yarn-twist 3s linear infinite;
  mix-blend-mode: screen;
}
@keyframes yarn-twist { to { stroke-dashoffset: -24; } }
/* Knots — small fastened spots at section anchors */
.yarn-thread .yarn-knot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(214, 53, 34, 0.55));
}

/* The bead that follows the scroll position — the 'needle' pulling the yarn */
.yarn-bead {
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffb999 0%, #ff5a35 45%, #b8281a 100%);
  box-shadow:
    0 0 18px rgba(214, 53, 34, 0.65),
    0 0 36px rgba(214, 53, 34, 0.35),
    inset -2px -2px 5px rgba(0, 0, 0, 0.35),
    inset 2px 2px 4px rgba(255, 200, 170, 0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity .6s var(--ease);
  animation: bead-pulse 2.4s ease-in-out infinite;
}
.yarn-bead.ready { opacity: 1; }
@keyframes bead-pulse {
  0%, 100% {
    box-shadow:
      0 0 18px rgba(214, 53, 34, 0.65),
      0 0 36px rgba(214, 53, 34, 0.35),
      inset -2px -2px 5px rgba(0, 0, 0, 0.35),
      inset 2px 2px 4px rgba(255, 200, 170, 0.45);
  }
  50% {
    box-shadow:
      0 0 26px rgba(214, 53, 34, 0.85),
      0 0 50px rgba(214, 53, 34, 0.45),
      inset -2px -2px 5px rgba(0, 0, 0, 0.35),
      inset 2px 2px 4px rgba(255, 200, 170, 0.6);
  }
}
@media (max-width: 720px) {
  .yarn-thread, .yarn-bead { display: none; }
}

/* ============================================
   LOADER
   ============================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility 0s linear .8s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.loader-saturn { width: 80px; height: 80px; color: var(--accent); animation: spin 2.4s linear infinite; }
.loader-text {
  font-family: var(--serif);
  letter-spacing: 0.32em;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-light);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(250, 246, 236, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 236, 0.94);
  padding-block: 0.7rem;
}
/* When hero is in view, give the nav a transparent dark feel */
.nav.over-dark {
  background: rgba(13, 26, 58, 0.55);
  color: var(--ink-light);
  border-bottom-color: transparent;
}
.nav.over-dark .nav-brand { color: var(--ink-light); }
.nav.over-dark .nav-links { color: var(--ink-light-mute); }
.nav.over-dark .nav-links a:hover { color: var(--ink-light); }
.nav.over-dark .nav-cta {
  border-color: var(--line-light-2);
  color: var(--ink-light);
}
.nav.over-dark .nav-burger span { background: var(--ink-light); }

.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo-img {
  flex-shrink: 0;
  object-fit: contain;
  width: 38px; height: 38px;
  transition: transform .4s var(--ease);
}
.nav-brand:hover .nav-logo-img { transform: rotate(-6deg); }
.nav-brand-text { white-space: nowrap; font-weight: 600; }

.nav-links {
  display: flex; gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  font-weight: 500;
}
.nav-links a { position: relative; padding: 0.3rem 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
  gap: 0.75rem;
}
.nav.over-dark .nav-cta:hover {
  background: var(--ink-light);
  color: var(--ink);
}

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-burger span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 246, 236, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem var(--pad) 1.75rem;
    border-bottom: 1px solid var(--line);
    gap: 0.4rem;
    font-size: 1.05rem;
    color: var(--ink);
  }
  .nav-links.open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav.over-dark .nav-links.open { background: rgba(13, 26, 58, 0.97); color: var(--ink-light); }
  .nav.over-dark .nav-links.open a { border-bottom-color: var(--line-light); color: var(--ink-light); }
}

/* ============================================
   HERO — kept dark/dramatic for the 3D Saturn
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad) 5rem;
  overflow: hidden;
  color: var(--ink-light);
  background:
    radial-gradient(ellipse at 70% 30%, rgba(214, 53, 34, 0.10), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 58, 138, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
}
#saturn-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
#saturn-canvas.ready { opacity: 1; }

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--maxw); width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-light-2);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-light-mute);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(214, 53, 34, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 53, 34, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(214, 53, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 53, 34, 0); }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 8.5vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  color: var(--ink-light);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: 0.4s;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.6s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-light-2);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadein 1s var(--ease) 1s forwards;
}
.hero-tagline::before, .hero-tagline::after {
  content: '— ';
  color: var(--accent);
  font-style: normal;
}
.hero-tagline::after { content: ' —'; }

.hero-sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-light-mute);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadein 1s var(--ease) 1.15s forwards;
  font-weight: 400;
}
@keyframes fadein { to { opacity: 1; } }

.hero-actions {
  display: flex; gap: 0.85rem; flex-wrap: wrap;
  opacity: 0;
  animation: fadein 1s var(--ease) 1.3s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 1rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;       /* squarer corners — more corporate */
  transition: all .35s var(--ease);
  white-space: nowrap;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 6px 20px rgba(214, 53, 34, 0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 14px 32px rgba(214, 53, 34, 0.4);
}
/* Magnetic CTAs: JS sets --mx/--my on hover; combined with the lift here. */
.btn.is-magnetic {
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 2px));
  transition: transform .12s ease-out, background .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-ghost {
  border: 1.5px solid currentColor;
  color: var(--ink-light);
}
.btn-ghost:hover { background: var(--ink-light); color: var(--ink); }
.section .btn-ghost { color: var(--ink); }
.section .btn-ghost:hover { background: var(--ink); color: var(--bg); }

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: var(--pad);
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light-mute);
  z-index: 2;
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--ink-light-mute), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; left: 0; top: 0;
  width: 12px; height: 100%;
  background: var(--accent);
  animation: trace 2.2s var(--ease) infinite;
}
@keyframes trace {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}
@media (max-width: 720px) {
  .scroll-cue { display: none; }
  .hero { padding-top: 6.5rem; padding-bottom: 4rem; min-height: 92svh; }
}

/* ============================================
   GENERIC SECTION
   ============================================ */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 9rem) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 56rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.kicker::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--ink);
}

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

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.7;
}
.about-lede p + p { margin-top: 1.25rem; }
.about-lede strong { color: var(--ink); font-weight: 600; }

.about-pillars { display: flex; flex-direction: column; gap: 1.15rem; }
.pillar {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.85rem;
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 1px 2px rgba(26, 39, 71, 0.04);
}
.pillar:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 39, 71, 0.10);
}
.pillar-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pillar p, .pillar li { color: var(--ink-2); font-size: 0.97rem; }
.pillar ul { list-style: none; }
.pillar li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.pillar li:last-child { border-bottom: none; }
.pillar li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   CAPABILITIES
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.stat {
  background: var(--bg-card);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  transition: background .4s var(--ease);
}
.stat:hover { background: var(--bg-hover); }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.stat-num::after {
  content: attr(data-suffix);
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-mute);
  max-width: 24ch;
}

.cap-detail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.cap-col {
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
}
.cap-col h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cap-col p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-detail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cap-detail { grid-template-columns: 1fr; gap: 0.5rem; }
  .cap-col { padding: 1rem 1.25rem; }
}

/* ============================================
   VOYAGE — manufacturing journey storytelling
   ============================================ */
.voyage-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-2);
  margin-top: 0.5rem;
  max-width: 56ch;
  line-height: 1.6;
}
.voyage-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}
/* The dashed connector line that "stitches" the stages together */
.voyage-stages::before {
  content: '';
  position: absolute;
  top: 86px;       /* aligns with centre of illustrations */
  left: 5%;
  right: 5%;
  height: 1px;
  background-image:
    repeating-linear-gradient(to right, var(--accent) 0 6px, transparent 6px 14px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.stage {
  position: relative;
  padding: 1.5rem 1rem 1.75rem;
  text-align: center;
  z-index: 1;
}
.stage-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.stage-illust {
  width: 132px;
  height: 132px;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  position: relative;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 4px 14px rgba(26, 39, 71, 0.06);
}
.stage:hover .stage-illust {
  transform: translateY(-6px) rotate(-3deg);
  border-color: var(--accent-line);
  box-shadow: 0 14px 32px rgba(26, 39, 71, 0.12);
}
.stage-illust svg { width: 78%; height: 78%; }
.stage-illust .ill-strokes line,
.stage-illust .ill-strokes path,
.stage-illust .ill-strokes ellipse,
.stage-illust .ill-strokes rect {
  vector-effect: non-scaling-stroke;
}
.stage h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}
.stage p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 26ch;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .voyage-stages { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .voyage-stages::before { display: none; }
}
@media (max-width: 640px) {
  .voyage-stages { grid-template-columns: repeat(2, 1fr); }
  .stage-illust { width: 110px; height: 110px; }
}
@media (max-width: 420px) {
  .voyage-stages { grid-template-columns: 1fr; }
}

/* ============================================
   BUSINESSES
   ============================================ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}
.biz-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .35s var(--ease);
  box-shadow: 0 1px 2px rgba(26, 39, 71, 0.04);
  transform-style: preserve-3d;
  will-change: transform;
}
.biz-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 22px 50px rgba(26, 39, 71, 0.14);
}
/* JS sets --tx, --ty, --rx, --ry on hover for the 3D tilt */
.biz-card.is-tilting {
  transform:
    translateY(var(--ty, -6px))
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
}
.biz-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
/* The image-placeholder bg above is a cool subtle tint, not beige */
.biz-img img {
  width: 100%; height: 100%;
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.biz-img.is-photo img {
  object-fit: cover;
  filter: saturate(0.92) brightness(0.96);
}
.biz-img.is-logo {
  background: linear-gradient(135deg, #ffffff 0%, #eef2fa 100%);
  display: flex; align-items: center; justify-content: center;
}
.biz-img.is-logo img {
  width: 65%; height: 65%;
  object-fit: contain;
}
.biz-card:hover .biz-img.is-photo img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.biz-card:hover .biz-img.is-logo img { transform: scale(1.04); }
.biz-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,39,71,0.18) 100%);
  pointer-events: none;
}
.biz-img.is-logo::after { display: none; }

.biz-body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.biz-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--accent-line);
  border-radius: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.biz-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.biz-card p {
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (max-width: 960px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .biz-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ============================================
   PRODUCTS
   ============================================ */
.prod-tabs {
  display: flex; gap: 0.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.prod-tabs::-webkit-scrollbar { display: none; }
.prod-tab {
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .3s, border-color .3s;
  font-family: var(--serif);
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-weight: 500;
}
.prod-tab:hover { color: var(--ink); }
.prod-tab.active { color: var(--ink); border-bottom-color: var(--accent); }

.prod-panel { display: none; }
.prod-panel.active { display: block; animation: fadein .6s var(--ease); }

.prod-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.prod-feature img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.9);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.prod-feature:hover img { filter: saturate(1); transform: scale(1.02); }
.prod-feature-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1rem 0;
}
.prod-feature-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--ink);
}
.prod-feature-text p { color: var(--ink-2); font-size: 1rem; }

.prod-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.prod-thumbs figure { position: relative; border-radius: 4px; overflow: hidden; }
.prod-thumbs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.prod-thumbs figure:hover img { transform: scale(1.08); }
.prod-thumbs figcaption {
  position: absolute; left: 0.85rem; bottom: 0.7rem;
  font-family: var(--serif); font-size: 0.9rem;
  color: var(--bg);
  padding: 0.25rem 0.65rem;
  background: rgba(26, 39, 71, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 2px;
  font-weight: 500;
}

.prod-pills {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.prod-pills li {
  padding: 0.45rem 0.95rem;
  font-size: 0.83rem;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all .3s var(--ease);
  background: var(--bg-card);
}
.prod-pills li:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 880px) {
  .prod-feature { grid-template-columns: 1fr; gap: 1.25rem; }
  .prod-feature img { min-height: 240px; aspect-ratio: 16/10; }
  .prod-feature-text { padding: 0; }
  .prod-thumbs { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   GLOBAL — flipped to dark for dramatic 3D globe
   ============================================ */
.global {
  position: relative;
  isolation: isolate;
  color: var(--ink-light);
  max-width: none;
  margin: 0;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}
.global::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(214, 53, 34, 0.08), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 58, 138, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
}
.global .section-head { margin-left: auto; margin-right: auto; max-width: var(--maxw); }
.global .section-title { color: var(--ink-light); }
.global .kicker { color: var(--accent); }

.globe-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.globe-canvas-wrap {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
#globe-canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
}
#globe-canvas:active { cursor: grabbing; }

.country-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.country-label {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
  padding: 3px 8px;
  background: rgba(13, 26, 58, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--line-light-2);
  border-radius: 2px;
  transform-origin: 0 0;
  will-change: transform, opacity;
  transition: opacity .35s var(--ease);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.country-label.is-hq {
  color: #ffd5a8;
  border-color: rgba(214, 53, 34, 0.55);
  background: rgba(50, 18, 8, 0.88);
  font-weight: 600;
}
.country-label.is-hq::before {
  content: '★ ';
  color: var(--accent);
}
@media (max-width: 540px) {
  .country-label { font-size: 0.58rem; padding: 2px 6px; letter-spacing: 0.08em; }
}

.globe-hint {
  position: absolute; bottom: 0.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light-mute);
  pointer-events: none;
}

.globe-list { display: flex; flex-direction: column; gap: 0.5rem; }
.region {
  display: block; width: 100%; text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-light);
  cursor: pointer;
  font: inherit;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  position: relative;
}
.region + .region { border-top: 1px solid var(--line-light); border-radius: 0; }
.region:first-child { border-radius: 4px 4px 0 0; }
.region:last-child { border-radius: 0 0 4px 4px; border-bottom: 1px solid transparent; }
.region:hover, .region.is-active {
  background: rgba(244, 236, 217, 0.05);
  border-color: var(--accent-line);
  transform: translateX(4px);
}
.region.is-active { background: rgba(214, 53, 34, 0.08); }
.region h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink-light);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem;
}
.region p { color: var(--ink-light-mute); font-size: 0.92rem; }
.region-arrow {
  font-size: 0.95rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.region:hover .region-arrow,
.region.is-active .region-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.region-hq h4 { color: #ffd5a8; }
.region-hq h4 .region-arrow { color: #ffd5a8; }

@media (max-width: 960px) {
  .globe-wrap { grid-template-columns: 1fr; }
  .globe-canvas-wrap { max-width: 460px; }
}
@media (max-width: 540px) {
  .globe-canvas-wrap { max-width: 360px; }
}

/* ============================================
   LEADERSHIP
   ============================================ */
.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.leader-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 1px 2px rgba(26, 39, 71, 0.04);
}
.leader-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 18px 40px rgba(26, 39, 71, 0.10);
}
.leader-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-3);  /* cool tint placeholder */
}
.leader-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  filter: grayscale(0.15) contrast(1.02);
  transition: filter .6s var(--ease);
}
.leader-card:hover .leader-photo img { filter: grayscale(0) contrast(1.02); }
.leader-meta { display: flex; flex-direction: column; justify-content: center; }
.leader-role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.leader-meta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.leader-meta p { color: var(--ink-2); font-size: 0.95rem; }

@media (max-width: 1080px) {
  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { max-width: 720px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .leader-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
  .leader-photo { max-width: 280px; margin: 0 auto; aspect-ratio: 1/1.1; }
  .leader-meta { text-align: left; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--bg-card); border-top: 1px solid var(--line); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-lede { color: var(--ink-2); margin: 1.25rem 0 2rem; max-width: 40ch; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.c-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.contact-list a, .contact-list span {
  color: var(--ink);
  font-size: 1.05rem;
  transition: color .3s;
  line-height: 1.5;
}
.contact-list a:hover { color: var(--accent); }

.contact-form {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(26, 39, 71, 0.05);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  padding: 0.7rem 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }
.form-sent {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: all .5s var(--ease);
  font-weight: 500;
}
.form-sent.show { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   FOOTER — cream, heritage-corporate
   ============================================ */
.footer {
  padding: 4.5rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto 3rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center;
  color: var(--ink);
  transition: opacity .3s var(--ease);
}
.footer-brand:hover { opacity: 0.85; }
.footer-logo-img {
  width: auto; height: 80px;
  max-width: 380px;
  object-fit: contain;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-mute);
}
@media (max-width: 720px) {
  .footer-logo-img { height: 60px; max-width: 280px; }
}

/* ============================================
   ACTIVE NAV LINK INDICATOR
   ============================================ */
.nav-links a.is-current {
  color: var(--ink);
}
.nav-links a.is-current::after {
  right: 0;
  background: var(--accent);
}
.nav.over-dark .nav-links a.is-current { color: var(--ink-light); }

/* ============================================
   BACK-TO-TOP
   ============================================ */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 22px rgba(26, 39, 71, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 540px) {
  .back-to-top { width: 42px; height: 42px; }
}

/* Voyage stage stagger reveal */
.voyage-stages .stage:nth-child(1) { transition-delay: 0ms; }
.voyage-stages .stage:nth-child(2) { transition-delay: 80ms; }
.voyage-stages .stage:nth-child(3) { transition-delay: 160ms; }
.voyage-stages .stage:nth-child(4) { transition-delay: 240ms; }
.voyage-stages .stage:nth-child(5) { transition-delay: 320ms; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track, #saturn-canvas, .scroll-line::after { animation: none !important; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .nav, .scroll-cue, #saturn-canvas, .marquee, #globe-canvas, .globe-hint, .contact-form, .yarn-thread { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 1rem; }
  .global::before { display: none; }
  .global, .footer { background: white; color: black; }
}
