:root {
  --bg: #07051a;
  --bg-2: #100a2e;
  --ink: #f0f0fa;
  --ink-dim: rgba(240, 240, 250, 0.62);
  --accent: #a78bfa;
  --accent-2: #6ea3ff;
  --accent-glow: #c084fc;
  --border: rgba(255, 255, 255, 0.10);
  --border-bright: rgba(167, 139, 250, 0.45);
  --pill: rgba(255, 255, 255, 0.05);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
html { scroll-behavior: smooth; }

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.portal {
  position: fixed;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 95vw);
  height: 520px;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at center 60%,
      rgba(192, 132, 252, 0.55) 0%,
      rgba(125, 70, 220, 0.30) 28%,
      rgba(64, 32, 130, 0.12) 55%,
      transparent 72%),
    radial-gradient(ellipse 30% 8% at center 65%,
      rgba(255, 220, 255, 0.45) 0%,
      transparent 60%);
  filter: blur(8px);
}

.top-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 94vw);
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 22px;
  background: rgba(20, 12, 50, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: translate 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.3s ease;
}
.top-nav.is-hidden {
  translate: 0 -140%;
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%,
      #d4b3ff 0%,
      #9d6dff 32%,
      #6b3df0 65%,
      #3d1aab 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 6px 22px rgba(140, 80, 240, 0.55);
}
.avatar svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.main-nav {
  display: flex;
  gap: 28px;
  justify-self: center;
}
.main-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--ink); }

.social {
  display: inline-flex;
  gap: 8px;
  justify-self: end;
}
.social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pill);
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.15s, transform 0.15s;
}
.social a:hover {
  background: rgba(167, 139, 250, 0.18);
  transform: translateY(-2px);
}

main { position: relative; z-index: 3; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 140px 6% 120px;
  min-height: 100vh;
  position: relative;
}

.hero-left { max-width: 620px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  background: rgba(167, 139, 250, 0.10);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
}

h1.display {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 24px;
  color: var(--ink);
}
.grad {
  background: linear-gradient(95deg, #a78bfa 0%, #6ea3ff 60%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 540px;
}

.cta {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #6b4cf5, #b87cf5);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(140, 80, 240, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(140, 80, 240, 0.55);
}

.hero-right {
  position: relative;
  height: 520px;
}
.tech-cluster {
  position: absolute;
  inset: 0;
}
.tech-icon {
  position: absolute;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, translate 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tech-icon > i {
  font-size: 34px;
  line-height: 1;
}
.tech-icon > svg {
  width: 36px;
  height: 36px;
  display: block;
}
.tech-icon.mono { color: #ececf6; }
.tech-icon.mono > i { color: inherit; }

.tech-icon.r-tile {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #2168b6;
  letter-spacing: -0.02em;
}
.tech-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(110, 163, 255, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}
.tech-icon:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(167, 139, 250, 0.12);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(167, 139, 250, 0.15);
  border-radius: 50%;
}

.scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.15s;
  animation: scrollBob 2.2s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--ink); }
.scroll-hint svg { width: 18px; height: 18px; opacity: 0.85; }

@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

.block {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6% 100px;
}
.block.left   { align-items: flex-start; text-align: left; }
.block.right  { align-items: flex-end;   text-align: right; }
.block.center { align-items: center;     text-align: center; }
.block.research {
  align-items: flex-start;
  text-align: left;
}
.block.research > .kicker,
.block.research > .display.sub {
  align-self: flex-start;
}

.timeline {
  list-style: none;
  position: relative;
  padding: 0;
  margin: 48px 0 0;
  width: 100%;
  max-width: 1320px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--accent) 0%,
    rgba(167, 139, 250, 0.5) 50%,
    rgba(167, 139, 250, 0.1) 100%);
}

.tl-entry {
  position: relative;
  padding: 0 0 120px 44px;
}
.tl-entry:last-child { padding-bottom: 0; }

.tl-marker {
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #d4b3ff 0%, #6b3df0 70%, #3d1aab 100%);
  box-shadow:
    0 0 0 4px rgba(7, 5, 26, 1),
    0 0 0 5px rgba(167, 139, 250, 0.45),
    0 0 18px rgba(167, 139, 250, 0.65);
}
.tl-entry.current .tl-marker::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  animation: tlPulse 2.4s ease-out infinite;
}
@keyframes tlPulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.tl-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 64px;
  align-items: center;
}
.tl-body { min-width: 0; }
.tl-date {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-glow);
}
.tl-role {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 10px;
}
.tl-org {
  font-size: 14px;
  color: var(--ink-dim);
  margin-top: 12px;
}
.tl-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-top: 16px;
}
.tl-text + .tl-text { margin-top: 14px; }
.tl-text strong { color: var(--ink); font-weight: 600; }
.tl-text em { color: var(--ink); font-style: italic; }

.tl-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
}
.tl-tags li {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-dim);
  background: var(--pill);
}

.tl-logo {
  margin: 0;
  width: 100%;
  background: #f7f7fb;
  padding: 30px 44px;
  border-radius: 16px;
  aspect-ratio: 2.4 / 1;
  display: grid;
  place-items: center;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.tl-logo img { width: 100%; height: 100%; object-fit: contain; }

.research-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 30% 25%, rgba(167, 139, 250, 0.28), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(110, 163, 255, 0.18), transparent 55%),
    linear-gradient(160deg, var(--bg-2) 0%, #1a0d3e 100%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin: 0;
}
.research-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.research-photo .photo-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(7, 5, 26, 0.6);
  backdrop-filter: blur(6px);
  color: var(--ink);
  border: 1px solid var(--border);
}

.research-photo.logo-card {
  aspect-ratio: 2.4 / 1;
  background: #f7f7fb;
  display: grid;
  place-items: center;
  padding: 18px 28px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.research-photo.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.block-body strong {
  color: var(--ink);
  font-weight: 600;
}

.kicker {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.display.sub {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 16px;
}

.block-body {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 560px;
}
.block-body em {
  font-style: normal;
  background: rgba(167, 139, 250, 0.18);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 4px;
}

.stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  max-width: 560px;
}
.block.right .stack  { justify-content: flex-end; margin-left: auto; }
.block.center .stack { justify-content: center; margin-left: auto; margin-right: auto; }
.stack li {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-dim);
  background: var(--pill);
}

.project-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(167, 139, 250, 0.5);
  transition: color 0.15s, border-color 0.15s;
}
.project-link:hover {
  color: var(--accent-glow);
  border-color: var(--accent-glow);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  font-size: 14px;
  min-width: 340px;
}
.contact-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, padding 0.15s, border-color 0.15s;
}
.contact-links a:hover {
  color: var(--accent-glow);
  padding-left: 10px;
  border-color: var(--border-bright);
}

.block.carousel-section {
  align-items: flex-start;
  text-align: left;
}
.block.carousel-section > .kicker,
.block.carousel-section > .display.sub {
  align-self: flex-start;
}

.carousel {
  width: 100%;
  max-width: 1320px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.carousel-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
}
.carousel-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ink-dim);
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.carousel-tab:hover {
  background: rgba(167, 139, 250, 0.08);
  color: var(--ink);
  transform: translateY(-2px);
}
.carousel-tab.is-active {
  background: rgba(167, 139, 250, 0.14);
  border-color: var(--border-bright);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(140, 80, 240, 0.28);
}
.carousel-tab.is-active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}
.carousel-tab .t-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-glow);
}
.carousel-tab .t-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
}
.carousel-tab .t-domain {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 2px;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(167, 139, 250, 0.14), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(110, 163, 255, 0.10), transparent 60%),
    linear-gradient(160deg, rgba(16, 10, 46, 0.72) 0%, rgba(7, 5, 26, 0.85) 100%);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.15, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 60px clamp(36px, 6vw, 88px) 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0.0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.1s, transform 0.55s ease 0.1s;
}
.carousel[data-active="0"] .slide:nth-child(1),
.carousel[data-active="1"] .slide:nth-child(2),
.carousel[data-active="2"] .slide:nth-child(3),
.carousel[data-active="3"] .slide:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
}

.slide-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-glow);
  text-transform: uppercase;
}
.slide-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.slide-blurb {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 720px;
  margin: 0;
}
.slide-blurb em {
  font-style: normal;
  background: rgba(167, 139, 250, 0.18);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 4px;
}

.slide-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 4px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: linear-gradient(95deg, #a78bfa 0%, #6ea3ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.slide .stack { margin-top: 4px; }
.slide .project-link { margin-top: 8px; align-self: flex-start; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: rgba(20, 12, 50, 0.7);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.carousel-arrow:hover {
  background: rgba(167, 139, 250, 0.25);
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-arrow svg { width: 22px; height: 22px; }

.carousel-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6px;
}
.carousel-counter {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
}
.carousel-counter .cc-current { color: var(--ink); }
.carousel-dots {
  display: inline-flex;
  gap: 10px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot:hover { background: rgba(167, 139, 250, 0.35); }
.dot.is-active {
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scale(1.2);
}
.carousel-hint {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; padding-bottom: 60px; }
  .hero-right { height: 380px; margin-top: 20px; }
  .tech-icon { width: 58px; height: 58px; border-radius: 14px; }
  .tech-icon > i { font-size: 28px; }
  .tech-icon > svg { width: 30px; height: 30px; }
  .main-nav { display: none; }
  .top-nav { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .research-grid { grid-template-columns: 1fr; gap: 32px; }
  .scroll-hint { bottom: 24px; }
  .tl-content { grid-template-columns: 1fr; gap: 18px; }
  .tl-logo { max-width: 240px; }

  .carousel-tabs { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .carousel-tab { padding: 12px 14px 14px; }
  .carousel-tab .t-title { font-size: 13px; }
  .slide { padding: 44px 24px 56px; gap: 18px; }
  .slide-stats { grid-template-columns: 1fr; gap: 10px; }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .carousel-hint { display: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
