/* Custom fonts */
@font-face {
  font-family: 'Bigilla';
  src: url('./fonts/Bigilla.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calfine';
  src: url('./fonts/Calfinedemo.otf');
}

/* ─── CSS Variables ─── */
:root {
  --bg: #ffffff;
  --text: #0d0d0d;
  --accent: #1a1aff;
  --muted: rgba(13, 13, 13, 0.15);
  --overlay-bg: #0d0d0d;
  --overlay-text: #ffffff;
  --font-serif: 'Bigilla', 'Playfair Display', serif;
  --font-display: 'Bigilla', 'Playfair Display', serif;
  --font-footer-nav: 'Bigilla', 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in: cubic-bezier(0.76, 0, 0.24, 1);
}

body.dark-mode {
  --bg: #0d0d0d;
  --text: #f0ede8;
  --muted: rgba(240, 237, 232, 0.12);
}

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

/* Hide scrollbar globally but keep functionality */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

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

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  cursor: none;
  /* Hide default cursor */
}

/* ─── Custom Cursor ─── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

/* Cursor Hover States */
body.cursor-hover .cursor {
  transform: scale(0.5);
}

body.cursor-hover .cursor-follower {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 26, 255, 0.1);
  border-color: transparent;
}

body.dark-mode .cursor-follower {
  border-color: var(--accent);
}

/* Hide custom cursor on mobile */
@media (max-width: 900px) {

  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ─── Page Transition ─── */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 1;
}

.pt-panel {
  flex: 1;
  position: relative;
  /* background: linear-gradient(135deg, #090909 0%, #151515 55%, #090909 100%); */
  background: black;
  transform: scaleY(1);
  transform-origin: top;
  will-change: transform;
}

.pt-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  opacity: 0.22;
}

/* ─── Header ─── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  padding: 1.4rem 4%;
  border-top: 4px solid var(--accent);
  background-color: var(--bg);
  transition: background-color 0.4s, border-color 0.4s;
}

body.menu-is-open header {
  background-color: transparent;
  border-top-color: transparent;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

@media (max-width: 900px) {
  .logo-link,
  #mode-toggle,
  #menu-toggle,
  .cta-btn {
    font-size: 0.65rem;
    min-width: unset;
  }

  #mode-toggle {
    min-width: 70px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 1rem 3%;
  }
}

#mode-toggle {
  min-width: 100px;
  text-align: center;
}

#menu-toggle {
  min-width: 60px;
  text-align: center;
}

body.menu-is-open nav,
body.menu-is-open .logo-link,
body.menu-is-open #mode-toggle,
body.menu-is-open #menu-toggle,
body.menu-is-open .cta-btn {
  color: var(--text) !important;
}

.logo-link,
#mode-toggle,
#menu-toggle,
.cta-btn {
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Calfine', 'Bodoni Moda', 'Playfair Display', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.1em;
  line-height: 1.1em;
  vertical-align: middle;
  white-space: nowrap;
}

.logo-link span,
#mode-toggle span,
#menu-toggle span,
.cta-btn span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.logo-link::after,
#mode-toggle::after,
#menu-toggle::after,
.cta-btn::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.logo-link:hover span,
#mode-toggle:hover span,
#menu-toggle:hover span,
.cta-btn:hover span,
body.menu-is-open #menu-toggle span {
  transform: translateY(-100%);
}

.logo-link:hover::after,
#mode-toggle:hover::after,
#menu-toggle:hover::after,
.cta-btn:hover::after,
body.menu-is-open #menu-toggle::after {
  transform: translateY(-100%);
}

.cta-btn {
  border: none !important;
  padding: 0 !important;
}

#menu-toggle {
  cursor: pointer;
  letter-spacing: 0.08em;
}

/* ─── Menu Overlay ─── */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  color: var(--text);
  z-index: 150;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  overflow: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

.menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  padding: 0;
  gap: 0;
  opacity: 0;
  transform: translateY(30px);
}

@media (max-width: 900px) {
  .menu-inner {
    grid-template-columns: 1fr;
    padding: 10vh 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.menu-preview-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--muted);
}

@media (max-width: 900px) {
  .menu-preview-col {
    display: none;
  }
}

.preview-img-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
}

#menu-canvas-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.menu-links-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 8%;
}

@media (max-width: 900px) {
  .menu-links-col {
    padding: 0 10%;
    align-items: center;
    text-align: center;
  }
}

.menu-links {
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .menu-links {
    width: 100%;
  }
}

.menu-link-item {
  overflow: hidden;
  border-bottom: 1px solid var(--muted);
}

.menu-link-anchor {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--text);
  padding: 0.4rem 0;
  transform: translateY(110%);
  transition: opacity 0.3s;
  position: relative;
  width: 100%;
}

@media (max-width: 900px) {
  .menu-link-anchor {
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
  }
}

.menu-link-anchor:hover {
  opacity: 0.4;
}

.link-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.35;
  letter-spacing: 0.1em;
  min-width: 2rem;
}

@media (max-width: 900px) {
  .link-index {
    min-width: unset;
    font-size: 0.6rem;
  }
}

.link-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  transition: padding-left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
  .link-text {
    font-size: clamp(2rem, 12vw, 4rem);
  }
}

.link-img-inline {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
  .link-img-inline {
    display: none;
  }

  .menu-link-anchor:hover .link-text {
    padding-left: 0;
  }
}

.menu-footer-row {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.menu-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10vh;
  color: var(--text);
}

.menu-socials a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.menu-socials a:hover {
  opacity: 0.4;
}

/* ─── Main Container ─── */
.container {
  transform-origin: top right;
  background-color: var(--bg);
  position: relative;
  z-index: 1;
  transition: background-color 0.5s var(--ease);
}

/* ─── Sections ─── */
section {
  padding: 10vh 5%;
  position: relative;
}

@media (min-width: 1024px) {
  section {
    padding: 12vh 5%;
  }
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 2rem;
  opacity: 0.45;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── Hero New ─── */
.hero-new {
  min-height: 100vh;
  padding: 10vh 5%; /* Standard section padding */
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.5s var(--ease);
}

.hero-inner {
  width: 100%;
  max-width: 1800px; /* Align with other section max-widths */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hero-top-nav {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  z-index: 10;
}

.hero-top-nav a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero-top-nav a:hover {
  opacity: 1;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  position: relative;
}

.hero-title-wrap {
  z-index: 2;
  max-width: 60%; /* Ensure text doesn't hit the globe too early */
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 16rem); /* Adjust size for Bigilla */
  line-height: 0.82;
  font-weight: 400; /* Bigilla doesn't need 800 */
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: uppercase;
}

#hero-canvas-new {
  position: absolute;
  top: 50%;
  right: 2%; /* Move globe further right */
  transform: translateY(-50%);
  width: 45vw; /* Slightly smaller for more space */
  height: 45vw;
  max-width: 700px;
  max-height: 700px;
  z-index: 1;
  pointer-events: none;
}

.hero-bottom {
  width: 100%;
  padding-top: 40px;
}

.hero-line {
  width: 100%;
  height: 1px;
  background: var(--text);
  margin-bottom: 30px;
  opacity: 0.15;
}

.hero-bottom-content {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 60px;
}

.hero-col-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-col-text p {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  color: var(--text);
  opacity: 0.8;
  max-width: 450px;
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 0 40px;
  }

  .hero-bottom-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-col-label {
    grid-column: 1 / -1;
  }

  .hero-title {
    font-size: 14vw;
  }

  #hero-canvas-new {
    right: -5%;
    width: 60vw;
    height: 60vw;
    max-width: 500px;
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  nav {
    font-size: 0.65rem;
    gap: 12px;
  }

  .hero-new {
    padding: 100px 5% 40px;
    align-items: flex-start;
    min-height: auto;
  }

  .hero-inner {
    padding: 0;
    justify-content: flex-start;
    gap: 30px;
  }

  .hero-main {
    flex: none;
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 7rem);
    line-height: 0.9;
    z-index: 5;
  }

  #hero-canvas-new {
    width: 85vw;
    height: 85vw;
    right: -15%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
  }

  .hero-bottom {
    padding-top: 10px;
  }

  .hero-bottom-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-line {
    margin-bottom: 20px;
  }

  .hero-col-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem 4%;
  }

  nav {
    font-size: 0.6rem;
    gap: 8px;
  }

  .hero-title {
    font-size: 17vw;
  }

  #hero-canvas-new {
    width: 100vw;
    height: 100vw;
    right: -20%;
  }

  .hero-main {
    min-height: 200px;
  }
}

/* ─── Showcase ─── */
.showcase {
  background: var(--accent);
  padding: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-container {
  width: 90%;
  height: 60vh;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .showcase {
    min-height: 110vh;
  }

  .showcase-container {
    width: 78%;
    height: 75vh;
    border-radius: 18px;
  }
}

.parallax-img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  position: absolute;
  top: -15%;
}

/* ─── 3D List Section ─── */
.stack-section {
  position: relative;
  width: 100%;
  height: 180vh;
  /* Faster scroll to next section */
  background: var(--bg);
}

.stack-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  /* Stronger depth */
  overflow: hidden;
}

.stack-panel {
  position: absolute;
  width: 26vw;
  height: 36vw;
  max-width: 360px;
  max-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.stack-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .stack-panel {
    width: 65vw;
    height: 85vw;
  }
}

/* ─── Content Text ─── */
.content-text {
  text-align: center;
  padding: 0 5%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: var(--bg);
  overflow: hidden;
  z-index: 1;
}

.content-glass-wrapper {
  width: 100%;
  max-width: 1700px;
  padding: 0 2%;
  z-index: 10;
}

.content-glass-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  padding: 8vh 5%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.dark-mode .content-glass-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Repositioned Background Spheres */
.sphere-4 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #3b7fff 0%, #00008b 100%);
  top: 10%;
  right: 15%;
  /* Moved away from text start */
  border-radius: 50%;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.sphere-5 {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle at 30% 30%, #ffeb3b 0%, #ff7f3b 100%);
  bottom: 10%;
  left: 10%;
  /* Moved away from text end */
  border-radius: 50%;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.4;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.reveal-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.2vw, 6.2rem);
  /* Slightly smaller to fit in card */
  line-height: 1.05;
  /* Increased for formatting fix */
  text-transform: uppercase;
  width: 100%;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
}

.highlight {
  display: inline-block;
  border-bottom: 3px solid var(--text);
  line-height: 0.85;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}

@media (max-width: 900px) {
  .content-text {
    padding: 0 4%;
  }

  .content-glass-card {
    padding: 4rem 1.5rem;
    border-radius: 20px;
  }

  .reveal-text {
    font-size: clamp(2rem, 9vw, 3.5rem);
    line-height: 1.2;
  }
}

.highlight:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .content-text {
    padding: 0 8%;
    height: auto;
    min-height: 100vh;
  }

  .reveal-text {
    font-size: clamp(2.2rem, 10vw, 4rem);
    line-height: 1.1;
  }

  .mobile-hint {
    display: block;
  }

  /* Visible only on mobile */
}

/* ─── Image Stack Hover ─── */
.image-stack-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 260px;
  /* Smaller mobile size */
  pointer-events: none;
  z-index: 500;
  display: none;
}

@media (min-width: 900px) {
  .image-stack-container {
    width: 300px;
    height: 400px;
  }
}

.stack-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

@media (min-width: 900px) {
  .stack-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
}

/* ─── Playground ─── */
.playground {
  padding: 0;
}

.playground-header {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 0 5%;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .playground-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.playground-title-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playground-display-title {
  font-family: var(--font-display);
  padding-bottom: 10px;
  font-size: clamp(4.5rem, 15vw, 18rem);
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  width: 100%;
  pointer-events: none;
}

/* ─── Standardized Section Hero Headers ─── */
.playground, .services, .team-list-section {
    padding: 0;
}

.section-hero-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}

.section-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 10vh 0;
  gap: 4rem;
  text-align: center;
}

.section-hero-left {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.section-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  opacity: 0.8;
  max-width: 600px;
  text-align: left;
}

.section-hero-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 18rem);
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Playground Specific Adjustments */
.playground-title-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.dark-mode .section-hero-header {
  background: #0d0d0d;
}

@media (max-width: 900px) {
  .section-hero-header {
    min-height: 70vh;
    padding: 0 5%;
  }

  .section-hero-main {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    padding: 10vh 0;
    text-align: center;
  }

  .section-hero-left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .section-hero-desc {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 280px;
    opacity: 0.7;
    margin: 0 auto;
  }

  .section-hero-right {
    justify-content: center;
    width: 100%;
  }

  .section-hero-title {
    text-align: center;
    font-size: clamp(3rem, 16vw, 6.5rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .playground-display-title {
    font-size: 22vw;
    padding-bottom: 0;
  }
}

.playground-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2vh 5% 5vh 5%;
}

@media (min-width: 900px) {
  .playground-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10vh 5% 5vh 5%;
  }

  .playground-grid.single-item {
    grid-template-columns: 1fr;
  }
}

.play-card {
  position: relative;
  cursor: pointer;
}

.play-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  position: relative;
  background: var(--muted);
}

.play-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.play-card:hover .play-img-wrapper img {
  transform: scale(1.04);
}

.play-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  transform: rotate(-3deg);
  z-index: 2;
}

.play-info-row {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .play-info-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2.5rem;
  }
}

.play-title-group h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.play-title-group p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 500px;
}

/* ─── Services ─── */
.services {
  padding: 2vh 5%;
  position: relative;
  min-height: auto;
  margin-bottom: 20vh;
}

.services .playground-header {
  height: 20vh;
}

@media (min-width: 1024px) {
  .services {
    padding: 0 5%;
    min-height: 100vh;
  }

  .services .playground-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.blue-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.blue-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-blue 2s infinite;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes pulse-blue {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

.service-item-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-item-content span:first-child {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.service-arrow {
  grid-column: 3;
  justify-self: start;
  margin-left: 2rem;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 5vw, 4rem);
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.service-item:hover .service-arrow {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .service-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .service-arrow {
    margin-left: 0;
    transform: translateX(0);
    opacity: 1;
    font-size: 1.5rem;
  }
}

.service-item span {
  display: inline-block;
  position: relative;
  z-index: 2;
}

.service-item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 7rem);
  line-height: 0.9;
  padding: 1rem 0;
  cursor: pointer;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  transition: all 0.4s var(--ease);
  color: var(--text);
  border-bottom: 1px solid var(--muted);
  letter-spacing: 0.02em;
  overflow: hidden;
}

@media (max-width: 900px) {
  .services-list {
    display: flex;
    flex-direction: column;
    margin-top: 2vh;
  }

  .service-item {
    height: auto;
    padding: 2.2rem 0;
    /* Reduced padding for cleaner look */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--muted);
    border-radius: 0;
    color: var(--text);
    background-image: none !important;
    transition: all 0.4s var(--ease);
    font-weight: 600;
    opacity: 1;
  }

  .service-item.is-active {
    background-color: #0d0d0d !important;
    color: #f0ede8 !important;
  }

  .service-item.is-active .service-arrow {
    opacity: 1;
    transform: translateX(0);
    width: auto;
    margin-left: 15px;
  }

  .dark-mode .service-item.is-active {
    background-color: #f0ede8 !important;
    color: #0d0d0d !important;
  }

  .service-item span {
    position: relative;
    z-index: 2;
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    /* More appropriate mobile size */
    line-height: 1.1;
    text-shadow: none;
    display: inline-block;
    font-weight: 600;
    color: inherit;
  }

  .service-item-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 10%;
  }

  .service-arrow {
    font-size: 1.5rem;
    transition: all 0.4s var(--ease);
    transform: translateX(-10px);
    opacity: 0;
    width: 0;
    /* Prevents layout shift when hidden */
    overflow: hidden;
    display: inline-block;
    margin-left: 0;
  }

  .hover-preview {
    display: none !important;
  }

  .services-list:hover .service-item,
  .services-list .service-item:hover {
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .service-item {
    font-size: clamp(2.8rem, 9vw, 8rem);
    padding: 0.6rem 0;
    line-height: 0.88;
  }
}

@media (min-width: 901px) {
  .services-list:hover .service-item {
    opacity: 0.2;
  }

  .services-list .service-item:hover {
    opacity: 1;
  }
}

.hover-preview {
  position: fixed;
  width: 400px;
  height: 280px;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
  border-radius: 20px;
  clip-path: inset(50% 0 50% 0);
  background: #000;
}

.hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.8s var(--ease);
}

/* ─── Contact Overlay ─── */
.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 1000;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  overflow-y: auto;
  padding: 4.5vh 5% 10vh 5%;
  /* Hide scrollbar visually */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.contact-overlay::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

@media (min-width: 1024px) {
  .contact-overlay {
    padding: 5vh 8% 10vh 8%;
  }
}

.contact-overlay-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4vh;
}

.contact-close {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.08em;
  color: var(--text);
}

.contact-toast {
  position: fixed;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--muted);
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.88);
  color: #f0ede8;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  z-index: 1200;
}

.dark-mode .contact-toast {
  background: rgba(240, 237, 232, 0.95);
  color: #0d0d0d;
}

.contact-toast.is-error {
  background: rgba(140, 24, 24, 0.92);
  color: #fff3f3;
}

.contact-display-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 11rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8vh;
}

.main-contact-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .main-contact-form {
    gap: 5rem;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .form-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
    padding-bottom: 2rem;
  }
}

.form-row label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 120px;
  opacity: 0.6;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  background: none;
  border: none;
  width: 100%;
  font-family: 'Calfine', 'Bodoni Moda', 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 6rem);
  color: var(--text);
  text-transform: uppercase;
  outline: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  font-family: 'Calfine', 'Bodoni Moda', 'Playfair Display', serif;
  color: var(--text);
  opacity: 0.2;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
}

.interest-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.interest-tags .tag {
  font-family: 'Calfine', 'Bodoni Moda', 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 2.2rem);
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--muted);
  border-radius: 4px;
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--text);
}

.interest-tags .tag.selected {
  opacity: 1;
  background: var(--text);
  color: var(--bg);
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  padding: 5vh 0;
}

.send-btn {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 14rem);
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .contact-display-title {
    font-weight: 500;
  }

  .form-row input,
  .form-row textarea {
    font-weight: 500;
    opacity: 1;
    color: var(--text);
  }

  .form-row input::placeholder,
  .form-row textarea::placeholder {
    font-weight: 500;
    opacity: 0.55;
    color: var(--text);
  }
}

/* ─── Interactive Process Section ─── */
.process-hero-section {
  position: relative;
  background: var(--bg);
  padding: 0 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.process-hero-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 10vh 0;
}

.process-hero-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1;
}

.process-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5;
  opacity: 0.8;
  max-width: 450px;
}

.process-hero-right {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}

.process-hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 18rem);
  line-height: 0.82;
  text-align: right;
  text-transform: uppercase;
  color: var(--text);
}

.process-scroll-section {
  position: relative;
  background: var(--bg);
  padding: 15vh 0;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

/* Background Blobs & Spheres (Shared/Moved) */
.process-bg-blobs,
.process-bg-spheres {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 100, 200, 0.4) 0%, rgba(255, 100, 200, 0) 70%);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(163, 73, 164, 0.3) 0%, rgba(163, 73, 164, 0) 70%);
  bottom: -100px;
  left: -100px;
}

.blob-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 127, 255, 0.2) 0%, rgba(59, 127, 255, 0) 70%);
  top: 30%;
  left: 5%;
}

.sphere {
  position: absolute;
  border-radius: 50%;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.sphere-1 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, #ff9a9e 0%, #fecfef 100%);
  top: 20%;
  right: 40%;
}

.sphere-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #a18cd1 0%, #fbc2eb 100%);
  bottom: 10%;
  left: 20%;
}

.sphere-3 {
  width: 45px;
  height: 45px;
  background: radial-gradient(circle at 30% 30%, #a349a4 0%, #4b0082 100%);
  top: 60%;
  right: 10%;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--text);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.process-track {
  display: flex;
  gap: 40px;
  padding: 0 10vw;
  width: fit-content;
}

.process-card {
  flex-shrink: 0;
  width: 420px;
  height: 540px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
}

.card-glass {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s var(--ease);
}

.process-card:hover .card-glass {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.4;
}

.card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-purple {
  background: #a349a4;
  box-shadow: 0 0 15px rgba(163, 73, 164, 0.5);
}

.dot-orange {
  background: #ff7f3b;
  box-shadow: 0 0 15px rgba(255, 127, 59, 0.5);
}

.dot-blue {
  background: #3b7fff;
  box-shadow: 0 0 15px rgba(59, 127, 255, 0.5);
}

.dot-green {
  background: #2ecc71;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
}

.dot-red {
  background: #e74c3c;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.card-icon-wrapper {
  margin-bottom: 30px;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--text);
}

.card-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.card-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
}

.process-card:hover .card-arrow {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: rotate(45deg);
}

.card-arrow svg {
  width: 22px;
  height: 22px;
}

.process-footer {
  margin-top: 10vh;
  display: flex;
  justify-content: center;
}

.scroll-explore {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
  letter-spacing: 1px;
}

.arrow-down {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}

/* Dark Mode Overrides */
.dark-mode .process-hero-section,
.dark-mode .process-scroll-section {
  background: #0d0d0d;
}

.dark-mode .card-glass {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .process-card:hover .card-glass {
  background: rgba(255, 255, 255, 0.92);
  color: #0d0d0d;
  transform: translateY(0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .process-card:hover .card-icon {
  background: rgba(13, 13, 13, 0.08);
}

.dark-mode .process-card:hover .card-icon svg {
  stroke: #0d0d0d;
}

.dark-mode .process-card:hover .card-tags span {
  background: rgba(13, 13, 13, 0.08);
  color: #0d0d0d;
}

.dark-mode .card-icon {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .card-icon svg {
  stroke: #fff;
}

.dark-mode .card-tags span {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .card-arrow {
  border-color: rgba(255, 255, 255, 0.15);
}

.dark-mode .process-badge {
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .process-hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .process-hero-main {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 0;
  }

  .process-hero-left {
    align-items: center;
    gap: 1.5rem;
  }

  .process-hero-desc {
    display: none;
  }

  .process-hero-right {
    justify-content: center;
    width: 100%;
  }

  .process-hero-title {
    text-align: center;
    font-size: clamp(4rem, 20vw, 10rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
  }

  .process-scroll-section {
    padding: 2vh 0 6vh;
    min-height: auto;
  }

  .process-card {
    height: auto;
    min-height: 380px;
    width: 320px;
  }

  .card-glass {
    padding: 25px;
  }

  .card-top, .card-icon-wrapper {
    margin-bottom: 15px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }

  .card-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .card-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

.folder-body {
  height: 300px;
  padding: 20px 18px;
}

.folder-body h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.folder-body p {
  font-size: 0.75rem;
  line-height: 1.4;
}


/* ─── Team Stickers Section ─── */
.team-section {
  padding: 15vh 5%;
  background: var(--bg);
}

.laptop-lid {
    width: 100%;
    height: 80vh;
    background: var(--bg);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    border: 8px solid #333;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.dark-mode .laptop-lid {
    background: #1a1a1a;
    border-color: #444;
}
.team-stickers-container {
  flex: 1;
  position: relative;
  cursor: grab;
  touch-action: none;
}

.team-stickers-container:active {
  cursor: grabbing;
}

.team-sticker {
  position: absolute;
  width: clamp(120px, 15vw, 200px);
  height: auto;
  pointer-events: auto;
  z-index: 5;
  will-change: transform;
  touch-action: none;
}

.team-sticker img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.2) brightness(1.1);
}

.dark-mode .team-sticker img {
  mix-blend-mode: normal;
  filter: none;
  border-radius: 12px;
  border: 4px solid #fff;
  background: #fff;
}

.team-sticker::after {
  content: attr(data-name);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  background: var(--text);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}

.team-sticker:hover::after {
  opacity: 1;
}

.sticker-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0.3;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 900px) {
  .laptop-lid {
    height: 60vh;
    border-radius: 20px;
    border-width: 4px;
  }
}

/* ─── Footer ─── */
.footer {
    position: relative;
    background: var(--bg);
    width: 100%;
    height: 100vh; /* Fit to viewport */
    padding: 10vh 5% 5vh 5%;
    z-index: 10;
    color: var(--text);
    overflow: hidden;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out top, nav, and bottom */
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0.5;
  text-transform: uppercase;
}

.footer-col p {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.4;
  font-weight: 500;
}

.footer-socials {
  list-style: none;
}

.footer-socials li a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  transition: opacity 0.3s var(--ease);
}

.footer-socials li a:hover {
  opacity: 0.5;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex: 1;
  /* Allow to grow and center vertically */
}

.footer-nav .footer-label {
  margin-top: 0;
  width: 100px;
  flex-shrink: 0;
}

.footer-nav-links {
  font-family: var(--font-footer-nav);
  font-size: clamp(2rem, 7vw, 6.5rem);
  /* Slightly smaller to fit */
  line-height: 1;
  font-weight: 400;
  flex: 1;
}

.footer-nav-links a {
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.3s var(--ease);
}

.footer-nav-links a:hover {
  opacity: 0.4;
}

.footer-nav-links span.slash {
  opacity: 0.3;
  margin: 0 0.15em;
  font-family: var(--font-footer-nav);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3vh;
  border-top: 1px solid var(--muted);
}

.backToTop {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.95vw, 1rem);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s var(--ease);
}

.backToTop:hover {
  opacity: 0.5;
}

.footer-credit {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.95vw, 1rem);
  font-weight: 500;
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-arrow {
  width: 1rem;
  height: 1rem;
}

.footer-heart {
  width: 1.1rem;
  height: 1.1rem;
  color: #ff4d4d;
}

@media (max-width: 900px) {
  .footer {
    padding: 60px 5% 40px;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col {
    gap: 0.8rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin: 20px 0;
  }

  .footer-nav .footer-label {
    width: auto;
  }

  .footer-nav-links {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 30px;
  }
}

/* background big text (Keep it but make sure it doesn't clash) */
#watermark-holder {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
}

.watermark {
  font-family: var(--font-display);
  font-size: 25vw;
  line-height: 0.8;
  white-space: nowrap;
}

/* ─── Loader Overlay ─── */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
}

.loader-counter {
  position: absolute;
  bottom: 2vh;
  right: 4%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 22rem);
  line-height: 0.8;
  color: var(--text);
  pointer-events: none;
  z-index: 20002;
  opacity: 0.15;
  font-weight: 900;
}

.loader-stickers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20001;
}

.loader-sticker-img {
  position: absolute;
  width: clamp(100px, 15vw, 200px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: contrast(1.4) brightness(1.1) saturate(1.1);
  /* Bleaches off-white backgrounds to pure white */
  opacity: 1;
  /* Keep at 1 for the cleanest blend mode effect */
}

body.loader-active {
  overflow: hidden;
}

/* ─── Hero Stickers ─── */
.hero-stickers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* ─── Generic Section Stickers ─── */
.section-stickers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.section-sticker-img,
.hero-sticker-img {
  position: absolute;
  width: clamp(60px, 8vw, 120px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: contrast(1.4) brightness(1.1) saturate(1.1);
  opacity: 1;
  /* Ensure pure blending */
}

/* ─── Hanging Cards Section ─── */
.hanging-cards-section {
  position: relative;
  width: 100%;
  height: 150vh;
  /* Increased from 140vh for more vertical breathing room */
  background-color: #2b44ff;
  overflow: hidden;
  display: block;
  padding: 0;
  /* Remove default section padding for precise positioning */
}

.wire {
  position: absolute;
  top: 12vh;
  /* Moved up from 15vh */
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #444 0%, #111 50%, #000 100%);
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cards-wrapper {
  display: flex;
  gap: 150px;
  padding: 0 25vw;
  margin-top: 35vh;
  /* Moved up from 45vh */
  z-index: 10;
  will-change: transform;
  align-items: flex-start;
}

.hanging-card {
  position: relative;
  width: 580px;
  /* Reduced from 620px for better fit */
  flex-shrink: 0;
  /* Pivot from the rod position (35vh - 12vh = 23vh above) */
  transform-origin: 50% -23vh;
  will-change: transform;
}

/* The thread from rod to card */
.hanging-card::before {
  content: '';
  position: absolute;
  top: -25vh;
  /* Starts inside the rod for overlap */
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 25vh;
  /* Connects down to the card */
  background: #000;
  z-index: 1;
}

/* The Knot at the Rod */
.hanging-card::after {
  content: '';
  position: absolute;
  top: -23vh;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  z-index: 6;
  /* Above the rod */
}

.card-tag {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.tag-body {
  width: 110px;
  height: 130px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 3px solid #000;
  position: relative;
  background: #fff;
}

/* Thread attachment point on tag - No more holes */
.tag-body::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  z-index: 5;
}

/* Ensure no hole exists */
.tag-body::after {
  display: none;
}

.tag-label {
  position: absolute;
  top: 55px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-date {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.card-inner {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 80px;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.5);
  border: 4px solid #000;
  background: #000;
  position: relative;
  z-index: 2;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hanging-card:hover .card-img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .hanging-cards-section {
    height: 100vh;
  }

  .wire {
    top: 8vh;
  }

  .cards-wrapper {
    margin-top: 28vh;
    gap: 80px;
  }

  .hanging-card {
    width: 420px;
    transform-origin: 50% -20vh;
  }

  .hanging-card::before {
    height: 22vh;
    top: -22vh;
    width: 4px;
  }

  .hanging-card::after {
    top: -20vh;
    width: 15px;
    height: 15px;
  }

  .card-tag {
    top: -20px;
  }

  .tag-body {
    width: 85px;
    height: 100px;
  }

  .tag-body::before {
    top: 8px;
    width: 10px;
    height: 10px;
  }

  .tag-body::after {
    display: none;
  }

  .tag-label {
    top: 45px;
  }

  .card-inner {
    border-radius: 40px;
  }
}

/* ─── Team List Section (Image Style) ─── */
.team-list-section {
  padding: 10vh 5% 15vh 5%;
  background-color: var(--bg);
  color: #0d0d0d;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}

.dark-mode .team-list-section {
  background-color: #0d0d0d;
  color: #f0ede8;
}

.team-header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 6vh 0;
  margin-bottom: 4vh;
  min-height: 100vh;
  /* Cover full screen */
}

.team-header-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.team-header-desc {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.4;
  max-width: 320px;
  font-weight: 500;
}

.team-big-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 18rem);
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: flex-start;
}

.team-year-sup {
  font-family: var(--font-display);
  font-size: 0.22em;
  margin-left: 0.1em;
  padding-top: 0.15em;
}

.team-list {
  border-top: none;
}

.team-item {
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--muted);
  position: relative;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), padding-left 0.4s var(--ease);
}

.team-item:hover,
.team-item.is-active {
  background-color: #0d0d0d;
  color: #f0ede8;
  padding-left: 3%;
  padding-right: 3%;
}

.dark-mode .team-item:hover,
.dark-mode .team-item.is-active {
  background-color: #f0ede8;
  color: #0d0d0d;
}

.team-role {
  flex: 0 0 350px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
  text-transform: uppercase;
}

.team-item:hover .team-role {
  opacity: 1;
}

.team-name {
  flex: 1;
  font-family: 'Calfine', 'Bodoni Moda', 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 6.5rem);
  line-height: 1;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "calt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.team-arrow {
  font-size: clamp(2rem, 5vw, 4rem);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s var(--ease);
}

.team-item:hover .team-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hover Sticker */
.team-hover-sticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 500px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  scale: 0.8;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-hover-sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
}

@media (max-width: 900px) {
  .services {
    margin-bottom: 5vh;
  }

  .team-header-desc {
    display: none;
  }

  .team-header-main {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0;
    min-height: auto;
    padding-top: 5vh;
  }

  .team-header-right {
    justify-content: center;
    width: 100%;
    padding-bottom: 2rem;
  }

  .team-big-title {
    text-align: center;
    justify-content: center;
    font-size: clamp(5rem, 24vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.03em;
  }

  .team-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding: 4rem 0;
  }

  .team-role {
    flex: 1;
    font-size: 0.65rem;
    opacity: 0.7;
  }

  .team-name {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .team-hover-sticker {
    display: none !important;
    opacity: 0 !important;
  }

  .team-hover-sticker img {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
  }
}
