/* ==========================================================================
   Personal Portfolio Website — Editorial UI/UX & Motion System
   Inspired by Dymas Alfin (Mikan Team) Dribbble Shot #26995447
   ========================================================================== */

:root {
  --bg-primary: #FDFDFD;
  --bg-secondary: #F6F6F6;
  --bg-dark: #181818;
  --bg-dark-elevated: #222222;
  --text-primary: #0A0909;
  --text-secondary: #707070;
  --text-muted: #9E9E9E;
  --border-light: rgba(10, 9, 9, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);
  --accent-green: #22C55E;
  --pill-bg: #FFFFFF;
  --pill-shadow: 0 4px 20px -2px rgba(10, 9, 9, 0.06), 0 1px 3px rgba(10, 9, 9, 0.04);
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: auto;
  background-color: #ECECEC;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  overflow-x: hidden;
  selection-background-color: #0A0909;
  selection-color: #FDFDFD;
}

::selection {
  background: #0A0909;
  color: #FDFDFD;
}

/* Smooth Lenis Scroll */
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;
}

/* Typography Utilities */
.font-display {
  font-family: var(--font-display);
}

/* ==========================================================================
   First-Time Entry Editorial Intro Curtain (GSAP Preloader)
   ========================================================================== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: #111113;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: top center;
  will-change: transform, opacity;
}

.intro-curtain-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Beauté Pinterest Reference Hero Section (GPU-Optimized for 60fps on Low-Spec Laptops)
   ========================================================================== */
.beaute-navbar {
  background-color: rgba(224, 224, 220, 0.98);
  color: #181818;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#mode-pill-indicator {
  background-color: #EBEBE7;
  border-color: rgba(0, 0, 0, 0.12);
  color: #181818;
}

.beaute-hero-section {
  background-color: #D7D7D3;
  color: #4A4A46;
  position: relative;
  contain: layout paint;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Rising Particles Canvas (Bottom-to-Top) */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.hero-ambient-glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 68%);
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 2;
}

body.black-mode .hero-ambient-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 68%);
}

.beaute-bg-text-wrap {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3.5vw;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

.beaute-bg-word {
  font-family: 'Anton', 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(7rem, 20.5vw, 21.5rem);
  line-height: 0.85;
  letter-spacing: 0.01em;
  color: #CBCBC6;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  transition: color 0.4s ease;
}

.hero-char-mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-char {
  display: inline-block;
  transform: translateZ(0);
}

.portrait-scroll-wrap {
  position: relative;
  z-index: 15;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translateZ(0);
}

.beaute-portrait-stage {
  position: relative;
  height: calc(100vh - 84px);
  max-height: 88vh;
  width: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 15;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transform: translateZ(0);
}

/* Zero-Blur GPU Radial Gradient Yellow Neon Aura on Hover */
.portrait-neon-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 560px;
  transform: translate3d(-50%, -50%, 0) scale(0.82);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 230, 0, 0.65) 0%,
    rgba(250, 204, 21, 0.35) 45%,
    rgba(250, 204, 21, 0.08) 72%,
    rgba(250, 204, 21, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.beaute-portrait-stage:hover .portrait-neon-aura {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1.08);
}

.beaute-portrait-img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  transform: translateZ(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

/* Lightweight Single-Pass Yellow Neon Rim Glow on Hover */
.beaute-portrait-stage:hover .beaute-portrait-img,
body.black-mode .beaute-portrait-stage:hover .beaute-portrait-img {
  transform: translate3d(0, -4px, 0) scale(1.015);
  filter: drop-shadow(0 0 10px #FFE600);
}

/* Animated Scroll Mouse Pill in Bottom-Right of Hero */
.scroll-mouse-pill {
  width: 16px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  opacity: 0.8;
}

.scroll-mouse-wheel {
  width: 2.5px;
  height: 5px;
  border-radius: 999px;
  background-color: currentColor;
  animation: scroll-wheel-bounce 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-wheel-bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  65% {
    transform: translateY(7px);
    opacity: 0.2;
  }
}

/* Interactive Click Prompt Pill on Portrait (Zero-Blur for High FPS) */
.portrait-click-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: rgba(15, 15, 18, 0.94);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 5;
  transition: transform 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

.beaute-portrait-stage:hover .portrait-click-badge {
  transform: translate3d(-50%, -4px, 0);
  background: #000000;
  border-color: rgba(250, 204, 21, 0.65);
}

.portfolio-footer {
  background-color: #FDFDFD;
  color: #0A0909;
}

/* ==========================================================================
   BLACK MODE STATE (Activated When Clicking Hero Portrait -> LED Wiring)
   ========================================================================== */
body.black-mode {
  background-color: #0A0A0D;
  color: #F5F5F7;
}

body.black-mode .beaute-navbar {
  background-color: rgba(12, 12, 16, 0.97);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.black-mode #mode-pill-indicator {
  background-color: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: #FDE68A;
}

body.black-mode .beaute-hero-section {
  background-color: #0B0B0F;
  color: #A1A1AA;
}

body.black-mode .beaute-bg-word {
  color: #18181F;
}

body.black-mode .beaute-portrait-img {
  filter: none;
}

body.black-mode .portrait-click-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #0A0909;
  border-color: rgba(255, 255, 255, 0.4);
}

body.black-mode .portfolio-footer {
  background-color: #08080B;
  color: #F4F4F5;
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
  }
  .hero-first-name {
    -webkit-text-stroke: 1.75px #1E1E1E;
    font-size: clamp(3rem, 16vw, 5.5rem);
  }
  .hero-last-name {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }
}

/* Giant Section Watermark Text */
.watermark-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 13.5vw, 12.5rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(10, 9, 9, 0.035);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.watermark-text-dark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.2rem, 13.5vw, 12.2rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* Status Pill & Soft Buttons */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.05rem;
  background: #FFFFFF;
  border: 1px solid rgba(10, 9, 9, 0.06);
  border-radius: 9999px;
  box-shadow: var(--pill-shadow);
  font-size: 0.82rem;
  font-weight: 500;
  color: #262626;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--accent-green);
  opacity: 0.4;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* Primary Dark Pill CTA */
.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.35rem;
  background: #141414;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #141414;
  box-shadow: 0 8px 20px -4px rgba(10, 9, 9, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.3s ease,
              box-shadow 0.35s ease;
  cursor: pointer;
}

.btn-dark-pill:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(10, 9, 9, 0.35);
}

.btn-dark-pill .arrow-icon {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-dark-pill:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Light Pill Button */
.btn-light-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #FFFFFF;
  color: #1A1A1A;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(10, 9, 9, 0.08);
  box-shadow: var(--pill-shadow);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.btn-light-pill:hover {
  border-color: rgba(10, 9, 9, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(10, 9, 9, 0.1);
}

.btn-light-pill .arrow-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-light-pill:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* Hero Portrait & Interactive Color Spotlight (Balanced Medium Framing, Fits 100vh) */
.hero-portrait-stage {
  position: relative;
  height: clamp(280px, 52vh, 470px);
  width: auto;
  aspect-ratio: 1024 / 875;
  flex-shrink: 0;
  margin: 0 auto;
  user-select: none;
  cursor: none;
  z-index: 15;
}

.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  will-change: filter, mask-image, -webkit-mask-image;
}

.portrait-bw {
  filter: grayscale(100%) contrast(1.06) brightness(1.01);
  transition: filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-color {
  --spot-x: 50%;
  --spot-y: 45%;
  --spot-r: 0px;
  filter: saturate(1.08) contrast(1.03);
  -webkit-mask-image: radial-gradient(
    circle var(--spot-r) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle var(--spot-r) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Custom Spotlight Cursor Ring on Portrait */
.portrait-cursor-lens {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(10, 9, 9, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 25;
  backdrop-filter: blur(4px);
}

.hero-portrait-stage:hover .portrait-cursor-lens {
  transform: translate(-50%, -50%) scale(1);
}

/* Social Pill Links */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.05rem;
  background: #FFFFFF;
  border: 1px solid rgba(10, 9, 9, 0.06);
  border-radius: 9999px;
  box-shadow: var(--pill-shadow);
  font-size: 0.8rem;
  font-weight: 500;
  color: #303030;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-pill:hover {
  transform: translateX(-5px);
  border-color: rgba(10, 9, 9, 0.2);
  color: #0A0909;
  box-shadow: 0 8px 20px -4px rgba(10, 9, 9, 0.12);
}

/* Project Card Styling */
.project-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(10, 9, 9, 0.05);
  box-shadow: 0 10px 35px -10px rgba(10, 9, 9, 0.05);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px -12px rgba(10, 9, 9, 0.11);
}

.project-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background: #121212;
}

.project-thumb-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb-inner {
  transform: scale(1.04);
}

.project-hover-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 9, 9, 0.22);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-hover-btn {
  opacity: 1;
}

.project-hover-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0A0909;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-hover-circle {
  transform: scale(1);
}

/* Filter Tabs */
.filter-tab {
  font-size: 0.88rem;
  font-weight: 500;
  color: #888888;
  background: transparent;
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.filter-tab:hover {
  color: #141414;
}

.filter-tab.active {
  color: #0A0909;
  font-weight: 600;
}

/* Service Accordion Row (Exact match to 00:09 - 00:10) */
.service-item {
  position: relative;
  border-bottom: 1px solid rgba(10, 9, 9, 0.1);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.service-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover:not(.active) .service-item-inner {
  padding-left: 2rem;
  background: rgba(10, 9, 9, 0.02);
}

.service-item.active {
  border-bottom-color: transparent;
  margin: 0.75rem 0;
}

.service-item.active .service-item-inner {
  background: #161616;
  color: #FFFFFF;
  padding: 2.35rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 24px 48px -12px rgba(10, 9, 9, 0.28);
}

.service-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
}

.service-item.active .service-desc {
  max-height: 120px;
  opacity: 0.78;
  margin-top: 0.65rem;
}

/* Floating Tilted Service Mockup Card */
.service-floating-card {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 280px;
  height: 175px;
  background: #F4F4F6;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 3px solid #FFFFFF;
  transform: translateY(-50%) rotate(-5deg) scale(0.75);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.35s ease;
  z-index: 20;
}

.service-item.active .service-floating-card {
  transform: translateY(-50%) rotate(-4deg) scale(1);
  opacity: 1;
}

@media (max-width: 900px) {
  .service-floating-card {
    display: none;
  }
}

/* Experience Dark Section & Floating Cursor Preview (00:11 - 00:14) */
.experience-section-card {
  background: #1B1B1B;
  color: #FFFFFF;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.exp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
  cursor: pointer;
  position: relative;
}

.exp-list:hover .exp-row {
  opacity: 0.38;
}

.exp-list .exp-row:hover {
  opacity: 1;
  padding-left: 1rem;
  padding-right: 1rem;
}

.exp-floating-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 160px;
  background: #F5F5F7;
  border-radius: 14px;
  padding: 8px;
  border: 3px solid #FFFFFF;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-6deg) scale(0.8);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-floating-preview.visible {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-5deg) scale(1);
}

/* Atmospheric Cloud CTA Section (00:15 - 00:16) */
.cloud-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(244, 244, 246, 0.4) 45%, transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(235, 236, 240, 0.5) 50%, transparent 75%),
    radial-gradient(circle at 50% 80%, rgba(230, 232, 236, 0.65) 0%, rgba(248, 248, 250, 0.9) 60%),
    linear-gradient(180deg, #F3F4F6 0%, #FFFFFF 45%, #EAECEF 100%);
}

.cloud-layer {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(closest-side at 25% 35%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(closest-side at 75% 25%, rgba(220, 223, 228, 0.45), transparent),
    radial-gradient(closest-side at 60% 75%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(closest-side at 35% 70%, rgba(215, 218, 224, 0.4), transparent);
  filter: blur(28px);
  pointer-events: none;
  animation: drift-clouds 18s ease-in-out infinite alternate;
}

@keyframes drift-clouds {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

/* Case Study Detail View Overlay (00:17 - 00:20) */
.case-study-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 100;
  overflow-y: auto;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.65s;
}

.case-study-overlay.open {
  transform: translateY(0%);
  visibility: visible;
}

/* Read-Only Protection in Browser (Disable Public Editing / Dragging) */
img {
  -webkit-user-drag: none;
  user-select: none;
}

input,
textarea,
select {
  user-select: text;
}
