/* ==========================================================================
   DYLAN DESKER — LIQUID GLASS DESIGN STUDIO PORTFOLIO SYSTEM
   Inspired by Apple & Discord Aesthetics
   Dark Slate Charcoal Canvas • Glassmorphic Translucency • Pulse Status Dot
   ========================================================================== */

@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NanoPix";
  src: url("assets/NanoPixDEMO-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plank";
  src: url("assets/PLANK___.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Seratonin";
  src: url("assets/Seratonin-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #0c0e12;
  --bg-secondary: #13151b;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --bg-glass-header: rgba(12, 14, 18, 0.8);
  --text-primary: #f5f5f7;
  --text-secondary: #949ba4;
  --text-muted: #5e6573;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.22);
  --accent-green: #23c55e;
  --accent-green-glow: rgba(35, 197, 94, 0.4);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-main: "Alte Haas Grotesk", var(--font-sans);
  --header-height: 56px;
}

/* --------------------------------------------------------------------------
   1. RESET & GLOBAL UNIFORM TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-weight: 400;
}

html {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Home Page Specific Viewport Lock (index.html) */
body.home-page {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: var(--text-primary);
  font-weight: 400;
  cursor: pointer;
}

/* Ambient Background Glow Mesh (Discord / Apple Vibe) */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(35, 197, 94, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 65%);
}

/* --------------------------------------------------------------------------
   2. HEADER NAVIGATION (APPLE & DISCORD LIQUID GLASS)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--header-height);
  z-index: 100;
  background-color: var(--bg-glass-header);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 32px;
  margin: 0;
}

.header-left-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Typographic Logotype (Alte Haas Grotesk, Low Tracking) */
.brand-logo-text {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.brand-logo-text:hover {
  opacity: 0.75;
}

/* Header Status Text Cluster */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: none;
  text-transform: lowercase !important;
}

.status-badge:hover {
  background: transparent;
  color: #ffffff;
}

.status-badge .status-updated {
  font-style: italic;
  opacity: 0.65;
  margin-left: 2px;
}

@media (max-width: 900px) {
  .status-badge .status-updated {
    display: none;
  }
}

@media (max-width: 650px) {
  .status-badge {
    display: none;
  }
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0095ff;
  box-shadow: 0 0 6px #ffffff, 0 0 12px rgba(255, 255, 255, 0.6);
  display: inline-block;
  vertical-align: middle;
  animation: liveDotPulse 2.5s infinite ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none !important;
  }
}

/* Header Navigation Links */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: auto;
  padding-top: 0;
}

.nav-btn {
  font-family: "Alte Haas Grotesk", var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.35);
  padding: 4px 6px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  text-transform: lowercase !important;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-btn:active,
.nav-btn.btn-click-pulse {
  transform: scale(0.92);
  transition: transform 0.08s ease;
}

@keyframes starSpinPop {
  0% {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.3) rotate(-20deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes textGlowFlare {
  0% {
    text-shadow: 0 0 30px #ffffff, 0 0 60px #ffffff, 0 0 90px rgba(255, 255, 255, 1);
    transform: translateY(-1px);
  }
  50% {
    text-shadow: 0 0 18px #ffffff, 0 0 36px #ffffff, 0 0 54px rgba(255, 255, 255, 0.85);
  }
  100% {
    text-shadow: 0 0 8px #ffffff, 0 0 16px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.6);
    transform: translateY(0);
  }
}

.nav-btn.active {
  color: #ffffff !important;
  text-shadow: 0 0 8px #ffffff, 0 0 16px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.6);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  animation: textGlowFlare 0.45s ease-out;
}

.nav-btn.active::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: -1px;
  background-image: url("assets/y2k-star.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
  flex-shrink: 0;
  animation: starSpinPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & REALISTIC GLOWING ANGEL WINGS
   -------------------------------------------------------------------------- */
.page-scroll-wrapper {
  width: 100vw;
  height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.home-page .page-scroll-wrapper {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.page-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & ANGEL.JPG BACKGROUND CANVAS WITH OPENING ANIMATION
   -------------------------------------------------------------------------- */
@keyframes heroCanvasReveal {
  0% {
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(0.3) blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) blur(0px);
  }
}

@keyframes heroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes heroBtnReveal {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    filter: blur(0px);
  }
}

.hero-section {
  width: 100vw;
  height: calc(100vh - var(--header-height));
  position: relative;
  background: var(--bg-primary) url('assets/angel.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4vw;
  animation: heroCanvasReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Atmospheric Overlay to enhance high-contrast text legibility */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(12, 14, 18, 0.45) 0%, rgba(12, 14, 18, 0.88) 100%),
              linear-gradient(180deg, rgba(12, 14, 18, 0.7) 0%, rgba(12, 14, 18, 0.3) 50%, rgba(12, 14, 18, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Centered Sticker & Handwritten Subtitle Container */
.hero-center-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1450px;
  user-select: none;
  margin-top: -130px; /* Shifted higher up */
}

/* Handwritten Subtitle ('hi my name is' using Seratonin-Regular.otf) */
.hero-handwriting-container {
  display: inline-block;
  position: relative;
  margin-bottom: 8px;
  overflow: hidden;
  will-change: clip-path, opacity;
  /* Opening Handwriting Reveal Animation: writes out live from left to right */
  animation: writeOutHandwriting 1.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.hero-handwriting-text {
  font-family: "Seratonin", cursive, sans-serif !important;
  font-size: clamp(68px, 9vw, 136px) !important; /* Increased handwriting font size */
  font-weight: 400 !important;
  color: #000000 !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.05 !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

@keyframes writeOutHandwriting {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

/* Hero Sticker Wrapper & Entrance */
.hero-sticker-wrapper {
  position: relative;
  display: inline-block;
  max-width: min(1080px, 92vw); /* Slightly bigger sticker */
  width: 100%;
  margin: 0 auto;
  perspective: 1000px;
  transform-style: preserve-3d;
  /* Smooth entrance animation */
  animation: gentleStickerPlace 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  will-change: transform, opacity;
  cursor: pointer;
}

.sticker-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  /* Realistic physical vinyl drop shadow resting on graph paper */
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.14)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: filter 0.35s ease;
  transform: translateZ(0);
}

.hero-sticker-wrapper:hover .sticker-img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18)) drop-shadow(0 3px 7px rgba(0, 0, 0, 0.1));
}

/* Layered Physical Holographic Vinyl Mask Container */
.sticker-holo-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transform: translateZ(0);
}

.hero-sticker-wrapper .sticker-holo-layer {
  -webkit-mask-image: url("assets/web/V2 dylan-sticker.png");
  mask-image: url("assets/web/V2 dylan-sticker.png");
}

/* 1. Subtle Cool-Toned Photocard Holographic Foil Treatment */
.sticker-holo-foil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: color-dodge;
  opacity: 0.68;
  background: linear-gradient(
    var(--angle, 115deg),
    rgba(163, 225, 248, 0.15) 0%,
    rgba(56, 189, 248, 0.35) 18%,
    rgba(224, 231, 255, 0.45) 32%,
    rgba(216, 180, 254, 0.4) 46%,
    rgba(186, 230, 253, 0.45) 60%,
    rgba(167, 243, 208, 0.3) 78%,
    rgba(163, 225, 248, 0.15) 100%
  );
  transition: opacity 0.35s ease, filter 0.35s ease;
  will-change: background;
}

/* 2. Cursor-Driven Specular Glare & Laminated Vinyl Light Sweep */
.sticker-glare-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  opacity: 0.55;
  background: 
    /* Soft Specular Radial Highlight reacting to mouse position */
    radial-gradient(
      circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 255, 255, 0.25) 28%,
      transparent 65%
    ),
    /* Subtle diagonal specular glare line across vinyl surface */
    linear-gradient(
      115deg,
      transparent 38%,
      rgba(255, 255, 255, 0.25) 47%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.25) 53%,
      transparent 62%
    );
  transition: opacity 0.35s ease;
}

/* 3. Fine Pearlescent / Vinyl Micro-Texture Grain */
.sticker-grain-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: overlay;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
}

.hero-sticker-wrapper:hover .sticker-holo-foil {
  opacity: 0.82;
}

/* Container for interactive draggable sticker pack collage */
.hero-stickers-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
}

/* Subtle GPU-Accelerated Floating Idle Animations for Hero Stickers */
@keyframes stickerFloat1 {
  0%, 100% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -7px, 0) rotate(1.2deg);
  }
}

@keyframes stickerFloat2 {
  0%, 100% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, 6px, 0) rotate(-1.4deg);
  }
}

@keyframes stickerFloat3 {
  0%, 100% {
    transform: translate3d(0, 0px, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(-1deg);
  }
}

@keyframes stickerFloatStar {
  0%, 100% {
    transform: translate3d(0, 0px, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -5px, 0) scale(1.08) rotate(4deg);
  }
}

.draggable-sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.draggable-sticker:nth-child(3n+1) {
  animation: stickerFloat1 4.6s ease-in-out infinite;
}

.draggable-sticker:nth-child(3n+2) {
  animation: stickerFloat2 5.2s ease-in-out infinite;
}

.draggable-sticker:nth-child(3n) {
  animation: stickerFloat3 6.0s ease-in-out infinite;
}

.draggable-sticker.sticker-star-sm {
  animation: stickerFloatStar 4.0s ease-in-out infinite;
}

/* Stagger animation delays for natural floating rhythm */
.draggable-sticker:nth-child(1) { animation-delay: 0s; }
.draggable-sticker:nth-child(2) { animation-delay: -0.7s; }
.draggable-sticker:nth-child(3) { animation-delay: -1.4s; }
.draggable-sticker:nth-child(4) { animation-delay: -2.1s; }
.draggable-sticker:nth-child(5) { animation-delay: -2.8s; }
.draggable-sticker:nth-child(6) { animation-delay: -3.5s; }
.draggable-sticker:nth-child(7) { animation-delay: -0.4s; }
.draggable-sticker:nth-child(8) { animation-delay: -1.1s; }
.draggable-sticker:nth-child(9) { animation-delay: -1.8s; }
.draggable-sticker:nth-child(10) { animation-delay: -2.5s; }
.draggable-sticker:nth-child(11) { animation-delay: -3.2s; }
.draggable-sticker:nth-child(12) { animation-delay: -0.9s; }
.draggable-sticker:nth-child(13) { animation-delay: -1.6s; }
.draggable-sticker:nth-child(14) { animation-delay: -2.3s; }
.draggable-sticker:nth-child(15) { animation-delay: -3.0s; }

.draggable-sticker img,
.hero-sticker-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.14)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
  transition: filter 0.25s ease;
}

/* Sticker Size Presets */
.sticker-size-lg { width: clamp(140px, 15vw, 210px); }
.sticker-size-md { width: clamp(110px, 11vw, 150px); }
.sticker-size-sm { width: clamp(80px, 8vw, 110px); }
.sticker-star-sm { width: clamp(38px, 4.2vw, 60px); }

.draggable-sticker:hover img {
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.18)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

/* Individual Holographic Mask Mappings for Sticker Pack Items */
.draggable-sticker[data-mask="artboard-3"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 3-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 3-optimised.webp"); }
.draggable-sticker[data-mask="artboard-4"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 4-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 4-optimised.webp"); }
.draggable-sticker[data-mask="artboard-5"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 5-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 5-optimised.webp"); }
.draggable-sticker[data-mask="artboard-6"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 6-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 6-optimised.webp"); }
.draggable-sticker[data-mask="artboard-7"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 7-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 7-optimised.webp"); }
.draggable-sticker[data-mask="artboard-8"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/Artboard 8-optimised.webp"); mask-image: url("assets/web/sticker_pack/Artboard 8-optimised.webp"); }
.draggable-sticker[data-mask="fortune-cookie"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/fortune cookie-optimised.webp"); mask-image: url("assets/web/sticker_pack/fortune cookie-optimised.webp"); }
.draggable-sticker[data-mask="ufo"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/ufo-optimised.webp"); mask-image: url("assets/web/sticker_pack/ufo-optimised.webp"); }
.draggable-sticker[data-mask="dice"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/dice-optimised.webp"); mask-image: url("assets/web/sticker_pack/dice-optimised.webp"); }
.draggable-sticker[data-mask="2-ball"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/2-ball-optimised.webp"); mask-image: url("assets/web/sticker_pack/2-ball-optimised.webp"); }
.draggable-sticker[data-mask="wobbuffet"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/wobbuffet-09-optimised.webp"); mask-image: url("assets/web/sticker_pack/wobbuffet-09-optimised.webp"); }
.draggable-sticker[data-mask="butterfly"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/butterfly-optimised.webp"); mask-image: url("assets/web/sticker_pack/butterfly-optimised.webp"); }
.draggable-sticker[data-mask="ditto"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/ditto-optimised.webp"); mask-image: url("assets/web/sticker_pack/ditto-optimised.webp"); }
.draggable-sticker[data-mask="chrome-hearts"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/chrome hearts capsule sticker-optimised.webp"); mask-image: url("assets/web/sticker_pack/chrome hearts capsule sticker-optimised.webp"); }
.draggable-sticker[data-mask="disc"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/disc-optimised.webp"); mask-image: url("assets/web/sticker_pack/disc-optimised.webp"); }
.draggable-sticker[data-mask="tamogatchi"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/tamogatchi-optimised.webp"); mask-image: url("assets/web/sticker_pack/tamogatchi-optimised.webp"); }
.draggable-sticker[data-mask="gameboy"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/gameboy-optimised.webp"); mask-image: url("assets/web/sticker_pack/gameboy-optimised.webp"); }
.draggable-sticker[data-mask="cassette"] .sticker-holo-layer { -webkit-mask-image: url("assets/web/sticker_pack/cassette-optimised.webp"); mask-image: url("assets/web/sticker_pack/cassette-optimised.webp"); }

/* About & Projects Page Stickers Containers */
.about-stickers-container,
.projects-stickers-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}

@media (max-width: 900px) {
  .about-stickers-container .draggable-sticker,
  .projects-stickers-container .draggable-sticker {
    display: none !important;
  }
}


/* Gentle, Elegant Sticker Drop Entrance Animation */
@keyframes gentleStickerPlace {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(1.03) rotate(-1.2deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

/* GPU Optimized Glow Animation (Opacity Only for 120Hz Hardware Rendering) */
@keyframes slowGlowPulse {
  0%, 100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

/* Explore Projects Button (Centered at Bottom) */
.explore-portfolio-btn {
  position: absolute;
  bottom: 48px;
  left: calc(50% + 20px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
  box-shadow: none;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.explore-portfolio-btn:hover {
  background: #f1f5f9;
  color: #000000;
  transform: translateX(-50%);
  box-shadow: none;
}

.explore-portfolio-btn span {
  pointer-events: none !important;
  color: #000000 !important;
  line-height: 1;
  display: inline-block;
}

.explore-portfolio-btn svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: #000000 !important;
  color: #000000 !important;
  pointer-events: none !important;
  flex-shrink: 0;
  position: relative;
  top: 0px;
}

.explore-portfolio-btn svg path {
  stroke: #000000 !important;
  color: #000000 !important;
}

/* --------------------------------------------------------------------------
   4. DUAL SCROLL CONTAINER (FULL HEIGHT 50/50 VIEWPORT CANVAS)
   -------------------------------------------------------------------------- */
.dual-scroll-container {
  display: flex;
  gap: 0;
  width: 100vw;
  height: calc(100vh - var(--header-height));
  margin-top: 0;
  position: relative;
  background-color: var(--bg-primary);
  padding: 0;
  overflow: hidden;
  z-index: 10;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Independent Scroll Columns (50vw Width Each) */
.scroll-column {
  flex: 0 0 50vw;
  width: 50vw;
  height: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: auto;
  overscroll-behavior: contain;
  
  /* Dedicated GPU Hardware Layer Compositing */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-overflow-scrolling: touch;
  
  /* Hide Scrollbars Cross-Browser */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-column::-webkit-scrollbar {
  display: none;
}

.column-left {
  padding: 28px 12px 40px 32px;
}

.column-right {
  padding: 28px 32px 40px 12px;
}

/* --------------------------------------------------------------------------
   4. LIQUID GLASS PROJECT CARDS
   -------------------------------------------------------------------------- */
.project-card {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  cursor: pointer;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translate3d(0, -4px, 0);
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Sticky Metadata Header */
.project-info-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-glass);
}

.project-meta-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 12px;
}

.project-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  width: 100%;
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-technique {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
  font-family: var(--font-main);
  line-height: 1.25;
  margin-top: 2px;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}

.project-client,
.project-date {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
  font-family: var(--font-main);
  line-height: 1.25;
}

.project-date {
  color: var(--text-muted);
  font-weight: 400;
}

/* Media Showcase Frame (Home Page: Card wraps natural image dimensions) */
.project-media {
  width: 100%;
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.project-media img,
.project-media video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Projects Page Only (projects.html) — 16:10 Grid Aspect Ratio & Hover Crossfade */
.projects-page-wrapper .project-media {
  aspect-ratio: 16 / 10;
}

.projects-page-wrapper .project-media img,
.projects-page-wrapper .project-media video {
  height: 100%;
}

.projects-page-wrapper .project-media img.media-primary {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-page-wrapper .project-media img.media-secondary {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-page-wrapper .project-card:hover .project-media img.media-secondary {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   5. REMOVED FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  display: none !important;
}

/* --------------------------------------------------------------------------
   6. INDIVIDUAL PROJECT PAGE (LIQUID GLASS SHOWCASE)
   -------------------------------------------------------------------------- */
.project-page-container {
  width: 100vw;
  height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

/* Header Metadata Grid Above Image */
.orkr-post-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  height: 155px !important;
  min-height: 155px !important;
  max-height: 155px !important;
  box-sizing: border-box;
  padding: 0 40px 0 160px !important;
  background-color: #ffffff !important;
  background-image: url("assets/web/v3_grid_paper_background.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: left -18px !important;
  background-size: 100% auto !important;
  background-attachment: fixed !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  z-index: 30;
  flex-shrink: 0;
  overflow: hidden;
  gap: 16px;
}

/* Upward Drop Shadow cast from the project page content onto the navigation bar */
.project-page-container > *:not(.orkr-post-header-top) {
  position: relative;
  z-index: 40;
  box-shadow: 0 -6px 18px rgba(18, 92, 138, 0.18), 0 -2px 6px rgba(18, 92, 138, 0.10) !important;
}

.header-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: left;
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.header-col a.nav-link {
  font-size: 11px;
  font-weight: 600;
  color: #000000 !important;
  line-height: 1.4;
  text-decoration: none;
  font-family: var(--font-main);
  transition: opacity 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: lowercase !important;
}

.header-col div {
  font-size: 11px;
  font-weight: 500;
  color: #222222 !important;
  line-height: 1.4;
  text-decoration: none;
  font-family: var(--font-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-col a.nav-link:hover {
  color: #000000 !important;
  opacity: 0.6;
  text-decoration: underline;
}

.header-col.col-01 {
  min-width: 130px;
  flex-shrink: 0;
}

.header-col.col-02 {
  flex: 1;
  max-width: 400px;
}

.header-col.col-02 .title {
  color: #000000 !important;
  font-weight: 700;
}

.header-col.col-03 {
  flex: 1.2;
  max-width: 500px;
}

.header-col.col-04 {
  min-width: 110px;
  text-align: center;
  align-items: center;
  flex-shrink: 0;
}

/* Landscape Showcase Viewport */
.orkr-showcase-viewport {
  flex: 1;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* 50/50 Click Navigation Hotspots with Directional Arrow Cursors */
.click-hotspot {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50vw;
  z-index: 20;
}

.click-hotspot-left {
  left: 0;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M20 6 L10 16 L20 26" fill="none" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') 16 16, w-resize;
}

.click-hotspot-right {
  right: 0;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M12 6 L22 16 L12 26" fill="none" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') 16 16, e-resize;
}

/* Perfectly Centered Floating Arrow Buttons */
.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.showcase-arrow svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.showcase-arrow-left {
  left: 32px;
}

.showcase-arrow-right {
  right: 32px;
}

.showcase-slide-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 80px;
}

.showcase-slide-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Floating Liquid Glass Counter Badge */
.slide-counter-overlay {
  position: absolute;
  bottom: 24px;
  right: 32px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-primary);
  font-family: var(--font-main);
  white-space: nowrap;
  pointer-events: none;
  z-index: 40;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(12, 14, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

/* Video Showcase Crop Marks Masking */
.video-showcase-container {
  overflow: hidden;
}

.video-zoomed {
  transform: scale(1.08);
  transform-origin: center center;
}

/* Character Slide Layout Exception */
.character-slide-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  width: 100%;
  height: 100%;
}

.character-slide-layout img {
  max-height: calc(100vh - 160px);
  max-width: 45vw;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   7. MODAL OVERLAY (ABOUT / CONTACT & CASE STUDY DRAWER)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 700px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  color: var(--text-primary);
  overflow-y: auto;
  position: relative;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 48px;
  box-sizing: border-box;
}

.modal-overlay.active .modal-container {
  transform: translateX(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
}

.modal-info-container {
  position: relative;
  background-color: #07090c;
  overflow-y: auto;
  z-index: 1;
  padding: 40px 36px 70px 36px;
  font-family: var(--font-sans);
  max-width: 960px;
  width: 92vw;
}

/* ==========================================================================
   LIQUID GLASS BENTO GRID DESIGN SYSTEM (1ST ITERATION RESTORATION)
   ========================================================================== */
.bento-about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 0px;
}

/* Liquid Glass Bento Card Base */
.bento-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28), 0 20px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.bento-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bento-subbadge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: lowercase;
}

/* Bento Card Grid Column Stacks */
.bento-col-left {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-col-right {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.bento-card-bio {
  width: 100%;
}

.bento-card-experience {
  width: 100%;
}

.bento-card-education {
  width: 100%;
  align-self: start;
  height: fit-content;
  justify-content: flex-start;
}

.bento-card-education .bento-card-header {
  margin-bottom: 12px;
}

.bento-card-software {
  width: 100%;
  align-self: start;
  height: fit-content;
  justify-content: flex-start;
}

.bento-card-software .bento-card-header {
  margin-bottom: 16px;
}

.bento-card-contact {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Bio Bento Content */
.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.glass-pill {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.glass-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Timeline Experience Bento Content */
.bento-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.timeline-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.timeline-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 5px;
}

.timeline-date {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.timeline-company {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.timeline-role {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
}

.timeline-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.5;
}

/* Integrated Audience Metric Pills & Social Profile Hover Cards */
.bento-card-experience,
.bento-timeline,
.timeline-item,
.exp-audience-row {
  overflow: visible !important;
}

.exp-audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  position: relative;
}

.exp-audience-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exp-audience-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.exp-audience-pill strong {
  color: #ffffff;
  font-weight: 600;
}

/* Authentic Social Media Profile Hover Card */
.social-hover-card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 250px;
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
  text-align: left;
  white-space: normal;
  line-height: 1.4;
}

.social-hover-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(13, 17, 23, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.exp-audience-pill:hover .social-hover-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* First Pill in Row: Left Align Popup to prevent clipping off left edge */
.exp-audience-pill:first-child .social-hover-card {
  left: -10px;
  right: auto;
  transform: translateY(8px);
}

.exp-audience-pill:first-child:hover .social-hover-card {
  transform: translateY(0);
}

.exp-audience-pill:first-child .social-hover-card::after {
  left: 36px;
  right: auto;
  transform: translateX(0) rotate(45deg);
}

/* Last Pill in Row: Right Align Popup to prevent clipping off right edge */
.exp-audience-pill:last-child:not(:first-child) .social-hover-card {
  left: auto;
  right: -10px;
  transform: translateY(8px);
}

.exp-audience-pill:last-child:not(:first-child):hover .social-hover-card {
  transform: translateY(0);
}

.exp-audience-pill:last-child:not(:first-child) .social-hover-card::after {
  left: auto;
  right: 36px;
  transform: translateX(0) rotate(45deg);
}

/* Hover Card Content Components */
.social-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-card-main-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.social-card-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-card-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-card-badge {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.social-card-handle {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1px;
}

.social-platform-tag {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  align-self: flex-start;
}

.social-card-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.social-stat-item strong {
  font-weight: 700;
  color: #ffffff;
}

.social-stat-dot {
  color: rgba(255, 255, 255, 0.3);
}

/* Education Bento Content */
.bento-edu-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-edu-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
  transition: all 0.25s ease;
}

.bento-edu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-edu-item .edu-institution {
  font-size: 15.5px;
  margin: 4px 0;
}

.bento-edu-item .edu-degree {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.bento-edu-item .edu-major {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin: 2px 0 0 0;
}

/* Software Grid 4x3 Icon Layout (Desktop) */
.bento-card-software .software-grid,
.software-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px 8px !important;
  width: 100% !important;
  transform: none !important;
  margin-top: 4px;
}

/* Contact Bento Content */
.bento-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bento-contact-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  min-height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-contact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-pill-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-pill-val {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.contact-pill-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, color 0.25s ease;
}

.bento-contact-pill:hover .contact-pill-arrow {
  transform: translate(2px, -2px);
  color: #ffffff;
}

/* Bento Responsive Media Queries */
@media (max-width: 900px) {
  .modal-info-container {
    max-width: 100vw;
    width: 100vw;
    padding: 32px 20px 60px 20px;
  }

  .bento-about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-col-left,
  .bento-col-right {
    grid-column: span 1;
    gap: 16px;
  }

  .bento-card-hero-id,
  .bento-card-bio,
  .bento-card-stats,
  .bento-card-experience,
  .bento-card-education,
  .bento-card-software,
  .bento-card-contact {
    grid-column: span 1;
  }

  .bento-card-hero-id {
    min-height: 380px;
    padding: 24px 16px;
  }
}

/* ==========================================================================
   FLOATING INDEPENDENT 3D ID CARD HERO STAGE
   ========================================================================== */
.about-hero-idcard {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  overflow: visible;
}

.about-portrait-wrapper {
  width: 100%;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
}

.id-card-stage {
  width: min(780px, 100%);
  max-width: 780px;
  aspect-ratio: 600 / 400;
  position: relative;
  perspective: 1600px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  touch-action: none;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.id-card-stage.is-dragging {
  cursor: grabbing;
}

/* Dynamic Shadow Beneath Card */
.id-card-shadow {
  position: absolute;
  top: calc(50% + 170px);
  left: 16%;
  width: 68%;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 92, 138, 0.55);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
  transform-origin: center center;
  will-change: transform, filter, opacity;
}

#id-card-webgl-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

#id-card-webgl-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ==========================================================================
   HIGH-END ART-DIRECTED EDITORIAL PORTFOLIO RESUME LAYOUT
   ========================================================================== */

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: lowercase !important;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-heading {
  font-family: "Alte Haas Grotesk", var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: lowercase !important;
}

.bio-body-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bio-body-group .bio-body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* ==========================================================================
   EDUCATION SECTION DESIGN SYSTEM
   ========================================================================== */
.education-section {
  margin-top: 0;
}

.education-section .section-label {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.education-section .section-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 30px;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
}

@media (max-width: 580px) {
  .education-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.education-col {
  display: flex;
  flex-direction: column;
}

.edu-date {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 7px;
}

.edu-institution {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  margin: 0 0 7px 0;
  letter-spacing: -0.01em;
  text-transform: none;
}

.edu-qualification {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.edu-qualification p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   PROFESSIONAL EXPERIENCE SECTION DESIGN SYSTEM
   ========================================================================== */
.experience-section {
  margin-top: 36px;
}

.experience-section .section-label {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.experience-section .section-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 36px;
}

.experience-list {
  display: flex;
  flex-direction: column;
}

.experience-entry {
  display: flex;
  flex-direction: column;
}

.exp-date {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 7px;
  display: block;
}

.exp-company {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  margin: 0 0 7px 0;
  letter-spacing: -0.01em;
  text-transform: none;
}

.exp-role {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.01em;
}

.exp-disciplines {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.entry-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  margin: 46px 0;
}

/* Glowing Live Audience Dot Indicator */
.live-audience-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 6px #ffffff, 0 0 12px rgba(255, 255, 255, 0.6);
  display: inline-block;
  vertical-align: middle;
  animation: liveDotPulse 2.5s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
    box-shadow: 0 0 4px #ffffff, 0 0 8px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 8px #ffffff, 0 0 16px rgba(255, 255, 255, 0.85);
  }
  100% {
    transform: scale(0.95);
    opacity: 0.85;
    box-shadow: 0 0 4px #ffffff, 0 0 8px rgba(255, 255, 255, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none !important;
  }
}

.live-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Audience Statistics Row (Tightly Grouped Editorial Layout) */
.audience-stats-grid {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  margin-top: 2px;
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: auto;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.stat-platform {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.stat-username {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: -0.01em;
}

@media (max-width: 580px) {
  .audience-stats-grid {
    flex-wrap: wrap;
    gap: 24px;
  }
  .entry-divider {
    margin: 36px 0;
  }
}

/* ==========================================================================
   SOFTWARE & TOOLS SECTION DESIGN SYSTEM
   ========================================================================== */
.software-section {
  margin-top: 36px;
}

.software-section .section-label {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.software-section .section-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 30px;
}

/* Liquid Glass Software Tile & Interactive Popovers */
.bento-card-software {
  overflow: visible !important;
  z-index: 15;
}

.software-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px 12px !important;
  width: 100% !important;
  transform: none !important;
  margin-top: 6px;
  position: relative;
}

.software-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1;
}

.software-item:hover {
  z-index: 100;
}

.software-icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.software-icon-tile img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.software-icon-tile img.squarespace-icon {
  filter: brightness(0) invert(1);
}

.software-item:hover .software-icon-tile {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.software-item:hover .software-icon-tile img {
  transform: scale(1.08);
}

/* Popover Tooltip Container */
.software-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  width: 210px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(12, 15, 24, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  z-index: 999;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.software-item[data-pos="top"] .software-popover {
  bottom: auto;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-8px) scale(0.92);
}

.software-item:hover .software-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.software-item[data-pos="top"]:hover .software-popover {
  transform: translateX(-50%) translateY(0) scale(1);
}

.software-popover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: rgba(12, 15, 24, 0.92) transparent transparent transparent;
}

.software-item[data-pos="top"] .software-popover::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent rgba(12, 15, 24, 0.92) transparent;
}

/* Popover Content Layout & Order */
.popover-badge-wrapper {
  order: 1;
  position: relative;
  width: 100%;
  height: 70px;
  margin: 0 auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

.popover-header {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
}

.popover-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
}

.popover-tier {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  align-self: center;
}

.tier-expert {
  color: #e288ff;
  background: rgba(226, 136, 255, 0.14);
  border: 1px solid rgba(226, 136, 255, 0.38);
}

.tier-advanced {
  color: #7bf0ff;
  background: rgba(123, 240, 255, 0.14);
  border: 1px solid rgba(123, 240, 255, 0.35);
}

.tier-proficient {
  color: #40f0c0;
  background: rgba(64, 240, 192, 0.14);
  border: 1px solid rgba(64, 240, 192, 0.38);
}

.tier-familiar {
  color: #b0c4de;
  background: rgba(176, 196, 222, 0.14);
  border: 1px solid rgba(176, 196, 222, 0.35);
}

.popover-score-row {
  order: 3;
}

.seg-bar {
  order: 4;
}

.popover-desc {
  order: 5;
}

/* Layer 1: Atmospheric Outer Bloom Layer */
.bg-bloom-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 70px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.82;
}

.rank-champion .bg-bloom-layer {
  background: radial-gradient(ellipse at center, rgba(230, 40, 180, 0.45) 0%, rgba(140, 20, 220, 0.25) 45%, rgba(60, 10, 120, 0.08) 70%, transparent 85%);
  filter: blur(12px);
  animation: bloomPulseChampion 3.2s ease-in-out infinite alternate;
}

.rank-gm .bg-bloom-layer {
  background: radial-gradient(ellipse at center, rgba(160, 80, 255, 0.4) 0%, rgba(60, 120, 255, 0.22) 50%, rgba(20, 40, 150, 0.06) 75%, transparent 88%);
  filter: blur(14px);
  animation: bloomPulseGM 3.5s ease-in-out infinite alternate;
}

.rank-master .bg-bloom-layer {
  background: radial-gradient(ellipse at center, rgba(40, 230, 190, 0.38) 0%, rgba(20, 160, 200, 0.2) 50%, transparent 80%);
  filter: blur(14px);
  animation: bloomPulseMaster 4s ease-in-out infinite alternate;
}

.rank-diamond .bg-bloom-layer {
  background: radial-gradient(ellipse at center, rgba(140, 190, 255, 0.25) 0%, rgba(70, 120, 220, 0.1) 55%, transparent 80%);
  filter: blur(12px);
}

/* Layer 2: Concentrated Inner Glow Layer */
.inner-glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 60px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.82;
}

.rank-champion .inner-glow-layer {
  background: radial-gradient(ellipse at center, rgba(255, 120, 240, 0.6) 0%, rgba(180, 50, 255, 0.3) 60%, transparent 80%);
  filter: blur(8px);
}

.rank-gm .inner-glow-layer {
  background: radial-gradient(ellipse at center, rgba(180, 200, 255, 0.55) 0%, rgba(120, 100, 255, 0.28) 60%, transparent 80%);
  filter: blur(8px);
}

.rank-master .inner-glow-layer {
  background: radial-gradient(ellipse at center, rgba(100, 255, 220, 0.5) 0%, rgba(30, 180, 180, 0.25) 60%, transparent 80%);
  filter: blur(8px);
}

.rank-diamond .inner-glow-layer {
  background: radial-gradient(ellipse at center, rgba(180, 220, 255, 0.35) 0%, transparent 75%);
  filter: blur(8px);
}

/* Layer 3: Horizontal Lens Flare Streak Layer (Removed per directive) */
.horizontal-flare-layer {
  display: none !important;
}

/* Layers 4 & 5: Emblem Container, PNG Image & Sheen Sweep */
.emblem-container {
  position: relative;
  width: 57px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.rank-diamond .emblem-container {
  width: 57px;
  height: 57px;
}

.rank-master .emblem-container {
  width: 63px;
  height: 63px;
}

.rank-gm .emblem-container {
  width: 71px;
  height: 71px;
}

.rank-champion .emblem-container {
  width: 74px;
  height: 74px;
}

.rank-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 4;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75));
}

.emblem-shimmer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  background-size: 200% 200%;
}

.software-item:hover .emblem-shimmer {
  animation: emblemSheen 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Layer 6: Sparkles & Particles (Removed per directive) */
.sparkle-layer,
.glint {
  display: none !important;
}

/* Animations for Rank FX System */
@keyframes bloomPulseChampion {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

@keyframes bloomPulseGM {
  0% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.95; }
}

@keyframes bloomPulseMaster {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.9; }
}

@keyframes flarePulseChampion {
  0% { opacity: 0.7; transform: translate(-50%, -50%) scaleX(0.88); }
  100% { opacity: 1; transform: translate(-50%, -50%) scaleX(1.12); }
}

@keyframes flarePulseGM {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scaleX(0.9); }
  100% { opacity: 0.95; transform: translate(-50%, -50%) scaleX(1.08); }
}

@keyframes emblemSheen {
  0%, 4% {
    background-position: -200% -200%;
  }
  29% {
    background-position: 200% 200%;
  }
  100% {
    background-position: 200% 200%;
  }
}

@keyframes glintPulse {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  40%, 60% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-bloom-layer,
  .horizontal-flare-layer,
  .emblem-shimmer,
  .glint {
    animation: none !important;
  }
}

/* Score Row & White 10-Segment Glowing Bar */
.popover-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.score-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.score-num {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.seg-bar {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 5px 0 9px 0;
}

.seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.seg.active {
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 10px rgba(255, 255, 255, 0.6);
}

.popover-desc {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .software-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 580px) {
  .bento-card-software .software-grid,
  .software-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px 14px !important;
  }
}

@media (max-width: 400px) {
  .bento-card-software .software-grid,
  .software-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 12px !important;
  }
}

/* ==========================================================================
   CONTACT & SOCIALS SECTION DESIGN SYSTEM
   ========================================================================== */
.contact-section {
  margin-top: 32px;
  margin-bottom: 30px;
}

.contact-section .section-label {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-section .section-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  text-transform: lowercase !important;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.contact-detail {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.contact-arrow {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 12px;
}

.contact-row:hover .contact-label {
  color: rgba(255, 255, 255, 0.7);
}

.contact-row:hover .contact-detail {
  color: #ffffff;
}

.contact-row:hover .contact-arrow {
  color: rgba(255, 255, 255, 0.9);
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-row:hover .contact-arrow {
    transform: none !important;
  }
}

@media (max-width: 580px) {
  .contact-row {
    grid-template-columns: 100px 1fr auto;
    padding: 14px 0;
  }
  .contact-detail {
    font-size: 13.5px;
  }
}

@media (max-width: 420px) {
  .contact-row {
    grid-template-columns: 85px 1fr auto;
  }
  .contact-label {
    font-size: 10px;
  }
}

/* ==========================================================================
   5. DEDICATED PROJECTS PAGE DESIGN SYSTEM (projects.html)
   ========================================================================== */
.projects-page-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc(100vh - var(--header-height));
  margin-top: 0;
  padding: 32px 32px 32px max(184px, calc(11vw - 1px));
  background-color: transparent;
  position: relative;
  z-index: 10;
  left: -1px;
}

.projects-page-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #000000;
}

.projects-header-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.projects-page-title {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #000000;
  text-transform: lowercase;
  margin: 0;
  text-shadow: none;
}

.projects-page-subtitle {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #475569;
  text-transform: lowercase;
}

/* Category Filter Bar (Grid-Paper Graphic Square Pills) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: #334155;
  padding: 8px 18px;
  border-radius: 0;
  background: #ffffff;
  border: 1px solid #000000;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(18, 92, 138, 0.08);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: #000000;
  background: #f1f5f9;
  border-color: #000000;
}

.filter-pill.active {
  color: #ffffff;
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Projects Grid Layout (3-Column Grid) */
.projects-grid-container {
  width: 100%;
}

.projects-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 1024px) {
  .projects-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid-layout {
    grid-template-columns: 1fr;
  }
}

.grid-card {
  margin-bottom: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.grid-card.hidden {
  display: none !important;
}

/* Projects Page Opening Entrance Animations (Ultra-Smooth GPU Composited) */
@keyframes projectsHeaderReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes projectsFilterReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes projectsGridCardReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.projects-page-title {
  will-change: transform, opacity;
  animation: projectsHeaderReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.02s both;
}

.projects-page-subtitle {
  will-change: transform, opacity;
  animation: projectsHeaderReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.filter-bar {
  will-change: transform, opacity;
  animation: projectsFilterReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.projects-page-wrapper .grid-card {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style paint;
  animation: projectsGridCardReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.projects-page-wrapper .grid-card:nth-child(1) { animation-delay: 0.08s; }
.projects-page-wrapper .grid-card:nth-child(2) { animation-delay: 0.12s; }
.projects-page-wrapper .grid-card:nth-child(3) { animation-delay: 0.16s; }
.projects-page-wrapper .grid-card:nth-child(4) { animation-delay: 0.20s; }
.projects-page-wrapper .grid-card:nth-child(5) { animation-delay: 0.24s; }
.projects-page-wrapper .grid-card:nth-child(6) { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .projects-page-title,
  .projects-page-subtitle,
  .filter-bar,
  .projects-page-wrapper .grid-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
}

.contact-email,
.contact-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
}

/* Scrollable Long-form Project Page Root & Background Alignment */
html.scrollable-project-page-root,
html:has(body.scrollable-project-page),
body.scrollable-project-page {
  overflow-y: auto !important;
  background-color: #F2EFE7 !important;
}

body.scrollable-project-page .project-page-container {
  position: relative;
  height: auto;
  min-height: calc(100vh - var(--header-height));
  overflow: visible;
  background-color: #F2EFE7;
}

html.zb-theme-root,
html:has(body.scrollable-project-page.zb-theme),
body.scrollable-project-page.zb-theme,
body.scrollable-project-page.zb-theme .project-page-container {
  background-color: #F4F7FA !important;
}

html.tt-theme-root,
html:has(body.scrollable-project-page.tt-theme),
body.scrollable-project-page.tt-theme,
body.scrollable-project-page.tt-theme .project-page-container {
  background-color: #E8F8FF !important;
}

html.roshana-theme-root,
html:has(body.scrollable-project-page.roshana-theme),
body.scrollable-project-page.roshana-theme,
body.scrollable-project-page.roshana-theme .project-page-container {
  background-color: #F5F4E9 !important;
}

/* Individual Project Pages Opening Entrance Animations (Ultra-Smooth GPU Composited) */
@keyframes projectHeaderReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes projectCaseStudyReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.scrollable-project-page .orkr-post-header-top {
  will-change: transform, opacity;
  animation: projectHeaderReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.02s both;
}

body.scrollable-project-page .orkr-post-header-top .header-col.col-01 {
  will-change: transform, opacity;
  animation: projectHeaderReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both;
}

body.scrollable-project-page .orkr-post-header-top .header-col.col-02 {
  will-change: transform, opacity;
  animation: projectHeaderReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both;
}

body.scrollable-project-page .orkr-post-header-top .header-col.col-03 {
  will-change: transform, opacity;
  animation: projectHeaderReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

body.scrollable-project-page .orkr-post-header-top .header-col.col-04 {
  will-change: transform, opacity;
  animation: projectHeaderReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

body.scrollable-project-page .project-page-container > *:not(.orkr-post-header-top) {
  will-change: transform, opacity;
  animation: projectCaseStudyReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

/* ==========================================================================
   MISS STACY'S EDITORIAL CASE STUDY DESIGN SYSTEM
   ========================================================================== */
.stacy-casestudy {
  background-color: #F2EFE7;
  color: #111111;
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  padding: 48px 4vw 56px 4vw;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

.stacy-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacy-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography System */
.stacy-display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #111111;
}

.stacy-title-hero {
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  margin: 24px 0 40px 0;
  color: #111111;
}

.stacy-red {
  color: #C62828;
}

.stacy-navy {
  color: #18283A;
}

.stacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C62828;
  background: rgba(198, 40, 40, 0.08);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(198, 40, 40, 0.2);
}

.stacy-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C62828;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(198, 40, 40, 0.2);
  padding-bottom: 16px;
}

.stacy-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #C62828;
}

.stacy-meta-dot {
  color: #C62828;
}

/* Case Study Sections */
.stacy-section {
  margin-top: 90px;
  position: relative;
}

.stacy-hero + .stacy-section {
  margin-top: 60px;
}

.stacy-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #111111;
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.stacy-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
  line-height: 1;
}

.stacy-section-ref {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C62828;
}

.stacy-body-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.82);
  max-width: 680px;
  margin-bottom: 16px;
}

.stacy-body-text:last-of-type {
  margin-bottom: 36px;
}

.stacy-body-text-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: #111111;
}

/* Image Compositions & Editorial Grids */
.stacy-full-image {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  background-color: #e5e2da;
}

.stacy-full-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stacy-full-image:hover img {
  transform: scale(1.015);
}

.stacy-asymmetric-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 50px;
}

.stacy-asymmetric-pair.reverse {
  grid-template-columns: 1fr 1fr;
}

.stacy-img-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.stacy-img-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.stacy-img-card:hover img {
  transform: scale(1.02);
}

.stacy-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stacy-caption::before {
  content: "✦";
  color: #C62828;
  font-size: 10px;
}

/* Oversized Editorial Statement Break */
.stacy-statement-break {
  background-color: #111111;
  color: #F2EFE7;
  padding: 80px 6vw;
  margin: 100px -4vw;
  position: relative;
  overflow: hidden;
  border-left: 6px solid #C62828;
}

.stacy-statement-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.01em;
}

.stacy-statement-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C62828;
  margin-top: 24px;
  display: block;
}

/* 3-Column Editorial Grid */
.stacy-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* 2x2 Showcase Grid */
.stacy-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* Decorative Americana Stamp / Ephemera Box */
.stacy-stamp-box {
  border: 2px dashed rgba(198, 40, 40, 0.35);
  padding: 30px;
  border-radius: 4px;
  background: rgba(198, 40, 40, 0.03);
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stacy-stamp-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stacy-stamp-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C62828;
}

.stacy-stamp-val {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
}

/* Overview Grid */
.stacy-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(198, 40, 40, 0.04);
  border: 1px solid rgba(198, 40, 40, 0.18);
  padding: 24px 30px;
  border-radius: 4px;
  margin-bottom: 36px;
}

.stacy-overview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stacy-overview-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C62828;
}

.stacy-overview-val {
  font-size: 13.5px;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
}

/* Overview Lead & Logo Row */
.stacy-overview-content-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 20px;
}

.stacy-overview-text-col .stacy-body-text-lead {
  margin-bottom: 0;
  max-width: 100%;
}

.stacy-overview-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 30px;
  background: rgba(198, 40, 40, 0.03);
  border: 1px dashed rgba(198, 40, 40, 0.25);
  border-radius: 4px;
}

.stacy-overview-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   02 - BUILDING THE IDENTITY (DIGITAL STYLE SHEET & KIT OF PARTS)
   ========================================================================== */
/* ==========================================================================
   02 - BUILDING THE IDENTITY (FULL-WIDTH 12-COLUMN EDITORIAL GRID)
   ========================================================================== */
.stacy-identity-intro {
  max-width: 680px;
  margin-bottom: 36px;
}

.stacy-identity-content {
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
}

.stacy-sub-section-header,
.stacy-type-section-header,
.stacy-color-section-header {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.2);
}

.stacy-red-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D12229 !important;
  text-transform: uppercase;
}

/* 01 — KIT OF PARTS (12-COLUMN DESKTOP GRID) */
.stacy-kit-parent-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.stacy-grid-cell {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 4px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

/* Specific Desktop Grid Placements */
.cell-pattern {
  grid-column: 1 / span 3;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

.cell-wordmark {
  grid-column: 5 / span 4;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  background-color: rgba(255, 255, 255, 0.85);
  border-color: rgba(209, 34, 41, 0.3);
}

.cell-badge {
  grid-column: 10 / span 3;
  grid-row: 1;
  justify-self: center;
  align-self: center;
}

.cell-stamps {
  grid-column: 2 / span 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

.stamps-flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cell-photo {
  grid-column: 7 / span 3;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

/* Full-Width Divider */
.stacy-full-divider {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.2);
  margin: 40px 0;
}

/* 02 — TYPOGRAPHY SPECIMEN */
.stacy-type-parent-container {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 4px;
  padding: 28px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.type-meta-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  padding-bottom: 10px;
}

.type-font-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  text-transform: uppercase;
}

.type-specimen-large {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #111111;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.type-specimen-large .line-red {
  color: #D12229;
}

.type-specimen-large .line-navy {
  color: #172857;
  font-size: 0.85em;
}

.type-specimen-charset {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(17, 17, 17, 0.75);
  border-top: 1px dashed rgba(17, 17, 17, 0.18);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 03 — COLOUR PALETTE (4-COLUMN GRID) */
.stacy-color-parent-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

.color-swatch-column {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.swatch-rect {
  width: 100%;
  height: 75px;
  border-radius: 3px;
  box-sizing: border-box;
}

.swatch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swatch-label-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  text-transform: uppercase;
}

/* Image Scale Controls & Hero Posters Grid */
.stacy-hero-posters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin: 40px 0 55px 0;
}

.stacy-hero-poster-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  background-color: #e5e2da;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stacy-hero-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.stacy-hero-poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transform-origin: center center;
  transition: transform 0.4s ease;
}

.stacy-hero-poster-card:hover img {
  transform: scale(1.03);
}

.stacy-hero-image-wrapper {
  max-width: 860px;
  margin: 0 auto 50px auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background-color: #e5e2da;
}

.stacy-hero-image-wrapper img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
}

.stacy-medium-image {
  width: 100%;
  max-width: 100%;
  margin: 36px 0 40px 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
}

.stacy-medium-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
}

/* MORE FROM THE PROJECT (HORIZONTAL CAROUSEL) */
.stacy-carousel-section {
  margin-top: 100px;
  padding-top: 50px;
  border-top: 2px solid #111111;
}

.stacy-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.stacy-carousel-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #111111;
  margin: 0;
}

.stacy-carousel-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C62828;
}

.stacy-carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.stacy-carousel-track-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.stacy-carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.stacy-carousel-track-wrapper:active {
  cursor: grabbing;
}

.stacy-carousel-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0 20px 0;
}

.stacy-carousel-card {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.15);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.stacy-carousel-card:hover {
  transform: translateY(-4px);
  border-color: #C62828;
}

.stacy-carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.stacy-carousel-card-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #111111;
  padding: 14px 20px;
  background: #ffffff;
  text-transform: uppercase;
}

.stacy-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.stacy-carousel-nav-btns {
  display: flex;
  gap: 12px;
}

.stacy-carousel-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid #111111 !important;
  background: transparent !important;
  color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.stacy-carousel-btn svg,
.stacy-carousel-btn svg polyline {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  stroke: #111111 !important;
  stroke-width: 2.2px !important;
  transition: stroke 0.2s ease !important;
}

.stacy-carousel-btn:hover {
  background: #111111 !important;
  color: #F2EFE7 !important;
}

.stacy-carousel-btn:hover svg,
.stacy-carousel-btn:hover svg polyline {
  stroke: #F2EFE7 !important;
}

.stacy-carousel-counter {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #111111;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .stacy-kit-parent-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .cell-pattern { grid-column: 1 / span 3; grid-row: auto; }
  .cell-wordmark { grid-column: 4 / span 3; grid-row: auto; }
  .cell-badge { grid-column: 1 / span 3; grid-row: auto; }
  .cell-stamps { grid-column: 4 / span 3; grid-row: auto; }
  .cell-photo { grid-column: 1 / span 6; grid-row: auto; }
  .stacy-overview-content-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stacy-hero-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stacy-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stacy-asymmetric-pair,
  .stacy-asymmetric-pair.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stacy-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stacy-kit-parent-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cell-pattern,
  .cell-wordmark,
  .cell-badge,
  .cell-stamps,
  .cell-photo {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .stacy-color-parent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stacy-hero-posters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stacy-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stacy-grid-3col,
  .stacy-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stacy-casestudy {
    padding: 40px 5vw 80px 5vw;
  }
  .stacy-statement-break {
    padding: 50px 5vw;
    margin: 60px -5vw;
  }
  .stacy-carousel-card {
    width: 85vw;
  }
}

/* ==========================================================================
   ZERO BOUNCE EDITORIAL CASE STUDY DESIGN SYSTEM
   Visual Direction: Snowy Icy White (#F4F7FA), Cold Electric Blue (#065BDC), 
   Cold Slate Black (#0F172A), Crisp Alpine Editorial Aesthetics
   ========================================================================== */
body.scrollable-project-page.zb-theme,
body.scrollable-project-page.zb-theme .project-page-container {
  background-color: #F4F7FA !important;
}

.zb-casestudy {
  background-color: #F4F7FA;
  color: #0F172A;
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  padding: 48px 4vw 56px 4vw;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

.zb-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.zb-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography System */
.zb-display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #0F172A;
}

.zb-title-hero {
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  margin: 24px 0 40px 0;
  color: #0F172A;
}

.zb-accent {
  color: #065BDC !important;
}

.zb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #065BDC;
  background: rgba(6, 91, 220, 0.08);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(6, 91, 220, 0.2);
}

.zb-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #065BDC;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(6, 91, 220, 0.2);
  padding-bottom: 16px;
}

.zb-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #065BDC;
}

.zb-meta-dot {
  color: #065BDC;
}

/* Hero Posters Grid (2-Column Full Width) */
.zb-hero-posters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  margin-top: 40px;
}

.zb-hero-poster-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 91, 220, 0.06);
  background: #E2E8F0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.zb-hero-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(6, 91, 220, 0.12);
}

.zb-hero-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Case Study Sections */
.zb-section {
  margin-top: 90px;
  position: relative;
}

.zb-hero + .zb-section {
  margin-top: 60px;
}

.zb-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #0F172A;
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.zb-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #0F172A;
  margin: 0;
  line-height: 1;
}

.zb-section-ref {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #065BDC;
}

.zb-body-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.82);
  max-width: 680px;
  margin-bottom: 16px;
}

.zb-body-text:last-of-type {
  margin-bottom: 36px;
}

.zb-body-text-lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: #0F172A;
}

/* Image Compositions & Editorial Grids */
.zb-full-image {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background-color: #E2E8F0;
}

.zb-full-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zb-full-image:hover img {
  transform: scale(1.015);
}

.zb-asymmetric-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 50px;
}

.zb-img-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.zb-img-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.zb-img-card:hover img {
  transform: scale(1.02);
}

.zb-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zb-caption::before {
  content: "✦";
  color: #065BDC;
  font-size: 10px;
}

/* Oversized Editorial Statement Break */
.zb-statement-break {
  background-color: #0F172A;
  color: #F4F7FA;
  padding: 80px 6vw;
  margin: 100px -4vw;
  position: relative;
  overflow: hidden;
  border-left: 6px solid #065BDC;
}

.zb-statement-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.01em;
}

.zb-statement-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #065BDC;
  margin-top: 24px;
  display: block;
}

/* 2x2 Showcase Grid */
.zb-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

/* Decorative Stamp / Ephemera Box */
.zb-stamp-box {
  border: 2px dashed rgba(6, 91, 220, 0.35);
  padding: 30px;
  border-radius: 4px;
  background: rgba(6, 91, 220, 0.03);
  margin: 60px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.zb-stamp-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zb-stamp-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #065BDC;
}

.zb-stamp-val {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0F172A;
}

/* Overview Grid */
.zb-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(6, 91, 220, 0.04);
  border: 1px solid rgba(6, 91, 220, 0.18);
  padding: 24px 30px;
  border-radius: 4px;
  margin-bottom: 36px;
}

.zb-overview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zb-overview-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #065BDC;
}

.zb-overview-val {
  font-size: 13.5px;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.4;
}

/* Overview Lead & Logo Row */
.zb-overview-content-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 20px;
}

.zb-overview-text-col .zb-body-text-lead {
  margin-bottom: 0;
  max-width: 100%;
}

.zb-overview-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 30px;
  background: rgba(6, 91, 220, 0.03);
  border: 1px dashed rgba(6, 91, 220, 0.25);
  border-radius: 4px;
}

.zb-overview-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Carousel Section */
.zb-carousel-section {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 2px solid #0F172A;
}

.zb-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.zb-carousel-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #0F172A;
  margin: 0;
  line-height: 1;
}

.zb-carousel-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #065BDC;
}

.zb-carousel-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.zb-carousel-track-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.zb-carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.zb-carousel-track-wrapper:active {
  cursor: grabbing;
}

.zb-carousel-track {
  display: flex;
  gap: 28px;
  padding: 12px 0 20px 0;
}

.zb-carousel-card {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.zb-carousel-card:hover {
  transform: translateY(-4px);
  border-color: #065BDC;
}

.zb-carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  display: block;
}

.zb-carousel-card-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #065BDC;
  padding: 14px 20px;
  background: #ffffff;
  text-transform: uppercase;
}

.zb-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.zb-carousel-nav-btns {
  display: flex;
  gap: 12px;
}

.zb-carousel-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid #0F172A !important;
  background: transparent !important;
  color: #0F172A !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.zb-carousel-btn svg,
.zb-carousel-btn svg polyline {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  stroke: #0F172A !important;
  stroke-width: 2.2px !important;
  transition: stroke 0.2s ease !important;
}

.zb-carousel-btn:hover {
  background: #065BDC !important;
  border-color: #065BDC !important;
  color: #FFFFFF !important;
}

.zb-carousel-btn:hover svg,
.zb-carousel-btn:hover svg polyline {
  stroke: #FFFFFF !important;
}

.zb-carousel-counter {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0F172A;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .zb-overview-content-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zb-hero-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .zb-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zb-asymmetric-pair {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .zb-hero-posters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .zb-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .zb-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .zb-casestudy {
    padding: 40px 5vw 80px 5vw;
  }
  .zb-statement-break {
    padding: 50px 5vw;
    margin: 60px -5vw;
  }
  .zb-carousel-card {
    width: 85vw;
  }
}

/* ==========================================================================
   TWO TWO'S SODA BRAND & PACKAGING CASE STUDY DESIGN SYSTEM (.tt-casestudy)
   ========================================================================== */
.tt-casestudy {
  background-color: #E8F8FF !important;
  color: #1C3D5A;
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  padding: 48px 4vw 56px 4vw;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

.tt-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography System */
.tt-display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #1C3D5A;
}

.tt-title-hero {
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  margin: 24px 0 40px 0;
  color: #1C3D5A;
}

.tt-accent {
  color: #427A9B !important;
}

.tt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #427A9B;
  background: #B6E9FF;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(66, 122, 155, 0.35);
}

.tt-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1C3D5A !important;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(66, 122, 155, 0.25);
  padding-bottom: 16px;
}

.tt-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1C3D5A !important;
}

.tt-meta-dot {
  color: #427A9B !important;
}

/* Hero Section */
.tt-hero {
  margin-bottom: 90px;
}

.tt-hero-posters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.tt-hero-poster-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(66, 122, 155, 0.25);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(66, 122, 155, 0.12);
}

.tt-hero-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections */
.tt-section {
  margin-top: 90px;
  padding-top: 50px;
  border-top: 1px solid rgba(66, 122, 155, 0.2);
}

.tt-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(66, 122, 155, 0.25);
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.tt-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1C3D5A;
  margin: 0;
  line-height: 1;
}

.tt-section-ref {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #427A9B;
}

/* Overview Section */
.tt-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tt-overview-item {
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.25);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(66, 122, 155, 0.1);
}

.tt-overview-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #427A9B;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tt-overview-val {
  font-size: 13.5px;
  line-height: 1.6;
  color: #1C3D5A;
  font-weight: 500;
}

.tt-overview-content-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.tt-body-text {
  font-size: 15px;
  line-height: 1.75;
  color: #1C3D5A;
  margin-bottom: 24px;
}

.tt-body-text strong,
.tt-body-text b {
  color: #1C3D5A !important;
  font-weight: 700;
}

.tt-body-text em,
.tt-body-text i {
  color: #1C3D5A !important;
  font-style: italic;
  font-weight: 500;
}

.tt-split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .tt-split-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tt-cap-crop-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.tt-cap-crop-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 97%;
  transform: scale(1.14);
  transform-origin: center 97%;
  transition: transform 0.4s ease;
}

.tt-cap-crop-wrap:hover img {
  transform: scale(1.18);
}

.tt-body-text-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #1C3D5A;
  font-weight: 500;
}

.tt-overview-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 32px;
  background: #ffffff;
  border: 1.5px dashed rgba(66, 122, 155, 0.4);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(66, 122, 155, 0.08);
}

.tt-overview-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Statement Breaks */
.tt-statement-break {
  padding: 80px 6vw;
  margin: 100px -4vw;
  background: linear-gradient(135deg, #B6E9FF 0%, rgba(66, 122, 155, 0.18) 100%);
  border-top: 1px solid rgba(66, 122, 155, 0.25);
  border-bottom: 1px solid rgba(66, 122, 155, 0.25);
  border-left: 6px solid #427A9B;
  text-align: left;
}

.tt-statement-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #1C3D5A;
  margin: 0;
}

.tt-statement-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #427A9B;
  text-transform: uppercase;
  margin-top: 24px;
  display: block;
}

/* Character Mascot Feature Grid */
.tt-character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.tt-character-card {
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.25);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(66, 122, 155, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tt-character-card.tt-card-crodie {
  background-color: #ebfbff !important;
  border-color: rgba(66, 122, 155, 0.25);
}

.tt-character-card.tt-card-george {
  background-color: #ffeef6 !important;
  border-color: rgba(244, 114, 182, 0.3);
}

.tt-character-card.tt-card-penny {
  background-color: #f7eeff !important;
  border-color: rgba(192, 132, 252, 0.3);
}

.tt-character-card.tt-card-betty {
  background-color: #eefff9 !important;
  border-color: rgba(74, 222, 128, 0.3);
}

.tt-character-card.tt-card-lulu {
  background-color: #fffeee !important;
  border-color: rgba(250, 204, 21, 0.35);
}

.tt-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(66, 122, 155, 0.18);
}

.tt-character-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
}

.tt-character-img {
  max-width: 100%;
  max-height: 265px;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.3s ease;
}

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

.tt-character-story-img {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
}

/* Image Grids & Captions */
.tt-asymmetric-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 50px;
}

.tt-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  margin-bottom: 50px;
}

.tt-grid-5cans {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.tt-img-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.25);
  box-shadow: 0 10px 28px rgba(66, 122, 155, 0.1);
  display: flex;
  flex-direction: column;
}

.tt-img-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tt-campaign-grid .tt-img-card img {
  width: 100%;
  aspect-ratio: 5000 / 3500;
  object-fit: cover;
  display: block;
}

.tt-padded-card .tt-padded-img-wrap {
  padding: 32px 32px 16px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background: #ffffff;
}

.tt-padded-card .tt-padded-img-wrap img {
  width: 82%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.tt-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #427A9B;
  padding: 14px 20px 16px 20px;
  margin: 0;
  text-transform: uppercase;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  line-height: 1.45;
  background: #ffffff;
  border-top: 1px solid rgba(66, 122, 155, 0.12);
  word-break: break-word;
}

.tt-full-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 40px 0 16px 0;
  border: 1px solid rgba(66, 122, 155, 0.25);
  box-shadow: 0 12px 32px rgba(66, 122, 155, 0.12);
  background: #ffffff;
}

.tt-full-image img {
  width: 100%;
  display: block;
}

.tt-medium-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 36px 0 16px 0;
  border: 1px solid rgba(66, 122, 155, 0.25);
  box-shadow: 0 12px 32px rgba(66, 122, 155, 0.12);
  background: #ffffff;
}

.tt-medium-image img {
  width: 100%;
  display: block;
}

/* Stamp / Credits Box */
.tt-stamp-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.25);
  border-radius: 16px;
  padding: 30px;
  margin-top: 80px;
  margin-bottom: 80px;
  box-shadow: 0 10px 28px rgba(66, 122, 155, 0.1);
}

.tt-stamp-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tt-stamp-key {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #427A9B;
  text-transform: uppercase;
}

.tt-stamp-val {
  font-size: 13px;
  font-weight: 600;
  color: #1C3D5A;
  letter-spacing: 0.02em;
}

/* Carousel Archive Section */
.tt-carousel-section {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid rgba(66, 122, 155, 0.2);
}

.tt-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.tt-carousel-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1C3D5A;
  margin: 0;
  line-height: 1;
}

.tt-carousel-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #427A9B;
}

.tt-carousel-container {
  width: 100%;
  position: relative;
}

.tt-carousel-track-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.tt-carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.tt-carousel-track-wrapper:active {
  cursor: grabbing;
}

.tt-carousel-track {
  display: flex;
  gap: 28px;
  padding: 12px 0 20px 0;
}

.tt-carousel-card {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.25);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tt-carousel-card:hover {
  transform: translateY(-4px);
  border-color: #427A9B;
}

.tt-carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.tt-carousel-card-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #427A9B;
  padding: 14px 20px;
  text-transform: uppercase;
  background: #ffffff;
  border-top: 1px solid rgba(66, 122, 155, 0.12);
  width: 100%;
  box-sizing: border-box;
}

.tt-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.tt-carousel-nav-btns {
  display: flex;
  gap: 12px;
}

.tt-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(66, 122, 155, 0.3);
  color: #1C3D5A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(66, 122, 155, 0.08);
}

.tt-carousel-btn svg polyline {
  stroke: #1C3D5A !important;
}

.tt-carousel-btn:hover {
  background: #427A9B;
  border-color: #427A9B;
  color: #ffffff;
}

.tt-carousel-btn:hover svg polyline {
  stroke: #ffffff !important;
}

.tt-carousel-counter {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #427A9B;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .tt-grid-5cans {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tt-overview-content-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tt-hero-posters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tt-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tt-asymmetric-pair,
  .tt-character-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tt-stamp-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tt-hero-posters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tt-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tt-grid-2x2,
  .tt-grid-5cans {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tt-casestudy {
    padding: 40px 5vw 80px 5vw;
  }
  .tt-statement-break {
    padding: 50px 5vw;
    margin: 60px -5vw;
  }
  .tt-carousel-card {
    width: 85vw;
  }
  .tt-stamp-box {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ROSHANA EDITORIAL & PRINT CASE STUDY DESIGN SYSTEM (.roshana-casestudy)
   Systematic Layout, Standardized Frames & Zero-Gap Editorial Alignment
   ========================================================================== */
body.scrollable-project-page.roshana-theme,
body.scrollable-project-page.roshana-theme .project-page-container {
  background-color: #F5F4E9 !important;
}

.roshana-casestudy {
  background-color: #F5F4E9 !important;
  color: #01243D;
  font-family: var(--font-sans);
  width: 100%;
  min-height: 100vh;
  padding: 48px 4vw 56px 4vw;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

.roshana-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.roshana-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography System */
.roshana-display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #01243D;
}

.roshana-title-hero {
  font-size: clamp(3rem, 7vw, 6.8rem);
  margin: 20px 0 36px 0;
  color: #01243D;
}

.roshana-accent-red {
  color: #BD2025 !important;
}

.roshana-accent-gold {
  color: #FDBB40 !important;
}

.roshana-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BD2025;
  background: rgba(189, 32, 37, 0.06);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(189, 32, 37, 0.2);
}

.roshana-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(1, 36, 61, 0.15);
  margin-bottom: 30px;
}

.roshana-meta-item {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(1, 36, 61, 0.65);
}

.roshana-meta-dot {
  color: #BD2025;
}

.roshana-body-text {
  font-size: 15px;
  line-height: 1.75;
  color: #01243D;
  max-width: 720px;
  margin-bottom: 36px;
  font-weight: 400;
}

.roshana-body-text strong {
  color: #01243D;
  font-weight: 700;
}

/* Hero Section */
.roshana-hero {
  margin-bottom: 90px;
}

/* Generic Section Header */
.roshana-section {
  margin-bottom: 100px;
  position: relative;
  padding-top: 40px;
  border-top: 1px solid rgba(1, 36, 61, 0.12);
}

.roshana-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.roshana-section-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roshana-section-num {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #BD2025;
  text-transform: uppercase;
}

.roshana-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #01243D;
  margin: 0;
  line-height: 1;
}

.roshana-section-ref {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(1, 36, 61, 0.5);
  text-transform: uppercase;
}

/* Standardized Image Card Container */
.roshana-img-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(1, 36, 61, 0.15);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Standardized Landscape Frame (All grid images) */
.roshana-img-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Standardized Full-Width Hero/Banner Frame */
.roshana-full-width-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.roshana-hero-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(1, 36, 61, 0.15);
  background: transparent;
  width: 100%;
}

.roshana-hero-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 740px;
  object-fit: cover;
  display: block;
}

.roshana-fig1-card img {
  width: 100%;
  aspect-ratio: 16 / 11.2;
  max-height: 760px;
  object-fit: cover;
  display: block;
}

/* Motion Video Showcase Frame */
.roshana-motion-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  object-fit: cover;
  display: block;
  background: #01243D;
  outline: none;
}

.roshana-video-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(1, 36, 61, 0.08);
}

/* Captions & Annotations */
.roshana-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #01243D;
  padding: 14px 20px;
  background: #ffffff;
  text-transform: uppercase;
  border-top: 1px solid rgba(1, 36, 61, 0.08);
  box-sizing: border-box;
  margin: 0;
  line-height: 1.35;
}

.roshana-annotation {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #01243D;
  margin: 10px 20px 14px 20px;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(1, 36, 61, 0.06);
  border-left: 3px solid #BD2025;
  align-self: flex-start;
}

/* Systematic Grid Layouts */
.roshana-grid-1col {
  width: 100%;
  margin-bottom: 28px;
}

.roshana-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.roshana-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.roshana-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.roshana-grid-5items-row1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.roshana-grid-5items-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Carousel Section */
.roshana-carousel-section {
  margin-top: 100px;
  padding-top: 50px;
  border-top: 2px solid #01243D;
}

.roshana-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.roshana-carousel-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #01243D;
  margin: 0;
}

.roshana-carousel-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #BD2025;
}

.roshana-carousel-container {
  position: relative;
  width: 100%;
}

.roshana-carousel-track-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.roshana-carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.roshana-carousel-track-wrapper:active {
  cursor: grabbing;
}

.roshana-carousel-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 12px 0 20px 0;
}

.roshana-carousel-card {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(1, 36, 61, 0.18);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.roshana-carousel-card:hover {
  transform: translateY(-4px);
  border-color: #01243D;
}

.roshana-carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.roshana-carousel-card-caption {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #01243D;
  padding: 14px 20px;
  background: #ffffff;
  text-transform: uppercase;
}

.roshana-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.roshana-carousel-nav-btns {
  display: flex;
  gap: 12px;
}

.roshana-carousel-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid #01243D !important;
  background: transparent !important;
  color: #01243D !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.roshana-carousel-btn svg,
.roshana-carousel-btn svg polyline {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  stroke: #01243D !important;
  stroke-width: 2.2px !important;
  transition: stroke 0.2s ease !important;
}

.roshana-carousel-btn:hover {
  background: #01243D !important;
  color: #F5F4E9 !important;
}

.roshana-carousel-btn:hover svg,
.roshana-carousel-btn:hover svg polyline {
  stroke: #F5F4E9 !important;
}

.roshana-carousel-counter {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #01243D;
}

/* Roshana Statement Break */
.roshana-statement-break {
  background-color: #01243D;
  color: #F5F4E9;
  padding: 70px 5vw;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  border-left: 6px solid #BD2025;
  border-radius: 4px;
}

.roshana-statement-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  margin: 0;
  letter-spacing: -0.01em;
  color: #F5F4E9;
}

.roshana-statement-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FDBB40;
  margin-top: 20px;
  display: block;
}

/* Roshana Overview Grid */
.roshana-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(1, 36, 61, 0.04);
  border: 1px solid rgba(1, 36, 61, 0.18);
  padding: 24px 30px;
  border-radius: 4px;
  margin-bottom: 36px;
}

.roshana-overview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roshana-overview-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BD2025;
}

.roshana-overview-val {
  font-size: 13.5px;
  font-weight: 500;
  color: #01243D;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .roshana-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .roshana-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Rules for Roshana Case Study */
@media (max-width: 900px) {
  .roshana-grid-2col,
  .roshana-grid-3col,
  .roshana-grid-2x2,
  .roshana-grid-5items-row1,
  .roshana-grid-5items-row2 {
    grid-template-columns: 1fr !important;
  }
  .roshana-casestudy {
    padding: 40px 5vw 80px 5vw;
  }
  .roshana-carousel-card {
    width: 85vw;
  }
}

/* ==========================================================================
   Y2K SCRAPBOOK / NOTEBOOK VISUAL REDESIGN (HOMEPAGE & GLOBAL HEADER)
   ========================================================================== */

/* 1. Single Static Grid Paper Background Image (V3 Grid Paper Background) */
body.home-page,
body.projects-page,
body.contact-page {
  background-color: #ffffff !important;
  background-image: url("assets/web/v3_grid_paper_background.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: left -18px !important;
  background-size: 100% auto !important;
  background-attachment: fixed !important;
  color: #000000 !important;
}

body.home-page .ambient-bg,
body.projects-page .ambient-bg,
body.contact-page .ambient-bg {
  display: none !important;
}

/* Remove CSS generated notebook spine */
.notebook-spine {
  display: none !important;
}

/* 3. Global Navigation Header Bar */
.site-header {
  background-color: #a3e1f8 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-left: 12px;
  z-index: 100 !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
  isolation: isolate !important;
}

/* Physical Graph-Paper Sheet */
.page-scroll-wrapper {
  position: fixed !important;
  z-index: 150 !important;
  border-top: none !important;
  box-shadow: none !important; /* Zero page shadow */
}

.brand-logo-text {
  font-family: "Alte Haas Grotesk", sans-serif !important;
  color: #000000 !important;
  text-shadow: none !important;
  animation: none !important;
}

.brand-logo-text:hover {
  opacity: 0.7;
}

.status-badge {
  color: #334155 !important;
  text-shadow: none !important;
  transform: translateY(2.5px) !important;
}

.status-badge .status-updated {
  color: #64748b !important;
}

.pulse-dot {
  background-color: #0095ff !important; /* Cool Electric Sky Blue */
  box-shadow: none !important;
  animation: none !important;
}

/* 3b. Overlapping Physical File-Tab Navigation ("V2 file tab.png") */
.site-header .header-inner {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  height: 100% !important;
  padding: 0 32px !important;
  position: relative !important;
}

.header-left-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  align-self: center !important;
}

/* Horizontal Stack of Overlapping File Tabs */
.site-nav {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: auto !important;
  pointer-events: auto !important;
}

/* Individual File Tab Button Container with Bottom Shadow Clip Mask */
.site-nav .nav-btn {
  position: relative !important;
  bottom: -2px !important;
  display: inline-flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  width: 175px !important;
  height: 47.4px !important;
  padding: 0 !important;
  margin: 0 0 0 -40px !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  user-select: none !important;
  clip-path: inset(-100px -100px 2px -100px) !important; /* Clips 2px above bottom edge — ZERO HORIZONTAL LINE AT BOTTOM */
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease !important;
}

.site-nav .nav-btn:first-child {
  margin-left: 0 !important;
}

/* Base Z-Index Stacking Order for Inactive Tabs */
.site-nav .nav-btn:nth-child(1) { z-index: 10 !important; }
.site-nav .nav-btn:nth-child(2) { z-index: 9 !important; }
.site-nav .nav-btn:nth-child(3) { z-index: 8 !important; }
.site-nav .nav-btn:nth-child(4) { z-index: 7 !important; }
.site-nav .nav-btn:nth-child(5) { z-index: 6 !important; }

/* PNG Tab Asset Image (V2 file tab.png) */
.site-nav .nav-btn .tab-bg-img {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 175px !important;
  height: 47.4px !important;
  object-fit: contain !important;
  transform: none !important;
  pointer-events: none !important;
  transition: filter 0.18s ease !important;
}

/* INACTIVE TAB STATE: Soft Cyan-Blue Tab-to-Tab Shadow + Header Shadow (Zero Bottom Line) */
.site-nav .nav-btn:not(.active) {
  filter: drop-shadow(0 -3px 4px rgba(36, 158, 208, 0.25)) drop-shadow(4px -1px 4px rgba(18, 92, 138, 0.22)) !important;
}

.site-nav .nav-btn:not(.active) .tab-bg-img {
  opacity: 1 !important;
  filter: brightness(0.948) !important;
}

.site-nav .nav-btn:not(.active) .tab-label {
  color: #475569 !important;
  font-weight: 700 !important;
  opacity: 0.88 !important;
}

/* ACTIVE TAB STATE: Frontmost Z-Index (100), Soft Cyan-Blue Tab-to-Tab Shadow + Header Shadow (Zero Bottom Line) */
.site-nav .nav-btn.active {
  z-index: 100 !important;
  transform: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 -3px 4px rgba(36, 158, 208, 0.25)) drop-shadow(4px -1px 4px rgba(18, 92, 138, 0.22)) !important;
  text-shadow: none !important;
  animation: none !important;
  outline: none !important;
  background: transparent !important;
}

.site-nav .nav-btn.active .tab-bg-img {
  opacity: 1 !important;
  filter: brightness(1) !important;
}

.site-nav .nav-btn.active .tab-label {
  color: #000000 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* HOVER INTERACTION FOR INACTIVE TABS (STRICTLY STABLE GEOMETRY & STABLE TEXTURE) */
.site-nav .nav-btn:not(.active):hover {
  transform: none !important;
  filter: drop-shadow(0 -4px 5px rgba(36, 158, 208, 0.32)) drop-shadow(4.5px -1px 5px rgba(18, 92, 138, 0.28)) !important;
}

.site-nav .nav-btn:not(.active):hover .tab-bg-img {
  transform: none !important;
  opacity: 1 !important;
  filter: brightness(0.978) !important;
}

.site-nav .nav-btn:not(.active):hover .tab-label {
  color: #000000 !important;
  opacity: 1 !important;
}

/* Live HTML Typography Label Vertically & Horizontally Centered inside Tab */
.site-nav .nav-btn .tab-label {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(-50%) !important;
  text-align: center !important;
  font-family: "Alte Haas Grotesk", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: lowercase !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  z-index: 5 !important;
  pointer-events: none !important;
  transition: color 0.18s ease, opacity 0.18s ease !important;
}

.site-nav .nav-btn::before,
.site-nav .nav-btn::after {
  display: none !important;
}

/* Adjust column padding to clear the binder spine */
body.home-page .column-left {
  padding-left: 56px !important;
}

/* 4. Hero Section Y2K Black Marker Typography */
body.home-page .hero-section {
  background: transparent !important;
  animation: none !important;
}

body.home-page .hero-bg-overlay {
  display: none !important;
}

body.home-page .hero-subtext {
  color: #000000 !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

body.home-page .hero-title-main {
  color: #000000 !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}



/* 5. Dual Scroll Container & Paper Project Cards */
body.home-page .dual-scroll-container {
  background-color: transparent !important;
  position: relative !important;
  left: -1px !important;
}

body.home-page .column-left {
  padding: 24px 14px 20px max(184px, calc(11vw - 1px)) !important;
}

body.home-page .column-right {
  padding: 24px 32px 20px 14px !important;
}

body.home-page .project-card,
body.projects-page .project-card {
  background: #ffffff !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(18, 92, 138, 0.16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.home-page .project-card:hover,
body.projects-page .project-card:hover {
  transform: translate3d(0, -3px, 0) !important;
  border-color: #000000 !important;
  box-shadow: 0 16px 36px rgba(18, 92, 138, 0.28) !important;
}

body.home-page .project-info-header,
body.projects-page .project-info-header {
  background: #ffffff !important;
  border-bottom: 1px solid #000000 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home-page .project-title,
body.projects-page .project-title {
  color: #000000 !important;
  font-weight: 700 !important;
}

body.home-page .project-technique,
body.projects-page .project-technique {
  color: #475569 !important;
}

body.home-page .project-client,
body.projects-page .project-client {
  color: #334155 !important;
}

body.home-page .project-date,
body.projects-page .project-date {
  color: #64748b !important;
}

body.home-page .project-media,
body.home-page .project-media img,
body.projects-page .project-media,
body.projects-page .project-media img,
body.projects-page .project-media video {
  border-radius: 0 !important;
  background-color: #f1f5f9 !important;
}

/* ==========================================================================
   ABOUT PAGE BENTO GRID CLEARANCE & Y2K LIGHT-BLUE SQUARE BENTO BOX STYLES
   ========================================================================== */

/* Outer Page Container & Side Clearance */
.about-page-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 8px 32px 32px max(184px, calc(11vw - 1px));
  box-sizing: border-box;
  position: relative;
  left: -1px;
}

/* 3D ID Card Hero Stage Enlargement & Realistic Drop Shadow */
body.about-page .about-hero-idcard {
  margin-top: -12px !important;
  margin-bottom: -5px !important;
}

body.about-page .id-card-stage {
  width: min(920px, 100%) !important;
  max-width: 920px !important;
}

body.about-page .id-card-shadow {
  position: absolute !important;
  top: calc(50% + 185px) !important;
  left: 12% !important;
  width: 76% !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.38) 0%, rgba(18, 92, 138, 0.28) 45%, rgba(18, 92, 138, 0.08) 70%, transparent 88%) !important;
  filter: blur(20px) !important;
  opacity: 0.88 !important;
}

/* Base Bento Card Restyling (White #ffffff, Square Corners 0px, Thin 1px Black Border) */
body.about-page .bento-card {
  background: #ffffff !important;
  background-clip: padding-box !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.about-page .bento-card::before {
  display: none !important;
  content: none !important;
}

body.about-page .bento-card:hover {
  border-color: #000000 !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Typography & Content Colors (High-Contrast Black #000000) */
body.about-page .bento-card .bento-badge {
  color: #000000 !important;
}

body.about-page .bento-card .bento-subbadge {
  color: rgba(0, 0, 0, 0.7) !important;
}

body.about-page .bento-card .pulse-dot,
body.about-page .bento-card .live-dot {
  background-color: #000000 !important;
  box-shadow: 0 0 6px rgba(18, 92, 138, 0.4) !important;
}

/* Bio Card Text & Tags */
body.about-page .bento-card .bio-heading {
  color: #000000 !important;
}

body.about-page .bento-card .bio-body {
  color: #000000 !important;
}

body.about-page .bento-card .glass-pill {
  background: rgba(0, 0, 0, 0.05) !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  color: #000000 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.25s ease !important;
}

body.about-page .bento-card .glass-pill:hover {
  background: rgba(0, 0, 0, 0.12) !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(18, 92, 138, 0.22) !important;
  transform: translateY(-1px) !important;
}

/* Timeline Experience Text & Items */
body.about-page .bento-card-experience .bento-card-header {
  margin-bottom: 20px !important;
  flex: 0 0 auto !important;
}

body.about-page .bento-card-experience .bento-timeline {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0 !important;
  margin-top: 0 !important;
}

body.about-page .bento-card .timeline-date {
  color: #000000 !important;
}

body.about-page .bento-card .timeline-company {
  color: #000000 !important;
}

body.about-page .bento-card .timeline-role {
  color: #000000 !important;
}

body.about-page .bento-card .timeline-desc {
  color: rgba(0, 0, 0, 0.85) !important;
}

body.about-page .bento-card-experience .timeline-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18) !important;
}

body.about-page .bento-card-experience .timeline-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.18) !important;
}

body.about-page .bento-card .exp-audience-pill {
  background: rgba(0, 0, 0, 0.05) !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  color: #000000 !important;
  border-radius: 0 !important;
  transition: all 0.25s ease !important;
}

body.about-page .bento-card .exp-audience-pill:hover {
  box-shadow: 0 4px 12px rgba(18, 92, 138, 0.22) !important;
}

body.about-page .bento-card .exp-audience-pill strong {
  color: #000000 !important;
}

body.about-page .social-hover-card {
  box-shadow: 0 12px 30px rgba(18, 92, 138, 0.35) !important;
}

/* Education Card Items & Text */
body.about-page .bento-card .bento-edu-item {
  background: rgba(0, 0, 0, 0.04) !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  transition: all 0.25s ease !important;
}

body.about-page .bento-card .bento-edu-item:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 18px rgba(18, 92, 138, 0.20) !important;
  transform: translateY(-1px) !important;
}

body.about-page .bento-card .edu-date {
  color: #000000 !important;
}

body.about-page .bento-card .edu-institution {
  color: #000000 !important;
}

body.about-page .bento-card .edu-degree {
  color: #000000 !important;
}

body.about-page .bento-card .edu-major {
  color: rgba(0, 0, 0, 0.75) !important;
}

/* Contact Card Items & Text */
body.about-page .bento-card .bento-contact-pill {
  background: rgba(0, 0, 0, 0.04) !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  transition: all 0.25s ease !important;
}

body.about-page .bento-card .bento-contact-pill:hover {
  background: rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 6px 18px rgba(18, 92, 138, 0.25) !important;
  transform: translateY(-2px) !important;
}

body.about-page .bento-card .contact-pill-label {
  color: rgba(0, 0, 0, 0.7) !important;
}

body.about-page .bento-card .contact-pill-val {
  color: #000000 !important;
}

body.about-page .bento-card .contact-pill-arrow {
  color: #000000 !important;
}

body.about-page .bento-card .bento-contact-pill:hover .contact-pill-arrow {
  color: #000000 !important;
}

/* Software & Tools App Icon Boxes */
body.about-page .bento-card-software .software-icon-tile {
  background: #ffffff !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.about-page .bento-card-software .software-item:hover .software-icon-tile {
  background: #f0f8ff !important;
  border-color: #000000 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-3px) scale(1.06) !important;
}

body.about-page .bento-card-software .software-icon-tile img.squarespace-icon {
  filter: brightness(0) !important;
}

/* Align Bottom Heights of Left and Right Bento Columns */
body.about-page .bento-col-left,
body.about-page .bento-col-right {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body.about-page .bento-card-experience,
body.about-page .bento-card-contact {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

/* Software Hover Popover Tooltip Restyling (Solid White, Square Corners, Black Outline, Black Text, Light Blue Bar) */
body.about-page .software-popover {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(18, 92, 138, 0.25) !important;
  padding: 14px 16px 14px 16px !important;
}

body.about-page .popover-badge-wrapper {
  height: 62px !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

body.about-page .popover-header {
  margin-bottom: 12px !important;
}

/* Tooltip Arrow with Thin 1px Outer Black Outline */
body.about-page .software-popover::before {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-width: 6px !important;
  border-style: solid !important;
  border-color: #000000 transparent transparent transparent !important;
  z-index: 1 !important;
  display: block !important;
}

body.about-page .software-popover::after {
  content: "" !important;
  position: absolute !important;
  top: calc(100% - 1px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-width: 5px !important;
  border-style: solid !important;
  border-color: #ffffff transparent transparent transparent !important;
  z-index: 2 !important;
  display: block !important;
}

body.about-page .software-item[data-pos="top"] .software-popover::before {
  top: auto !important;
  bottom: 100% !important;
  border-width: 6px !important;
  border-color: transparent transparent #000000 transparent !important;
}

body.about-page .software-item[data-pos="top"] .software-popover::after {
  top: auto !important;
  bottom: calc(100% - 1px) !important;
  border-width: 5px !important;
  border-color: transparent transparent #ffffff transparent !important;
}

/* Soft Luminous Neon Rank Glow System */
body.about-page .bg-bloom-layer,
body.about-page .inner-glow-layer {
  display: none !important;
}

body.about-page .rank-champion .rank-img {
  filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.45)) drop-shadow(0 0 14px rgba(217, 70, 239, 0.3)) drop-shadow(0 0 22px rgba(192, 132, 252, 0.2)) !important;
}

body.about-page .rank-gm .rank-img {
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.45)) drop-shadow(0 0 14px rgba(129, 140, 248, 0.3)) drop-shadow(0 0 22px rgba(168, 85, 247, 0.2)) !important;
}

body.about-page .rank-master .rank-img {
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.45)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.3)) drop-shadow(0 0 22px rgba(45, 212, 191, 0.2)) !important;
}

body.about-page .rank-diamond .rank-img {
  filter: drop-shadow(0 0 6px rgba(186, 230, 253, 0.5)) drop-shadow(0 0 14px rgba(125, 211, 252, 0.32)) drop-shadow(0 0 22px rgba(147, 197, 253, 0.22)) !important;
}





/* Tier Badge Tag Colors Tailored for White Background */
body.about-page .tier-expert {
  color: #7e22ce !important;
  background: rgba(168, 85, 247, 0.12) !important;
  border: 1px solid rgba(126, 34, 206, 0.4) !important;
  font-weight: 700 !important;
}

body.about-page .tier-advanced {
  color: #0369a1 !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(3, 105, 161, 0.4) !important;
  font-weight: 700 !important;
}

body.about-page .tier-proficient {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(4, 120, 87, 0.4) !important;
  font-weight: 700 !important;
}

body.about-page .tier-familiar {
  color: #475569 !important;
  background: rgba(100, 116, 139, 0.12) !important;
  border: 1px solid rgba(71, 85, 105, 0.4) !important;
  font-weight: 700 !important;
}

/* About Page Opening Entrance Animations (Ultra-Smooth GPU Composited) */
@keyframes aboutBentoCardReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.about-page .bento-col-left > .bento-card:nth-child(1) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

body.about-page .bento-col-left > .bento-card:nth-child(2) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

body.about-page .bento-col-left > .bento-card:nth-child(3) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

body.about-page .bento-col-right > .bento-card:nth-child(1) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

body.about-page .bento-col-right > .bento-card:nth-child(2) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

body.about-page .bento-col-right > .bento-card:nth-child(3) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

body.about-page .bento-col-right > .bento-card:nth-child(4) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

body.about-page .bento-col-right > .bento-card:nth-child(5) {
  will-change: transform, opacity;
  animation: aboutBentoCardReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* Popover Text Colors */
body.about-page .popover-name {
  color: #000000 !important;
  font-weight: 700 !important;
}

body.about-page .score-label {
  color: #475569 !important;
  font-weight: 500 !important;
}

body.about-page .score-num {
  color: #000000 !important;
  font-weight: 600 !important;
}

body.about-page .popover-desc {
  color: #475569 !important;
  font-weight: 400 !important;
}

/* Light Blue Segmented Proficiency Bar */
body.about-page .seg {
  background: rgba(0, 0, 0, 0.12) !important;
  border-radius: 0 !important;
}

body.about-page .seg.active {
  background: #38bdf8 !important;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.45) !important;
  border-radius: 0 !important;
}

/* Social Profile Hover Card Restyling (Solid White, Square Corners, Black Outline, Black Text) */
body.about-page .social-hover-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(18, 92, 138, 0.25) !important;
}

body.about-page .social-hover-card::before {
  content: '' !important;
  position: absolute !important;
  bottom: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(45deg) !important;
  width: 10px !important;
  height: 10px !important;
  background: #000000 !important;
  z-index: 1 !important;
  display: block !important;
}

body.about-page .social-hover-card::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4.8px !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(45deg) !important;
  width: 8.6px !important;
  height: 8.6px !important;
  background: #ffffff !important;
  border: none !important;
  z-index: 2 !important;
  display: block !important;
}

body.about-page .exp-audience-pill:first-child .social-hover-card::before {
  left: 36px !important;
  right: auto !important;
  transform: translateX(0) rotate(45deg) !important;
}

body.about-page .exp-audience-pill:first-child .social-hover-card::after {
  left: 37px !important;
  right: auto !important;
  transform: translateX(0) rotate(45deg) !important;
}

body.about-page .exp-audience-pill:last-child:not(:first-child) .social-hover-card::before {
  left: auto !important;
  right: 36px !important;
  transform: translateX(0) rotate(45deg) !important;
}

body.about-page .exp-audience-pill:last-child:not(:first-child) .social-hover-card::after {
  left: auto !important;
  right: 37px !important;
  transform: translateX(0) rotate(45deg) !important;
}

body.about-page .social-card-avatar {
  border: 1.5px solid #000000 !important;
  box-shadow: none !important;
}

body.about-page .social-card-name {
  color: #000000 !important;
  font-weight: 700 !important;
}

body.about-page .social-card-handle {
  color: #475569 !important;
  font-weight: 500 !important;
}

body.about-page .social-platform-tag {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
}

body.about-page .social-card-stats-row {
  color: #000000 !important;
  font-weight: 500 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.18) !important;
}

body.about-page .social-stat-item {
  color: #000000 !important;
  font-weight: 500 !important;
}

body.about-page .social-stat-item strong {
  color: #000000 !important;
  font-weight: 700 !important;
}

body.about-page .social-stat-dot {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   REUSABLE Y2K BINDER COLOPHON FOOTER SYSTEM (COMPONENTS & VARIANTS)
   ========================================================================== */
.binder-footer-colophon {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0px;
  background-color: #A3E1F8 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  color: #000000 !important;
  font-family: var(--font-main);
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

/* Primary Section (Asymmetric Editorial Grid Layout) */
.binder-footer-colophon .footer-primary-section {
  display: grid;
  grid-template-columns: 240px 1fr 180px;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
}

/* Brand & Role Cluster */
.binder-footer-colophon .footer-brand-cluster {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.binder-footer-colophon .footer-brand-name {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000 !important;
  text-transform: lowercase !important;
  line-height: 1.1;
  margin: 0;
}

.binder-footer-colophon .footer-brand-role {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 500;
  color: #000000 !important;
  line-height: 1.4;
  text-transform: lowercase !important;
  letter-spacing: 0.02em;
}

/* Dominant Statement Block */
.binder-footer-colophon .footer-statement-block {
  text-align: center;
  padding: 0 16px;
}

.binder-footer-colophon .footer-statement-text {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #000000 !important;
  text-transform: lowercase !important;
  margin: 0;
}

/* Solid Black Star with High Contrast */
.binder-footer-colophon .footer-star {
  display: inline-block;
  font-size: 0.85em;
  color: #000000 !important;
  fill: #000000 !important;
  vertical-align: middle;
  transform: translateY(-2px);
}

/* Nav & Contact Links Block (Matching About Page Contact & Connect Pills) */
.binder-footer-colophon .footer-links-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.binder-footer-colophon .footer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #ffffff !important;
  background-clip: padding-box !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  color: #000000 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  text-transform: lowercase !important;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.binder-footer-colophon .footer-nav-link span {
  color: #000000 !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: color 0.2s ease;
}

.binder-footer-colophon .footer-nav-link .link-arrow {
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 12px;
  opacity: 1 !important;
  transition: transform 0.2s ease, color 0.2s ease;
}

.binder-footer-colophon .footer-nav-link:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.binder-footer-colophon .footer-nav-link:hover span,
.binder-footer-colophon .footer-nav-link:hover .link-arrow {
  color: #ffffff !important;
}

/* Horizontal Divider Rule */
.binder-footer-colophon .footer-divider-rule {
  width: 100%;
  height: 1px;
  background-color: #000000 !important;
}

/* Colophon / Metadata Bar */
.binder-footer-colophon .footer-metadata-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 44px;
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 500;
  color: #000000 !important;
  letter-spacing: 0.02em;
  text-transform: lowercase !important;
}

.binder-footer-colophon .footer-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000000 !important;
}

.binder-footer-colophon .meta-status .meta-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background-color: #000000 !important;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Responsive Editorial Adjustments */
@media (max-width: 1100px) {
  .binder-footer-colophon .footer-primary-section {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    padding: 36px 28px;
  }
  .binder-footer-colophon .footer-brand-cluster {
    align-items: center;
  }
  .binder-footer-colophon .footer-links-block {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .binder-footer-colophon .footer-nav-link {
    min-width: 140px;
  }
  .binder-footer-colophon .footer-metadata-section {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    text-align: center;
  }
}

body.home-page .scroll-column {
  overscroll-behavior-y: contain !important;
  overscroll-behavior: contain !important;
}

/* ==========================================================================
   INDIVIDUAL PROJECT PREVIOUS / NEXT NAVIGATION CARDS
   ========================================================================== */
.project-nav-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 60px;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.project-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
  background-color: #FFFFFF;
  border: 1px solid #111111;
  border-radius: 0;
  text-decoration: none;
  color: #111111;
  box-sizing: border-box;
  min-height: 140px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}

.project-nav-card.nav-prev {
  text-align: left;
}

.project-nav-card.nav-next {
  text-align: right;
  align-items: flex-end;
}

.project-nav-card .nav-card-label {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: #555555;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.project-nav-card .nav-card-title {
  font-family: "Alte Haas Grotesk", var(--font-main), sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111111;
  margin: 0;
  transition: transform 0.25s ease;
}

/* Hover Interaction: restrained & editorial */
.project-nav-card:hover {
  background-color: #A3E1F8;
  border-color: #000000;
}

.project-nav-card.nav-prev:hover .nav-card-label {
  transform: translateX(-6px);
  color: #000000;
}

.project-nav-card.nav-prev:hover .nav-card-title {
  transform: translateX(-4px);
}

.project-nav-card.nav-next:hover .nav-card-label {
  transform: translateX(6px);
  color: #000000;
}

.project-nav-card.nav-next:hover .nav-card-title {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .project-nav-container {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .project-nav-card {
    padding: 24px;
    min-height: 120px;
  }
  .project-nav-card.nav-next {
    text-align: left;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SAFE SECTION RENDERING CONTAINMENT & GPU LAYER PROMOTION
   ========================================================================== */
.ambient-bg {
  transform: translateZ(0);
}

.stacy-section,
.zb-section,
.tt-section,
.roshana-section,
.project-nav-container,
.binder-footer-colophon {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* ==========================================================================
   DEDICATED CONTACT PAGE DESIGN SYSTEM (FLAT GRAPHIC - MATCHING ABOUT & PROJECTS)
   ========================================================================== */

/* Contact Page Main Container */
.contact-page-container {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  padding-left: max(184px, calc(11vw - 1px)) !important; /* Binder clearance */
  padding-right: 32px !important;
  padding-top: 0 !important; /* Shifted top padding to zero */
  padding-bottom: 80px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.contact-editorial-layout {
  position: relative;
  z-index: 20;
  max-width: min(1360px, 100%);
  margin: 0;
}

/* Contact Page Top Right Floating Stickers */
.contact-stickers-container {
  position: absolute;
  top: -10px;
  right: 40px;
  width: 320px;
  height: 140px;
  pointer-events: none;
  z-index: 25;
}

.contact-sticker-gameboy {
  position: absolute;
  top: 4px;
  right: 175px;
  width: clamp(80px, 8vw, 110px);
  transform: rotate(-10deg);
  animation: stickerFloat1 4.8s ease-in-out infinite !important;
}

.contact-sticker-artboard6 {
  position: absolute;
  top: -8px;
  right: 0px;
  width: clamp(90px, 9vw, 120px);
  transform: rotate(12deg);
  animation: stickerFloat2 5.4s ease-in-out infinite !important;
  animation-delay: -1.2s !important;
}

@media (max-width: 900px) {
  .contact-stickers-container {
    right: 16px;
    top: -5px;
    transform: scale(0.8);
    transform-origin: top right;
  }
}

/* Hero / Intro Section (Exact Match to Projects Page Header Title) */
.contact-hero-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -19px !important; /* Moved 3px higher */
  margin-bottom: 32px;
}

.contact-main-heading {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(48px, 5.5vw, 88px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.06em !important;
  line-height: 0.9 !important;
  color: #000000 !important;
  text-transform: lowercase !important;
  margin: 0 !important;
  text-shadow: none !important;
}

.contact-subhead {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(16px, 1.6vw, 22px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  color: #475569 !important;
  text-transform: lowercase !important;
  line-height: 1.35 !important;
  max-width: 760px;
  margin: 0 !important;
}

/* Asymmetric Main Grid (Form + Direct Contact Side Column) */
.contact-grid-container {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Flat Box Styling (Solid White #ffffff, Thin Black Outline, Zero Shadow) */
.contact-form-card,
.contact-info-card,
.contact-social-card {
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 32px;
  box-shadow: none !important;
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.2s ease !important;
}

.contact-info-card,
.contact-social-card {
  padding: 24px;
}

/* Headers & Labels inside Cards */
.form-card-header,
.card-archive-label {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000 !important;
  text-transform: lowercase !important;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid #000000 !important;
}

.card-archive-label {
  margin-bottom: 18px;
}

.inbox-status-tag {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000000 !important;
  text-transform: lowercase !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label,
.info-label {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000 !important;
  text-transform: lowercase !important;
}

.required-star {
  color: #000000 !important;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 12px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000000 !important;
  box-sizing: border-box;
  outline: none;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23000000' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
  padding-right: 40px !important;
  cursor: pointer;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #64748b !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #000000 !important;
  background-color: #f8fafc !important;
  box-shadow: none !important;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Button Styling (Flat White Box with Black Border & Black Text) */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
  border-radius: 0 !important;
  padding: 12px 26px;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase !important;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-submit-btn span {
  color: inherit !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.contact-submit-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

.contact-submit-btn svg,
.contact-submit-btn svg path {
  stroke: #000000 !important;
  transition: stroke 0.2s ease;
}

.contact-submit-btn:hover svg,
.contact-submit-btn:hover svg path {
  stroke: #ffffff !important;
}

.form-privacy-note {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 12px;
  color: #475569 !important;
  text-transform: lowercase !important;
}

/* Form Success Confirmation State */
.contact-success-state {
  text-align: left;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: projectHeaderReveal 0.4s ease both;
}

.contact-success-state.hidden {
  display: none !important;
}

.success-title {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #000000 !important;
  text-transform: lowercase !important;
  margin: 0;
}

.success-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  color: #334155 !important;
  max-width: 480px;
  margin: 0;
  line-height: 1.5;
}

.reset-form-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 8px 16px;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.2s ease;
}

.reset-form-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Side Column: Direct Contact & Social Cards */
.contact-side-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.email-copy-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.info-value-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000 !important;
  text-decoration: none;
  border-bottom: 1px solid #000000 !important;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.info-value-link:hover {
  color: #2563eb !important;
  border-color: #2563eb !important;
}

.copy-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 4px 10px;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase !important;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-btn span {
  color: inherit !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.copy-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

.copy-btn.copied {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.contact-social-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.social-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.social-statement-block {
  margin-top: 12px;
  margin-bottom: 28px;
}

.social-statement-heading {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #000000 !important;
  text-transform: lowercase !important;
  margin: 0 0 10px 0;
  text-shadow: none !important;
}

.social-statement-subtext {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #475569 !important;
  text-transform: lowercase !important;
  line-height: 1.45;
  margin: 0;
}

/* Social Chips Grid (Flat White Buttons, High Contrast Black Text) */
.social-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 10px 14px;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-chip span {
  color: inherit !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.social-chip svg,
.social-chip svg path {
  stroke: #000000 !important;
  color: #000000 !important;
  transition: stroke 0.2s ease;
}

.social-chip:hover {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

.social-chip:hover span {
  color: #ffffff !important;
}

.social-chip:hover svg,
.social-chip:hover svg path {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* Contact Page Entrance Animations */
@keyframes contactHeroReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes contactFormReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.contact-page .contact-hero-section {
  will-change: transform, opacity;
  animation: contactHeroReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.02s both;
}

body.contact-page .contact-form-card {
  will-change: transform, opacity;
  animation: contactFormReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both;
}

body.contact-page .contact-side-column {
  will-change: transform, opacity;
  animation: contactFormReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .contact-page-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .contact-grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-page-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 20px;
  }
}

/* ==========================================================================
   6. DEDICATED ARCHIVES PAGE DESIGN SYSTEM (archives.html)
   ========================================================================== */
.archives-page-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc(100vh - var(--header-height));
  margin-top: 0;
  padding: 32px 32px 32px max(184px, calc(11vw - 1px));
  background-color: transparent;
  position: relative;
  z-index: 10;
  left: -1px;
}

.archives-page-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #000000;
  position: relative;
}

.archives-header-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archives-page-title {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #000000;
  text-transform: lowercase;
  margin: 0;
  text-shadow: none;
}

.archives-page-subtitle {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #475569;
  text-transform: lowercase;
  margin: 0;
}

/* Archives Grid Container & Layout */
.archives-grid-container {
  width: 100%;
}

.archives-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  align-items: start;
}

@media (max-width: 1024px) {
  .archives-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .archives-grid-layout {
    grid-template-columns: 1fr;
  }
}

.masonry-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
}

/* Static Exhibition Gallery Cards */
.archive-card {
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 18px;
  box-shadow: none !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  cursor: default;
  transition: opacity 0.3s ease, transform 0.3s ease;
  outline: none;
  margin-bottom: 0 !important;
}

.archive-card.hidden {
  display: none !important;
}

/* Header Info Area inside Card */
.archive-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #000000;
}

.archive-title {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}

.archive-category-tag {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Media Frame for Artwork */
.archive-media-frame {
  width: 100%;
  background: #ffffff;
  border: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.archive-media-frame img.archive-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.archive-media-frame.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.archive-media-frame.aspect-16-9 img,
.archive-media-frame.aspect-16-9 .archive-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Carousel Frame & Slide Navigation */
.archive-carousel-frame {
  width: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid #000000;
  overflow: hidden;
  box-sizing: border-box;
}

.archive-carousel-frame.frame-2099 {
  aspect-ratio: 1 / 1;
}

.archive-carousel-slides {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.35, 1) !important;
  will-change: transform;
}

.archive-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.archive-slide.active {
  z-index: 2;
}

.archive-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Carousel Controls Bar */
.archive-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #000000;
}

.carousel-counter {
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.05em;
}

.carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  width: 28px;
  height: 28px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn.carousel-prev,
.carousel-btn.carousel-next {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-bottom: 2px !important;
}

.carousel-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Video Edit Watch Button */
.archive-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  padding: 8px 14px;
  font-family: "Alte Haas Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: 2px;
  width: fit-content;
}

.archive-watch-btn span {
  color: inherit !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.archive-watch-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
}













