@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap");

:root {
  color-scheme: dark;
  --canvas: #101211;
  --paper: #dce0d7;
  --ink: #161816;
  --muted: rgba(220, 224, 215, 0.56);
  --hairline: rgba(220, 224, 215, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Plus Jakarta Sans", var(--sans);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: linear-gradient(rgba(220, 224, 215, 0.034) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 224, 215, 0.024) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(#000, transparent 86%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 0.8rem;
  color: var(--canvas);
  background: var(--paper);
  font: 0.68rem/1 var(--mono);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.scroll-intro { position: relative; height: 310svh; }

.intro-stage {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--canvas);
}

.intro-stage::before,
.intro-stage::after { position: absolute; z-index: -1; pointer-events: none; content: ""; }
.intro-stage::before {
  width: min(72vw, 65rem);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  opacity: calc(0.2 + var(--intro-progress, 0) * 0.35);
  transform: translate(-50%, -50%) scale(calc(0.72 + var(--intro-progress, 0) * 0.46));
}
.intro-stage::after {
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(197, 223, 200, 0.09), transparent 25rem);
  opacity: calc(0.55 - var(--intro-progress, 0) * 0.25);
}

.monogram, .intro-index, .scroll-cue {
  position: absolute;
  z-index: 3;
  margin: 0;
  font: 0.65rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.monogram { top: clamp(1.3rem, 3vw, 2.4rem); left: clamp(1.3rem, 3vw, 2.4rem); color: var(--paper); display: inline-flex; align-items: center; text-decoration: none; transition: opacity 180ms ease; }
.monogram:hover { opacity: 0.8; }
.brand-logo-img { height: clamp(1.75rem, 2.8vw, 2.4rem); width: auto; display: block; object-fit: contain; filter: invert(1); mix-blend-mode: screen; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.footer-brand p { margin: 0; color: var(--paper); }
.footer-logo-img { height: 1.5rem; width: auto; display: block; object-fit: contain; filter: invert(1); mix-blend-mode: screen; }
.intro-index { top: clamp(1.3rem, 3vw, 2.4rem); right: clamp(1.3rem, 3vw, 2.4rem); color: var(--muted); }
.scroll-cue { bottom: clamp(1.3rem, 3vw, 2.4rem); left: clamp(1.3rem, 3vw, 2.4rem); display: flex; align-items: center; gap: 0.65rem; color: var(--muted); }
.scroll-cue span { display: block; width: 2rem; height: 1px; background: var(--paper); transform-origin: left; transform: scaleX(calc(1 - var(--intro-progress, 0))); }

.intro-orbit { position: absolute; width: min(58vw, 47rem); aspect-ratio: 1; top: 50%; left: 50%; z-index: -1; border: 1px solid rgba(220, 224, 215, 0.07); border-radius: 50%; transform: translate(-50%, -50%) rotate(calc(var(--intro-progress, 0) * 95deg)); }
.intro-orbit span { position: absolute; width: 0.45rem; aspect-ratio: 1; border-radius: 50%; background: var(--paper); box-shadow: 0 0 1.6rem rgba(220, 224, 215, 0.42); }
.intro-orbit span:nth-child(1) { top: -0.2rem; left: 50%; }
.intro-orbit span:nth-child(2) { right: 9%; bottom: 13%; width: 0.28rem; }
.intro-orbit span:nth-child(3) { bottom: 24%; left: 2%; width: 0.24rem; }

.hero-logo-side {
  position: absolute;
  right: clamp(1rem, 4vw, 5.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: calc(1 - var(--intro-progress, 0) * 0.85);
  transition: opacity 150ms ease;
}
.hero-right-logo {
  width: clamp(18rem, 36vw, 35rem);
  height: auto;
  display: block;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 55px rgba(220, 224, 215, 0.26));
  mix-blend-mode: screen;
  animation: heroFloat 8s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-16px) rotate(1.8deg); }
}

.statement {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: clamp(1.8rem, 6.5vw, 8rem);
  padding-right: min(38vw, 32rem);
  transform: translateY(calc((var(--statement-offset, 0)) * -1px));
}
.statement h1, .statement p {
  width: 100%;
  max-width: 820px;
  margin: 0;
  text-align: left;
}
.statement h1 {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-wrap: balance;
  text-align: left;
}
.statement p {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-align: left;
}
.statement .highlight {
  display: inline-block;
  font-style: normal;
  font-family: inherit;
  font-weight: 800;
  color: #141615;
  background: #dce0d7;
  border: 1px solid #ffffff;
  padding: 0.08em 0.45em;
  margin: 0.05em 0.08em;
  border-radius: 0.45rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(220, 224, 215, 0.25);
  vertical-align: baseline;
  line-height: 1.05;
}
.statement-primary { opacity: var(--primary-opacity, 1); transform: translateY(calc(var(--primary-shift, 0) * -1px)) scale(var(--primary-scale, 1)); }
.statement-second, .statement-third { pointer-events: none; opacity: 0; }
.statement-second { opacity: var(--second-opacity, 0); transform: translateY(calc(var(--second-shift, 42) * 1px)); }
.statement-third { opacity: var(--third-opacity, 0); transform: translateY(calc(var(--third-shift, 42) * 1px)); }/* Quick Instant Social Connect Bar */
.quick-connect-bar {
  position: relative;
  width: 100%;
  padding: 1.1rem clamp(1rem, 4vw, 3.2rem);
  background: #08090a;
  border-top: 1px solid var(--hairline);
  isolation: isolate;
  z-index: 12;
}

.quick-connect-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 1400px);
  margin: 0 auto;
  gap: 0.8rem;
}

.connect-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

.connect-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.8vw, 1.2rem);
  flex-wrap: wrap;
}

.connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  background: rgba(220, 224, 215, 0.05);
  border: 1px solid rgba(220, 224, 215, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  transition: transform 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.connect-pill:hover {
  transform: translateY(-2px);
  background: rgba(220, 224, 215, 0.16);
  border-color: rgba(220, 224, 215, 0.45);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.connect-icon {
  width: 0.88rem;
  height: 0.88rem;
  stroke: currentColor;
}

.portfolio-ticker-bar {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.9rem 0;
  background: rgba(16, 18, 17, 0.92);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  isolation: isolate;
  z-index: 10;
  display: flex;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  flex-shrink: 0;
  animation: marqueeLoop 26s linear infinite;
  will-change: transform;
}

.portfolio-ticker-bar:hover .ticker-group {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  background: rgba(220, 224, 215, 0.04);
  border: 1px solid rgba(220, 224, 215, 0.09);
  transition: background 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  white-space: nowrap;
}

.ticker-item:hover {
  background: rgba(220, 224, 215, 0.12);
  border-color: rgba(220, 224, 215, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ticker-logo {
  height: clamp(2.2rem, 3.8vw, 3rem);
  width: auto;
  max-width: 8.5rem;
  object-fit: contain;
  filter: brightness(0.92) opacity(0.85);
  transition: filter 250ms ease, transform 250ms ease;
}

.ticker-vk-logo {
  filter: invert(1) brightness(1.2) opacity(0.95);
  mix-blend-mode: screen;
}

.ticker-item:hover .ticker-logo {
  filter: brightness(1.2) opacity(1);
  transform: scale(1.06);
}

.ticker-item:hover .ticker-vk-logo {
  filter: invert(1) brightness(1.4) opacity(1);
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - clamp(2rem, 4vw, 4.5rem))); }
}

/* VURTICA Venture Section Styles */
.vurtica-showcase {
  position: relative;
  height: 320svh;
  background: #090b0d;
  isolation: isolate;
  border-bottom: 1px solid var(--hairline);
}

.vurtica-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 4rem) clamp(1.5rem, 4vw, 5rem);
}

/* Dynamic Scroll Grid Lines */
.vurtica-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
}

.vurtica-grid-lines .v-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(220, 224, 215, 0.18), transparent);
  transform: translateX(calc(var(--vurtica-grid-x, 0) * 1px));
  transition: transform 100ms ease-out;
}

.v1 { left: 18%; }
.v2 { left: 38%; }
.v3 { left: 62%; }
.v4 { left: 82%; }

.vurtica-grid-lines .h-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 224, 215, 0.18), transparent);
  transform: translateY(calc(var(--vurtica-grid-y, 0) * 1px));
  transition: transform 100ms ease-out;
}

.h1 { top: 25%; }
.h2 { top: 50%; }
.h3 { top: 75%; }

/* Hero Logo with Fading Visibility */
.vurtica-header-mark {
  position: absolute;
  top: 10.5%;
  left: 50%;
  transform: translateX(-50%);
  opacity: var(--vurtica-logo-opacity, 1);
  transition: opacity 120ms ease-out;
  pointer-events: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.vurtica-brand-logo {
  height: clamp(8.5rem, 16vw, 13rem);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(167, 211, 211, 0.35));
}

.vurtica-statements {
  position: relative;
  width: min(92%, 1100px);
  height: 55svh;
  margin-top: clamp(2rem, 4vh, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.vurtica-statement {
  position: absolute;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.vurtica-statement h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--paper);
  margin: 0;
}

.v-statement-1 {
  opacity: var(--vurtica-s1-opacity, 1);
  transform: translateY(calc(var(--vurtica-s1-shift, 0) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.v-statement-2 {
  opacity: var(--vurtica-s2-opacity, 0);
  transform: translateY(calc(var(--vurtica-s2-shift, 40) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.v-statement-3 {
  opacity: var(--vurtica-s3-opacity, 0);
  transform: translateY(calc(var(--vurtica-s3-shift, 40) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

/* Datarith Venture Section Styles */
.datarith-showcase {
  position: relative;
  height: 280svh;
  background: #090b0d;
  isolation: isolate;
  border-bottom: 1px solid var(--hairline);
}

.datarith-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6rem) clamp(1.5rem, 4vw, 5rem);
}

.datarith-matrix-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.28;
}

.datarith-matrix-lines .d-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(126, 231, 210, 0.22), transparent);
  transform: translateX(calc(var(--datarith-grid-x, 0) * 1px));
  transition: transform 100ms ease-out;
}

.d1 { left: 22%; }
.d2 { left: 44%; }
.d3 { left: 66%; }
.d4 { left: 88%; }

.datarith-matrix-lines .d-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 231, 210, 0.22), transparent);
}

.dh1 { top: 33%; }
.dh2 { top: 66%; }

.datarith-header-mark {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  opacity: var(--datarith-logo-opacity, 1);
  transition: opacity 120ms ease-out;
  pointer-events: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* Hiring Tag Buttons */
.hiring-badge-btn {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 224, 215, 0.08);
  border: 1px solid rgba(220, 224, 215, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 15;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(8px);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.hiring-badge-btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(220, 224, 215, 0.2);
  border-color: var(--paper);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
}

.hiring-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: hiringPulse 1.8s ease-in-out infinite alternate;
}

@keyframes hiringPulse {
  from { opacity: 0.5; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.15); }
}

.hiring-arrow {
  font-size: 0.65rem;
  color: var(--paper);
}

/* Open-Source Contribution Badges */
.card-contrib-footer {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.contrib-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 224, 215, 0.06);
  border: 1px solid rgba(220, 224, 215, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.contrib-badge-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(220, 224, 215, 0.18);
  border-color: var(--paper);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.14);
}

.contrib-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  animation: hiringPulse 1.8s ease-in-out infinite alternate;
}

.contrib-arrow {
  font-size: 0.65rem;
  color: var(--paper);
}

/* Hiring Modal Popup Overlay */
.hiring-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.hiring-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.hiring-modal-card {
  position: relative;
  background: #0d0f0e;
  border: 1px solid rgba(220, 224, 215, 0.22);
  border-radius: 1.8rem;
  padding: clamp(2.2rem, 5vw, 3.8rem);
  width: min(92%, 580px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(220, 224, 215, 0.08);
  transform: translateY(20px) scale(0.95);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hiring-modal-overlay.active .hiring-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(220, 224, 215, 0.08);
  border: 1px solid rgba(220, 224, 215, 0.16);
  color: var(--paper);
  font-size: 0.85rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.modal-close-btn:hover {
  background: rgba(220, 224, 215, 0.22);
  border-color: var(--paper);
  transform: rotate(90deg);
}

.modal-body-content {
  text-align: left;
}

.modal-badge-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #22c55e;
  margin-bottom: 0.8rem;
}

.modal-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--paper);
  margin: 0 0 1rem;
}

.modal-note {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 2rem;
}

.modal-email-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(220, 224, 215, 0.12);
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.email-instruction {
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.modal-email-link {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 200ms ease;
}

.modal-email-link:hover {
  color: #22c55e;
}

.datarith-brand-logo {
  height: clamp(7.5rem, 14vw, 12rem);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(126, 231, 210, 0.4));
}

.datarith-statements {
  position: relative;
  width: min(92%, 1100px);
  height: 60svh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.datarith-statement {
  position: absolute;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.datarith-statement h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--paper);
  margin: 0;
}

.d-statement-1 {
  opacity: var(--datarith-s1-opacity, 1);
  transform: translateY(calc(var(--datarith-s1-shift, 0) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.d-statement-2 {
  opacity: var(--datarith-s2-opacity, 0);
  transform: translateY(calc(var(--datarith-s2-shift, 35) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.d-statement-3 {
  opacity: var(--datarith-s3-opacity, 0);
  transform: translateY(calc(var(--datarith-s3-shift, 35) * 1px));
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

/* Open-Source Initiatives Section Styles */
.opensource-showcase {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 5rem);
  background: #08090a;
  border-bottom: 1px solid var(--hairline);
  isolation: isolate;
}

.opensource-heading {
  width: min(100%, 1400px);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  font: 0.68rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.opensource-heading p {
  margin: 0;
}

.opensource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  width: min(100%, 1400px);
  margin: 0 auto;
}

.opensource-card {
  position: relative;
  background: rgba(22, 25, 23, 0.75);
  border: 1px solid rgba(220, 224, 215, 0.14);
  border-radius: 2rem;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.8rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease, box-shadow 300ms ease;
  overflow: hidden;
}

.opensource-card:hover {
  transform: translateY(-0.5rem);
  border-color: rgba(220, 224, 215, 0.38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(220, 224, 215, 0.08);
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.tech-badge {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(220, 224, 215, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.card-link-pill {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: rgba(220, 224, 215, 0.08);
  border: 1px solid rgba(220, 224, 215, 0.22);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.card-link-pill:hover {
  background: rgba(220, 224, 215, 0.2);
  border-color: var(--paper);
  transform: translateX(2px);
}

.opensource-header-mark {
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  text-align: center;
}

.opensource-header-mark a {
  display: inline-block;
  transition: transform 300ms ease;
}

.opensource-header-mark a:hover {
  transform: scale(1.06);
}

.opensource-brand-logo {
  height: clamp(3.2rem, 6vw, 4.8rem);
  width: auto;
  max-width: 85%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(220, 224, 215, 0.25));
  transition: filter 300ms ease;
}

.opensource-header-mark a:hover .opensource-brand-logo {
  filter: drop-shadow(0 0 45px rgba(220, 224, 215, 0.55));
}

.opensource-statement {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.opensource-statement h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--paper);
  margin: 0;
}

/* Card Tech Stage & Visualizers */
.card-tech-stage {
  width: 100%;
  height: clamp(8rem, 14vw, 11rem);
  border-radius: 1.2rem;
  background: rgba(10, 12, 11, 0.85);
  border: 1px solid rgba(220, 224, 215, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

/* 1. ContxtAI Memory Graph Visualizer */
.context-memory-graph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-node {
  position: relative;
  z-index: 3;
  background: #141816;
  border: 1.5px solid rgba(220, 224, 215, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.core-node .node-label {
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.node-satellites {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.satellite-node {
  position: absolute;
  background: rgba(22, 26, 24, 0.9);
  border: 1px solid rgba(220, 224, 215, 0.22);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  animation: pulseNode 3s ease-in-out infinite alternate;
}

.satellite-node.s1 { top: 12%; left: 8%; animation-delay: 0s; }
.satellite-node.s2 { top: 12%; right: 8%; animation-delay: 0.8s; }
.satellite-node.s3 { bottom: 12%; left: 50%; transform: translateX(-50%); animation-delay: 1.6s; }

@keyframes pulseNode {
  from { border-color: rgba(220, 224, 215, 0.18); box-shadow: 0 0 0 transparent; }
  to { border-color: rgba(220, 224, 215, 0.55); box-shadow: 0 0 15px rgba(255, 255, 255, 0.18); color: var(--paper); }
}

.graph-pulse-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 2. VerticalX Aspect Ratio Slicer Visualizer */
.aspect-ratio-slicer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  width: 100%;
  height: 100%;
}

.widescreen-frame {
  position: relative;
  width: clamp(5.5rem, 10vw, 7.5rem);
  aspect-ratio: 1.77;
  background: rgba(220, 224, 215, 0.08);
  border: 1.5px solid rgba(220, 224, 215, 0.3);
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.widescreen-frame .ratio-tag {
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.crop-guide {
  position: absolute;
  width: 32%;
  height: 100%;
  border: 1px dashed rgba(220, 224, 215, 0.6);
  background: rgba(255, 255, 255, 0.12);
  animation: cropSlide 3.5s ease-in-out infinite alternate;
}

@keyframes cropSlide {
  0% { left: 5%; }
  50% { left: 34%; }
  100% { left: 63%; }
}

.slice-arrow {
  font-size: 0.85rem;
  color: rgba(220, 224, 215, 0.4);
}

.vertical-shorts-preview {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.short-card {
  width: clamp(1.4rem, 2.8vw, 2.1rem);
  aspect-ratio: 0.56;
  background: rgba(220, 224, 215, 0.06);
  border: 1px solid rgba(220, 224, 215, 0.15);
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
}

.short-card.active {
  background: rgba(220, 224, 215, 0.18);
  border-color: rgba(220, 224, 215, 0.6);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.18);
}

.short-card .ratio-tag {
  font-family: var(--mono);
  font-size: 0.4rem;
  color: var(--paper);
}

.site-footer { display: flex; width: min(100%, 1500px); margin: 0 auto; align-items: center; gap: clamp(0.9rem, 2.3vw, 2.2rem); padding: 1.5rem clamp(1rem, 3.2vw, 3.3rem) 2rem; border-top: 1px solid var(--hairline); color: var(--muted); font: 0.66rem/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }.site-footer p { margin: 0 auto 0 0; color: var(--paper); }.site-footer a { transition: color 180ms ease; }.site-footer a:hover { color: var(--paper); }

.has-js .reveal { opacity: 0; transform: translateY(2.5rem); }.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 900ms ease, transform 1000ms cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .scroll-intro { height: 280svh; }
  .statement {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 25svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  .statement h1 {
    font-size: clamp(1.75rem, 6.8vw, 2.7rem);
    line-height: 1.16;
    text-align: center;
  }
  .statement p {
    font-size: clamp(1.9rem, 7.2vw, 2.9rem);
    line-height: 1.16;
    text-align: center;
  }
  .statement-second, .statement-third { padding-bottom: 0; }
  .hero-logo-side {
    position: absolute;
    top: auto;
    bottom: 10svh;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    opacity: 0.35;
    z-index: 0;
  }
  .hero-right-logo { width: 12.5rem; }
  .intro-orbit { width: 88vw; }

  /* Social Connect Bar */
  .quick-connect-bar { padding: 1.2rem 1rem; }
  .connect-pill { padding: 0.38rem 0.78rem; font-size: 0.58rem; }

  /* Open Source Section Centering */
  .opensource-showcase { padding: 4rem 1.2rem; }
  .opensource-heading p { text-align: center; }
  .opensource-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .opensource-card { padding: 1.8rem 1.4rem; text-align: center; }
  .card-meta-bar { justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
  .tech-badge { font-size: 0.48rem; }
  .opensource-statement h3 { text-align: center; }

  /* Venture Sections Centering (Vurtica & Datarith) */
  .vurtica-header-mark { top: 6%; width: 90%; }
  .vurtica-brand-logo { height: clamp(5.5rem, 18vw, 8.5rem); }
  .datarith-header-mark { top: 5%; width: 90%; }
  .datarith-brand-logo { height: clamp(5rem, 16vw, 7.5rem); }
  .hiring-badge-btn { font-size: 0.5rem; padding: 0.32rem 0.78rem; white-space: nowrap; }
  .vurtica-statements, .datarith-statements { height: 48svh; margin-top: clamp(4rem, 10vh, 7rem); }
  .vurtica-statement h2, .datarith-statement h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); text-align: center; }

  /* Modal Card */
  .hiring-modal-card { padding: 1.8rem 1.4rem; max-height: 85vh; overflow-y: auto; width: 94%; }

  /* Site Footer Mobile Centering */
  .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
    padding: 2.2rem 1.5rem;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
  }
  .site-footer p {
    margin: 0;
    text-align: center;
  }
  .site-footer a {
    margin: 0 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }.has-js .reveal { opacity: 1; transform: none; } }
