@font-face {
  font-family: 'Darius';
  src: url('fonts/bwdarius-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('fonts/graphik-extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('fonts/graphik-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('fonts/graphik-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src: url('fonts/graphik-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: clamp(4px, calc(100vw / 375 * 4), 4.5px);
  background-color: #060b18;
  color: #ffffff;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 155px;
  overscroll-behavior-y: none;
}

@media (min-width: 850px) {
  html {
    font-size: clamp(11px, calc(100vw / 1920 * 16), 14px);
  }
}

body {
  background-color: #060b18;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   WEBGL CANVAS BACKGROUND (EXACT DNA CAPITAL)
   ========================================================================== */
canvas.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  background: url('images/video-poster.jpg') center / cover no-repeat;
  filter: saturate(1.18) contrast(1.06);
  z-index: 0;
  pointer-events: none;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(5, 5, 8, 0.28) 0%, rgba(5, 5, 8, 0.7) 100%);
}

.page {
  position: relative;
  z-index: 3;
  overflow: hidden;
}

/* ==========================================================================
   THREEUI DARK GLASS PULSE HEADER (.navbar-2 + .section-button)
   ========================================================================== */
.navbar-2 {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 980px;
  z-index: 1000;
  background: rgba(10, 12, 18, 0.58);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}

.navbar-2_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.navbar-2_menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ThreeUI Rectangle Button (White Pill with Black Text) */
.section-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #101010;
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.section-button--brand {
  font-size: 15.5px;
  font-weight: 600;
  color: #101010;
  padding: 0 24px;
}

.section-button::before,
.section-button::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.section-button::before {
  z-index: 1;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.section-button::after {
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 1;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.section-button__title {
  position: relative;
  z-index: 4;
  color: #101010;
  text-shadow: none;
  transition: color 0.2s ease;
}

.section-button__circle {
  position: absolute;
  z-index: 3;
  top: calc(50% - 90px);
  left: calc(50% - 90px);
  width: 180px;
  height: 180px;
  pointer-events: none;
}

.section-button__circle::before,
.section-button__circle::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  content: "";
}

/* Continuous revolving & breathing blue-tinted inner pulse inside white pill */
.section-button__circle::before {
  background: conic-gradient(
    from 180deg,
    rgba(33, 138, 255, 0) 120deg,
    rgba(33, 138, 255, 0.22) 240deg,
    rgba(100, 190, 255, 0.45) 360deg
  );
  filter: blur(13px);
  animation: section-button-circle 3.4s linear infinite;
  animation-delay: var(--pulse-delay, 0s);
  transition: opacity 0.45s ease;
}

/* Secondary inner core heartbeat pulse + hover bloom */
.section-button__circle::after {
  inset: 22px;
  background: radial-gradient(circle, rgba(33, 138, 255, 0.35) 0%, rgba(120, 195, 255, 0.22) 42%, rgba(255, 255, 255, 0) 70%);
  filter: blur(6px);
  animation: section-button-pulse 2.6s ease-in-out infinite;
  animation-delay: var(--pulse-delay, 0s);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-button:hover {
  color: #218AFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.section-button:hover .section-button__title {
  color: #218AFF;
}

.section-button:hover::before {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(33, 138, 255, 0.2);
}

.section-button:hover::after {
  border-color: rgba(33, 138, 255, 0.35);
}

.section-button:hover .section-button__circle::after {
  opacity: 1;
  transform: scale(1.22);
}

.section-button:active {
  transform: scale(0.97);
}

@keyframes section-button-circle {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-26px, 4px) rotate(90deg); }
  50% { transform: translate(0, -4px) rotate(180deg); }
  75% { transform: translate(26px, 4px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes section-button-pulse {
  0%, 100% {
    opacity: 0.38;
    transform: scale(0.62);
  }
  50% {
    opacity: 0.88;
    transform: scale(0.96);
  }
}

.navbar-2_toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.navbar-2_toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #ffffff;
  transition: transform 0.25s ease;
}

@media (max-width: 960px) {
  .navbar-2 {
    padding: 6px 8px;
  }
  .section-button {
    font-size: 13.5px;
    height: 40px;
    padding: 0 15px;
  }
}

@media (max-width: 849px) {
  .navbar-2_menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(12, 14, 22, 0.92);
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 14px;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
  .navbar-2_menu .section-button {
    width: 100%;
  }
  .navbar-2.is-open .navbar-2_menu {
    display: flex;
  }
  .navbar-2_toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   DNA CAPITAL TYPOGRAPHY & HEADINGS (DARIUS + GRAPHIK + TITLE SPOTLIGHT)
   ========================================================================== */
.heading-a,
.heading-b,
.heading-c {
  font-family: 'Darius', Georgia, serif;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.heading-a {
  font-size: 9.06667rem;
  line-height: 1.18em;
}

.heading-b {
  font-size: 6.5rem;
  line-height: 1.25em;
}

.heading-c {
  font-size: 7.2rem;
  line-height: 1.22em;
}

@media (min-width: 850px) {
  .heading-a {
    font-size: 3.4375rem;
    line-height: 1.25em;
  }
  .heading-b {
    font-size: 3.125rem;
    line-height: 1.25em;
  }
  .heading-c {
    font-size: 3.125rem;
    line-height: 1.22em;
  }
}

.title .lines-mask {
  padding-bottom: 0.18em;
  overflow: hidden;
  display: block;
}

.title .lines {
  display: block;
  will-change: transform;
  color: #ffffff;
  -webkit-text-fill-color: transparent;
  background-color: #ffffff;
  background-image: url('images/title-background.webp');
  background-repeat: no-repeat;
  background-position: 65% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: -0.18em;
  padding-bottom: 0.18em;
}

.body p {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  color: #c0c9df;
  font-size: 4rem;
  line-height: 1.65em;
  margin-bottom: 4rem;
}

.body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 850px) {
  .body p {
    font-size: clamp(16px, 1.25rem, 17.5px);
    line-height: 1.65em;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   DNA CAPITAL BUTTON (data-v-ab417ec7 EXACT REPLICA)
   ========================================================================== */
.dna-button {
  display: inline-block;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 4px;
  min-width: 40rem;
  padding: 20px 24px 18px;
  font-size: 2.93333rem;
  font-weight: 500;
  position: relative;
  transition: background-color 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (min-width: 850px) {
  .dna-button {
    min-width: 11.5rem;
    padding: 1.5625rem 2rem 1.375rem;
    font-size: 0.875rem;
  }
}

.dna-button .outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

.dna-button .outline__line {
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
  stroke-width: 2px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
}

.dna-button .outline__line.blue {
  stroke: #1954ec;
}

.dna-button.light .outline__line.blue,
.dna-button .outline__line.white {
  stroke: #ffffff;
}

.dna-button.light .outline__line.white {
  stroke: #46cdff;
}

.dna-button .outline__line:nth-child(2),
.dna-button .outline__line:nth-child(4) {
  transform-origin: 50% 50%;
  transform: rotate(180deg);
}

/* ==========================================================================
   SECTION SPACING (DNA CAPITAL EXACT)
   ========================================================================== */
.section-about,
.section-science,
.section-team,
.section-approach {
  position: relative;
  margin-bottom: 20rem;
}

@media (min-width: 850px) {
  .section-about,
  .section-science,
  .section-team,
  .section-approach {
    margin-bottom: 10rem;
  }
}

.section__content {
  width: 100%;
  position: relative;
}



/* ==========================================================================
   SECTION 1: HERO (.section-header data-v-34eb0463)
   ========================================================================== */
.section-header {
  position: relative;
  text-align: left;
  margin-bottom: 0;
}

.hero-petals {
  position: fixed;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero-petal {
  position: absolute;
  top: -48px;
  left: var(--petal-left);
  width: var(--petal-size);
  aspect-ratio: 1;
  opacity: 0;
  animation: hero-petal-fall var(--petal-duration) linear var(--petal-delay) infinite;
}

.hero-petal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-petals.jpg') 5.028% 60.714% / 1218.75% auto no-repeat;
  clip-path: polygon(9% 64%, 14% 45%, 21% 31%, 33% 18%, 44% 9%, 55% 6%, 66% 7%, 75% 13%, 83% 21%, 83% 38%, 77% 59%, 69% 77%, 57% 88%, 38% 92%, 22% 93%, 12% 85%);
}

.hero-petal:nth-child(3n + 2)::before {
  background-position: 70.674% 41.802%;
  background-size: 1147.059% auto;
  clip-path: polygon(6% 32%, 14% 20%, 26% 7%, 33% 5%, 46% 16%, 62% 30%, 75% 45%, 87% 61%, 91% 71%, 86% 81%, 75% 91%, 59% 95%, 45% 92%, 28% 81%, 13% 65%, 6% 48%);
}

.hero-petal:nth-child(3n)::before {
  background-position: 61.889% 50.708%;
  background-size: 1300% auto;
  clip-path: polygon(8% 31%, 11% 19%, 19% 10%, 31% 7%, 46% 9%, 63% 14%, 78% 21%, 89% 29%, 91% 37%, 89% 49%, 79% 60%, 67% 69%, 54% 79%, 41% 87%, 27% 90%, 19% 85%, 15% 69%, 11% 53%);
}

@keyframes hero-petal-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--petal-tilt)) rotateY(30deg);
  }
  12% {
    opacity: 0.7;
  }
  35% {
    transform: translate3d(var(--petal-drift), 39svh, 0) rotate(calc(var(--petal-tilt) + 46deg)) rotateY(44deg);
  }
  68% {
    transform: translate3d(0, 78svh, 0) rotate(calc(var(--petal-tilt) + 105deg)) rotateY(146deg);
  }
  85% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--petal-drift), 116svh, 0) rotate(calc(var(--petal-tilt) + 158deg)) rotateY(182deg);
  }
}

@media (max-width: 849px) {
  .hero-petal {
    width: calc(var(--petal-size) * 0.72);
  }

  .hero-petal:nth-child(n + 7) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-petals {
    display: none;
  }
}

.section-header .section__content {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.section-header .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: clamp(120px, 16vh, 140px);
  padding-bottom: 24px;
}

.section-header .row .column {
  width: 83.3333%;
  margin-left: 8.33333%;
}

.section-header .heading-a {
  font-size: clamp(10px, 3vw, 19px);
  margin-top: clamp(55px, 9vh, 90px);
  margin-bottom: 1.25rem;
  font-weight: 400;
  transform: none;
}

.section-header .heading-a .lines {
  white-space: nowrap;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

@media (min-width: 850px) {
  .section-header .row {
    padding-top: clamp(125px, 16vh, 145px);
  }
  .section-header .row .column {
    width: 83.3333%;
    margin-left: 8.33333%;
  }
  .section-header .heading-a {
    font-size: 1.75rem;
    margin-top: clamp(75px, 12vh, 115px);
    margin-bottom: 1.5rem;
    transform: none;
  }
}

.hero-kicker {
  display: block;
  font-family: 'Graphik', sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.25rem;
  transform: none;
}

.hero-subcopy {
  font-family: 'Graphik', sans-serif;
  font-weight: 500;
  font-size: 2.3rem;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  margin-top: clamp(16px, 2.5vh, 24px);
  transform: none;
}

.hero-subcopy span {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 849px) {
  .hero-subcopy span {
    display: block;
    white-space: normal;
  }
  .hero-subcopy br {
    display: none;
  }
}

@media (min-width: 850px) {
  .hero-kicker {
    font-size: clamp(13px, 0.875rem, 14px);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    transform: none;
  }
  .hero-subcopy {
    font-size: clamp(12px, 0.8125rem, 13px);
    font-weight: 500;
    color: #ffffff;
    margin-top: clamp(20px, 3vh, 32px);
    transform: none;
  }
}

.hero-intro {
  max-width: 56ch;
  margin-top: clamp(68px, 10vh, 84px);
  font-size: clamp(16px, calc(1.05vw + 2px), 17px);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.hero-intro p + p {
  margin-top: 0.8em;
}

@media (max-width: 849px) {
  .section-header .row {
    padding-top: clamp(100px, 14vh, 120px);
    padding-bottom: 14px;
  }

  .section-header .heading-a {
    margin-top: clamp(32px, 6vh, 44px);
  }

  .hero-intro {
    margin-top: clamp(34px, 5.5vh, 46px);
    line-height: 1.5;
  }

  .hero-intro,
  .section-science .row-science-body .body {
    position: relative;
    isolation: isolate;
  }

  .hero-intro::before,
  .section-science .row-science-body .body::before {
    content: '';
    position: absolute;
    inset: -14px -18px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(3, 7, 18, 0.58) 18px calc(100% - 18px), transparent);
    mask-image: linear-gradient(transparent, #000 14px calc(100% - 14px), transparent);
  }
}

@media (max-width: 849px) and (max-height: 720px) {
  .section-header .row {
    padding-top: 94px;
    padding-bottom: 8px;
  }

  .section-header .heading-a {
    margin-top: 26px;
  }

  .hero-intro {
    margin-top: 26px;
    line-height: 1.42;
  }
}

/* Scroll Indicator (data-v-db5617cc) */
.scroll-indicator {
  align-self: flex-start;
  margin-top: auto;
  margin-left: 8.33333%;
  max-width: 83.3333%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scroll-indicator__label {
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.55);
  margin-bottom: 5.33333rem;
  font-size: clamp(13px, 3.25rem, 14px);
  font-weight: 500;
  display: block;
  text-align: left;
}

.scroll-indicator__line {
  transform-origin: 50% 0%;
  background-color: #b51244;
  width: 2px;
  height: 13.3333rem;
}

@media (min-width: 850px) {
  .scroll-indicator {
    margin-left: 16.6667%;
  }
  .scroll-indicator__label {
    margin-bottom: 1.625rem;
    font-size: clamp(13px, 0.9375rem, 15px);
  }
  .scroll-indicator__line {
    width: 0.1875rem;
    height: 5rem;
  }
}

/* ==========================================================================
   SECTION 2: ABOUT KHERION & SECTION: OUR SCIENCE (DNA CAPITAL EXACT)
   ========================================================================== */
.section-about,
.section-science,
.section-team,
.section-approach {
  position: relative;
  margin-bottom: 14rem;
  scroll-margin-top: 155px;
}

@media (min-width: 850px) {
  .section-about,
  .section-science,
  .section-team,
  .section-approach {
    margin-bottom: 9rem;
    scroll-margin-top: 155px;
  }
  .section-science .row-intro .column.left {
    position: sticky;
    top: 155px;
  }
}

/* About Kherion: Centered heading & left-aligned text */
.section-about .row-about-title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
}

.section-about .row-about-title .column.center {
  width: 100%;
  text-align: center;
}

.section-about .about-title-centered {
  text-align: center;
  margin: 0 auto;
}

.section-about .about-title-centered .lines-mask {
  display: inline-block;
  text-align: center;
}

.section-about .about-title-centered .lines {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.section-about .row-about-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 6rem;
}

.section-about .row-about-body .column.left {
  width: 83.3333%;
  margin-left: 8.33333%;
}

@media (min-width: 850px) {
  .section-about .row-about-title {
    margin-bottom: 5rem;
  }
  .section-about .row-about-body .column.left {
    width: 48%;
    margin-left: 8.33333%;
  }
}

/* Our Science: Centered heading & left-aligned text (matching About Kherion) */
.section-science .row-science-title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
}

.section-science .row-science-title .column.center {
  width: 100%;
  text-align: center;
}

.section-science .science-title-centered {
  text-align: center;
  margin: 0 auto;
}

.section-science .science-title-centered .lines-mask {
  display: inline-block;
  text-align: center;
}

.section-science .science-title-centered .lines {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.section-science .row-science-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 6rem;
}

.section-science .row-science-body .column.left {
  width: 83.3333%;
  margin-left: 8.33333%;
}

@media (min-width: 850px) {
  .section-science .row-science-title {
    margin-bottom: 5rem;
  }
  .section-science .row-science-body .column.left {
    width: 48%;
    margin-left: 8.33333%;
  }
}

.section-about .intro-heading,
.section-science .intro-heading {
  margin-bottom: 2rem;
}

.section-science .scroll-trigger-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  width: 83.3333%;
  margin-inline: auto;
}

.section-science .row-content {
  padding-block-start: 12px;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #38bdf8;
  display: block;
  margin-block-end: 7px;
}

.section-science .row-content .content-heading {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.2;
  margin-block-end: 8px;
}

.section-science .row-content p {
  max-width: 46ch;
  color: #c0c9df;
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.55;
}

.section-science .row-cta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.section-science .row-cta .column {
  width: 83.3333%;
  margin-left: 8.33333%;
}

@media (min-width: 850px) {
  .section-science .row-cta .column {
    width: 29.1667%;
    margin-left: 50%;
  }
}

/* ==========================================================================
   SECTION 3: GLOBAL PARTNERSHIPS (.section-team)
   ========================================================================== */
.section-team {
  position: relative;
  margin-bottom: 14rem;
  scroll-margin-top: 155px;
}

@media (min-width: 850px) {
  .section-team {
    margin-bottom: 9rem;
    scroll-margin-top: 155px;
  }
}

.section-team .row-partnerships {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "intro intro"
    "map map"
    "west east";
  align-items: start;
  gap: clamp(16px, 2.5vw, 32px);
  width: 83.3333%;
  margin-inline: auto;
}

@media (min-width: 850px) {
  .section-team .row-partnerships {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 3.6fr) minmax(130px, 1fr);
    grid-template-areas:
      "intro intro intro"
      "west map east";
  }
}

.partnerships-header {
  grid-area: intro;
  text-align: center;
}

.partnerships-kicker {
  display: inline-block;
  font-family: 'Graphik', sans-serif;
  font-size: clamp(10px, 0.6875rem, 12px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.partnerships-heading {
  margin-bottom: 1.75rem;
}

.partnerships-intro {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.0625rem, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 63ch;
  margin-inline: auto;
}

.partnership-region-block--west {
  grid-area: west;
}

.partnership-region-block--east {
  grid-area: east;
}

.partnership-region-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

.region-block-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
}

.region-tag {
  font-family: 'Graphik', sans-serif;
  font-size: clamp(10px, 0.625rem, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.7);
  font-weight: 500;
}

.region-name {
  font-family: 'Darius', Georgia, serif;
  font-size: clamp(20px, 1.375rem, 22px);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.region-countries-stack {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.partnership-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: clamp(8px, 0.625rem, 10px);
  font-family: 'Graphik', sans-serif;
  font-size: clamp(14px, 1.0625rem, 16px);
  font-weight: 400;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

.partnership-flag {
  flex: 0 0 22px;
  width: 22px;
  height: auto;
  border-radius: 2px;
}

.partnerships-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.partnerships-action .dna-button {
  pointer-events: none;
}

.partnerships-stage {
  grid-area: map;
  min-width: 0;
  position: relative;
  z-index: 4;
}

.partnerships-static-map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  background: radial-gradient(circle at 50% 50%, #111c32, #060b17 76%);
  border: 1px solid rgba(117, 145, 210, 0.28);
  border-radius: 4px;
}

.partnerships-static-map path {
  fill: #18243a;
  stroke: #65799f;
  stroke-width: 0.7;
  transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}

.partnerships-static-map path.is-highlighted {
  fill: #3689d5;
  stroke: #d2ebff;
  filter: drop-shadow(0 0 8px #52aeff);
}

.partnerships-map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 50% 50%, rgba(18, 25, 38, 0.55) 0%, rgba(8, 10, 16, 0.9) 70%, rgba(5, 7, 11, 0.98) 100%);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7), 0 24px 50px rgba(0, 0, 0, 0.4);
}

@media (min-width: 850px) {
  .partnerships-map-wrapper {
    height: 600px;
    min-height: 600px;
  }
}

/* Floating 3D Labels Overlay (Google Language Explorer style) */
.globe-labels-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.globe-country-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(11, 15, 24, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Graphik', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f1f5f9;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -130%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  will-change: transform, opacity;
  user-select: none;
}

.globe-country-label:hover {
  background: rgba(18, 28, 46, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
}

.globe-country-label.is-active {
  background: rgba(14, 30, 52, 0.95);
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.globe-country-label .label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  flex-shrink: 0;
}

.globe-country-label.is-active .label-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

/* Top HUD bar */
.map-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(11, 14, 22, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-status-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: hudPulse 2s infinite ease-in-out;
}

@keyframes hudPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hud-status-text {
  font-family: 'Graphik', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  font-weight: 500;
}

.hud-telemetry {
  font-family: 'Graphik', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Canvas */
.partnerships-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

.partnerships-canvas:active {
  cursor: grabbing;
}

/* Bottom HUD Target Card */
.map-hud-bottom {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  padding: 12px 16px;
  background: rgba(15, 19, 28, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  min-width: 250px;
  max-width: 320px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.target-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.target-badge {
  font-family: 'Graphik', sans-serif;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
}

.target-name {
  font-family: 'Darius', Georgia, serif;
  font-size: 1.125rem;
  color: #ffffff;
  font-weight: 400;
}

.target-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.target-field {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Graphik', sans-serif;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.field-label {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.field-val {
  color: #cbd5e1;
  font-weight: 400;
}

/* Bottom Hint */
.map-hud-hint {
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 3;
  font-family: 'Graphik', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* ==========================================================================
   SECTION 4: PIPELINE / PRODUCTS & PUBLICATIONS SPLIT (.section-approach)
   ========================================================================== */
.section-approach {
  margin-bottom: 8rem;
}

#pipeline {
  isolation: isolate;
}

#pipeline::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(4, 8, 20, 0.1) 32px,
    rgba(4, 8, 20, 0.6) 96px,
    rgba(4, 8, 20, 0.72) 128px calc(100% - 64px),
    transparent
  );
}

.pipeline-publications-split {
  width: 83.3333%;
  margin-left: 8.33333%;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.pipeline-split__col {
  width: 100%;
  min-width: 0;
}

.pipeline-split__header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4rem;
}

.pipeline-split__header .dna-button {
  pointer-events: none;
}

.section-approach .pipeline-row .content-heading {
  font-size: 4.2rem;
  line-height: 1.15;
}

.pipeline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.pipeline-row .column.left {
  width: 100%;
  margin-left: 0;
  margin-bottom: 2rem;
}

.pipeline-row .column.right {
  width: 100%;
  margin-left: 0;
}

.pipeline-items {
  width: 100%;
}

.pipeline-stage-header,
.publications-stage-header {
  display: flex;
  justify-content: flex-end;
  font-family: 'Graphik', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aebed8;
  margin-bottom: 3rem;
}

.pipeline-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(192, 201, 223, 0.14);
}

.pipeline-item:first-of-type {
  border-top: 1px solid rgba(192, 201, 223, 0.14);
}

.pipeline-item__name {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: 3.5rem;
  color: #ffffff;
}

.pipeline-item__stage {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #dce5f6;
  text-align: end;
  text-shadow: 0 1px 8px rgba(4, 8, 20, 0.85);
}

/* PUBLICATIONS LIST (RIGHT COLUMN) */
.publications-list {
  width: 100%;
  border-top: 1px solid rgba(192, 201, 223, 0.14);
  display: flex;
  flex-direction: column;
}

.publication-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.5rem 1rem;
  border-bottom: 1px solid rgba(192, 201, 223, 0.14);
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

a.publication-item {
  cursor: pointer;
}

a.publication-item:hover {
  background-color: rgba(30, 64, 135, 0.2);
  border-bottom-color: rgba(70, 205, 255, 0.32);
}

.publication-item__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  width: 4.5rem;
  padding-top: 0.25rem;
  color: #46cdff;
  transition: color 0.22s ease, transform 0.22s ease;
}

.publication-item__icon svg {
  width: 3.2rem;
  height: 3.2rem;
}

.publication-item__pdf-tag {
  font-family: 'Graphik', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(70, 205, 255, 0.85);
}

.publication-item__icon--muted {
  color: rgba(192, 201, 223, 0.42);
}

.publication-item__icon--muted .publication-item__pdf-tag {
  color: rgba(192, 201, 223, 0.42);
}

a.publication-item:hover .publication-item__icon {
  color: #ffffff;
  transform: translateY(-1px);
}

.publication-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.publication-item__title {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 3.1rem, 14.75px);
  line-height: 1.36;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(4, 8, 20, 0.85);
  transition: color 0.22s ease;
}

a.publication-item:hover .publication-item__title {
  color: #46cdff;
}

.publication-item__authors {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: #d8e2f2;
  text-shadow: 0 1px 8px rgba(4, 8, 20, 0.85);
}

.publication-item__journal {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.35;
  color: #dce5f6;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 8px rgba(4, 8, 20, 0.85);
}

.publication-item__year {
  font-family: 'Graphik', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #c0c9df;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

@media (min-width: 850px) {
  .section-approach {
    margin-bottom: 5.5rem;
  }

  .pipeline-publications-split {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 3rem;
    align-items: start;
  }

  .pipeline-split__col--left {
    position: sticky;
    top: 130px;
    padding-right: 0.5rem;
  }

  .pipeline-split__col--right {
    border-left: 1px solid rgba(192, 201, 223, 0.14);
    padding-left: 2.75rem;
  }

  .pipeline-split__header {
    margin-bottom: 2.25rem;
  }

  .section-approach .pipeline-row .content-heading {
    font-size: clamp(1.25rem, 1.45vw, 1.55rem);
    line-height: 1.18;
  }

  .pipeline-row {
    margin-bottom: 1.75rem;
  }

  .pipeline-row .column.left {
    width: 34%;
    margin-left: 0;
    margin-bottom: 0;
    padding-right: 0.75rem;
  }

  .pipeline-row .column.right {
    width: 64%;
    margin-left: 2%;
  }

  .pipeline-stage-header,
  .publications-stage-header {
    margin-bottom: 0.75rem;
  }

  .pipeline-item {
    padding: 0.85rem 0;
    gap: 1rem;
  }

  .pipeline-item__name {
    font-size: clamp(14px, 0.98rem, 15.5px);
  }

  .publication-item {
    gap: 0.95rem;
    padding: 0.85rem 0.65rem;
  }

  .publication-item__icon {
    width: 2.1rem;
    gap: 0.18rem;
    padding-top: 0.12rem;
  }

  .publication-item__icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .publication-item__body {
    gap: 0.2rem;
  }

  .publication-item__title {
    font-size: clamp(13.5px, 0.9rem, 14.75px);
    line-height: 1.38;
  }

  .publication-item__year {
    padding-top: 0.1rem;
  }
}

/* Forest background and soft transition from the scroll video. */
.footer-scene {
  --forest-blend-height: 260px;
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  isolation: isolate;
}

.footer-forest {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--forest-blend-height));
  mask-image: linear-gradient(to bottom, transparent, #000 var(--forest-blend-height));
}

.footer-forest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #101e3e url('foresttt.png') center / cover no-repeat;
  filter: saturate(1.18) contrast(1.06);
}

.footer-forest::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 10, 24, 0.14), rgba(5, 10, 24, 0.26));
}

.footer-gl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

.footer-transition-bridge {
  height: var(--forest-blend-height);
  pointer-events: none;
}

.footer-scene .section_cta-footer {
  background: transparent;
  color: #fff;
}

.footer-scene .cta-footer .heading-style-h2,
.footer-scene .footer-link-logo,
.footer-scene .footer-brand-name,
.footer-scene .footer-link {
  color: #fff;
}

.footer-scene .cta-footer .text-style-muted,
.footer-scene .txt-16-reg.color_black-40,
.footer-scene .footer-copyright-center {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   ROVEIA FOOTER SECTION
   ========================================================================== */
.section_cta-footer {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  color: #101010;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  display: block;
}

.section_cta-footer .padding-global.padding-section-large {
  position: relative;
  z-index: 2;
  padding: 80px 24px 44px;
}

.cta-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-footer .heading-style-h2 {
  max-width: 1200px;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #101010;
  margin: 0;
  white-space: normal;
}

@media (min-width: 820px) {
  .cta-footer .heading-style-h2 {
    white-space: nowrap;
  }
}

.cta-footer .text-style-muted {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.58);
  margin: -4px 0 0;
}

.cta-footer .button.is-icon {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0 34px;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #ffffff;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  text-decoration: none;
  isolation: isolate;
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

/* Layer 1: Breathing soft white contour aura */
.cta-footer .button.is-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  animation: cta-white-glow-breathe 2.8s ease-in-out infinite;
}

@keyframes cta-white-glow-breathe {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.16),
                0 0 20px rgba(255, 255, 255, 0.08),
                0 4px 18px rgba(0, 0, 0, 0.45);
    opacity: 0.5;
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.42),
                0 0 36px rgba(255, 255, 255, 0.18),
                0 6px 24px rgba(0, 0, 0, 0.55);
    opacity: 0.95;
  }
}

.cta-footer .button.is-icon:hover {
  background-color: #12141a;
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.cta-footer .icon-embed-20 {
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Roveia Footer Container Inside Wave Base */
.footer {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.flex-block-59 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-link-logo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #101010;
}

.footer-link-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 125%;
  aspect-ratio: 1;
  translate: -50% -6%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(175, 216, 255, 0.34), transparent 70%);
}

/* Match the visible mark size in the reference footer. */
.footer-image-logo {
  display: block;
  width: min(201.1px, calc(17.56vw - 9.49px));
  height: auto;
  aspect-ratio: 992 / 1083;
  object-fit: contain;
  translate: 0 -8px;
}

@media (max-width: 1100px) {
  .footer-image-logo {
    width: 163.9px;
  }
}

.footer-brand-name {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #101010;
  translate: 0 -4px;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(105px, auto) minmax(105px, auto) minmax(230px, 340px);
  gap: 36px;
  padding-top: 8px;
  align-items: start;
}

.footer-contact-brand {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: #ffffff;
}

.footer-contact-address {
  font-style: normal;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.78);
  margin: 2px 0 6px;
}

.footer-contact-link {
  display: block;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.2px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-contact-link:hover {
  color: #218AFF;
  opacity: 1;
}

.footer-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.txt-16-reg.color_black-40 {
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(16, 16, 16, 0.45);
  margin: 0;
}

.footer-content-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-link {
  display: block;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: #101010;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.65;
}

/* Bottom Row: Pangalom Badge Bottom-Left, Copyright Dead-Center */
.footer-bottom-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left {
  justify-self: start;
  display: flex;
  align-items: center;
}

.text-size-small {
  justify-self: center;
  text-align: center;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.44px;
  color: rgba(16, 16, 16, 0.6);
  margin: 0;
}

.footer-copyright-center,
.footer-scene .footer-copyright-center {
  justify-self: center;
  text-align: center;
  font-family: 'Graphik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.65mm;
  word-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  margin: 0;
}

.footer-bottom-right {
  justify-self: end;
}

/* Exact PangalomBadge.astro from Prof. Dr. Mehmet Bozkurt (1rem = 16px physical size) */
.pg-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: clamp(10px, 1.2vw, 14px);
  padding: 8px clamp(14px, 1.6vw, 18px);
  border-radius: 999px;
  background: #111110;
  color: #f5f5f2;
  transition: opacity 0.2s;
  text-decoration: none;
}

.pg-badge:hover,
.pg-badge:focus-visible {
  opacity: 0.86;
}

.pg-glyph {
  display: block;
  height: 22px;
  width: 12px;
  flex: none;
}

.pg-rule {
  display: block;
  width: 1px;
  align-self: stretch;
  background: currentColor;
  opacity: 0.35;
}

.pg-text {
  display: grid;
  justify-items: center;
  row-gap: 3px;
}

.pg-by {
  margin-left: 0.1em;
  font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.pg-word {
  display: block;
  width: 114px;
  height: auto;
}

/* Roveia Living Wave Background (Verbatim CSS from roveia.com) */
.wave-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.roveia-wave-bg {
  --rwb-blur: 16px;
  --rwb-color: #218AFF;
  --rwb-fill: 0.5;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.roveia-wave-bg .rwb-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(calc(var(--rwb-blur) * var(--m, 1)));
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.roveia-wave-bg .rwb-layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .footer-scene {
    --forest-blend-height: 180px;
    margin-top: 2rem;
  }
  .section_cta-footer .padding-global.padding-section-large {
    padding: 60px 20px 32px;
  }
  .footer {
    padding: 28px 24px 24px;
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-content {
    width: 100%;
    justify-items: center;
    gap: 24px;
  }
  .footer-bottom-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }
  .footer-bottom-left {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact-wrapper {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

/* ==========================================================================
   NOOMO 3D STORYTELLING MOUSE FX (TestCursor Liquid Glass + GPU Wave/Fluid)
   ========================================================================== */
.noomo-halo-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.liquid-glass-root {
  display: none !important;
}

