html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}


.about-me .nav__item{
    background: rgb(0, 0, 0 ,0.4);
  backdrop-filter: unset;
}


::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}
html {
  -ms-overflow-style: none;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #3f3d3d inset !important;
  -webkit-text-fill-color: #fff !important;

  border: 1px solid transparent !important;
  outline: none !important;
  background-color: transparent !important;

  transition: background-color 9999s ease-in-out 0s;
}

#gl {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: difference;
  --size: 100px;
  background-image:
    linear-gradient(#ffffff0f 1px, transparent 1px),
    linear-gradient(to right, #ffffff0f 1px, transparent 1px);
  background-size: var(--size) var(--size);
}

.pro-cta {
  position: fixed;
  top: 0;
  left: 0;  
  display: flex;
  align-items: center;
  gap: 5px;
  /* mix-blend-mode:difference; */
  padding: 8px 10px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),opacity 0.5s ease;
  will-change: transform, opacity;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
}

.pro-cta svg {
  fill: #000;
}

.bricks-button span.scrambling {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

button.is-clickable,
a.is-clickable {
  position: static !important;
}

.is-clickable::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
  z-index: 1;
}

.is-clickable-child a::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
  z-index: 1;
}

/*LAB*/
.lab-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    transition: background 0.3s ease;
    font-family: inherit; /* Grabs your theme font */
}

/* When modal is visible */
.lab-modal.is-active {
    background: rgba(0, 0, 0, 0.94);
}

.lab-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lab-modal.is-active .lab-modal-content {
    opacity: 1;
    transform: translateY(0);
}
.lab-modal-hero {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.lab-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: absolute;
    bottom:0px;
    right: 0px;
    backdrop-filter: blur(10px);
    padding: 5px 10px;
    border-radius: 10px;
}

.lab-modal-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
}

.lab-modal-date {
    font-weight: 500;
    font-size: 10px;
    line-height: 1.3;
    width: fit-content;
    padding-top: 8px;
    padding-right: 12px;
    padding-bottom: 8px;
    padding-left: 12px;
    background-color: rgba(240, 240, 240, 0.25);
    border-radius: 5px;
}

.lab-modal-img {
    width: 100%;
    height: auto;
    max-height: 75dvh;
    object-fit: cover;
    border-radius: 10px;
    background: #111;
}
.lab-modal.no-desc .lab-modal-img{
min-height: 75dvh;
}

.lab-modal-desc {
    font-weight: 300;
    color: hsl(0, 0%, 100%);
    line-height: 1.4;
    letter-spacing: 0.04em;
    font-size: 2rem;
    width: 35%;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    white-space: pre-line;
}
.lab-modal-desc:empty,
.lab-modal.no-desc .lab-modal-desc {
  display: none;
}

.lab-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.lab-modal.is-active .lab-modal-close {
  opacity: 1;
}


@media (max-width: 992px) {
  .lab-modal-content {
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start;
  }
  .lab-modal-hero, .lab-modal-desc {
    width: 100%;
  }
  .lab-modal-title {
    font-size: 1.2rem;
  }
  .lab-modal-desc{
    padding-bottom: 5rem;
  }
}

/*Globe*/

/* Atmospheric glow rings */
#globe-container::before,
#globe-container::after {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Outer soft aura */
/* #globe-container::before {
content: '';
position: absolute;
inset: -20%;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(
  circle at center,
  transparent 85%,
  rgba(255, 255, 255, 0.08) 68%,
  rgba(255, 255, 255, 0.18) 72%,
  rgba(255, 255, 255, 0.05) 78%,
  transparent 5%
);
filter: blur(12px);
animation: pulseGlow 4s ease-in-out infinite alternate;
} */

/* Sharp rim light */
#globe-container::after {
  background: radial-gradient(
    ellipse at center,
    transparent -100%,
    rgba(255, 255, 255, 0.2) 10%,
    rgba(255, 255, 255, 0.2) 10%,
    transparent 50%
  );
}

@keyframes pulseGlow {
  from { opacity: 0.7; transform: scale(0.99); }
  to   { opacity: 1.0; transform: scale(1.01); }
}

#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#globe-canvas:active { cursor: grabbing; }

#globe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  gap: 16px;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

#globe-loading.hidden { opacity: 0; }

.spinner {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-top-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.ripple::empty{
  min-width: none;
  min-height: none;
}

.ripple {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  position: relative;
}

.ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/*Worls Clock*/
.wc-root {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    position: relative;
    color: #fff;
    /* border: 1px solid rgba(255,255,255,0.12); */
    background: rgba(255,255,255,0.035);
  }
  .wc-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-grow: 1;
  }
  .wc-zone {
    padding:20px var(--space-sm);
    border-right: 0.5px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.3s;
    cursor: default;
  }
  .wc-zone:last-child { border-right: none; }
  .wc-zone:hover { background: rgba(255,255,255,0.035); }

  /* ── top row: left text | right clock ── */
  .wc-zone-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: var(--space-sm);
  }
  .wc-zone-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .wc-zone-right {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    max-width: clamp(40px, 4vw, 72px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── bottom: bar + offset ── */
  .wc-zone-bottom {
    margin-top:auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* ── existing class names untouched ── */
  .wc-zone-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
  }
  .wc-time {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    white-space: nowrap;
    margin-top: 5px;
  }
  .wc-time span.ampm {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #fff;
    margin-left: 3px;
    vertical-align: middle;
  }
  .wc-date {
    font-size: 11px;
    margin-top: 20px;
    color: rgb(255, 255, 255, 0.85);
    letter-spacing: 0.06em;
    font-weight: 300;
  }
  .wc-bar {
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
  }
  .wc-bar-fill {
    height: 100%;
    background: rgba(255,255,255,0.22);
    border-radius: 2px;
  }
  .wc-bar-fill.red { background: rgba(220,70,60,0.7); }
  .wc-active-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(120,220,130,0.85);
    box-shadow: 0 0 6px rgba(120,220,130,0.5);
    margin-right: 6px;
    vertical-align: middle;
  }
  .wc-active-dot.on {
    background: rgba(204,255,108,1);
    box-shadow: 0 0 6px rgba(204,255,108,0.5);
  }
  .wc-offset {
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.08em;
  }
  .analog-clock-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .analog-svg {
    width: 100%;
    height: 100%;
  }
  .wc-footer {
    border-top: 0.5px solid rgba(255,255,255,0.06);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
  }
  .wc-footer-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.12em;
    font-weight: 400;
    text-transform: uppercase;
  }
  .wc-progress-label {
    font-size: 10px;
     font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-left: auto;
    letter-spacing: 0.05em;
  }