/* Production UI layer for Tailwind utility composition and custom animation hooks. */
html {
  scroll-padding-top: 6rem;
  scroll-snap-type: y mandatory;
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

footer {
  scroll-snap-align: start;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.grid-mask {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}

.site-scrolled {
  border-color: rgba(60, 231, 255, .22);
  background: rgba(4, 7, 13, .92);
}

header[data-header] > div {
  padding-top: 1.02rem;
  padding-bottom: 1.02rem;
}

header[data-header] .logo-orbit {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

header[data-header] .logo-orbit img {
  width: auto;
  height: 4.5rem;
  max-width: none;
  object-fit: contain;
}

header[data-header] .font-display {
  font-size: 1.16rem;
}

.logo-orbit::before {
  content: "";
  position: absolute;
  display: none;
}

.nav-link,
.mobile-link {
  min-height: 3.05rem;
  display: inline-grid;
  place-items: center;
  border-radius: .5rem;
  color: rgba(226, 232, 240, .7);
  font-size: .94rem;
  font-weight: 800;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.nav-link {
  padding-inline: .85rem;
}

.mobile-link {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding-inline: .75rem;
  text-align: center;
  line-height: 1.2;
}

footer img[alt="ABAAM GENIPIX logo"] {
  width: auto;
  height: 4.75rem;
  max-width: none;
  object-fit: contain;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover {
  color: white;
  background: rgba(60, 231, 255, .11);
}

/* Social bar — scripts/social.txt */
.footer-social-card {
  display: flex;
  height: 70px;
  width: min(320px, 100%);
}

.footer-social-card svg {
  position: absolute;
  display: flex;
  width: 60%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.25s;
  z-index: 2;
  padding: 0.25rem;
  cursor: pointer;
  fill: #fff;
}

.footer-social-card .social-link1,
.footer-social-card .social-link2,
.footer-social-card .social-link3,
.footer-social-card .social-link4 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  color: whitesmoke;
  font-size: 24px;
  text-decoration: none;
  transition: 0.25s;
  border-radius: 50px;
}

.footer-social-card .social-link1:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  animation: bounce_social 0.4s linear;
}

.footer-social-card .social-link2:hover {
  background-color: #0a66c2;
  animation: bounce_social 0.4s linear;
}

.footer-social-card .social-link3:hover {
  background-color: #ff0000;
  animation: bounce_social 0.4s linear;
}

.footer-social-card .social-link4:hover {
  background-color: #25d366;
  animation: bounce_social 0.4s linear;
}

@keyframes bounce_social {
  40% { transform: scale(1.4); }
  60% { transform: scale(0.8); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.menu-line {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform .25s ease;
}

.neon-btn,
.glass-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: .5rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.neon-btn {
  color: #03121a;
  background: linear-gradient(135deg, #3ce7ff, #6dffd4 52%, #ffd166);
  box-shadow: 0 0 28px rgba(60, 231, 255, .34), 0 18px 60px rgba(0,0,0,.35);
}

.neon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.neon-btn:hover,
.glass-btn:hover {
  transform: translateY(-2px);
}

.neon-btn:hover::before {
  transform: translateX(120%);
}

.glass-btn {
  border: 1px solid rgba(255,255,255,.13);
  color: white;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
}

/* Homepage share widget from scripts/share.txt */
.hero-share-wrap {
  margin-left: clamp(2rem, 4vw, 3.5rem);
}

.tooltip-container {
  background: rgb(3, 169, 244);
  background: linear-gradient(138deg, rgb(0, 0, 0) 15%, rgb(0, 31, 46) 65%);
  position: relative;
  cursor: pointer;
  font-size: 17px;
  padding: 0.7em 0.7em;
  border-radius: 50px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.tooltip-container:hover {
  background: #fff;
  transition: all 0.9s;
}

.tooltip-container .text {
  display: flex;
  align-items: center;
  justify-content: center;
  fill: #fff;
  transition: all 0.2s;
}

.tooltip-container a {
  text-decoration: none;
  color: inherit;
}

.tooltip-container:hover .text {
  fill: rgb(0, 0, 0);
  transition: all 0.9s;
}

.tooltip1 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  background: #000000;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip1 {
  top: 150%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  border-radius: 50px;
  transform: translate(-50%, -5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip1:hover {
  background: #03a9f4;
  fill: #fff;
}

.tooltip2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip2 {
  top: -120%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(-50%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip2:hover {
  background: #001722;
  fill: #fff;
}

.tooltip3 {
  position: absolute;
  top: 100%;
  left: 60%;
  transform: translateX(80%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip3 {
  top: 10%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(85%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip3:hover {
  background: #1db954;
  fill: #000000;
}

.tooltip4 {
  position: absolute;
  top: 100%;
  left: -190%;
  transform: translateX(70%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip4 {
  top: 10%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(70%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip4:hover {
  background: #8c9eff;
  fill: #fff;
}

.tooltip5 {
  position: absolute;
  top: 100%;
  left: -145%;
  transform: translateX(70%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip5 {
  top: -78%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(70%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip5:hover {
  background: #bd081c;
  fill: #fff;
}

.tooltip6 {
  position: absolute;
  top: 100%;
  left: 35%;
  transform: translateX(70%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip6 {
  top: -79%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(70%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip6:hover {
  background: #ea4c89;
  fill: #fff;
}

.tooltip7 {
  position: absolute;
  top: 100%;
  left: 39%;
  transform: translateX(70%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip7 {
  top: 104%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(70%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip7:hover {
  background: #000;
  fill: #fff;
}

.tooltip8 {
  position: absolute;
  top: 100%;
  left: -150%;
  transform: translateX(70%);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  fill: #001722;
  padding: 10px;
  border-radius: 50px;
  transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tooltip-container:hover .tooltip8 {
  top: 101%;
  opacity: 1;
  visibility: visible;
  background: #fff;
  transform: translate(70%, -5px);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooltip-container:hover .tooltip8:hover {
  background: #ff4500;
  fill: #fff;
}

.tooltip9 {
  position: absolute;
  top: 0;
  left: -115%;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  height: 150px;
  z-index: -1;
}

.tooltip-container:hover .tooltip9 {
  top: -110%;
  opacity: 1;
  visibility: visible;
  border-radius: 50%;
  z-index: -1;
}

.glass-panel {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 28px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(22px);
}

.orb-ring {
  position: absolute;
  inset: 50%;
  width: 14.7rem;
  height: 14.7rem;
  margin: -7.35rem;
  border: 1px solid rgba(60,231,255,.24);
  border-radius: 42% 58% 52% 48%;
  animation: spinning82341 13s linear infinite;
}

.orb-ring.two {
  width: 16.2rem;
  height: 16.2rem;
  margin: -8.1rem;
  border-color: rgba(255,79,216,.18);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-quickline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background:
    linear-gradient(90deg, rgba(60,231,255,.08), rgba(255,79,216,.05), rgba(255,209,102,.05)),
    rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
}

.hero-quickline-orb {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 5.4rem;
  height: 5.4rem;
}

.hero-quickline-orb img {
  position: relative;
  z-index: 2;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  object-fit: cover;
  box-shadow: 0 0 34px rgba(60,231,255,.26);
}

.hero-quickline-copy {
  min-width: 0;
  flex: 1;
}

.hero-quickline-label {
  margin: 0 0 .45rem;
  color: #6dffd4;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-quickline-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}

.hero-quickline-pills span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .5rem;
  background: rgba(0,0,0,.2);
  padding: .65rem .6rem;
  text-align: center;
}

.hero-quickline-pills strong {
  display: block;
  color: #ffd166;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1;
}

.hero-quickline-pills span {
  color: rgb(148 163 184);
  font-size: .64rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-quickline-pills em {
  color: rgb(148 163 184);
  font-style: normal;
  font-size: .64rem;
  font-weight: 800;
  line-height: 1.15;
}

.scanline {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(60,231,255,.18), transparent);
  animation: scan 5s linear infinite;
}

.animated-gradient {
  color: transparent;
  background: linear-gradient(90deg, #3ce7ff, #ff4fd8, #ffd166, #6dffd4);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientText 7s ease infinite;
}

.typed-slot {
  display: inline-block;
  width: min(6.8em, 100%);
  color: white;
  white-space: nowrap;
  vertical-align: baseline;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.marquee-track {
  animation: marquee 22s linear infinite;
}

.section-shell {
  width: min(calc(100% - 2.5rem), 80rem);
  margin-inline: auto;
  padding-block: clamp(4.75rem, 8vw, 7rem);
  min-height: 100vh;
}

.section-wide {
  width: 100%;
  padding: clamp(4.75rem, 8vw, 7rem) max(1.25rem, calc((100vw - 80rem) / 2));
  border-block: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(90deg, rgba(60,231,255,.08), rgba(255,79,216,.05), rgba(255,209,102,.05));
  min-height: 100vh;
}

#portfolio-section.section-wide {
  padding-top: 1.2rem;
}

.page-hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  padding: 9rem max(1.25rem, calc((100vw - 80rem) / 2)) 4rem;
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .54;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,7,13,.98), rgba(4,7,13,.68), rgba(4,7,13,.18)),
    linear-gradient(0deg, #04070d 0%, rgba(4,7,13,.28) 58%, rgba(4,7,13,.58) 100%);
}

.section-kicker {
  margin-bottom: 1rem;
  color: #6dffd4;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy {
  margin-top: 1.25rem;
  color: rgb(203 213 225);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.stat-row,
.metric-card,
.parallax-card,
.team-card {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 70px rgba(0,0,0,.24);
}

.stat-row {
  padding: 1rem;
}

.stat-row strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.55rem;
}

.stat-row span {
  color: rgb(148 163 184);
}

.metric-card {
  min-height: 10rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.metric-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(60,231,255,.1);
  border: 1px solid rgba(60,231,255,.22);
  border-radius: .5rem;
  color: #3ce7ff;
  margin-bottom: .65rem;
}

.metric-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card b {
  display: block;
  color: #ffd166;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.metric-card span {
  color: rgb(200 216 232);
  font-weight: 800;
  margin-top: .25rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.95);
}

.image-frame {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 1s ease, filter 1s ease;
}

.image-frame:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.08);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4,7,13,.78));
  pointer-events: none;
}

.chip {
  display: inline-flex;
  border: 1px solid rgba(109, 255, 212, .2);
  border-radius: .5rem;
  background: rgba(109, 255, 212, .09);
  padding: .7rem .85rem;
  color: #d7fff5;
  font-size: .8125rem;
  font-weight: 900;
}

.parallax-card {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  padding: 1.45rem;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .25s ease, box-shadow .25s ease;
}

.parallax-card::after {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.82) 55%, rgba(0,0,0,.94));
  pointer-events: none;
  border-radius: 0 0 .5rem .5rem;
}

.parallax-card span,
.parallax-card h3,
.parallax-card p {
  position: relative;
  z-index: 1;
}

.journey-card,
.module-detail-card,
.week-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 84px rgba(0,0,0,.28);
}

.journey-card {
  display: grid;
  grid-template-columns: minmax(0, .46fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
}

.journey-card::before,
.module-detail-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .2rem;
  background: linear-gradient(#3ce7ff, #ff4fd8, #ffd166);
}

.journey-card h3,
.module-detail-card h3,
.week-card h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 700;
}

.journey-card p,
.module-detail-card p,
.week-card p {
  color: rgb(203 213 225);
  line-height: 1.75;
}

.detail-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
  color: rgb(148 163 184);
  line-height: 1.65;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7rem;
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: #6dffd4;
  box-shadow: 0 0 16px rgba(109,255,212,.7);
}

.module-detail-card {
  padding: 1.5rem;
}

.module-detail-card .module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0;
}

.module-detail-card .module-meta span {
  border: 1px solid rgba(60,231,255,.2);
  border-radius: .5rem;
  background: rgba(60,231,255,.08);
  padding: .45rem .65rem;
  color: #dffbff;
  font-size: .75rem;
  font-weight: 900;
}

.week-card {
  padding: 1.25rem;
}

.week-card strong {
  display: inline-flex;
  margin-bottom: .75rem;
  color: #ffd166;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.component-player {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  padding: 1rem;
}

.component-player .bar {
  height: .45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.component-player .bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3ce7ff, #ff4fd8, #ffd166);
  box-shadow: 0 0 18px rgba(60,231,255,.35);
}

.loading-percent {
  color: #6dffd4;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: .04em;
}

.pipeline-inline {
  max-width: 34rem;
}

.bouncy-dots {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}

.bouncy-dots span {
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: #6dffd4;
  animation: dotBounce .75s alternate infinite ease;
}

.bouncy-dots span:nth-child(2) { animation-delay: .15s; }
.bouncy-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes dotBounce {
  from { transform: translateY(.25rem) scaleX(1.25); opacity: .45; }
  to { transform: translateY(-.25rem) scaleX(1); opacity: 1; }
}

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

.parallax-card:hover {
  border-color: rgba(60,231,255,.34);
  box-shadow: 0 0 34px rgba(60,231,255,.14), 0 26px 90px rgba(0,0,0,.34);
}

.parallax-card span {
  color: #3ce7ff;
  font-weight: 900;
}

.parallax-card h3,
.team-card h3 {
  margin-top: 2rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0,0,0,.95);
}

.parallax-card p,
.team-card p {
  margin-top: .9rem;
  color: rgb(148 163 184);
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
}

.work-button {
  width: 100%;
  min-height: 4.75rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background: rgba(255,255,255,.05);
  padding: 1rem;
  color: white;
  text-align: left;
  font-weight: 900;
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.work-button:hover,
.work-button.selected {
  transform: translateX(.35rem);
  border-color: rgba(255,209,102,.42);
  background: linear-gradient(90deg, rgba(255,209,102,.11), rgba(60,231,255,.08));
}

.work-button span {
  display: block;
  margin-top: .35rem;
  color: rgb(148 163 184);
  font-size: .82rem;
}

.team-card {
  min-height: 14rem;
  padding: 1.35rem;
}

.team-card h3 {
  margin-top: 0;
}

.team-card span {
  display: block;
  margin-top: .6rem;
  color: #ff4fd8;
  font-weight: 900;
}

/* ── FAQ Chat Widget ───────────────────────────────────────────── */
.faq-chat-wrapper {
  max-width: 38rem;
  margin-inline: auto;
}

.faq-chat-card {
  background: #08111f;
  border: 1px solid rgba(60,231,255,.18);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(60,231,255,.06), 0 24px 60px rgba(0,0,0,.45);
}

.faq-chat-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid rgba(60,231,255,.12);
  background: rgba(4,7,13,.7);
}

.faq-bot-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(60,231,255,.22), rgba(255,79,216,.22));
  border: 1px solid rgba(60,231,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-bot-name {
  font-weight: 900;
  font-size: .9rem;
  color: #3ce7ff;
  letter-spacing: .04em;
}

.faq-bot-status {
  font-size: .72rem;
  color: #6dffd4;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .1rem;
}

.faq-bot-status::before {
  content: '';
  display: inline-block;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #6dffd4;
  animation: faq-pulse-dot 2s infinite;
}

.faq-chat-body {
  min-height: 13rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  overflow: hidden;
}

.faq-msg {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  animation: faq-msg-in .3s ease both;
}

.faq-msg.user {
  flex-direction: row-reverse;
}

.faq-msg-avatar {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
}

.faq-msg.user .faq-msg-avatar {
  background: rgba(255,79,216,.15);
  border: 1px solid rgba(255,79,216,.35);
  color: #ff4fd8;
}

.faq-msg.bot .faq-msg-avatar {
  background: rgba(60,231,255,.12);
  border: 1px solid rgba(60,231,255,.3);
  color: #3ce7ff;
}

.faq-bubble {
  max-width: 82%;
  padding: .65rem .95rem;
  border-radius: .9rem;
  font-size: .875rem;
  line-height: 1.6;
}

.faq-msg.user .faq-bubble {
  background: rgba(255,79,216,.13);
  border: 1px solid rgba(255,79,216,.22);
  color: #fff;
  border-bottom-right-radius: .2rem;
}

.faq-msg.bot .faq-bubble {
  background: rgba(60,231,255,.07);
  border: 1px solid rgba(60,231,255,.18);
  color: rgb(203 213 225);
  border-bottom-left-radius: .2rem;
}

.faq-typing-row {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
}

.faq-typing-bubble {
  padding: .6rem .95rem;
  background: rgba(60,231,255,.07);
  border: 1px solid rgba(60,231,255,.18);
  border-radius: .9rem;
  border-bottom-left-radius: .2rem;
  display: flex;
  gap: .28rem;
  align-items: center;
}

.faq-typing-dot {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #3ce7ff;
  animation: faq-typing-bounce .9s infinite;
}

.faq-typing-dot:nth-child(2) { animation-delay: .15s; }
.faq-typing-dot:nth-child(3) { animation-delay: .3s; }

.faq-chat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  border-top: 1px solid rgba(60,231,255,.1);
  background: rgba(4,7,13,.4);
}

.faq-nav-btn {
  background: none;
  border: 1px solid rgba(60,231,255,.25);
  color: #3ce7ff;
  border-radius: .45rem;
  padding: .22rem .65rem;
  font-size: .8rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  line-height: 1.4;
}

.faq-nav-btn:hover {
  background: rgba(60,231,255,.1);
  border-color: rgba(60,231,255,.5);
}

.faq-nav-dots {
  display: flex;
  gap: .45rem;
  align-items: center;
}

.faq-dot {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: rgba(60,231,255,.22);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}

.faq-dot.active {
  background: #3ce7ff;
  transform: scale(1.45);
}

.faq-dot:hover:not(.active) {
  background: rgba(60,231,255,.5);
}

@keyframes faq-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes faq-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

@keyframes faq-pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.field {
  display: grid;
  gap: .5rem;
  color: rgb(148 163 184);
  font-size: .82rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: .5rem;
  background: rgba(0,0,0,.26);
  padding: .95rem;
  color: white;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #3ce7ff;
  box-shadow: 0 0 0 3px rgba(60,231,255,.12);
}

.social-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-weight: 900;
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(60,231,255,.35);
  color: #3ce7ff;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-snap-type: none;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(calc(100% - 1.5rem), 80rem);
  }

  .section-wide {
    padding-inline: .75rem;
  }

  .image-frame {
    min-height: 18rem;
  }

  /* Shrink hero h1 minimum so typed text doesn't spill */
  h1.font-display {
    font-size: clamp(2.35rem, 10vw, 7.9rem) !important;
  }

  .hero-line-1,
  .hero-line-2,
  .hero-line-3 {
    display: block;
  }

  .hero-line-3.typed-slot {
    display: block;
    width: auto;
    min-height: 0;
    white-space: nowrap;
  }

  .hero-share-wrap {
    margin-left: 0;
  }

  /* Portfolio track: 2×2 grid on narrow screens */
  .pf-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .pf-track-btn {
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .pf-track-btn:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.06);
  }

  .pf-track-btn:nth-child(even) {
    border-right: none;
  }

  .pf-track-btn:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 1023px) {
  html {
    scroll-snap-type: none;
  }

  section,
  footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .grid-mask {
    opacity: .28 !important;
  }

  /* Lighten hero overlay on mobile so colors don't look crushed/blackish */
  main#home > section:first-of-type > div.absolute.inset-0 > div.absolute.inset-0 {
    background: linear-gradient(90deg, rgba(4,7,13,.78) 0%, rgba(4,7,13,.52) 45%, rgba(4,7,13,.12) 100%), linear-gradient(0deg, #04070d 0%, rgba(4,7,13,.15) 45%, rgba(4,7,13,.35) 100%) !important;
  }

  .cursor-glow {
    display: none !important;
  }

  .typed-slot {
    display: block;
    width: 100%;
    min-height: .95em;
    white-space: normal;
  }

  .hero-quickline {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-quickline-orb {
    margin-inline: auto;
  }

  .journey-card {
    grid-template-columns: 1fr;
  }
}

/* ── Contact profile cards (team section) ──────────────────────── */
.card {
  width: 280px;
  height: 280px;
  background: #08111f;
  border-radius: 32px;
  padding: 3px;
  position: relative;
  box-shadow: rgba(60,231,255,.15) 0px 70px 30px -50px;
  transition: all 0.5s ease-in-out;
}

.card .mail {
  position: absolute;
  right: 2rem;
  top: 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.card .mail svg {
  stroke: rgba(60,231,255,.5);
  stroke-width: 3px;
}

.card .mail svg:hover {
  stroke: #3ce7ff;
}

.card .profile-pic {
  position: absolute;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  top: 3px;
  left: 3px;
  border-radius: 29px;
  z-index: 1;
  border: 0px solid #3ce7ff;
  overflow: hidden;
  transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.card .profile-pic img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -o-object-position: 0px 0px;
  object-position: 0px 0px;
  transition: all 0.5s ease-in-out 0s;
}

.card .bottom {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  background: #0d1f3a;
  top: 80%;
  border-radius: 29px;
  z-index: 2;
  box-shadow: rgba(60,231,255,.08) 0px 5px 5px 0px inset;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.card .bottom .content {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 160px;
}

.card .bottom .content .name {
  display: block;
  font-size: 1.2rem;
  color: #3ce7ff;
  font-weight: bold;
}

.card .bottom .content .about-me {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  margin-top: .5rem;
  line-height: 1.4;
}

.card .bottom .bottom-bottom {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card .bottom .bottom-bottom .social-links-container {
  display: flex;
  gap: 1rem;
}

.card .bottom .bottom-bottom .social-links-container svg {
  height: 20px;
  fill: rgba(255,255,255,.8);
  filter: drop-shadow(0 5px 5px rgba(60,231,255,.08));
  transition: fill .2s, transform .2s;
}

.card .bottom .bottom-bottom .social-links-container svg:hover {
  fill: #3ce7ff;
  transform: scale(1.2);
}

.card .bottom .bottom-bottom .button {
  background: #3ce7ff;
  color: #04070d;
  border: none;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  box-shadow: rgba(60,231,255,.2) 0px 5px 5px 0px;
  transition: background .2s, color .2s;
}

.card .bottom .bottom-bottom .button:hover {
  background: #ff4fd8;
  color: white;
}

.card:hover {
  border-top-left-radius: 55px;
}

.card:hover .bottom {
  top: 20%;
  border-radius: 80px 29px 29px 29px;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.card:hover .profile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 3;
  border: 7px solid #3ce7ff;
  box-shadow: rgba(60,231,255,.2) 0px 5px 5px 0px;
  transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.card:hover .profile-pic:hover {
  transform: scale(1.3);
  border-radius: 0px;
}

.card:hover .profile-pic img {
  transform: scale(1.6);
  -o-object-position: center 8%;
  object-position: center 8%;
  transition: all 0.5s ease-in-out 0.5s;
}

/* ── Sci-fi Course Timeline ─────────────────────────────────────── */
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tl-rgb), .45), 0 0 14px rgba(var(--tl-rgb), .5); }
  50%       { box-shadow: 0 0 0 7px rgba(var(--tl-rgb), 0),  0 0 26px rgba(var(--tl-rgb), .9); }
}

.course-timeline {
  margin-top: 2.5rem;
}

.timeline-rail {
  position: relative;
  display: flex;
  padding: 0 .5rem 1rem;
}

.timeline-rail::before {
  content: '';
  position: absolute;
  left: .5rem;
  right: .5rem;
  top: 2.6rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(60,231,255,.7) 8%,
    rgba(255,79,216,.55) 30%,
    rgba(255,209,102,.55) 52%,
    rgba(109,255,212,.55) 74%,
    rgba(60,231,255,.7) 92%,
    transparent
  );
}

.tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
  padding: 0 .2rem;
  cursor: default;
}

.tl-month {
  display: block;
  margin-bottom: .5rem;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tl-color, #3ce7ff);
  font-family: 'Space Grotesk', sans-serif;
}

.tl-dot {
  position: relative;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #04070d;
  border: 2px solid var(--tl-color, #3ce7ff);
  box-shadow: 0 0 12px var(--tl-color, rgba(60,231,255,.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem;
  font-weight: 900;
  color: var(--tl-color, #3ce7ff);
  animation: tl-pulse 3s ease-in-out infinite;
  transition: background .3s, color .3s, transform .3s;
}

.tl-node:hover .tl-dot {
  background: var(--tl-color, #3ce7ff);
  color: #04070d;
  transform: scale(1.18);
  animation: none;
}

.tl-info {
  margin-top: .7rem;
  text-align: center;
  padding: 0 .1rem;
  overflow: hidden;
}

.tl-info strong {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.tl-info span {
  display: block;
  margin-top: .2rem;
  font-size: .6rem;
  color: rgba(255,255,255,.4);
  line-height: 1.35;
  overflow-wrap: break-word;
}

/* ── Portfolio Video Carousel ────────────────────────────────── */
.portfolio-carousel {
  border-radius: 1rem;
  overflow: hidden;
  background: #08111f;
  border: 1px solid rgba(60,231,255,.15);
  box-shadow: 0 0 60px rgba(60,231,255,.05), 0 24px 70px rgba(0,0,0,.5);
}

.pf-slides {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #04070d;
}

.pf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events: none;
}

.pf-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.pf-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  pointer-events: none;
}

.pf-caption h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.pf-caption em {
  display: block;
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3ce7ff;
  margin-bottom: .35rem;
}

.pf-prev,
.pf-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(60,231,255,.3);
  color: #3ce7ff;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-size: 1.1rem;
  line-height: 1;
}

.pf-prev { left: .9rem; }
.pf-next { right: .9rem; }

.pf-prev:hover,
.pf-next:hover {
  background: rgba(60,231,255,.18);
  border-color: rgba(60,231,255,.65);
}

.pf-nav {
  display: flex;
  gap: .45rem;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  border-top: 1px solid rgba(60,231,255,.1);
}

.pf-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: rgba(60,231,255,.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .22s, transform .22s;
}

.pf-dot.active {
  background: #3ce7ff;
  transform: scale(1.45);
}

.pf-dot:hover:not(.active) {
  background: rgba(60,231,255,.5);
}

.pf-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(60,231,255,.08);
}

.pf-track-btn {
  background: none;
  border: none;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: .75rem .65rem;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
  color: rgb(148 163 184);
}

.pf-track-btn:last-child { border-right: none; }

.pf-track-btn.active {
  background: rgba(60,231,255,.07);
  color: #3ce7ff;
}

.pf-track-btn:hover:not(.active) {
  background: rgba(60,231,255,.04);
}

.pf-track-btn span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-track-btn em {
  display: block;
  font-style: normal;
  font-size: .67rem;
  color: rgba(255,255,255,.32);
  margin-top: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-track-btn.active em { color: rgba(60,231,255,.55); }

.journey-card-img {
  display: block;
  width: 100%;
  max-height: 9rem;
  object-fit: cover;
  border-radius: .4rem;
  border: 1px solid rgba(255,255,255,.08);
  margin-top: .85rem;
  opacity: .85;
  transition: opacity .3s;
}

.journey-card:hover .journey-card-img {
  opacity: 1;
}
