/* ==========================================================================
   IMPORTED FONTS (From root/fonts/ directory)
   ========================================================================== */
@font-face {
  font-family: 'KH Teka';
  src: url('/fonts/KHTeka-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kyiv Type Sans';
  src: url('/fonts/KyivTypeSans-Light2.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kyiv Type Sans';
  src: url('/fonts/KyivTypeSans-Light3.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kyiv Type Sans';
  src: url('/fonts/KyivTypeSans-Light-.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
  --font-body: 'KH Teka', sans-serif;
  --font-accent: 'Kyiv Type Sans', sans-serif;
  --font-primary: 'KH Teka', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  
  --c-bg: #ffffff;
  --c-text: #1a1a1a;
  --c-text-light: #666666;
  --c-text-muted: #b0b0b0;
  --c-hero-bg: #000000;
  --color-bg: #fff;
  --color-main: #1f1f1f;
  --color-muted: rgba(31, 31, 31, 0.45);
  --color-subtle: #3c3c3c;
  --color-dim: #555;
  --color-faint: rgba(31, 31, 31, 0.5);
  
  --apw-white: #ffffff;
  --apw-black: #000000;
  --apw-off: rgba(255,255,255,0.7);
  
  --max-w: 75vw;
  --content-width: 75vw;
  --content-max-width: 1600px;
  --ui-padding-x: clamp(20px, 5vw, 60px);
  --nav-height: 64px;
  --bottom-gap: 30px;
  --section-gap: clamp(5rem, 10vw, 8rem);
  
  --text-xs: clamp(12px, 1.2vw, 16px);
  --text-sm: clamp(11px, 1.1vw, 14px);
  --text-base: clamp(13px, 1.3vw, 17px);
  --text-md: clamp(16px, 1.8vw, 22px);
  --text-lg: clamp(22px, 2.5vw, 32px);
  --text-xl: clamp(28px, 3.5vw, 45px);
  --text-2xl: clamp(32px, 4vw, 55px);
  --text-3xl: clamp(38px, 5vw, 65px);
  --text-4xl: clamp(42px, 5.5vw, 75px);
  --text-5xl: clamp(40px, 7vw, 110px);
  --text-hero: clamp(30px, min(6.5vw, 10vh), 100px);
  --text-display: clamp(68px, 13.5vw, 175px);
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --bottom-gap: 16px;
  }
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-light);
  background-color: transparent !important;
  color: var(--color-main);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none !important;
}

body {
  --main-color: var(--color-main);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-light);
  color: var(--color-main);
  line-height: 1.05;
  letter-spacing: -0.5px;
      -webkit-mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    -webkit-mask-size: 200% auto;
    mask-size: 200% auto;
    animation: textShimmerMask 4.5s linear infinite;
}

p {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-light);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-subtle);
}

a {
  color: inherit;
  text-decoration: none;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.content-wrap {
  width: var(--content-width);
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.white-sections-wrapper {
  background-color: transparent;
  width: 100vw;
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

.lazy-section-holder {
  min-height: 100vh;
  position: relative;
}

/* ==========================================================================
   CURSOR WRAPPER
   ========================================================================== */
@media (hover: hover) and (pointer: fine) { * {  } }

#cursor-wrapper { 
  position: fixed; 
  top: 0; left: 0; 
  width: 100px; height: 100px; 
  margin-left: -50px; margin-top: -50px; 
  pointer-events: none; 
  z-index: 9999999;
  perspective: 400px; 
  mix-blend-mode: difference; 
  background-color: #fff; 
  mask-image: url(#crosshair-mask); 
  -webkit-mask-image: url(#crosshair-mask); 
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  will-change: transform; 
}

@media (hover: none) and (pointer: coarse) { #cursor-wrapper { display: none !important; } }

#cursor-wrapper,
#custom-cursor, 
.custom-cursor, 
.cl-cursor, 
.cursor-ball, 
.cursor, 
.cursor-follower {
  z-index: 10000000 !important;
  pointer-events: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
/* Prevent Flash of Unstyled Content (FOUC) */
#smooth-wrapper, nav, header, .nd-top-nav {
  visibility: hidden;
  opacity: 0;
}

/* Core Loader Container */
#loader-site {
  position: fixed;
  inset: 0;
  z-index: 999990;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  background-color: transparent;
  font-family: var(--font-body);
}

/* 4 Quadrants for the Tangential Cut effect */
.loader-quad {
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: #000000;
  will-change: transform;
  z-index: 1;
}
.loader-quad-1 { top: 0; left: 0; }
.loader-quad-2 { top: 0; left: 50%; }
.loader-quad-3 { top: 50%; left: 0; }
.loader-quad-4 { top: 50%; left: 50%; }

/* Interactive Stage wrapping all elements */
.loader-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* Brand Container (Logo + Plus symbol) */
.loader-brand {
  position: absolute;
  left: clamp(20px, 10vw, 15vw);
  top: calc(50% - 10vh);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  will-change: opacity;
}

.loader-logo {
  height: clamp(22px, 3.5vw, 40px);
  filter: invert(1);
  display: block;
}

.loader-plus {
  color: #ffffff;
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1;
  margin-top: -2px;
}

/* Full Screen SVG Layer for exact mathematical centering */
.loader-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 5;
}

.loader-h-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 2px;
}

.loader-v-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2px;
  will-change: stroke-dasharray, stroke-dashoffset;
}

/* Mobile-Responsive Typography */
.loader-counter {
  position: absolute;
  right: clamp(20px, 8vw, 10vw);
  top: clamp(20px, 8vh, 10vh);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  font-family: var(--font-accent);
  z-index: 10;
  will-change: opacity;
}

.loader-text-block {
  position: absolute;
  left: clamp(20px, 10vw, 15vw);
  bottom: clamp(20px, 10vh, 12vh);
  font-size: var(--text-xs);
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform:uppercase;
  font-family:var(--font-accent);
  z-index: 10;
  will-change: opacity;
}

/* CONTINUOUS LINEAR SWEEP EFFECT */
.loader-wave-fx {
  -webkit-mask-image: repeating-linear-gradient(
    110deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.3) 50%
  );
  -webkit-mask-size: 200% 100%;
  animation: loader-sweep 1.8s linear infinite;
}

@keyframes loader-sweep {
  0%   { -webkit-mask-position: 0 0; }
  100% { -webkit-mask-position: 200% 0; }
}

/* ==========================================================================
   NAV DOCK (nd-) STYLES
   ========================================================================== */
/* ── OVERLAY ── */
.nd-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 900; opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.nd-overlay.visible { opacity: 1; visibility: visible; }

/* ── TOP NAV BAR ── */
.nd-top-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 40px;
  z-index: 1000;
  user-select: none;
  pointer-events: none;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}
.nd-top-nav > * { pointer-events: auto; }

/* Hide behavior on footer */
.nd-top-nav.nd-hidden-by-footer:not(.open) {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.nd-nav-left, .nd-nav-right {
  display: flex;
  align-items: center;
  background:transparent;
  padding: 8px;
  border-radius: 32px;
}
.nd-nav-left { justify-content: center; }
.nd-nav-right {gap: 25px; }

/* Center block */
.nd-nav-center {
  min-height: 46px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    padding: 8px;
    border-radius: 50px;
    justify-content: flex-end;
}
.nd-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border-radius: 50px;
}
.nd-nav-logo img {
  display: block; height: auto; width: auto; 
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); padding: 6px 8px;
}
.nd-nav-logo:hover img { transform: scale(0.96); }

.nd-pill {
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  outline: none;
  border: none;
  transition: transform 0.26s cubic-bezier(0.34, 1.5, 0.64, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.nd-pill:active { transform: scale(0.96) translateY(0) !important; }

/* ── CENTER MENU PILL ── */
.nd-pill-menu {
  gap: 12px;
  height: 16px;
  margin-left: 8px;
  position: relative;
}

/* Hamburger Icon */
.nd-hamburger {
  width: 40px; height: 10px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nd-hamburger span {
  display: block; width: 100%; height: 2px; background: var(--apw-black);
  border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nd-top-nav.open .nd-hamburger span:first-child { transform: translateY(4.25px) rotate(45deg); width:25px;}
.nd-top-nav.open .nd-hamburger span:last-child  { transform: translateY(-4.25px) rotate(-45deg); width:25px;}

/* Menu Text Crossfade */
.nd-menu-text-wrap {
  position: relative; width: 52px; height: 16px;
  display: flex; align-items: center; overflow: hidden;
}
.nd-text-menu, .nd-text-close {
  position: absolute;
  left: 0;
  white-space: nowrap;
  width: 100%;
  font-size: 15px;
  font-weight: 300;
  color: var(--apw-black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  font-family: var(--font-accent);
}
.nd-text-close { opacity: 0; transform: translateY(16px); text-align: center; }
.nd-top-nav.open .nd-text-menu { opacity: 0; transform: translateY(-16px); }
.nd-top-nav.open .nd-text-close { opacity: 1; transform: translateY(0); }
.nd-nav-center, .nd-nav-left, .nd-nav-right { scale: 0.9;  flex:1;}

/* Section Name next to menu */
.nd-section-name {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.2); 
  padding: 10px 25px;
  border-radius: 50px;
}

/* ── SHARED SUB TEXT ── */
.nd-psub {
  font-family: var(--font-accent);
  font-weight: 300;
  color: var(--apw-black);
  text-transform: uppercase;
}

/* ── SOUND & LANG PILLS ── */
.nd-pill-sound { gap: 10px; margin-left: 8px; height: 16px;}
.nd-sound-line-wrap { position: relative; display: flex; align-items: center; height: 16px; flex-shrink: 0; }
.nd-sound-line {
  width: 45px;
  height: 1px;
  background: var(--apw-black);
  opacity: 0.55;
  border-radius: 1px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.nd-sound-line-wrap svg {
  position: absolute; left: 0; width: 45px; height: 16px;
  overflow: visible; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}
.nd-sound-line-wrap svg path {
  fill: none; stroke: var(--apw-black); stroke-width: 1.2; stroke-linecap: round;
  stroke-dasharray: 120; stroke-dashoffset: 120;
}
.nd-pill-sound.snd-on .nd-sound-line { opacity: 0; }
.nd-pill-sound.snd-on .nd-sound-line-wrap svg { opacity: 0.65; }
.nd-pill-sound.snd-on .nd-sound-wave-path { stroke-dashoffset: 0; animation: nd-waveFlow 1.4s linear infinite; }
@keyframes nd-waveFlow { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }

.nd-sound-label-tick, .nd-lang-tick { height: 16px; overflow: hidden; flex-shrink: 0; }
.nd-sound-label-track, .nd-lang-track { display: flex; flex-direction: column; transition: transform 0.38s cubic-bezier(0.4,0,0.2,1); }
.nd-sound-label-track span, .nd-lang-track span { line-height: 16px; height: 16px; }
.nd-pill-lang { color: #000; padding: 0; }

/* ── MENU PANEL ── */
.nd-menu-panel {
  position: fixed; background: #000;
  top: 100px; left: 50%;
  transform: translateX(-50%) translateY(-18px) scale(0.97);
  width: calc(100% - 32px); max-width: 1000px;
  border-radius: 32px; padding: clamp(30px,4vw,50px) clamp(24px,4vw,54px);
  display: flex; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 40px;
  opacity: 0; visibility: hidden; z-index: 950;
  clip-path: circle(0% at 50% -10%);
  transition: clip-path 0.72s cubic-bezier(0.22,1,0.36,1), opacity 0.18s ease, visibility 0s linear 0.72s, transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.nd-menu-panel.open {
  opacity: 1; visibility: visible; clip-path: circle(150% at 50% -10%);
  transform: translateX(-50%) translateY(0) scale(1);
  transition: clip-path 0.72s cubic-bezier(0.22,1,0.36,1), opacity 0.18s ease, visibility 0s linear 0s, transform 0.72s cubic-bezier(0.22,1,0.36,1);
}

.nd-menu-left { display: flex; flex-direction: column; gap: 8px; }

/* ── MENU ROWS ── */
.nd-menu-row-wrap {
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(12px);
}
.nd-menu-panel.open .nd-menu-row-wrap {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Stagger */
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(1) { transition-delay: 0.15s; }
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(2) { transition-delay: 0.22s; }
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(3) { transition-delay: 0.29s; }
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(4) { transition-delay: 0.36s; }
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(5) { transition-delay: 0.43s; }
.nd-menu-panel.open .nd-menu-row-wrap:nth-child(6) { transition-delay: 0.50s; }

.nd-menu-row-header {
  display: flex; align-items: center; text-decoration: none;
  gap: clamp(14px,2.5vw,28px); cursor: pointer; padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
}
.nd-menu-num {
  font-size: clamp(14px,1.6vw,18px);
  color: #fff; font-weight: 300; min-width: 26px;
  transition: color 0.3s ease;
}

.nd-flip-wrap  { perspective: 1000px; line-height: 1; }
.nd-flip-inner { position: relative; transform-style: preserve-3d; }
.nd-menu-text {
  font-size: clamp(42px,6.5vw,80px);
  font-weight: 300; color: #fff; line-height: 1.05; letter-spacing: -1px;
  text-transform: lowercase; display: block; backface-visibility: hidden;
  transform-origin: 50% 50% -30px; transition: transform 0.48s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
.nd-menu-text.nd-italic-face {
  font-family: var(--font-accent);
  font-weight: 400;
  position: absolute; top: 0; left: 0; opacity: 0; transform: rotateX(-80deg);
}
.nd-menu-row-header:hover .nd-menu-num                 { color: #fff; }
.nd-menu-row-header:hover .nd-menu-text.nd-normal-face { opacity: 0; transform: rotateX(80deg); }
.nd-menu-row-header:hover .nd-menu-text.nd-italic-face { opacity: 1; transform: rotateX(0deg); }

/* ── RIGHT SIDE ── */
.nd-menu-right {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  min-height: 100%; gap: 40px; opacity: 0; transition: opacity 0.4s ease 0.25s;
}
.nd-menu-panel.open .nd-menu-right { opacity: 1; }
.nd-menu-right-top { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; text-align: right; }

/* ==========================================================================
   CTA BUTTON (WITH 3D FLIP & SWEEP)
   ========================================================================== */
.nd-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px 16px;
  background: var(--apw-black, #000);
  color: var(--apw-white, #fff);
  font-family: var(--font-accent);
  cursor: pointer;
  border-radius: 32px;
  border: 1px solid var(--apw-black, #000);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  transform: scale(1);
}

/* Safe fallback: Prevents collapsing if JS doesn't run */
.nd-cta button {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.nd-cta:hover {
  background: var(--apw-black, #000) !important;
  color: var(--apw-white, #fff);
  border-color: var(--apw-black, #000);
  transform: scale(1.04);
}

.nd-cta:active {
  transform: scale(0.98);
}

/* ── CTA SWEEPING BACKGROUND ── */
.nd-cta-bg {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 0%;
  background: var(--apw-white, #fff);
  z-index: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nd-cta:hover .nd-cta-bg { height: 100%; }

/* ── CTA 3D TEXT LAYERS ── */
.nd-cta-text, .nd-cta-text-hover {
  position: relative;
  z-index: 1;
  display: inline-flex;
  white-space: nowrap; 
  pointer-events: none;
}
.nd-cta-text { color: var(--apw-white, #fff); }

.nd-cta-text-hover {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--apw-black, #000);
}

/* Character Flips */
.nd-cta-text span, .nd-cta-text-hover span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform-origin: 50% 50% -8px;
}
.nd-cta-text span { transform: rotateX(0deg); opacity: 1; }
.nd-cta-text-hover span { transform: rotateX(-90deg); opacity: 0; }
.nd-cta:hover .nd-cta-text span { transform: rotateX(90deg); opacity: 0; }
.nd-cta:hover .nd-cta-text-hover span { transform: rotateX(0deg); opacity: 1; }

.nd-social-link {
  font-size: clamp(18px,2vw,22px);
  font-weight: 300; color: #fff; text-decoration: none; text-transform: lowercase;
  position: relative;
}
.nd-social-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #1a1a1a; transition: width 0.3s ease;
}
.nd-social-link:hover::after { width: 100%; }

.nd-contact-row { display: flex; align-items: center; gap: 16px; }
.nd-contact-label { font-size: 16px; font-weight: 300; color: #fff; text-transform: lowercase; }
.nd-contact-line  { width: 40px; height: 2px; background: #fff; }
.nd-contact-email {
  font-size: clamp(18px,2vw,22px);
  font-weight: 300; color: #fff; text-transform: lowercase; text-decoration: none;
  transition: color 0.3s ease;
}
.nd-contact-email:hover { color: #fff }

/* ── RESPONSIVE COMPACTING ── */
@media (max-width: 797px) {
  .nd-menu-text-wrap { display: none; }
  .nd-pill-menu { padding: 0 18px; gap: 0; }
  .nd-sound-label-tick { display: none; }
  .nd-pill-sound { padding: 0 16px; gap: 0; }
}

@media (max-width: 796px) {
  .nd-menu-panel     { flex-direction: column; align-items: flex-start; gap: 40px; padding: 40px 24px; top: 80px; }
  .nd-menu-right     { width: 100%; align-items: flex-start; }
  .nd-menu-right-top { align-items: flex-start; text-align: left; width: 100%; }
  .nd-section-name{display:none;}
  .nd-top-nav { padding: 16px 20px; gap: 20px; }
  .nd-nav-center { display: flex; transform: none; flex: 1; justify-content: center; gap: 0; order: 3; }
  .nd-nav-left, .nd-nav-right { gap:8px; flex:1; }
  .nd-cta{ display:none; }
  .nd-pill-menu { padding: 0 16px; }
  .nd-nav-logo img { max-height: 35px; }
  .nd-pill-sound { padding: 0; padding-left: 14px; }
  .nd-pill-lang { padding: 0; flex:1;}
}

/* ==========================================================================
   NAV INVERT STATE & SMOOTH TRANSITIONS
   ========================================================================== */
.nd-hamburger span { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background-color 0.3s ease !important; }
.nd-text-menu, .nd-text-close { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, color 0.3s ease !important; }
.nd-psub, .nd-pill-lang { transition: color 0.3s ease !important; }
.nd-sound-line { transition: opacity 0.3s ease, background-color 0.3s ease !important; }
.nd-sound-line-wrap svg path { transition: stroke 0.3s ease, opacity 0.4s ease !important; }
.nd-nav-logo img { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), filter 0.3s ease !important; }
.nd-cta { transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important; }

/* Inverted State */
.nd-top-nav.is-inverted .nd-hamburger span { background: var(--apw-white, #fff); }
.nd-top-nav.is-inverted .nd-text-menu,
.nd-top-nav.is-inverted .nd-text-close,
.nd-top-nav.is-inverted .nd-psub { color: var(--apw-white, #fff); }
.nd-top-nav.is-inverted .nd-pill-lang { color: var(--apw-white, #fff) !important; }
.nd-top-nav.is-inverted .nd-sound-line { background: var(--apw-white, #fff); }
.nd-top-nav.is-inverted .nd-sound-line-wrap svg path { stroke: var(--apw-white, #fff); }
.nd-top-nav.is-inverted .nd-nav-logo img { filter: invert(1); }

/* ── Inverted State CTA ── */
.nd-top-nav.is-inverted .nd-cta {
  background: var(--apw-white, #fff);
  color: var(--apw-black, #000);
  border-color: var(--apw-white, #fff);
}
.nd-top-nav.is-inverted .nd-cta:hover {
  background: var(--apw-white, #fff) !important;
  color: var(--apw-black, #000);
  border-color: var(--apw-white, #fff);
  transform: scale(1.04);
}
.nd-top-nav.is-inverted .nd-cta:active { transform: scale(0.98); }

/* Inverted Sweep & Text */
.nd-top-nav.is-inverted .nd-cta-bg { background: var(--apw-black, #000); }
.nd-top-nav.is-inverted .nd-cta-text { color: var(--apw-black, #000); }
.nd-top-nav.is-inverted .nd-cta-text-hover { color: var(--apw-white, #fff); }

/* ==========================================================================
   FLUID BACKGROUND CANVAS
   ========================================================================== */
#fluid-bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -999;
  display: block;
  pointer-events: none;
  background-color: #fff;
}

/* ==========================================================================
   SMOOTH WRAPPER & SECTIONS (HERO, ABOUT, MODAL)
   ========================================================================== */
.top-logo { position: absolute; top: clamp(20px, 4vw, 40px); left: 0; width: 100%; display: flex; justify-content: center; z-index: 2000; pointer-events: none; overflow: visible !important; }
.top-logo img { width: clamp(120px, 16vw, 190px); height: auto; display: block; }

/* ── Hero Pin Wrapper ── */
.hero-pin-space {
  position: relative; width: 100vw; height: 100vh;
  z-index: 5; background-color: #ffffff; 
}

/* ── GPU-Accelerated Curved Mask ── */
.hero-curved-mask {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: #000; overflow: hidden;
  transform-origin: top center; z-index: 6;
  border-radius: 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  will-change: border-radius, transform, mask-image;
}

.hero-perspective-wrapper {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  perspective: 1200px; perspective-origin: center center;
  transform-style: preserve-3d;
}

.hero-3d-stage {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  transform-style: preserve-3d; 
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-video-container {
  position: absolute; top: -4%; left: -4%; width: 108%; height: 108%;
  transform-style: preserve-3d; overflow: hidden;
  transform: translateZ(-40px);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-video-container video {
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}

.hero-content-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 10; color: #fff; padding: 0 20px;
  user-select: none; pointer-events: none;
  transform-style: preserve-3d; will-change: transform;
  transform: translateZ(80px);
}

.hero-h1-container { display: flex; flex-direction: column; align-items: flex-start; }
.hero-line-1, .hero-line-2 { font-family: var(--font-primary); font-size: var(--text-hero, 8vw); font-weight: var(--font-weight-light, 300); letter-spacing: -2px; line-height: 1.05; }
.hero-line-1 .italic-serif, .hero-line-2 .italic-serif { letter-spacing: -1px; transform: translateY(2px); font-family:var(--font-accent); display: inline-block; }
.hero-line-2 { margin-left: clamp(1.5em, 10vw, 4.5em); }
.hero-locations { display:flex; gap:8px; flex-wrap:wrap; margin-top:40px; align-items:center; justify-content:center; text-align:right; font-family:var(--font-primary); font-size:clamp(12px,1.3vw,16px); text-transform:uppercase; font-weight:var(--font-weight-light, 300); line-height:1.45; color:#fff; opacity:0.85; z-index:12; }

/* ── Independent About Us Section ── */
.about-section {
  position: relative; width: 100%; min-height: 80vh; display: flex;
  align-items: center; justify-content: center; z-index: 10;
  padding: var(--section-gap) 0; overflow: hidden;
  padding-top: calc(1.5 * var(--section-gap)); padding-bottom: 0;
}

.about-grid {
  display: grid; width: var(--content-width, 90%); max-width: var(--content-max-width, 1200px);
  margin: 0 auto; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: clamp(40px, 8vh, 110px); grid-template-areas: "long-para title" "keywords short-para";
  align-items: center; opacity: 0; pointer-events: auto;
}

.para-long { grid-area: long-para; text-align: left; font-size: var(--text-base, 1.2rem); font-weight: var(--font-weight-light, 300); line-height: 1.65; color: var(--color-subtle, #333); width: 85%; margin: 0; align-self: start; }
.about-title { grid-area: title; text-align: right; font-size: var(--text-4xl, 4rem); color: var(--color-main, #000); align-self: start; font-weight: var(--font-weight-light, 300); margin-right: -4px; margin-top: 0;}
.about-keywords { grid-area: keywords; justify-self: end; align-self: start; display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-primary); font-weight: var(--font-weight-light, 300); font-size: clamp(24px, 4vw, 36px); line-height: 1.6; color: var(--color-main, #000); letter-spacing: -0.5px; }
.about-keywords .keyword { position: relative; cursor: pointer; display: inline-flex; align-items: center; }
.about-keywords .keyword .arrow { position: absolute; right: 100%; margin-right: 15px; top: 50%; opacity: 0; transform: translate(-15px, -50%); transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1); pointer-events: none; white-space: nowrap; }
.about-keywords .keyword:hover .arrow { opacity: 1; transform: translate(0, -50%); }

.about-right-col { grid-area: short-para; display: flex; flex-direction: column; gap: 32px; align-items: flex-end; justify-self: end; width: 85%; }
.about-right-col .para-short { text-align: right; font-weight: var(--font-weight-light, 300); font-size: var(--text-sm, 1rem); line-height: 1.6; color: var(--color-dim, #555); margin: 0; width: 100%; }

.about-video-wrapper { position: relative; width: 100%; max-width: 300px; aspect-ratio: 16/9; cursor: pointer; }

.video-inner {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 8px;
  transform: translateZ(0);
}

.video-inner video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0.95; transition: opacity 0.4s ease; }
.vid-hover-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-family: var(--font-primary); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; z-index: 10; }
.about-video-wrapper:hover .vid-hover-text { opacity: 1; }

.vid-edge { position: absolute; width: 16px; height: 16px; z-index: 5; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); opacity: 0; border: 0 solid #000; }
.vid-edge.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vid-edge.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vid-edge.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vid-edge.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.about-video-wrapper:hover .vid-edge { opacity: 1; }
.about-video-wrapper:hover .vid-edge.tl { top: -5px; left: -5px; }
.about-video-wrapper:hover .vid-edge.tr { top: -5px; right: -5px; }
.about-video-wrapper:hover .vid-edge.bl { bottom: -5px; left: -5px; }
.about-video-wrapper:hover .vid-edge.br { bottom: -5px; right: -5px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; grid-template-areas: "title" "keywords" "short-para" "long-para" ; gap: 36px; }
  .about-title, .about-keywords { justify-self: end; text-align: right; width:100%;}
  .para-long { width: 100%; }
  .about-right-col { width: 100%; align-items: flex-end; }
  .p-section{margin-top:0 !important;}
}

/* ── Fullscreen Curtain Modal ── */
.fs-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.fs-curtain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #050505; transform: scaleY(0); transform-origin: top; will-change: transform; }
.fs-content { position: relative; z-index: 2; width: 85vw; height: 75vh; opacity: 0; will-change: opacity; }
.fs-content video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.fs-close { position: absolute; top: -50px; right: 0; color: #fff; font-family: var(--font-primary); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; padding: 5px; opacity: 0.8; transition: opacity 0.3s; }
.fs-close:hover { opacity: 1; }

/* ==========================================================================
   ACHIEVEMENTS TRACK
   ========================================================================== */
.achieve-track {
  position: relative;
  width: 100%;
  height: 150vh; 
  z-index: 20;
}

.achievements-section {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-rows: 1fr 1.5fr 1fr;
  padding: clamp(100px, 13vh, 160px) clamp(24px, 5vw, 90px);
  gap: clamp(16px, 3vw, 50px);
  overflow: hidden;
  background-color: transparent;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  cursor: none; 
}

.achieve-intro-text {
  position: absolute;
  inset: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: var(--font-weight-light, 300);
  text-align: center;
  color: var(--color-main, #1a1a1a);
  letter-spacing: -1.5px;
  line-height: 1.1;
  z-index: 20;
  pointer-events: none;
  will-change: transform, opacity, filter;
  transform: translateZ(0); 
}

.achieve-box-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main, #1a1a1a);
  z-index: 10;
  will-change: transform, opacity, filter;
  opacity: 0;
  transform-origin: center center;
  width: 100%;
  max-width: 100%;
}

.achieve-core-text {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: none; 
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  align-items: center;
  max-width: 100%;
  overflow: visible; 
  text-decoration: none;
  color: inherit;
}

.achieve-core-text:hover {
  z-index: 900;
}

.a-pub {
  font-size: var(--text-xs, 11px);
  opacity: 0.65;
  margin: 0 0 4px;
  font-weight: var(--font-weight-light, 300);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.a-mag {
  font-size: clamp(18px, 2.8vw, 38px);
  letter-spacing: -1.5px;
  font-weight: var(--font-weight-light, 300);
  color: #1a1a1a;
  white-space: normal;
  word-break: nowrap;
  hyphens: auto;
  line-height: 1.1;
  margin: 0;
  max-width: 100%;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.achieve-core-text:hover .a-mag {
  transform: scale(1.04);
  text-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

#achieve-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  padding: 8px 14px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  scale: 0.5;
  will-change: transform, opacity;
}

.hover-reveal-card {
  position: absolute;
  width: 75%;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  z-index: 1000;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -15px) scale(0.95);
  transform-origin: top center;
}

.achieve-core-text:hover .hover-reveal-card {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
}

.bottom-row-safe .hover-reveal-card {
  top: auto;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 15px) scale(0.95);
  transform-origin: bottom center;
}

.bottom-row-safe .achieve-core-text:hover .hover-reveal-card {
  transform: translate(-50%, 0) scale(1);
}

.hover-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0.9;
}

.pos-center-block {
  grid-column: 2; grid-row: 2;
  justify-self: center; align-self: center;
}
.pos-center-block .a-mag { font-size: clamp(28px, 5vw, 68px); }

@media (max-width: 900px) {
  .achievements-section { grid-template-columns: 1fr 1.4fr 1fr; }
  .a-mag { font-size: clamp(14px, 2.2vw, 26px); }
}

@media (max-width: 600px) {
  .achievements-section { grid-template-columns: 1fr; height: auto; cursor: auto; position: relative; }
  .achieve-track { height: auto; }
  .achieve-core-text { cursor: pointer; }
  #achieve-cursor { display: none; }
  .achieve-box-core, .pos-center-block { grid-column: 1 !important; grid-row: auto !important; }
}

@media(min-width:798px){
  .achievements-section .achieve-box-core:nth-child(2) { padding-top: 50px; }
  .achievements-section .achieve-box-core:nth-child(3) { padding-right: 50px; }
  .achievements-section .achieve-box-core:nth-child(5) { padding-bottom: 50px; }
}

/* ==========================================================================
   BIM SECTION
   ========================================================================== */
.x-bim-section { 
  position: relative;
  width: 100vw;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
  z-index: 20;
  padding-bottom: var(--section-gap);
}
.x-bim-grid { 
  position: relative; 
  z-index: 10; 
  width: var(--content-width, 90vw); 
  max-width: var(--content-max-width, 1400px); 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr 2.5fr 1fr; 
  gap: clamp(20px, 4vw, 60px); 
  height: auto; 
  min-height: 85vh; 
  align-items: center; 
}
.x-bim-left { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  justify-content: flex-start; 
  align-self: start; 
  padding-top: 50%; 
  pointer-events: auto; 
}
.x-bim-title { 
  font-size: var(--text-3xl, 2rem); 
  color: var(--color-main, #000); 
  margin-bottom: 40px; 
  line-height: 1.1; 
  font-weight: var(--font-weight-regular, 400);
  white-space: nowrap; 
}
.x-bim-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  perspective: 1500px;
}
#x-bim-tilt-wrap { 
  width: 100%; 
  transform-style: preserve-3d; 
  will-change: transform; 
  height: 100%; 
  position: relative; 
}
.x-barrel-shape { 
  width: 100%; 
  height: 100%; 
  padding-top: 70.495%; 
  position: relative; 
  clip-path: url(#barrel-clip); 
  -webkit-clip-path: url(#barrel-clip); 
  background-color: transparent; 
  transform: translateZ(0); 
  overflow: hidden; 
  pointer-events: none; 
}
#x-bim-webgl-core { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: transparent; 
}
#x-bim-webgl-core canvas { 
  display: block; 
  width: 100% !important; 
  height: 100% !important; 
}
.x-bim-hover-txt { 
  font-family: var(--font-primary, sans-serif); 
  font-size: var(--text-xs, 0.8rem); 
  opacity: 0.5; 
  font-weight: var(--font-weight-light, 300); 
  color: var(--color-main, #000); 
  margin: 20px 0 0 0; 
}
.x-bim-right { 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  align-items: flex-end; 
  align-self: stretch; 
  padding-top: 10%; 
  padding-bottom: 10%; 
  pointer-events: auto; 
}
.x-bim-badge { 
  font-family: var(--font-primary, sans-serif); 
  font-size: var(--text-sm, 1rem); 
  opacity: 0.5; 
  color: var(--color-main, #000); 
  margin: 0; 
  text-align: right; 
  font-weight: var(--font-weight-light, 300); 
}
.x-bim-desc { 
  font-family: var(--font-primary, sans-serif); 
  font-size: var(--text-sm, 1rem); 
  line-height: 1.6; 
  opacity: 0.7; 
  color: var(--color-main, #000); 
  text-align: left; 
  font-weight: var(--font-weight-light, 300); 
}

@media (max-width: 1024px) {
  .x-bim-grid { grid-template-columns: 1fr; height: auto; gap: 30px; justify-items: center; }
  .x-bim-left, .x-bim-right { width: 100%; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; align-self: center; }
  .x-bim-title { text-align: center; }
  .x-bim-center { height: auto; width: 100%; }
  .x-bim-right { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
  .x-bim-badge { text-align: left; }
  .x-bim-desc { text-align: center; }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
:root {
  --gs-glow-primary: rgba(255, 220, 120, 0.8);
  --gs-glow-dark: rgba(255, 180, 50, 0.3);
  --gs-card-width: 380px;
}

@media (max-width: 797px) {
  :root {
      --gs-card-width: 85vw;
  }
}

#gs_global_bg_sz {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #000000;
  z-index: -9999; 
  opacity: 0; 
  pointer-events: none;
  will-change: opacity;
}

.gs_track_sz {
  position: relative;
  width: 100%;
  height: 800vh;
  background: transparent;
  z-index: 20; 
}

.gs_sticky_sz {
  position: sticky; 
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; 
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs_morph_wrap_sz {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden; 
  transform: translateZ(0); 
}

.gs_arch_wrap_sz, 
.gs_content_wrap_sz {
  position: absolute;
  inset: 0;
  opacity: 0; 
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs_horizon_sz {
  position: absolute;
  top: 55vh; 
  width: 250vw;
  height: 250vw;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
  border-top: 2px solid rgba(255, 240, 180, 0.9);
  box-shadow: 0 -8px 30px var(--gs-glow-primary), 0 -20px 80px var(--gs-glow-dark);
  will-change: transform, opacity;
}

.gs_sweep_sz {
  position: absolute;
  top: 0; left: 0; 
  width: 100%; height: 100%;
  transform-origin: center center;
  animation: gs_spin_sz 8s cubic-bezier(0.4, 0.1, 0.6, 0.9) infinite alternate;
  will-change: transform;
}

@keyframes gs_spin_sz {
  0% { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}

.gs_glow_dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20vw;
  height: 20px;
  background: #fff;
  filter: blur(15px);
  opacity: 0.4;
}

.gs_carousel_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gs_item_sz {
  position: absolute;
  left: 50%;
  top: 30%;
  width: var(--gs-card-width);
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gs_inner_card {
  will-change: filter, transform;
}

.gs_inner_card h2 {
  font-size: var(--text-lg, 1.5rem);
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff !important; 
}

.gs_inner_card p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: var(--text-md, 1rem);
  line-height: 1.2;
}

.gs_main_title_sz {
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
  font-size: var(--text-4xl, 2.5rem);
  color: #ffffff !important; 
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

@media (max-width: 797px) {
  .gs_item_sz { top: 40%; }
  .gs_main_title_sz { bottom: 15%; font-size: var(--text-2xl, 1.5rem); }
  .gs_horizon_sz { top: 65vh; }
}

/* ==========================================================================
   PORTFOLIO HERO SECTION
   ========================================================================== */
.port1-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden; 
  margin-bottom: calc(2 * var(--section-gap));
  z-index: 10;
}

.port1-ui-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.port1-text-side {
  position: absolute;
  top: 55%;
  left: var(--ui-padding-x, clamp(20px, 5vw, 60px));
  transform: translateY(-50%);
  font-size: var(--text-md, clamp(1rem, 1.3vw, 1.2rem));
  line-height: 1.2;
  font-weight: var(--font-weight-light, 300);
  pointer-events: auto;
}

.port1-title-container {
  position: absolute;
  top: 15vh;
  width: 100%;
  text-align: center;
  pointer-events: auto;
}

.port1-title {
  font-size: var(--text-hero, clamp(3.5rem, 8vw, 8rem));
  font-weight: var(--font-weight-regular, 400);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  background: linear-gradient(110deg, #000 40%, rgba(0,0,0,0.4) 50%, #000 60%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: port1-sweep 4s linear infinite;
}
@keyframes port1-sweep {
  0% { background-position: 200% center; }
  100% { background-position: -100% center; }
}

#port1-globe-container {
  position: absolute;
  bottom: -35vh;
  left: 50%;
  width: 110vh;
  height: 110vh;
  max-width: 1200px;
  max-height: 1200px;
  transform: translateX(-50%);
  z-index: 4;
}

#port1-globe-container::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 95%; height: 95%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,185,65,0.6) 20%, rgba(235,145,45,0.3) 50%, transparent 75%);
  filter: blur(25px);
  z-index: -1;
  pointer-events: none;
}

#port1-globe-container canvas {
  display: block; 
  width: 100%; 
  height: 100%; 
  touch-action: none; 
  cursor: grab;
  outline: none;
}
#port1-globe-container canvas:active { 
  cursor: grabbing; 
}

.port1-vignette {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 35vh;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  z-index: 5; pointer-events: none;
}

.port1-bottom-ui {
  position: absolute;
  bottom: 8vh;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 796px) {
  .port1-title-container { top: 40vh; transform: translateY(-50%); }
  .port1-text-side { top: 20vh; left: 0; width: 100%; text-align: center; transform: none; }
  #port1-globe-container { width: 100vw; height: 100vw; bottom: -25vw; }
  .port1-bottom-ui { bottom: 10vh; }
}

/* ==========================================================================
   STACK CARDS SECTION
   ========================================================================== */
.stk-track {
  position: relative;
  width: 100%;
  height: 400vh; 
  z-index: 20;
}

.stk-section { 
  position: sticky; 
  top: 0;
  width: 100vw; 
  height: 100vh;
  height: 100dvh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background-color: transparent; 
  overflow: hidden; 
}

.stk-card { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  width: 90vw; 
  max-width: var(--content-max-width, 1400px); 
  transform-origin: center center; 
  will-change: transform; 
  display: flex; 
  justify-content: center; 
}

.stk-inner {
  width: 100%;
  height: 80vh; 
  position: relative;
  clip-path: url(#barrel-clip); 
  -webkit-clip-path: url(#barrel-clip);
  overflow: hidden;
  transform: translateZ(0); 
}

.stk-video-wrap { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; }
.stk-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.stk-dimmer { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; will-change: opacity; }
.stk-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.2) 100%); pointer-events: none; z-index: 6; }

.stk-content {
  position: absolute;
  inset: 0;
  padding: clamp(30px, 8vw, 80px);
  pointer-events: none;
  color: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stk-txt-right {
  align-self: flex-end;
  text-align: right;
  width: 30%;
  color: var(--color-bg);
}
.stk-txt-right p {
  font-family: var(--font-primary, sans-serif);
  font-size: var(--text-sm, 14px);
  font-weight: var(--font-weight-light, 300);
  line-height: 1.6;
  opacity: 1;
  color: var(--color-bg);
}
.stk-txt-left { align-self: flex-start; }
.stk-title { font-family: var(--font-primary, sans-serif); font-size: clamp(40px, 8vw, 120px); font-weight: var(--font-weight-light, 300); letter-spacing: -0.04em; line-height: 0.9; margin: 0 0 10px 0; color: #fff; }
.stk-subtitle { font-family: var(--font-primary, sans-serif); font-size: clamp(12px, 1.5vw, 20px); font-weight: var(--font-weight-light, 300); letter-spacing: 0.5px; margin-left: 5px; color: #fff; }

@media (max-width: 768px) {
  .stk-txt-right { max-width: 80%; width: auto; }
}

/* ==========================================================================
   CLIENTS SECTION
   ========================================================================== */
.x-cli-section { position: relative; width: 100vw; max-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: transparent; overflow: hidden; z-index: 20; padding: var(--section-gap) 0; }
.x-cli-top { position: relative; z-index: 10; width: var(--content-width); max-width: var(--content-max-width); margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.x-cli-title { font-family: var(--font-primary); font-size: var(--text-xl); font-weight: var(--font-weight-light); color: var(--color-main); margin: 0; line-height: 1.1; letter-spacing: -1px; text-align: center; }
.x-cli-title .italic-serif { font-size: clamp(34px, 4vw, 50px); letter-spacing: 0; }
.marquee-wrapper { position: relative; width: 100vw; overflow: hidden; z-index: 5; padding: 80px 0; display: flex; flex-direction: column;mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);margin-bottom:0; padding-bottom:0; }
.marquee-row { display: flex; width: max-content; }
.marquee-track { display: flex; width: max-content; }
.track-left { animation: scrollL 35s linear infinite; }
.track-right { animation: scrollR 35s linear infinite; }
@keyframes scrollL { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.marquee-content { display: flex; gap: clamp(30px, 4vw, 60px); padding-right: clamp(30px, 4vw, 60px); }
.m-squircle { width: clamp(160px, 20vw, 260px); aspect-ratio: 1 / 0.70495; position: relative; display: flex; align-items: center; justify-content: center; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s ease; cursor: pointer; }
.m-squircle:hover { transform: scale(1.1); background-color: rgba(255, 255, 255, 1); z-index: 100; }
.m-logo { width: 75%; height: 75%; object-fit: contain; pointer-events: none;transition: all 0.5s ease; }
.m-squircle:hover .m-logo { filter: grayscale(0%) opacity(1); }
@media (max-width: 768px) {
  .x-cli-section { min-height: 60vh; }
}

/* ==========================================================================
   FOUNDER & PARTNERS SECTION
   ========================================================================== */
.f-section {
  position: relative;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
  z-index: 21;
  padding: clamp(100px, 15vh, 200px) 0 clamp(20px, 5vh, 60px); 
  perspective: 1200px;
  flex-direction: column;
}
.f-grid {
  width: var(--content-width);
  max-width: var(--content-max-width);
  display: flex;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  align-items: center;
  pointer-events: auto;
  flex-direction: column;
}
.f-left { display: flex; flex-direction: column; gap: clamp(40px, 6vh, 60px); }
.f-title-box { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; text-align: left; margin-bottom: 20px; }
.f-subtitle { font-family: var(--font-primary); font-size: var(--text-lg); font-weight: var(--font-weight-light); color: var(--color-faint); margin: 0; }
.f-title2 {
  font-family: var(--font-primary);
  font-size: clamp(4rem, 12vw, 18rem) !important;    
  font-weight: var(--font-weight-light);
  color: var(--color-main) !important;
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.f-logos-grid {
  display: flex;
  margin-top: 40px;
  gap: 20px 25px;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 1;
  padding: 20px 40px;
  width: 80%;
}

.f-logo-card { 
  background: #fff; 
  width: 100%; 
  aspect-ratio: 1 / 0.70495; 
  clip-path: url(#barrel-clip); 
  -webkit-clip-path: url(#barrel-clip); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
  cursor: pointer; 
  transition: transform 0.4s ease; 
}
.f-logo-item {
  height: clamp(30px, 4vw, 55px);
  width: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}
.f-logo-card:hover { transform: scale(1.05); }
.f-logo-card:hover .f-logo-item { filter: grayscale(0%); }
.f-center { display: flex; flex-direction:column;justify-content: center; align-items: center; width: 100%; height: 100%; }
.f-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.f-img-wrap img { width: 50%;object-fit: contain; opacity: 0.95; will-change: transform; }
.f-right { position:relative; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: left; top:-30vh; }
.f-story-title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  width: 100%;
  font-weight: var(--font-weight-light);
  color: var(--color-main);
  margin: 0 0 10px 0;
  letter-spacing: -1px;
  text-align: right;
}
.founder-cntn{
  display:flex;
  flex-direction:column;
  justify-content: right;
  align-items: flex-end;
}
.f-story-text {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: var(--color-dim);
  line-height: 1.4;
  width: 30%;
  display: flex;
  margin-bottom: 10px;
  text-align: right;
}

.p-section { 
  position: relative;
  width: 100vw;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  overflow: hidden;
  z-index: 21;
  margin-top: -20vh;
  margin-bottom: calc(2 * var(--section-gap));
}
.p-main-title { font-family: var(--font-primary); font-size: var(--text-2xl); font-weight: var(--font-weight-light); color: var(--color-main); margin: 0 0 clamp(40px, 6vh, 60px) 0; letter-spacing: -1px; text-align: center; }
.p-main-title .italic-serif { font-size: clamp(38px, 4.5vw, 62px); letter-spacing: 0; }
.p-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(30px, 5vw, 80px); width: 55vw; max-width: var(--content-max-width); padding: 0 var(--ui-padding-x); pointer-events: auto; }
.p-col { display: flex; flex-direction: column; width: 100%;flex:0.5; }
.p-img-box { width: 100%; aspect-ratio: 0.70495 / 1; clip-path: url(#barrel-clip); -webkit-clip-path: url(#barrel-clip);  }
.p-img-box img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.5s ease; }
.p-info { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 15px; }
.p-name { font-family: var(--font-primary); font-size: var(--text-md); color: var(--color-dim); font-weight: var(--font-weight-light); }
.p-story { font-family: var(--font-primary); font-size:var(--text-xl); color: #1f1f1f; letter-spacing: -0.5px; line-height: 1.2; }

@media(max-width:797px){
  .f-story-title{text-align:left;}
  .f-story-text{text-align:left;width:100%;}
  
  .f-right {
      top: 0;
      margin-top: -1vh;
  }
  
  .f-logos-grid {
      width: 100%;
      padding: 20px 0;
      flex-wrap: wrap;
      margin-top: 0;
  }
  
  .f-logo-card {
      width: calc(33.33% - 20px); 
      min-width: 80px;
  }

  .f-logo-item {
      height: 100%;
      width: 75%;
      object-fit: contain;
  }
  .f-img-wrap img{width:100%;}
  
  .p-grid {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: clamp(30px, 5vw, 80px);
      width: var(--content-width);
      max-width: var(--content-max-width);
      padding: 0 var(--ui-padding-x);
      pointer-events: auto;
      flex-direction: column;
  }
  .p-info {
      flex-direction: column;
      align-items: flex-start;
  }
}

@media(max-width: 480px) {
  .f-logo-card {
      width: calc(50% - 15px); 
  }
}

/* ==========================================================================
   PROCESS & INFO SECTION
   ========================================================================== */
.pr-track {
  position: relative;
  width: 100%;
  height: 600vh; 
  z-index: 21;
  background: #000;
}

.pr-final-stack { 
  position: sticky; 
  top: 0; 
  width: 100vw; 
  height: 100vh; 
  height: 100dvh; 
  overflow: hidden; 
}

.pr-images-wrap { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  z-index: 1; 
}

.pr-img { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  will-change: clip-path;
}

#pr-img-1 { z-index: 1; clip-path: inset(0 0 0 0); }
#pr-img-2 { z-index: 2; clip-path: inset(100% 0 0 0); }
#pr-img-3 { z-index: 3; clip-path: inset(100% 0 0 0); }
#pr-img-4 { z-index: 4; clip-path: inset(100% 0 0 0); }
#pr-img-5 { z-index: 5; clip-path: inset(100% 0 0 0); }

.pr-vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: 
      linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 25%),
      linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 15%),
      linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 15%),
      linear-gradient(to right, rgba(0,0,0,0.6) 0%, transparent 15%);
}

.pr-ui-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(20px, 4vw, 50px) var(--ui-padding-x);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.pr-ui-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-bottom: clamp(20px, 3vw, 40px);
  gap: 40px;
}

.pr-ui-left {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 1vw, 10px);
}

.pr-static-title {
  font-family: var(--font-primary);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  color: #fff;
}

.pr-dynamic-title-wrap {
  position: relative;
  min-height: var(--text-5xl);
  width: 100%; 
}

.pr-step-title {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-light);
  color: #fff;
  margin: 0;
  line-height: 1;
  will-change: transform, opacity, filter;
}

.pr-ui-right {
  width: clamp(250px, 35vw, 450px);
  position: relative;
  height: clamp(60px, 8vw, 100px);
  flex-shrink: 0;
}

.pr-step-desc {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
  will-change: transform, opacity, filter;
}

.pr-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.pr-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  will-change: width;
}

@media (max-width: 768px) {
  .pr-ui-content {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
  }
  .pr-ui-right {
      width: 100%;
      height: 70px;
  }
  .pr-step-desc {
      left: 0;
      right: auto;
  }
}

.info-section { position: relative; width: 100vw; background-color: var(--color-bg); padding: calc(2 * var(--section-gap)) 0; z-index: 22; display: flex; justify-content: center; }
.info-container { width: var(--content-width); max-width: var(--content-max-width); display: flex; flex-direction: column; gap: clamp(80px, 12vh, 160px); }
.info-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.info-text-block p { font-family: var(--font-primary); font-size: var(--text-base); font-weight: var(--font-weight-regular); color: var(--color-main); line-height: 1.5; margin: 0 0 1.5em 0; }
.info-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(50px, 6vw, 100px); width: 75%; margin: auto; }
.info-item { display: flex; gap: clamp(20px, 3vw, 40px); align-items: flex-start; }
.info-item h2 { font-family: var(--font-primary); font-size: var(--text-3xl); font-weight: var(--font-weight-regular); color: var(--color-main); line-height: 1.1; margin: 0;  }
.info-item p { font-family: var(--font-primary); font-size: var(--text-sm); font-weight: var(--font-weight-regular); color: var(--color-main); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .info-top-grid, .info-bottom-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   DUMMY SECTIONS & CANVAS PIN
   ========================================================================== */
.dummy-section-be {
  display:none;
  height: 100vh;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-primary);
  position: relative;
  z-index: 10;
}

#pin-container-be {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 350vh !important;
  min-height: 350vh !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000 !important;
  z-index: 5 !important;
}

#sticky-canvas-container-be {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  overflow: hidden !important;
  z-index: 10 !important;
  margin: 0 !important;
}

canvas.canvas-be {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}

#fluid-canvas-be { z-index: 1; }
#logo-canvas-be  { display: none; } 

/* ==========================================================================
   INTERACTIVE FOOTER
   ========================================================================== */
.f-final-viewport {
  --max-w: 75vw;
  --section-gap: clamp(5rem, 10vw, 8rem);
  
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #030406;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  box-sizing: border-box;
  font-family: var(--font-primary);
  overflow: hidden;
  padding: var(--section-gap) 0; 
}

.f-top-group {
  display: flex;
  flex-direction: column;
  width: var(--max-w);
  margin: 0 auto;
  flex-grow: 1; 
}

.f-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 10;
}

.f-logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
}

.f-logo img {
  filter: invert(1);
}

@keyframes spinPlus {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.f-logo span {
  font-weight: 300;
  margin-left: 6px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  transform-origin: center;
  animation: spinPlus 4s linear infinite; 
}

.f-copyright {
  font-size: var(--text-xs, 12px);
  line-height: 1.2;
}

.f-copyright svg {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.f-copy-text {
  display: flex;
  flex-direction: column;
}

.f-line-flex {
  position: relative;
  width: 100%;
  flex-grow: 1; 
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 5;
}

.f-line-flex svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible; 
  pointer-events: none;
}

.f-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: var(--max-w);
  margin: 0 auto;
  z-index: 10;
}

.f-content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@keyframes textShimmerMask {
  0% { 
      -webkit-mask-position: -200% center; 
      mask-position: -200% center; 
  }
  100% { 
      -webkit-mask-position: 200% center; 
      mask-position: 200% center; 
  }
}

.f-subtitle, .f-title {
  color: #ffffff; 
  
  -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.4) 100%
  );
  mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.4) 100%
  );
  
  -webkit-mask-size: 200% auto;
  mask-size: 200% auto;
  
  animation: textShimmerMask 3.5s linear infinite;
}

.f-subtitle {
  font-size: var(--text-md, 18px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.f-title {
  font-size: var(--text-hero, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
}

.f-back-btn-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 5px;
}

.f-back-btn {
  border: 1px solid #fff;
}

.f-content-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.f-content-right-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.f-find-us {
  font-size: var(--text-sm, 14px);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.f-social-label {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  margin-left: 8px;
}

.f-social-label.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.f-social-line {
  width: 24px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  margin-right: 8px;
}

.f-social-text {
  font-family: var(--font-accent, inherit);
  color: rgba(255, 255, 255, 0.7);
}

.f-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: -12px; 
}

.f-socials a {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.f-socials a:hover { 
  background-color: #fff;
  color: #030406; 
  transform: scale(1.05);
}

.f-socials svg {
  width: 22px; 
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.f-email {
  position: relative;
  display: inline-block;
  font-size: var(--text-xl, 24px);
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.f-email::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
}

.f-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.f-email:hover::after {
  transform: scaleX(1);
}

.f-anim-el { opacity: 0; }

@media(max-width:797px){
  .f-bottom-flex{
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
  }
  .f-back-btn{
      display: block !important;
  }
  .f-socials {
      margin-left: 0;
  }
}