:root {
  --bg: #05090f;
  --bg-2: #08121a;
  --panel: #0a1219;
  --ink: #e7f8ff;
  --muted: #a9c2d2;
  --aqua: #6feaff;
  --cyan: #27d5ff;
  --green: #78f3b9;
  --ring: 0 0 20px rgba(111, 234, 255, 0.35), 0 0 60px rgba(111, 234, 255, 0.18);
  --soft-ring: 0 0 16px rgba(111, 234, 255, 0.22);
  --maxw: 1200px;
  --header: 68px;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
  background: var(--bg);
  background-image: radial-gradient(
      1000px 600px at 70% -10%,
      #0d1e29 0%,
      transparent 60%
    ),
    radial-gradient(800px 500px at 10% 10%, #0a1620 0%, transparent 70%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Blueish under-text glow (CSS-only)
Usage: wrap the content that should have the glow with a container and add the .glow-blue class.
No layout is imposed; customize via CSS variables if needed. */

.glow-blue {
  position: relative;
  z-index: 0; /* create a new stacking context for the pseudo-element */
}

/* Elliptical cyan/blue glow behind the content */
.glow-blue::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;

  /* Position and size (tweak as needed) */
  left: var(--glow-left, -3.75rem);
  bottom: var(--glow-bottom, -3.5rem);
  width: var(--glow-width, clamp(20px, 15vw, 330px));
  height: var(--glow-height, clamp(60px, 16vw, 170px));

  /* Soft elliptical radial gradient approximating the screenshot */
  background: radial-gradient(
    ellipse 65% 35% at 55% 55%,
    rgba(63, 213, 255, 0.55) 0%,
    rgba(98, 208, 230, 0.36) 32%,
    rgba(98, 208, 230, 0.18) 58%,
    rgba(6, 16, 24, 0) 78%
  );

  /* Bloom and intensity */
  filter: blur(var(--glow-blur, 14px)) saturate(115%);
  opacity: var(--glow-opacity, 1);

  /* Improves appearance on dark backgrounds */
  mix-blend-mode: screen;

  /* Prevent subpixel jitter in some browsers */
  transform: translate3d(0, 0, 0);
}

/* Optional: subtle text glow for emphasized words.
Apply to the text element (e.g., a <strong> or <span>) if desired. */
.glow-blue-text {
  text-shadow: 0 0 8px rgba(98, 208, 230, 0.35),
    0 0 22px rgba(98, 208, 230, 0.25), 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Fallback if blend modes are undesirable (e.g., high-contrast preference) */
@media (prefers-contrast: more) {
  .glow-blue::after {
    mix-blend-mode: normal;
  }
}

/* Star field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
      1px 1px at 20% 30%,
      rgba(255, 255, 255, 0.22) 50%,
      transparent 51%
    ),
    radial-gradient(
      1px 1px at 80% 20%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 51%
    ),
    radial-gradient(
      1px 1px at 60% 70%,
      rgba(255, 255, 255, 0.16) 50%,
      transparent 51%
    ),
    radial-gradient(
      1px 1px at 30% 80%,
      rgba(255, 255, 255, 0.12) 50%,
      transparent 51%
    ),
    radial-gradient(
      1px 1px at 50% 50%,
      rgba(255, 255, 255, 0.12) 50%,
      transparent 51%
    );
  background-size: 520px 520px, 560px 560px, 600px 600px, 660px 660px,
    720px 720px;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.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;
}

/* Header */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: none;
  transition: all 0.3s ease;
}

header.scrolled {
  backdrop-filter: blur(20px) saturate(120%);
  background: linear-gradient(
    180deg,
    rgba(6, 10, 16, 0.8),
    rgba(6, 10, 16, 0.6)
  );
  border-bottom: 1px solid rgba(122, 240, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding-block: 8px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: clamp(28px, 4vw, 40px);
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 10px;
  width: 482px;
  height: 41px;
  opacity: 1;
  align-items: center;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #dffbff;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav a {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: #dffbff;
  text-decoration: none;
  opacity: 1;
}
.nav a:hover {
  opacity: 0.8;
}
.nav a.active,
.nav a:target {
  color: #dffbff;
  text-shadow: 0 0 10px rgba(63, 213, 255, 0.8),
    0 0 20px rgba(63, 213, 255, 0.4);
}
/* Hamburger Animation States */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
}

@media (max-width: 760px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(
      180deg,
      rgba(6, 10, 16, 0.95),
      rgba(6, 10, 16, 0.98)
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0;
    margin: 0;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-menu.active li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav-menu.active li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .nav-menu.active li:nth-child(4) {
    transition-delay: 0.25s;
  }
  .nav-menu.active li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .nav-menu.active li:nth-child(6) {
    transition-delay: 0.35s;
  }
  .nav-menu.active li:nth-child(7) {
    transition-delay: 0.4s;
  }

  .nav a {
    font-size: 18px;
    padding: 10px 20px;
  }
}

main {
  padding-top: 0;
}

/* Generic big slice */
section.slice {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(92vh, 960px);
  overflow: hidden;
}
.overlay {
  z-index: 10;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Hero background with Hero.png image */
.hero {
  width: 100%;
  height: 100vh;
  background: url("Hero.png") center/cover no-repeat,
    radial-gradient(
      120% 60% at 50% 100%,
      rgba(111, 234, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      120% 60% at 10% 10%,
      rgba(111, 234, 255, 0.1),
      transparent 60%
    ),
    conic-gradient(
      from 180deg at 70% 40%,
      #04131b 0 25%,
      #0a1520 0 55%,
      #04131b 0 100%
    );
  position: relative;
}
/* Glow pulse overlay to brighten luminous areas of Hero image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Hero.png") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  filter: brightness(1.25) contrast(1.1) saturate(1.15) blur(0.5px);
  animation: heroGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0.35;
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}
.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  background: url("Particles.png") center/cover no-repeat;
  animation: particleDrift 50s ease-in-out infinite;
  will-change: background-position;
}

@keyframes particleDrift {
  0% {
    background-position: 50% 52%;
  }
  50% {
    background-position: 48% 48%;
  }
  100% {
    background-position: 50% 52%;
  }
}

.eyebrow {
  display: block;
  color: #d8fbff;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.7em;
  font-weight: 700;
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
}
.elite-minds {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(20px, 4vw, 37.53px); /* scales between 20px and 37.53px */
  line-height: 1; /* matches your 100% */
  letter-spacing: clamp(0.2em, 5vw, 2.34em); /* proportional scaling */
  text-align: center;
  text-transform: uppercase;
  color: #f1feff;
  text-shadow: var(--soft-ring);
  margin: 0;
  position: relative;
  z-index: 10;
  white-space: nowrap;
  transform: scaleX(0);
  opacity: 0;
  animation: stretchOut 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes stretchOut {
  0% {
    transform: scaleX(0);
    opacity: 0;
    letter-spacing: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
    letter-spacing: clamp(0.2em, 5vw, 2.34em);
  }
}

.universe-logo {
  position: absolute;
  bottom: clamp(20px, 8vh, 80px);
  left: clamp(20px, 10vw, 121px);
  width: clamp(150px, 22vw, 264px);
  height: auto;
  opacity: 1;
  z-index: 5;
  pointer-events: none;
}

/* Responsive breakpoints for Universe logo */
@media (max-width: 768px) {
  .universe-logo {
    width: clamp(120px, 25vw, 200px);
    bottom: clamp(15px, 6vh, 60px);
    left: clamp(15px, 5vw, 80px);
  }
}

@media (max-width: 480px) {
  .universe-logo {
    width: clamp(100px, 30vw, 150px);
    bottom: clamp(10px, 4vh, 40px);
    left: clamp(10px, 3vw, 50px);
  }
}
.hero-title {
  margin: clamp(18px, 4vw, 28px) 0 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8em;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #f1feff;
  text-shadow: var(--soft-ring);
}
.hero-figure {
  width: min(560px, 80vw);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(60% 60% at 40% 40%, #0f2b3a 0%, #08131a 60%),
    radial-gradient(
      100% 100% at 60% 60%,
      rgba(76, 233, 255, 0.2),
      transparent 60%
    );
  border: 1px solid rgba(122, 240, 255, 0.14);
  box-shadow: var(--ring);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: linear-gradient(
    90deg,
    rgba(111, 234, 255, 0.35),
    rgba(111, 234, 255, 0)
  );
  transform: skewY(-8deg);
  filter: blur(8px);
  opacity: 0.45;
}

/* Intro (revamped) */
.intro {
  background: #000000;
}
.intro-wrap {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 40px) 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
/* Decorative top gradient for TECH section */
#tech {
  position: relative;
  overflow: hidden;
  background: #000000;
  padding-bottom: 0; /* let image touch the bottom edge */
}
#tech::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: clamp(160px, 26vw, 360px);
  background: url("Top_Grad.svg") top center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.intro-headline {
  font-family: "Antonio", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-size: clamp(28px, 5vw, 55.29px);
  line-height: 1;
  letter-spacing: clamp(0.05em, 0.7vw, 0.05em);
  text-transform: uppercase;
  color: #f2fdff;
  margin: 0 0 clamp(10px, 1.2vw, 14px);
}
.intro-sub {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 24.02px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: rgba(231, 248, 255, 0.9);
  margin: 0 auto clamp(20px, 3vw, 28px);
  max-width: 900px;
}
.intro-image {
  width: min(1200px, 92vw);
  height: auto;
  display: block;
  position: relative;
  left: 50%;
  top: 16%;
  /* Preserve base transform for scroll-reveal composition */
  --base-transform: translate(-50%, -15%);
  transform: translate(-50%, -15%);
  /* Crop a bit from the top */
  clip-path: inset(clamp(8px, 3vw, 40px) 0 0 0);
}

/* @media (max-width: 768px) {
  .intro-image {
    margin: 0 auto clamp(8px, 2.5vw, 16px);
  }
} */

.intro-image::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 150px;
  height: 150px;
  background: url("glow_blob.svg") center/contain no-repeat;
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes glowPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.9;
  }
}
.intro-body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.68;
  letter-spacing: 0;
  color: #e7f8ff;
  opacity: 0.9;
  max-width: 980px;
  margin: -10% auto 0 auto;
}
.intro-body p {
  margin: 0 0 clamp(12px, 2vw, 18px);
}

/* Alternating content sections */
.section {
  padding: clamp(28px, 4.5vw, 72px) 0;
  background: linear-gradient(180deg, #05090f, #08121a 60%, #05090f 100%);
}
/* TECH layout */
.tech-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
/* Anchor TECH image to the bottom of its column */
.tech-left {
  display: flex;
  align-items: flex-end;
}
@media (max-width: 980px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-left {
    order: 2;
  }
  .tech-right {
    order: 1;
  }
}
.tech-image {
  width: min(1100px, 100%);
  height: auto;
  display: block;
  margin-inline: auto;
}
.tech-logo {
  width: clamp(180px, 28vw, 360px);
  height: auto;
  display: block;
  margin: 0 0 clamp(14px, 2.2vw, 20px);
}
.tech-subtitle {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.3vw, 15.69px);
  line-height: 1;
  letter-spacing: 2.34em;
  text-transform: uppercase;
  color: rgba(231, 248, 255, 0.85);
  margin: 0 0 clamp(16px, 2vw, 20px);
}
.tech-headline {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #e7f8ff;
  margin: 0 0 clamp(14px, 2vw, 18px);
}
.tech-headline .accent {
  font-weight: 700;
  color: #ffffff;
}
.tech-body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.56;
  color: rgba(231, 248, 255, 0.88);
}
.tech-body p {
  margin: 0 0 12px;
}

/* MKT layout (text left, image right) */
.mkt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

/* MKT top divider glow */
#mkt {
  position: relative;
  background: #000000;
}
#mkt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(120px, 22vw, 280px);
  background: radial-gradient(
    50% 100% at 50% 0%,
    rgba(23, 64, 79, 0.33) 0%,
    rgba(23, 64, 79, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* GWT top divider glow */
#gwt {
  position: relative;
  background: #000000;
  padding-bottom: 0;
}
#gwt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(120px, 22vw, 280px);
  background: radial-gradient(
    50% 100% at 50% 0%,
    rgba(23, 64, 79, 0.33) 0%,
    rgba(23, 64, 79, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 980px) {
  .mkt-grid {
    grid-template-columns: 1fr;
  }
  .mkt-left {
    order: 1;
  }
  .mkt-right {
    order: 2;
  }
}
.mkt-image {
  width: min(780px, 100%);
  height: auto;
  display: block;
  margin-inline: auto;
}
.mkt-logo {
  width: clamp(180px, 28vw, 360px);
  height: auto;
  display: block;
  margin: 0 0 clamp(14px, 2.2vw, 20px);
}
.mkt-subtitle {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.3vw, 15.69px);
  line-height: 1;
  letter-spacing: 2.34em;
  text-transform: uppercase;
  color: rgba(231, 248, 255, 0.85);
  margin: 0 0 clamp(16px, 2vw, 20px);
}
.mkt-headline {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #e7f8ff;
  margin: 0 0 clamp(14px, 2vw, 18px);
}
.mkt-headline .accent {
  font-weight: 700;
  color: #ffffff;
}
.mkt-body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.56;
  color: rgba(231, 248, 255, 0.88);
}
.mkt-body p {
  margin: 0 0 12px;
}

/* GWT layout (image left, text right) */
.gwt-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.gwt-left {
  overflow: visible;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 980px) {
  .gwt-grid {
    grid-template-columns: 1fr;
  }
  .gwt-left {
    order: 2;
  }
  .gwt-right {
    order: 1;
  }
  .gwt-image {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}
.gwt-image {
  width: 115%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0;
  margin-left: -7.5%;
  margin-bottom: -4%;
  position: relative;
  z-index: 5; /* ensure image sits above overlapping hub */
}
.gwt-logo {
  width: clamp(180px, 28vw, 360px);
  height: auto;
  display: block;
  margin: 0 0 clamp(14px, 2.2vw, 20px);
}
.gwt-subtitle {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.3vw, 15.69px);
  line-height: 1;
  letter-spacing: 2.34em;
  text-transform: uppercase;
  color: rgba(231, 248, 255, 0.85);
  margin: 0 0 clamp(16px, 2vw, 20px);
}
.gwt-headline {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #e7f8ff;
  margin: 0 0 clamp(14px, 2vw, 18px);
}
.gwt-headline .accent {
  font-weight: 700;
  color: #ffffff;
}
.gwt-body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.56;
  color: rgba(231, 248, 255, 0.88);
}
.gwt-body p {
  margin: 0 0 12px;
}

/* Ensure GWT text renders above overlapping hub */
.gwt-right {
  position: relative;
  z-index: 5;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.reverse {
  grid-template-columns: 1fr 1.1fr;
}
@media (max-width: 920px) {
  .two-col,
  .reverse {
    grid-template-columns: 1fr;
  }
}

.big-tag {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.55em;
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  color: #d7f8ff;
  text-shadow: 0 0 16px rgba(111, 234, 255, 0.28);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
  font-size: 0.9rem;
  color: #b2cada;
}
.copy p {
  color: #b6cad8;
  margin: 0.2rem 0 0.6rem;
}

.visual {
  aspect-ratio: 16/10;
  border-radius: 24px;
  border: 1px solid rgba(122, 240, 255, 0.14);
  box-shadow: var(--ring);
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      60% 60% at 50% 90%,
      rgba(111, 234, 255, 0.2),
      transparent 70%
    ),
    #0c1b25;
}
/* Themed placeholders per section */
.visual.ai::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  translate: -50% -50%;
  width: 62%;
  height: 80%;
  border-radius: 48% 48% 40% 40% / 55% 55% 35% 35%;
  background: radial-gradient(60% 55% at 50% 30%, #122a38 0%, #08141b 60%);
  border: 2px solid rgba(111, 234, 255, 0.25);
  box-shadow: inset 0 0 60px rgba(111, 234, 255, 0.22);
}
.visual.mega::before {
  content: "";
  position: absolute;
  left: 58%;
  top: 55%;
  translate: -50% -50%;
  width: 66%;
  height: 56%;
  border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
  background: radial-gradient(55% 55% at 50% 40%, #0e2a38 0%, #08141b 60%);
  border: 2px solid rgba(111, 234, 255, 0.25);
  box-shadow: inset 0 0 60px rgba(111, 234, 255, 0.22);
}
.visual.growth::before {
  content: "";
  position: absolute;
  left: 30%;
  bottom: 12%;
  width: 20%;
  height: 38%;
  background: radial-gradient(
    50% 60% at 50% 0%,
    #9bfabf 0%,
    #38eaa1 30%,
    #0e2a1e 60%
  );
  clip-path: polygon(
    50% 0,
    60% 16%,
    52% 16%,
    65% 40%,
    55% 40%,
    68% 70%,
    40% 70%,
    53% 40%,
    43% 40%,
    50% 16%,
    42% 16%
  );
  filter: drop-shadow(0 0 10px rgba(120, 243, 185, 0.6));
}
.visual.growth::after {
  content: "";
  position: absolute;
  left: 52%;
  bottom: 10%;
  width: 18%;
  height: 32%;
  background: radial-gradient(
    50% 60% at 50% 0%,
    #9bfabf 0%,
    #38eaa1 30%,
    #0e2a1e 60%
  );
  clip-path: polygon(
    50% 0,
    60% 16%,
    52% 16%,
    65% 40%,
    55% 40%,
    68% 70%,
    40% 70%,
    53% 40%,
    43% 40%,
    50% 16%,
    42% 16%
  );
  filter: drop-shadow(0 0 10px rgba(120, 243, 185, 0.6));
}

/* Map hub */
.hub {
  position: relative;
  min-height: min(74vh, 720px);
  border-radius: 24px;
  border: 1px solid rgba(122, 240, 255, 0.14);
  box-shadow: var(--ring);
  overflow: hidden;
  background: radial-gradient(
      120% 120% at 70% 0%,
      rgba(39, 213, 255, 0.16),
      transparent 70%
    ),
    radial-gradient(120% 120% at 15% 60%, rgba(16, 40, 52, 0.45), #071018 70%);
}
.waves {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background: radial-gradient(
      40% 20% at 40% 35%,
      rgba(111, 234, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      40% 20% at 60% 60%,
      rgba(111, 234, 255, 0.18),
      transparent 60%
    );
  mix-blend-mode: screen;
}
.u-core {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 150px;
  height: 150px;
  border-radius: 28px 28px 80px 80px;
  border: 12px solid rgba(126, 245, 255, 0.7);
  border-top-color: transparent;
  border-right-color: transparent;
  box-shadow: 0 0 28px rgba(111, 234, 255, 0.55),
    inset 0 0 36px rgba(111, 234, 255, 0.35);
}
.diamond {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #bff8ff, #21cfff);
  box-shadow: 0 0 24px rgba(111, 234, 255, 0.8);
}
.chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(18, 34, 44, 0.7),
    rgba(10, 18, 24, 0.7)
  );
  border: 1px solid rgba(122, 240, 255, 0.18);
  color: #c9eef8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: var(--soft-ring);
}
/* positions */
.c1 {
  top: 16%;
  left: 20%;
}
.c2 {
  top: 14%;
  right: 22%;
}
.c3 {
  top: 34%;
  right: 10%;
}
.c4 {
  top: 58%;
  right: 14%;
}
.c5 {
  bottom: 14%;
  right: 22%;
}
.c6 {
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
}
.c7 {
  bottom: 18%;
  left: 18%;
}
.c8 {
  top: 56%;
  left: 10%;
}
.c9 {
  top: 34%;
  left: 6%;
}
.c10 {
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}
.pillar {
  text-align: center;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(122, 240, 255, 0.14);
  background: radial-gradient(
    100% 120% at 50% 0%,
    rgba(111, 234, 255, 0.14),
    rgba(10, 18, 24, 0.7)
  );
  box-shadow: var(--ring);
}
.icon-sphere {
  margin: 0 auto 16px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #dffbff 0%,
    #6feaff 25%,
    #1fc8ff 50%,
    #0f2b3a 68%,
    #08131a 100%
  );
  box-shadow: 0 0 28px rgba(111, 234, 255, 0.45);
}
.pillar h3 {
  margin: 4px 0 6px;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e9fbff;
}
.pillar p {
  color: #a9c1d3;
  font-size: 0.9rem;
  margin: 0;
}

/* Portfolio board */
.board {
  text-align: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(122, 240, 255, 0.14);
  background: radial-gradient(
    120% 120% at 50% 0%,
    rgba(111, 234, 255, 0.12),
    rgba(7, 16, 24, 1) 60%
  );
  box-shadow: var(--ring);
}
.board h3 {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 240, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(18, 34, 44, 0.6),
    rgba(10, 18, 24, 0.6)
  );
  color: #c3e9f7;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  box-shadow: var(--soft-ring);
}

/* HUB section */
.hub-section {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0;
  min-height: min(84vh, 860px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05090f;
  margin-top: -5%; /* overlap slightly with previous section (GWT) */
  z-index: 1;
}

@media (max-width: 768px) {
  .hub-section {
    margin-top: -30px;
  }
}
.hub-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("HUB_BACKGROUND.png") center/cover no-repeat;
  z-index: 0;
  pointer-events: none;
}
.hub-section::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("Particles.png") center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}
.hub-canvas {
  position: relative;
  width: min(900px, 90vw);
  margin: 0 auto;
  height: min(900px, 90vw);
  z-index: 2;
}
.hub-u {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 32vw, 420px);
  height: auto;
  z-index: 2;
}
.hub-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  height: 78%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}
.hub-tag {
  position: absolute;
  z-index: 3;
}
.hub-tag-outer {
  padding: 4px;
  background: rgba(5, 11, 15, 0.85);
  border-radius: 999px;
  position: relative;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease, filter 220ms ease, background 220ms ease;
}
.hub-tag-outer::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(
    circle at center,
    rgba(111, 234, 255, 0.3) 0%,
    rgba(111, 234, 255, 0.1) 50%,
    transparent 100%
  );
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}
.hub-tag-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(2, 5, 7, 0.15);
  color: #c9eef8;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: clamp(13px, 1.2vw, 15.36px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, filter 220ms ease;
}
.hub-tag-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    45deg,
    #a0a0a000,
    #a0a0a08a,
    #a0a0a08c,
    #a0a0a000
  );
  border-radius: 999px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  margin: 0;
}
.hub-icon-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.to-remove-space {
  position: relative;
  left: -1.1rem;
}
.hub-icon {
  width: 80px;
  height: 80px;
  display: block;
  position: relative;
  z-index: 1;
  transform: translateY(1px) scale(1.35);
  transform-origin: center;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}
.hub-icon-container::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(
    circle at center,
    rgba(111, 234, 255, 0.4) 0%,
    rgba(111, 234, 255, 0.2) 30%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

/* Hub tag hover effects */
.hub-tag { cursor: pointer; }
.hub-tag:hover .hub-tag-outer {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 22px rgba(111, 234, 255, 0.28), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.hub-tag:hover .hub-tag-outer::before {
  filter: blur(12px);
  opacity: 0.9;
}
.hub-tag:hover .hub-tag-inner {
  background: rgba(6, 16, 24, 0.28);
  border-color: rgba(168, 238, 255, 0.5);
  filter: saturate(112%);
}
.hub-tag:hover .hub-icon {
  transform: translateY(0) scale(1.42);
  filter: drop-shadow(0 0 10px rgba(111, 234, 255, 0.5));
}
.hub-tag:hover .hub-icon-container::after {
  opacity: 0.95;
}
@keyframes pulse-glow {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}
/* Legacy support for tags without icon container */
.hub-tag img {
  width: 55px;
  height: 40px;
  display: block;
}
/* Tag positions are computed via JS for precise placement on the ring */

/* Mobile: show icons only (hide chip styles and text) */
@media (max-width: 640px) {
  .hub-tag-outer {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: 0 !important;
  }
  .hub-tag-outer::before {
    opacity: 0.2; /* Reduce outer glow opacity on mobile */
  }
  .hub-tag-inner {
    padding: 0;
    background: transparent;
    border: 0 !important;
    box-shadow: none;
    font-size: 0; /* hide text but keep image */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hub-tag img,
  .hub-icon {
    width: 50px;
    height: 50px;
  }
  .hub-icon-container::after {
    opacity: 0.2; /* Reduce icon glow opacity on mobile */
  }
  .hub-tag-inner::before {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }
}

/* Estrategia Section */
.estrategia-section {
  background: #000000;
  padding: 4rem 0;
}
.estrategia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}
.estrategia-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: fit-content;
}
.estrategia-image {
  width: 100%;
  height: 300px;
  display: block;
  margin: 0 auto;
}
.estrategia-title {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 3.8vw, 41px);
  line-height: 1.47;
  letter-spacing: 0.1em;
  text-align: center;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    #ffffff 22.07%,
    rgba(255, 255, 255, 0.37) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 clamp(8px, 1.2vw, 12px);
}
.estrategia-arrows-wrap {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: clamp(40px, 4vw, 120px);
  display: inline-block;
}
.estrategia-arrows {
  display: block;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}
.estrategia-arrows-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(147, 243, 255, 0.0) 35%,
    rgba(147, 243, 255, 0.55) 50%,
    rgba(147, 243, 255, 0.0) 65%,
    rgba(255,255,255,0) 100%);
  mix-blend-mode: screen;
  filter: blur(6px) saturate(120%);
  transform: translateX(-120%);
  animation: arrowSweep 2.8s ease-in-out infinite;
}
@keyframes arrowSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateX(120%); opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 980px) {
  .estrategia-arrows-wrap {
    display: none;
  }
}
.estrategia-subtitle {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(16px, 2.1vw, 22.63px);
  line-height: 1.47;
  letter-spacing: 0;
  text-align: center;
  color: #ffffffbd;
  text-shadow: 0px 0px 10.39px #ffffff;
  margin: 0;
}
@media (max-width: 980px) {
  .estrategia-grid {
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 50px);
  }
}

/* Portfolio Section */
.portfolio-section {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 64px);
  background: #000000;
  overflow: hidden;
}
.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("Portfolio_Background.png") center/contain no-repeat;
  z-index: 0;
  pointer-events: none;
}
.portfolio-title {
  font-family: "Antonio", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: clamp(0.1em, 0.5vw, 0.2em);
  text-align: center;
  text-transform: uppercase;
  color: #f1feff;
  margin: 0 0 clamp(40px, 6vw, 60px);
  position: relative;
  z-index: 2;
}
.portfolio-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 3vw, 30px);
  justify-items: center;
}

/* Portfolio Tags - Based on Hub Tags but without glows */
.portfolio-tag {
  position: relative;
  z-index: 3;
  width: 200px;
}
.portfolio-tag-outer {
  padding: 4px;
  background: linear-gradient(135deg, #0c181f, transparent);
  border-radius: 999px;
  position: relative;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease, filter 220ms ease, background 220ms ease;
}
.portfolio-tag-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0px 40px;
  border-radius: 600px;
  background: radial-gradient(
    ellipse at center bottom,
    #213d4f,
    #0a1216,
    transparent
  );
  border: 1px solid rgba(168, 168, 168, 0.733);
  color: #c9eef8;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0;
  line-height: 1.469;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  border: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, filter 220ms ease;
}
.portfolio-tag-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    45deg,
    #a0a0a000,
    #a0a0a08a,
    #a0a0a08c,
    #a0a0a000
  );
  border-radius: 999px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  margin: 0;
}
.portfolio-icon {
  width: 120px;
  height: 60px;
  display: block;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

/* Portfolio tag hover effects */
.portfolio-tag { cursor: pointer; }
.portfolio-tag:hover .portfolio-tag-outer {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 20px rgba(111, 234, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.portfolio-tag:hover .portfolio-tag-inner {
  background: radial-gradient(
    ellipse at center bottom,
    #2a4d61,
    #0d1820,
    transparent
  );
  border-color: rgba(168, 238, 255, 0.4);
  filter: saturate(110%);
}
.portfolio-tag:hover .portfolio-icon {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 0 8px rgba(111, 234, 255, 0.35));
}
.portfolio-icon-small {
  width: 60px !important;
  height: 60px !important;
}
.portfolio-icon-14 {
  width: 90px !important;
}
.portfolio-icon-15 {
  width: 160px !important;
}

/* Portfolio Responsive */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2.5vw, 20px);
  }
}
@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-tag-inner {
    padding: 10px 16px;
    gap: 0;
    font-size: 0;
  }
  .portfolio-icon {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  margin-top: 0;
  padding: 28px 0 10px 0;
  border-top: 1px solid rgba(122, 240, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(6, 10, 16, 0.6),
    rgba(6, 10, 16, 0.9)
  );
  color: #a8c2d2;
  font-size: 0.9rem;
}
.foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}
.footer-universe-logo {
  width: clamp(120px, 15vw, 200px);
  height: auto;
}
.footer-copyright {
  display: flex;
  flex-direction: row;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  flex: 1;
  justify-content: center;
}
.footer-contact-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.copyright-main {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.225em;
  text-align: center;
  color: #a8c2d2;
}
.footer-contact {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: #a8c2d2;
}

.social-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .foot {
    flex-direction: column;
    gap: clamp(15px, 2.5vw, 25px);
  }
  .footer-copyright {
    flex-direction: column;
    gap: 12px;
  }
  .footer-universe-logo {
    width: clamp(100px, 12vw, 150px);
  }
  .social-icon {
    width: 40px;
    height: 40px;
  }
}

/* Scroll reveal animations (texts/images) */
.reveal {
  opacity: 0;
  filter: blur(18px) saturate(120%);
  transform: translateY(24px);
  transition-property: opacity, transform, filter;
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  filter: blur(0px) saturate(100%);
  transform: translateY(0);
}

/* Slightly different feel for imagery/cards */
.reveal-image {
  opacity: 0;
  filter: blur(20px) saturate(120%);
  transform: var(--base-transform, none) translateY(16px) scale(1.04);
  transition-property: opacity, transform, filter;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}
.reveal-image.is-visible {
  opacity: 1;
  filter: blur(0px) saturate(100%);
  transform: var(--base-transform, none) translateY(0) scale(1);
}

/* U Hub special animation (circular + blurry) */
.hub-u,
.hub-ring {
  opacity: 0;
  filter: blur(22px) saturate(115%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease, filter 0.9s ease;
}
.hub-section.hub-animate .hub-u {
  opacity: 1;
  filter: blur(0px) saturate(100%);
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.15s;
}
.hub-section.hub-animate .hub-ring {
  opacity: 1;
  filter: blur(2px) saturate(110%);
  transform: translate(-50%, -50%) rotate(0deg);
  transition-delay: 0.25s;
}

/* Animate the entire tag container (outer + inner) on reveal */
.hub-tag {
  opacity: 0;
  filter: blur(16px) saturate(120%);
  transform: var(--hub-base-transform, translate(-50%, -50%));
}
.hub-section.hub-animate .hub-tag {
  animation: hubTagRevealWhole 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: var(--hub-delay, 0s);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-image,
  .hub-u,
  .hub-ring,
  .hub-tag,
  .hub-tag-inner {
    transition: none !important;
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@keyframes hubTagRevealWhole {
  0% {
    opacity: 0;
    filter: blur(16px) saturate(120%);
    transform: var(--hub-base-transform, translate(-50%, -50%)) translate(6px, -6px) rotate(2deg) scale(0.98);
  }
  60% {
    opacity: 1;
    filter: blur(6px) saturate(112%);
    transform: var(--hub-base-transform, translate(-50%, -50%)) translate(-4px, 4px) rotate(-1.5deg) scale(1.01);
  }
  100% {
    opacity: 1;
    filter: blur(0px) saturate(100%);
    transform: var(--hub-base-transform, translate(-50%, -50%)) translate(0px, 0px) rotate(0deg) scale(1);
  }
}