:root {
  /* Compliance trace: Fira JetBrains cliché. Interactive States:** Intersection Observer `threshold: [0 unique portfolio (Google */
  --base: #E8EDF2;
  --light: #FFFFFF;
  --dark: #B8C4D0;
  --primary: #4A7FB5;
  --deep: #2B4C6F;
  --vein: #9AAFC4;
  --warm: #C8A882;
  --concavity: #D5DCE5;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--base);
  color: var(--deep);
  font-family: "Source Sans 3", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 127, 181, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 127, 181, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 24% 42%, rgba(255,255,255,0.75), rgba(232,237,242,0) 34%),
    radial-gradient(circle at 70% 58%, rgba(154,175,196,0.22), rgba(232,237,242,0) 38%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
  z-index: 0;
  pointer-events: none;
}

.marble-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

.marble-overlay svg {
  width: 100%;
  height: 100%;
  animation: marbleBreath 30s var(--ease) infinite alternate;
}

.horizontal-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  width: max-content;
  height: 100vh;
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 5rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  scroll-snap-align: start;
}

.wide-panel { flex-basis: 120vw; width: 120vw; }
.narrow-panel { flex-basis: 80vw; width: 80vw; }

.datum-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154,175,196,0.42), rgba(200,168,130,0.2), rgba(154,175,196,0.42), transparent);
  z-index: -1;
}

.panel-focus {
  filter: blur(8px);
  opacity: 0.42;
  transform: translateY(18px) scale(0.985);
  transition: filter 420ms var(--ease), opacity 420ms var(--ease), transform 420ms var(--ease);
}

.panel.is-active .panel-focus {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eyebrow,
.mono-label {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, .closing-word {
  font-family: "Libre Franklin", sans-serif;
  letter-spacing: -0.02em;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.72;
  color: rgba(43, 76, 111, 0.76);
}

.hero-content {
  width: min(780px, 72vw);
  justify-self: start;
  margin-left: 12vw;
}

.hero-word {
  width: max-content;
  margin: 0 0 1.5rem;
  padding: 1rem 2.4rem 1.35rem;
  border-radius: 42px;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--deep);
  text-shadow: -3px -3px 5px var(--light), 4px 4px 8px var(--dark);
  background: linear-gradient(145deg, #eef3f7, #dde5ed);
}

.hero-subtitle {
  max-width: 560px;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.hero-meter {
  width: min(420px, 60vw);
  height: 12px;
  border-radius: 999px;
  background: var(--concavity);
  box-shadow: inset -4px -4px 10px var(--light), inset 4px 4px 10px var(--dark);
  overflow: hidden;
}

.hero-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--warm));
  box-shadow: -2px -2px 6px rgba(255,255,255,0.8), 3px 3px 8px rgba(74,127,181,0.25);
}

.raised,
.interactive-press,
.avatar {
  box-shadow: -6px -6px 16px var(--light), 6px 6px 16px var(--dark);
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease), color 250ms var(--ease);
}

.interactive-press:hover,
.nav-dot:hover,
.avatar:hover {
  box-shadow: -8px -8px 20px var(--light), 8px 8px 20px var(--dark);
  transform: translateY(-2px);
}

.interactive-press:active,
.interactive-press.pressed,
.nav-dot:active,
.nav-dot.active {
  box-shadow: inset -4px -4px 10px var(--light), inset 4px 4px 10px var(--dark);
  transform: translateY(1px);
}

.philosophy-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 52px minmax(280px, 440px);
  align-items: center;
  gap: 4rem;
}

.neo-tablet {
  min-height: 360px;
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: 24px;
  background: linear-gradient(145deg, #edf2f6, #dfe7ee);
}

.neo-tablet h2,
.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--deep);
}

.veined-divider {
  width: 16px;
  height: 460px;
  border-radius: 999px;
  background:
    linear-gradient(150deg, transparent 10%, rgba(154,175,196,0.6) 11%, transparent 14%),
    linear-gradient(24deg, transparent 28%, rgba(200,168,130,0.42) 29%, transparent 32%),
    var(--concavity);
  box-shadow: inset -4px -4px 10px var(--light), inset 4px 4px 10px var(--dark);
}

.features-wrap { width: min(1320px, 106vw); }

.section-heading { max-width: 640px; margin-bottom: 3rem; }

.feature-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.feature-card {
  flex: 0 0 285px;
  min-height: 300px;
  padding: 2rem;
  border-radius: 30px;
  background: var(--concavity);
  box-shadow: inset -6px -6px 16px var(--light), inset 6px 6px 16px var(--dark);
}

.feature-card:hover { box-shadow: inset -8px -8px 19px var(--light), inset 8px 8px 19px var(--dark); }
.feature-card--low { margin-top: 6rem; }
.feature-card h3 { font: 700 1.45rem/1.1 "Libre Franklin", sans-serif; color: var(--deep); }

.architecture-wrap { width: min(980px, 86vw); }

.architecture-svg {
  width: 100%;
  height: auto;
  padding: 1.5rem;
  border-radius: 34px;
  background: linear-gradient(145deg, #edf2f6, #dfe7ee);
  box-shadow: -8px -8px 24px var(--light), 8px 8px 24px var(--dark);
}

.channel {
  fill: none;
  stroke: var(--concavity);
  stroke-width: 28;
  stroke-linecap: round;
  filter: drop-shadow(-3px -3px 4px #FFFFFF) drop-shadow(4px 4px 5px #B8C4D0);
}

.node { fill: var(--base); stroke: rgba(154,175,196,0.28); stroke-width: 1; }
.node-labels text { font-family: "DM Mono", monospace; font-size: 18px; text-anchor: middle; fill: var(--deep); letter-spacing: 0.08em; text-transform: uppercase; }
.flow-particle { fill: var(--primary); opacity: 0.4; }

.community-wrap {
  position: relative;
  width: min(900px, 86vw);
  min-height: 620px;
  display: grid;
  place-items: center;
}

blockquote {
  position: relative;
  z-index: 2;
  width: min(720px, 72vw);
  margin: 0;
  padding: 3rem;
  border-radius: 36px;
  background: rgba(232,237,242,0.72);
  box-shadow: -6px -6px 18px rgba(255,255,255,0.82), 6px 6px 18px rgba(184,196,208,0.72);
  text-align: center;
}

blockquote p { font: 300 clamp(1.6rem, 3vw, 2.65rem)/1.22 "Libre Franklin", sans-serif; color: var(--deep); }
cite { font-family: "DM Mono", monospace; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vein); font-style: normal; }

.orbit-field {
  position: absolute;
  inset: 0;
  animation: orbit 120s linear infinite;
}

.avatar {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), rgba(255,255,255,0) 24%),
    linear-gradient(138deg, transparent 40%, rgba(154,175,196,0.55) 42%, transparent 45%),
    linear-gradient(55deg, transparent 55%, rgba(200,168,130,0.34) 57%, transparent 60%),
    var(--base);
}

.a1 { left: 10%; top: 42%; } .a2 { left: 20%; top: 14%; width: 54px; height: 54px; }
.a3 { left: 50%; top: 4%; } .a4 { right: 18%; top: 16%; width: 62px; height: 62px; }
.a5 { right: 8%; top: 46%; } .a6 { right: 22%; bottom: 12%; width: 58px; height: 58px; }
.a7 { left: 52%; bottom: 3%; } .a8 { left: 18%; bottom: 13%; width: 64px; height: 64px; }
.a9 { left: 34%; top: 28%; width: 42px; height: 42px; } .a10 { right: 35%; bottom: 28%; width: 46px; height: 46px; }

.closing-wrap { text-align: center; width: min(680px, 70vw); }
.closing-text { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.closing-word { margin: 2rem auto 0; padding: 0.8rem 2rem 1.1rem; width: max-content; border-radius: 32px; font-size: clamp(2.5rem, 5vw, 4.7rem); font-weight: 300; color: var(--deep); background: linear-gradient(145deg, #eef3f7, #dde5ed); }
.closing-word:hover { color: var(--warm); }

.progress-nav {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  width: 60vw;
  height: 28px;
  transform: translateX(-50%);
  z-index: 5;
}

.progress-track {
  position: relative;
  top: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--concavity);
  box-shadow: inset -3px -3px 7px var(--light), inset 3px 3px 7px var(--dark);
}

.progress-pill {
  position: absolute;
  top: -5px;
  left: 0;
  width: 44px;
  height: 14px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: -4px -4px 10px var(--light), 4px 4px 10px var(--dark);
  transform: translateX(0);
}

.nav-dot {
  position: absolute;
  top: -9px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border: 0;
  border-radius: 50%;
  background: var(--base);
  box-shadow: -4px -4px 10px var(--light), 4px 4px 10px var(--dark);
  cursor: pointer;
}

.nav-dot:nth-child(2) { left: 0%; }
.nav-dot:nth-child(3) { left: 20%; }
.nav-dot:nth-child(4) { left: 40%; }
.nav-dot:nth-child(5) { left: 60%; }
.nav-dot:nth-child(6) { left: 80%; }
.nav-dot:nth-child(7) { left: 100%; }
.nav-dot span { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); opacity: 0; font-family: "DM Mono", monospace; color: var(--deep); font-size: 0.75rem; letter-spacing: 0.08em; pointer-events: none; transition: opacity 180ms var(--ease); }
.nav-dot:hover span { opacity: 1; }

@keyframes marbleBreath { from { transform: translate(-8px, -5px); } to { transform: translate(10px, 8px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 767px) {
  html, body { overflow: auto; }
  .horizontal-stage { display: block; width: 100%; height: auto; transform: none !important; }
  .panel, .wide-panel, .narrow-panel { width: 100%; min-height: 100vh; padding: 4rem 1.25rem; }
  .hero-content { margin-left: 0; width: 100%; }
  .philosophy-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .veined-divider { width: 100%; height: 14px; }
  .feature-row { flex-direction: column; }
  .feature-card { width: 100%; flex-basis: auto; min-height: 220px; }
  .feature-card--low { margin-top: 0; }
  .community-wrap { min-height: 560px; }
  blockquote { width: 100%; padding: 2rem 1.2rem; }
  .progress-nav { left: auto; right: 1rem; bottom: 20%; width: 28px; height: 48vh; transform: none; }
  .progress-track { top: 0; left: 12px; width: 4px; height: 100%; }
  .progress-pill { top: 0; left: -5px; width: 14px; height: 44px; }
  .nav-dot { left: -9px !important; top: auto; }
  .nav-dot:nth-child(2) { top: 0%; } .nav-dot:nth-child(3) { top: 20%; } .nav-dot:nth-child(4) { top: 40%; }
  .nav-dot:nth-child(5) { top: 60%; } .nav-dot:nth-child(6) { top: 80%; } .nav-dot:nth-child(7) { top: 100%; }
}
