/* Concept 5 — Orbit / Constellation
   Swiss editorial + living network · tonal depth · selective cobalt */

:root {
  --ivory: #f3f0e8;
  --soft: #faf9f5;
  --parchment: #ebe4d6;
  --clay: #c4a484;
  --umber: #8a6f54;
  --ink: #101113;
  --graphite: #1c1e22;
  --slate: #3a3d45;
  --warm-grey: #9a958c;
  --mist: #d8d3c8;
  --cobalt: #3157ff;
  --cobalt-soft: rgba(49, 87, 255, 0.14);
  --cobalt-mid: rgba(49, 87, 255, 0.35);
  --line: rgba(16, 17, 19, 0.12);
  --line-soft: rgba(16, 17, 19, 0.06);
  --nav-h: 68px;
  --frame: 10px;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "Cormorant", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.frame {
  position: fixed;
  inset: var(--frame);
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 50;
}

/* —— StarOrigin Node —— */
.so-node {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  vertical-align: middle;
}

.so-node::before,
.so-node::after {
  content: "";
  position: absolute;
  background: var(--ink);
  opacity: 0.5;
}

.so-node::before {
  width: 1px;
  height: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.so-node::after {
  width: 16px;
  height: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.so-node--sm {
  width: 7px;
  height: 7px;
}
.so-node--sm::before {
  height: 12px;
}
.so-node--sm::after {
  width: 12px;
}

.so-node--md {
  width: 12px;
  height: 12px;
}
.so-node--md::before {
  height: 20px;
}
.so-node--md::after {
  width: 20px;
}

.so-node--lg {
  width: 14px;
  height: 14px;
  background: var(--cobalt);
}
.so-node--lg::before,
.so-node--lg::after {
  background: var(--cobalt);
  opacity: 0.7;
}
.so-node--lg::before {
  height: 28px;
}
.so-node--lg::after {
  width: 28px;
}

.so-node--nav {
  width: 8px;
  height: 8px;
  margin-right: 0.55rem;
}

.so-node--invert,
.so-node--on-dark {
  background: var(--soft);
}
.so-node--invert::before,
.so-node--invert::after,
.so-node--on-dark::before,
.so-node--on-dark::after {
  background: var(--soft);
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: calc(var(--frame) + 6px);
  left: calc(var(--frame) + 16px);
  right: calc(var(--frame) + 16px);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  z-index: 40;
  pointer-events: none;
  padding: 0.35rem 0;
  transition: color 0.35s ease;
}

.nav.is-dark {
  color: var(--soft);
}

.nav.is-dark .nav-links a {
  color: rgba(250, 249, 245, 0.45);
}

.nav.is-dark .nav-links a:hover,
.nav.is-dark .nav-links a.is-active {
  color: var(--soft);
}

/* remove obsolete dark so-node nav rules if present — logo handles brand */

.nav-brand,
.nav-links a {
  pointer-events: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.brand-logo--footer,
.brand-logo--final {
  height: 64px;
  max-width: 180px;
}

.nav.is-dark .brand-logo {
  /* logo already sits on black; keep natural */
  filter: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--warm-grey);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
  transform: translateX(-50%);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--warm-grey);
  margin-bottom: 1.35rem;
}

.section {
  position: relative;
}

@media (min-width: 981px) {
  .hero-pin,
  .origin-pin,
  .network-inner,
  .capabilities,
  .intel-pin,
  .global-pin,
  .showup-pin,
  .why-pin,
  .final,
  .scale-pin {
    padding-left: clamp(1.25rem, 4vw, 3rem);
  }

  .industries-tag {
    padding-left: clamp(1.25rem, 4vw, 3rem);
  }

  .industry-panel {
    padding-left: clamp(1.5rem, 5vw, 4.5rem);
  }
}

/* ================= HERO ================= */
.hero {
  min-height: 260vh;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ivory);
  padding: calc(var(--nav-h) + 8px) 1.5rem 3rem;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, var(--cobalt-soft), transparent 70%),
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(196, 164, 132, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(235, 228, 214, 0.9), transparent 50%),
    linear-gradient(165deg, var(--soft) 0%, var(--ivory) 45%, var(--parchment) 100%);
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 12%;
  width: min(42vw, 520px);
  height: 70%;
  background:
    linear-gradient(90deg, var(--ivory) 0%, transparent 35%),
    linear-gradient(180deg, transparent 60%, var(--ivory) 100%),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=900&q=70")
      center / cover no-repeat;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  filter: grayscale(0.35) contrast(1.05);
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: 0.9;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
  max-width: 980px;
}

.hero-brand {
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.46em;
  margin-bottom: 1.4rem;
  opacity: 0;
  color: var(--slate);
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hl-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
}

.hero-morph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.morph-word {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  opacity: 0;
  color: var(--ink);
}

.morph-result {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  opacity: 0;
  color: var(--ink);
}

.morph-result span {
  display: block;
}

.morph-result span:last-child {
  color: var(--cobalt);
}

.hero-scroll-hint {
  position: absolute;
  bottom: calc(var(--frame) + 24px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: var(--warm-grey);
  z-index: 3;
}

/* ================= ORIGIN ================= */
.origin {
  min-height: 200vh;
  background:
    linear-gradient(180deg, var(--parchment) 0%, var(--soft) 40%, var(--ivory) 100%);
}

.origin-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 40px) clamp(1.5rem, 5vw, 4rem) 3rem;
  display: flex;
  align-items: center;
}

.origin-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  align-items: center;
}

.origin-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.origin-title span {
  display: block;
}

.origin-title span:last-child {
  color: var(--umber);
}

.origin-resolve {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.4;
  max-width: 28ch;
  color: var(--slate);
  opacity: 0.35;
}

.origin-stage {
  position: relative;
  height: min(58vh, 480px);
  width: 100%;
}

.origin-photo {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background:
    url("https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?auto=format&fit=crop&w=800&q=70")
      center / cover no-repeat;
  filter: grayscale(0.25) saturate(0.85) contrast(1.08);
  opacity: 0.55;
  box-shadow: 0 30px 60px rgba(16, 17, 19, 0.12);
}

.origin-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(58%, 300px);
  height: min(58%, 300px);
  color: rgba(49, 87, 255, 0.35);
  display: grid;
  place-items: center;
  z-index: 2;
}

.origin-ring {
  position: absolute;
  inset: 0;
}

.origin-frag {
  position: absolute;
  max-width: 150px;
  padding: 0.75rem 0.9rem;
  background: rgba(250, 249, 245, 0.88);
  border: 1px solid var(--line);
  opacity: 0.4;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.origin-frag strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.origin-frag span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
}

.frag-a {
  top: 4%;
  left: 0;
}
.frag-b {
  top: 8%;
  right: 0;
  text-align: right;
}
.frag-c {
  bottom: 10%;
  left: 2%;
}
.frag-d {
  bottom: 6%;
  right: 0;
  text-align: right;
}

/* ================= NETWORK ================= */
.network {
  background: var(--graphite);
  color: var(--soft);
  padding: calc(var(--nav-h) + 40px) clamp(1.25rem, 4vw, 3rem) 4rem;
  min-height: 100vh;
}

.network .section-tag {
  color: rgba(250, 249, 245, 0.45);
}

.network .so-node {
  background: var(--soft);
}
.network .so-node::before,
.network .so-node::after {
  background: var(--soft);
}

.network-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.network-lede {
  max-width: 42ch;
  color: rgba(250, 249, 245, 0.5);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.network-stage {
  position: relative;
  min-height: 420px;
  height: min(58vh, 560px);
  border: 1px solid rgba(250, 249, 245, 0.1);
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(49, 87, 255, 0.12), transparent 70%),
    #15171b;
  overflow: hidden;
}

.network-svg {
  width: 100%;
  height: 100%;
  cursor: crosshair;
  color: var(--soft);
}

.network-panel {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(280px, 72%);
  padding: 1.15rem 1.25rem;
  background: var(--soft);
  color: var(--ink);
  border-left: 3px solid var(--cobalt);
}

.network-panel[hidden] {
  display: none;
}

.network-panel-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--cobalt);
  margin-bottom: 0.75rem;
}

.network-panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.network-panel-list li {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.network-legend {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: rgba(250, 249, 245, 0.35);
}

/* ================= CAPABILITIES ================= */
.capabilities {
  padding: calc(var(--nav-h) + 48px) clamp(1.25rem, 4vw, 3.5rem) 6rem;
  background: var(--soft);
  border-top: 1px solid var(--line-soft);
}

.cap-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.cap-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.cap-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  opacity: 0.3;
}

.cap-item:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-item.is-active,
.cap-item:hover {
  opacity: 1;
  transform: translateX(8px);
}

.cap-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
}

.cap-item.is-active .cap-num {
  color: var(--cobalt);
}

.cap-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.cap-visual {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--soft);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cap-visual-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  filter: grayscale(0.2) contrast(1.05);
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
  transform: scale(1.04);
}

.cap-visual:hover .cap-visual-media {
  transform: scale(1.08);
}

.cap-visual-inner {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: linear-gradient(to top, rgba(16, 17, 19, 0.92) 20%, transparent);
  width: 100%;
}

.cap-visual-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #7a9bff;
  margin: 0.85rem 0 0.65rem;
}

.cap-visual-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.cap-visual-body {
  color: rgba(250, 249, 245, 0.65);
  font-size: 0.92rem;
  max-width: 34ch;
  font-weight: 300;
}

/* ================= INTELLIGENCE ================= */
.intelligence {
  min-height: 220vh;
  background: linear-gradient(160deg, #0c0d10 0%, #1a1c24 50%, #12141a 100%);
  color: var(--soft);
}

.intel-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: calc(var(--nav-h) + 36px) clamp(1.25rem, 4vw, 3rem) 2rem;
}

.intelligence .section-tag {
  color: rgba(250, 249, 245, 0.4);
}

.intel-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intel-copy {
  position: relative;
  z-index: 2;
  height: calc(100% - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.intel-line-a,
.intel-line-b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.intel-line-a span,
.intel-line-b span {
  display: block;
}

.intel-line-b {
  position: absolute;
  inset: auto auto 16% 0;
  opacity: 0;
  color: #7a9bff;
}

.intel-note {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.25rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(250, 249, 245, 0.35);
  z-index: 2;
}

/* ================= INDUSTRIES ================= */
.industries {
  min-height: 400vh;
  background: var(--ink);
}

.industries-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 16px);
}

.industries-tag {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  color: rgba(250, 249, 245, 0.45);
  position: relative;
  z-index: 3;
}

.industries-tag .so-node {
  background: var(--soft);
}
.industries-tag .so-node::before,
.industries-tag .so-node::after {
  background: var(--soft);
}

.industries-track {
  display: flex;
  flex: 1;
  width: max-content;
  height: calc(100% - 50px);
}

.industry-panel {
  width: 100vw;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem clamp(1.5rem, 5vw, 4.5rem) 3.5rem;
  color: var(--soft);
}

.ind-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15) contrast(1.08) brightness(0.72);
}

.ind-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 17, 19, 0.82) 10%, rgba(16, 17, 19, 0.25) 55%, rgba(49, 87, 255, 0.18) 100%);
}

.ind-media--auto {
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=70");
}
.ind-media--semi {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=70");
}
.ind-media--digital {
  background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=70");
}
.ind-media--ent {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=70");
}
.ind-media--deep {
  background-image: url("https://images.unsplash.com/photo-1635070041078-e363dbe005cb?auto=format&fit=crop&w=1600&q=70");
}

.ind-content {
  position: relative;
  z-index: 2;
  max-width: 18ch;
}

.ind-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: #7a9bff;
  margin-bottom: 0.75rem;
}

.industry-panel h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.85rem;
}

.industry-panel p:not(.ind-kicker) {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(250, 249, 245, 0.65);
  max-width: 42ch;
}

.industries-hint {
  position: absolute;
  bottom: calc(var(--frame) + 16px);
  right: clamp(1.25rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(250, 249, 245, 0.4);
  z-index: 3;
}

/* ================= GLOBAL ================= */
.global {
  min-height: 200vh;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, var(--cobalt-soft), transparent 60%),
    linear-gradient(180deg, var(--parchment), var(--soft) 60%, var(--ivory));
}

.global-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 36px) clamp(1.25rem, 4vw, 3rem) 2rem;
  display: flex;
  flex-direction: column;
}

.global-copy {
  position: relative;
  margin-bottom: 1rem;
  min-height: 6.5rem;
}

.global-a,
.global-b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.global-a span,
.global-b span {
  display: block;
}

.global-b {
  position: absolute;
  inset: 0;
  opacity: 0;
  color: var(--cobalt);
}

.global-net {
  flex: 1;
  width: 100%;
  min-height: 320px;
  color: var(--ink);
}

.g-path {
  opacity: 0.55;
  stroke: var(--cobalt);
}

.g-path--soft {
  stroke: var(--umber);
  opacity: 0.45;
}

.g-anchor text,
.g-city text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: currentColor;
}

.g-city {
  opacity: 0;
}

.g-anchor .g-ring {
  opacity: 0.45;
  stroke: var(--cobalt);
}

/* ================= SHOWUP ================= */
.showup {
  min-height: 180vh;
  background: var(--graphite);
}

.showup-pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 48px) clamp(1.25rem, 4vw, 3.5rem) 3rem;
  background:
    linear-gradient(135deg, var(--soft) 0%, var(--ivory) 50%, var(--parchment) 100%);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showup-lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.showup-lead span {
  display: block;
}

.showup-mark {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-bottom: 2.75rem;
  color: var(--cobalt);
}

.showup-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.15rem;
  max-width: 900px;
}

.su-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0.28;
  transition: opacity 0.4s ease;
}

.su-step.is-active {
  opacity: 1;
}

.su-node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
}

.su-step.is-active .su-node {
  background: var(--cobalt);
  border-color: var(--cobalt);
  box-shadow: 0 0 0 6px var(--cobalt-soft);
}

.su-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.showup-line {
  height: 2px;
  background: var(--mist);
  max-width: 900px;
  margin-bottom: 2rem;
  position: relative;
}

.showup-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--cobalt);
}

.showup-body {
  max-width: 42ch;
  color: var(--slate);
  font-size: 1rem;
  font-weight: 300;
}

/* ================= SCALE ================= */
.scale {
  min-height: 280vh;
  background:
    radial-gradient(ellipse 50% 40% at 50% 45%, rgba(49, 87, 255, 0.18), transparent 65%),
    var(--ink);
  color: var(--soft);
}

.scale-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.scale .section-tag {
  position: absolute;
  top: calc(var(--nav-h) + 36px);
  left: clamp(1.25rem, 4vw, 3rem);
  color: rgba(250, 249, 245, 0.4);
}

.scale-number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(4.5rem, 16vw, 12rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  will-change: transform;
  background: linear-gradient(180deg, #fff 20%, #7a9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scale-support {
  margin-top: 1.5rem;
  max-width: 36ch;
  margin-inline: auto;
  font-size: 1rem;
  color: rgba(250, 249, 245, 0.55);
  opacity: 0;
  font-weight: 300;
}

/* ================= WHY ================= */
.why {
  min-height: 220vh;
  background: linear-gradient(180deg, var(--ivory), var(--parchment) 50%, var(--soft));
}

.why-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: calc(var(--nav-h) + 36px) clamp(1.25rem, 4vw, 3rem) 2rem;
}

.why-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: 0.65;
}

.why-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.why-a,
.why-b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 6.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.why-a span,
.why-b span {
  display: block;
}

.why-b {
  position: absolute;
  inset: auto auto 20% 0;
  opacity: 0;
  color: var(--cobalt);
}

/* ================= FINAL ================= */
.final {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 48px) clamp(1.5rem, 5vw, 4rem) 5rem;
  background: var(--soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0.92), rgba(243, 240, 232, 0.88)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=70")
      center / cover no-repeat;
  opacity: 0.55;
  filter: grayscale(0.4);
}

.final-inner {
  position: relative;
  z-index: 1;
}

.final-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2.25rem;
}

.final-title span {
  display: block;
}

.final-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.final-sub {
  color: var(--slate);
  margin-bottom: 2.35rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--soft);
}

/* ================= FOOTER ================= */
.footer {
  background: var(--ink);
  color: var(--soft);
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(250, 249, 245, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-tag {
  font-size: 0.85rem;
  color: rgba(250, 249, 245, 0.45);
  font-weight: 300;
}

.footer-desks-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: rgba(250, 249, 245, 0.4);
  margin-bottom: 1.25rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-cols strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.footer-cols span,
.footer-cols a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 249, 245, 0.55);
  margin-bottom: 0.25rem;
  font-weight: 300;
}

.footer-cols a:hover {
  color: #7a9bff;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(250, 249, 245, 0.28);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .origin-layout {
    grid-template-columns: 1fr;
  }

  .origin-stage {
    height: 360px;
  }

  .cap-layout {
    grid-template-columns: 1fr;
  }

  .cap-visual {
    position: relative;
    top: 0;
    min-height: 280px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .hero-photo {
    opacity: 0.18;
    width: 55vw;
  }

  .nav-links {
    gap: 0.7rem;
    max-width: 65%;
    overflow-x: auto;
  }

  .nav-links a {
    font-size: 0.5rem;
  }
}

@media (max-width: 720px) {
  :root {
    --frame: 6px;
  }

  .nav {
    flex-wrap: wrap;
    background: rgba(243, 240, 232, 0.96);
  }

  .nav-links {
    width: 100%;
    max-width: none;
  }

  .hero-scroll-hint,
  .industries-hint {
    display: none;
  }

  .showup-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .network-panel {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .hero-photo {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-line,
  .hero-brand,
  .origin-resolve,
  .morph-word,
  .morph-result {
    opacity: 1 !important;
    transform: none !important;
  }
}
