/* ==========================================================================
   SAURABH SHARMA™ Portfolio — Minimal Desktop Landing Page Styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & CSS VARIABLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Warm off-white / light grey palette - strictly no background gradients */
  --bg-main: #f3f1ec;
  --bg-card: #e9e7e0;
  --bg-mockup: #ffffff;

  /* Text Colors */
  --text-primary: #111111;
  --text-secondary: #73726f;
  --text-muted: #9c9a94;

  /* Accent & Border */
  --border-light: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(0, 0, 0, 0.12);
  --btn-bg: #e6e4dc;
  --btn-hover: #dad7cd;

  /* Fonts & Radius */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-showcase: 30px;
  --radius-mockup: 16px;
  --radius-btn: 50%;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:has(body.category-page),
html:has(body.project-detail-page),
body.category-page,
body.project-detail-page {
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* --------------------------------------------------------------------------
   2. MAIN CONTAINERS & SPLIT LAYOUT (40% / 60%)
   -------------------------------------------------------------------------- */
.portfolio-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  padding: 3rem 4rem;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
}

/* LEFT SIDE (~40%) */
.left-section {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 1.5rem;
  z-index: 10;
}

/* RIGHT SIDE (~60%) */
.right-section {
  flex: 1 1 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

/* --------------------------------------------------------------------------
   3. LEFT SIDE CONTENT: TYPOGRAPHIC STATEMENT (BRANDING, PACKAGING, DIGITAL)
   -------------------------------------------------------------------------- */

/* SAURABH SHARMA™ BRAND */
.brand-logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  text-transform: uppercase;
  user-select: none;
  /* padding-top: 0.5rem; */
}

.brand-tm {
  font-size: 0.65rem;
  vertical-align: super;
  margin-left: 2px;
}

/* TYPOGRAPHIC STATEMENT WRAPPER */
.statement-wrapper {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  max-width: 520px;
}

.statement-prefix {
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  font-weight: 300;
  color: #222222;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.2rem;
  MARGIN-LEFT: 3PX;
  display: block;
}

/* STATEMENT WORDS CONTAINER WITH GENEROUS VERTICAL BREATHING ROOM */
.statement-words {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

/* INDIVIDUAL TYPOGRAPHIC ITEM & SUBHEADING */
.statement-word {
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.6rem;
}

.word-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.word-arrow {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 400;
  color: #000000;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  line-height: 1;
}

.statement-word:hover .word-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ANIMATED HOVER UNDERLINE LINE */
.statement-word::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-word:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* 1. BRANDING. — Initial: Solid Black -> Hover: Slow & Steady Transition to Outline */
.word-branding .word-text {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 800;
  color: #000000;
  -webkit-text-stroke: 1.5px transparent;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-branding:hover .word-text {
  color: transparent;
  -webkit-text-stroke: 1.5px #000000;
}

/* 2. PACKAGING. — Initial: Outline Stroke -> Hover: Slow & Steady Filling to Solid Black */
.word-packaging .word-text {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px #333333;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-packaging:hover .word-text {
  color: #000000;
  -webkit-text-stroke: 1.5px #000000;
}

/* 3. DIGITAL. — Initial: Soft Muted Gray -> Hover: Slow & Steady Solid Black Animation */
.word-digital .word-text {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 300;
  color: #888680;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1), font-weight 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-digital:hover .word-text {
  color: #000000;
  font-weight: 600;
}

/* SHORT SUBHEADINGS */
.word-sub {
  font-size: 0.88rem;
  font-weight: 400;
  color: #767571;
  letter-spacing: 0.01em;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CONTAINER HOVER MUTING & FOCUS */
.statement-words:hover .statement-word {
  opacity: 0.32;
}

.statement-words:hover .statement-word:hover {
  opacity: 1;
  transform: translateX(6px);
}

.statement-word:hover .word-sub {
  color: #111111;
}

/* ACTIVE STATE */
.statement-word.active {
  opacity: 1 !important;
}



/* --------------------------------------------------------------------------
   4. UTILITY CONTROLS (BOTTOM LEFT & DIVIDER)
   -------------------------------------------------------------------------- */
.utility-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}

.utility-btn {
  height: 38px;
  padding: 0 1.15rem;
  border-radius: 30px;
  background-color: var(--btn-bg);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  font-family: inherit;
}

.utility-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.utility-btn:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.utility-btn:hover svg {
  transform: scale(1.12);
  color: #ffffff;
  stroke: #ffffff;
}

/* HOMEPAGE KILL COUNTER PILL BADGE */
.kill-counter-pill {
  height: 38px;
  padding: 0 1.1rem;
  border-radius: 30px;
  background-color: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kill-counter-pill:hover {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.kill-target-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.kill-count {
  font-weight: 800;
  font-size: 0.8rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.12rem 0.55rem;
  border-radius: 12px;
  min-width: 22px;
  text-align: center;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.kill-count.bump {
  transform: scale(1.4);
  background: #ffffff;
  color: #111111;
}

/* DIVIDER EXPAND BUTTON (NEAR UPPER AREA BETWEEN LEFT & RIGHT) */
.divider-control {
  position: absolute;
  left: calc(38% + 0.75rem);
  top: 3.2rem;
  z-index: 20;
}

.expand-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--btn-bg);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.expand-btn:hover {
  background-color: var(--btn-hover);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   5. RIGHT SIDE SHOWCASE FRAME (~60%)
   -------------------------------------------------------------------------- */
.showcase-card {
  width: 92%;
  height: 88%;
  margin: auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.05);
  background-color: #0d0d0d;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FULL-BLEED BACKGROUND LAYER */
.showcase-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.88) contrast(1.05);
}

/* BRANDING IMAGE SLIDER LAYER */
.branding-slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.branding-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
}

.branding-slide.active {
  opacity: 1;
  transform: scale(1);
}

.showcase-card:hover .showcase-bg-layer {
  transform: scale(1);
}

.showcase-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. OVERLAID WEBSITE INTERFACE MOCKUP
   -------------------------------------------------------------------------- */
.mockup-wrapper {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: clamp(340px, 32vw, 480px);
  z-index: 10;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.website-mockup {
  background-color: var(--bg-mockup);
  border-radius: var(--radius-mockup);
  padding: 1.8rem 2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

/* MOCKUP HEADER / NAVIGATION */
.mockup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
}

.mockup-menu {
  display: flex;
  gap: 1.2rem;
}

.mockup-menu .nav-item {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #777777;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mockup-menu .nav-item.active,
.mockup-menu .nav-item:hover {
  color: #000000;
}

.mockup-status {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* MOCKUP BODY CONTENT */
.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mockup-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mockup-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.mockup-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: #444444;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* MOCKUP INNER VISUAL CARD */
.mockup-visual-card {
  background-color: #f7f6f2;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888;
}

.visual-img-container {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
}

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

.visual-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
}

.visual-badge span {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.05em;
}

.visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.visual-spec {
  color: #666;
}

.visual-link {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.visual-link:hover {
  opacity: 0.7;
}

/* MOCKUP FOOTER */
.mockup-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.06em;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   RIGHT CENTER PAGINATION DOTS & 5s TIMER ANIMATION
   -------------------------------------------------------------------------- */
/* RIGHT CENTER PAGINATION DOTS WITH CIRCULAR PROGRESS RING */
.showcase-pagination {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 25;
}

.pagination-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagination-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.3);
}

.pagination-dot.active {
  background: #ffffff;
  border-color: #000000;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* 5s TIMER PROGRESS RING FOR ACTIVE DOT */
.pagination-dot.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  animation: dotTimerProgress 5s linear infinite;
  opacity: 0.85;
}

@keyframes dotTimerProgress {
  0% {
    clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  }

  25% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
  }

  50% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
  }

  75% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
  }

  100% {
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
  }
}

.discipline-overlay {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 12;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.editorial-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  max-width: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.editorial-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #777;
}

.editorial-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.editorial-desc {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.5;
}

.editorial-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #000;
  margin-top: 0.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   8. EXPANDED FULLSCREEN MODE & MODAL
   -------------------------------------------------------------------------- */
body.fullscreen-active .left-section {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

body.fullscreen-active .portfolio-container {
  padding: 1.5rem;
}

body.fullscreen-active .showcase-card {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

body.fullscreen-active .divider-control {
  left: 2.5rem;
}

/* MODAL */
.info-modal {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.7);
  padding: 2.8rem 2.6rem;
  max-width: 520px;
  width: 92vw;
  margin: auto;
  outline: none;
  backdrop-filter: blur(16px);
}

.info-modal::backdrop {
  background: rgba(4, 4, 4, 0.75);
  backdrop-filter: blur(10px);
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: -0.6rem;
  right: -0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.05);
}

.modal-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #c88d51;
  text-transform: uppercase;
}

.modal-designer-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.modal-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cccccc;
  margin: 0;
}

.modal-text strong {
  color: #ffffff;
  font-weight: 700;
}

.modal-disciplines-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-bottom: 0.4rem;
}

.d-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dddddd;
}

.modal-contact-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-sec-heading {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #888888;
  text-transform: uppercase;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 141, 81, 0.5);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200, 141, 81, 0.15);
  color: #c88d51;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  margin-left: 0.9rem;
}

.contact-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #888888;
}

.contact-card-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.contact-card-arrow {
  font-size: 1rem;
  color: #888888;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card:hover .contact-card-arrow {
  color: #c88d51;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS (PRESERVING DESKTOP FULL-BLEED ELEGANCE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .portfolio-container {
    padding: 2rem;
    gap: 1.5rem;
  }

  .discipline-title {
    font-size: 1.5rem;
  }

  .mockup-wrapper {
    right: 4%;
    width: 360px;
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow: auto;
    height: auto;
  }

  .portfolio-container {
    flex-direction: column;
    height: auto;
    padding: 1.5rem;
  }

  .left-section {
    flex: none;
    padding-right: 0;
    gap: 2.5rem;
  }

  .right-section {
    height: 550px;
  }

  .divider-control {
    display: none;
  }

  .mockup-wrapper {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 90%;
    margin: 2rem auto;
  }
}

/* --------------------------------------------------------------------------
   10. CUSTOM GALAXY CURSOR (STRICTLY MASKED INSIDE SHAPE)
   -------------------------------------------------------------------------- */
body.has-custom-cursor,
body.has-custom-cursor *,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea,
body.has-custom-cursor [role="button"],
body.has-custom-cursor .discipline-item,
body.has-custom-cursor .utility-btn,
body.has-custom-cursor .expand-btn,
body.has-custom-cursor .mockup-wrapper,
body.has-custom-cursor .visual-link {
  cursor: none !important;
}

.custom-galaxy-cursor {
  position: fixed;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 9999999;
  will-change: transform;
  display: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

body.has-custom-cursor .custom-galaxy-cursor {
  display: block;
}

.red-cursor-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.custom-galaxy-cursor.white-cursor .red-cursor-img {
  filter: invert(1);
}

@keyframes flowingColorStream {
  0% {
    background-position: 0% 0%;
    filter: hue-rotate(0deg);
  }

  50% {
    background-position: 100% 100%;
    filter: hue-rotate(180deg);
  }

  100% {
    background-position: 0% 0%;
    filter: hue-rotate(360deg);
  }
}

/* Fallback media query if JS is fast */
@media (hover: hover) and (pointer: fine) {

  html,
  body {
    cursor: url('assets/galaxy_cursor_bw.png') 10 11, auto;
  }
}

/* --------------------------------------------------------------------------
   11. CATEGORY PAGES STYLES (FULL BLEED BLACK BACKGROUND)
   -------------------------------------------------------------------------- */
body.category-page {
  background-color: #070707;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.category-viewport {
  width: 100vw;
  height: 100vh;
  background-color: #070707;
  color: #ffffff;
  padding: 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* TOP NAVIGATION IN CANVAS */
.canvas-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-back {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888888;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-back:hover {
  color: #ffffff;
}

.back-text-desktop {
  display: inline;
}

.back-text-mobile {
  display: none;
}

.nav-categories {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.cat-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #666666;
  text-decoration: none;
  transition: color 0.25s ease;
}

.cat-link.active,
.cat-link:hover {
  color: #ffffff;
}

.menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* MAIN CONTENT & TITLE SECTION (MIDDLE VERTICAL POSITIONING) */
.canvas-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding-top: 0;
}

.title-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 1.5rem 0;
  width: 100%;
}

.title-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.main-category-title {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.category-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888888;
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}

.category-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: #aaaaaa;
  line-height: 1.5;
  margin-top: 1.2rem;
  max-width: 420px;
}

.title-right {
  padding-top: 0.8rem;
}

.page-index {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888888;
  letter-spacing: 0.1em;
}

/* PROJECT GRID (4 EQUAL CARDS) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  width: 100%;
  margin-top: auto;
  padding-top: 2rem;
}

.project-card {
  position: relative;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #121212;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
}

.card-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-num {
  font-size: 0.72rem;
  font-weight: 500;
  color: #aaaaaa;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.card-arrow {
  font-size: 1.1rem;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CARD HOVER STATES */
.project-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.project-card:hover .card-img {
  transform: scale(1.04);
  filter: brightness(1);
}

.project-card:hover .card-arrow {
  transform: translateX(6px);
}

/* RESPONSIVE CATEGORY PAGE */
@media (max-width: 1024px) {
  .project-card {
    height: 240px;
  }

  .black-canvas {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  body.category-page {
    overflow: auto;
    height: auto;
  }

  .category-viewport {
    height: auto;
    padding: 1rem;
  }

  .black-canvas {
    height: auto;
    padding: 1.5rem;
    gap: 2rem;
  }

  .nav-categories {
    display: none;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   12. HIGH-END EDITORIAL FINGER TAPPING / DRUMMING LOADER
   -------------------------------------------------------------------------- */
.site-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f4f1ea;
  color: #111111;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: all;
}

.site-loader.loaded {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.finger-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.finger-loader-svg {
  overflow: visible;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

/* FINGER TAPPING ANIMATION WAVE */
.finger-item {
  transform-origin: bottom center;
  will-change: transform;
}

.finger-1 {
  animation: fingerTapWave 1.1s infinite ease-in-out 0s;
}

.finger-2 {
  animation: fingerTapWave 1.1s infinite ease-in-out 0.14s;
}

.finger-3 {
  animation: fingerTapWave 1.1s infinite ease-in-out 0.28s;
}

.finger-4 {
  animation: fingerTapWave 1.1s infinite ease-in-out 0.42s;
}

.thumb-item {
  transform-origin: 150px 75px;
  animation: thumbTapWave 1.1s infinite ease-in-out 0.56s;
  will-change: transform;
}

@keyframes fingerTapWave {

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

  30% {
    transform: translateY(-16px);
  }

  60% {
    transform: translateY(0);
  }
}

@keyframes thumbTapWave {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  30% {
    transform: translateY(-12px) rotate(8deg);
  }

  60% {
    transform: translateY(0) rotate(0deg);
  }
}

/* --------------------------------------------------------------------------
   13. PROJECT DETAIL HERO SECTION STYLES (FULL BLEED DARK LAYOUT)
   -------------------------------------------------------------------------- */
body.project-detail-page {
  background-color: #070707;
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

.project-viewport {
  width: 100vw;
  min-height: 100vh;
  height: auto !important;
  background-color: #070707;
  color: #ffffff;
  padding: 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

/* TOP NAVIGATION */
.project-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 20;
}

.pnav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.pnav-brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.pnav-back {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888888;
  text-decoration: none;
  transition: color 0.25s ease;
}

.pnav-back:hover {
  color: #ffffff;
}

.pnav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pnav-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pnav-arrow-btn {
  background: none;
  border: none;
  color: #888888;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.pnav-arrow-btn:hover {
  color: #ffffff;
}

#prev-project:hover {
  transform: translateX(-4px);
}

#next-project:hover {
  transform: translateX(4px);
}

.mobile-project-nav,
.mobile-project-nav-categories {
  display: none;
}

/* HERO MAIN COMPOSITION */
.project-hero-main {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7rem;
  z-index: 5;
  pointer-events: none;
}

.hero-composition {
  position: relative;
  width: 560px;
  height: 420px;
  pointer-events: auto;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* DIAGONAL CONTRA BROCHURE */
.hero-brochure-card {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 320px;
  height: 430px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.7), 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: rotate(-22deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.hero-brochure-card.hero-brochure-secondary {
  left: 135px;
  top: -25px;
  width: 295px;
  height: 405px;
  transform: rotate(-7deg) scale(0.92);
  z-index: 1;
  box-shadow: -15px 25px 50px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(200, 141, 81, 0.35);
}

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

/* BRANDED LEATHER TAG */
.hero-tag-overlay {
  position: absolute;
  right: 80px;
  bottom: 60px;
  width: 240px;
  height: 170px;
  transform: rotate(12deg);
}

.tag-card {
  width: 100%;
  height: 100%;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 15px 25px 50px rgba(0, 0, 0, 0.6);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tag-brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.15);
}

.tag-seal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
}

.seal-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

/* TAG CORD */
.tag-cord {
  position: absolute;
  top: -60px;
  right: 30px;
  width: 2px;
  height: 80px;
  background: #2a2a2a;
  box-shadow: -2px 4px 8px rgba(0, 0, 0, 0.5);
  transform: rotate(-15deg);
}

/* CIRCULAR CONTRA EMBOSSED SEAL */
.hero-embossed-seal {
  position: absolute;
  bottom: 20px;
  right: 180px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.5);
}

.seal-outer-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-center-c {
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
}

/* VERTICAL PROJECT INDEX (RIGHT SIDE) */
.vertical-project-index {
  position: absolute;
  right: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 20;
}

.vindex-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666666;
  cursor: pointer;
  transition: color 0.3s ease;
  font-feature-settings: "tnum";
}

.vindex-item.active,
.vindex-item:hover {
  color: #ffffff;
}

.vindex-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* LEFT SIDE MIDDLE HERO TITLE FOOTER */
.hero-footer-left {
  position: absolute;
  left: 4.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
  width: max-content;
  max-width: 45vw;
}

.project-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.project-hero-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c88d51;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

/* BOTTOM RIGHT FOOTER */
.hero-footer-right {
  position: absolute;
  right: 3.5rem;
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 20;
}

.scroll-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
}

.scroll-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   14. INTERACTIVE CANVAS BACKGROUND DUST & RIPPLE EFFECT
   -------------------------------------------------------------------------- */
.interactive-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   15. EDITORIAL PROJECT GALLERY & LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.scroll-down-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 20;
  pointer-events: auto;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.scroll-down-indicator:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(200, 141, 81, 0.5);
  transform: translateX(-50%) translateY(3px);
}

.project-gallery-section {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 6rem 3rem 8rem 3rem;
  position: relative;
  z-index: 10;
}

.gallery-header {
  margin-bottom: 4rem;
  text-align: center;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c88d51;
  margin-bottom: 1rem;
}

.gallery-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.gallery-subtitle {
  font-size: 1.05rem;
  color: #999999;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.gallery-featured-banner {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-featured-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

.gallery-featured-banner:hover img {
  transform: scale(1.02);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: zoom-in;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  border-color: rgba(200, 141, 81, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-num-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(7, 7, 7, 0.8);
  border: 1px solid rgba(200, 141, 81, 0.4);
  backdrop-filter: blur(8px);
  color: #c88d51;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 20px;
  z-index: 5;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.wide-card {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide-card {
    grid-column: span 1;
  }
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.95);
  backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   16. ABOUT BRAND & VISION SECTION
   -------------------------------------------------------------------------- */
.brand-vision-section {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 6rem 3rem 3rem 3rem;
  position: relative;
  z-index: 10;
}

.bv-container {
  background: rgba(18, 18, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4rem 4.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.bv-header-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c88d51;
  margin-bottom: 1rem;
}

.bv-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.8rem;
}

.bv-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 141, 81, 0.5) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  margin-bottom: 3.5rem;
}

.bv-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.bv-statement {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.4;
  color: #f0f0f0;
  margin-bottom: 2.5rem;
}

.bv-meta-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bv-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bv-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #888888;
  text-transform: uppercase;
}

.bv-meta-val {
  font-size: 0.92rem;
  font-weight: 500;
  color: #dddddd;
}

.bv-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bv-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #aaaaaa;
}

@media (max-width: 900px) {
  .bv-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bv-container {
    padding: 2.5rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   17. PACKAGING HERO 9:16 VIDEO TRIAD
   -------------------------------------------------------------------------- */
.packaging-hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  padding: 1rem 0;
}

.hero-video-triad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  z-index: 10;
  margin: 0 auto;
}

.hero-video-card {
  position: relative;
  width: 185px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #0d0d0d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-video-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.hero-video-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1350px) {
  .hero-video-card {
    width: 160px;
  }
}

@media (max-width: 1024px) {
  .packaging-hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .title-left {
    align-items: center;
    text-align: center;
  }

  .hero-video-triad {
    margin: 0 auto;
    gap: 1.2rem;
  }
}

@media (max-width: 650px) {
  .hero-video-card {
    width: 115px;
  }

  .hero-video-triad {
    gap: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   18. PACKAGING PAGE BACKGROUND OVERLAY
   -------------------------------------------------------------------------- */
.packaging-bg-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.packaging-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  filter: contrast(115%) brightness(80%) saturate(105%);
  transform: scale(1.03);
}

.packaging-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0.88) 85%);
}

/* CATEGORY PAGES GLOBAL VIEWPORT & RESPONSIVE SCROLL ENGINE */
body.category-page {
  background-color: #070707;
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

.category-viewport {
  width: 100vw;
  min-height: 100vh;
  height: auto !important;
  background-color: #070707;
  color: #ffffff;
  padding: 2.5rem 4rem 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  box-sizing: border-box;
}

.canvas-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2.8rem;
  z-index: 20;
  position: relative;
}

.branding-hero-section,
.packaging-hero-section,
.digital-hero-section {
  margin-top: 1.2rem;
  margin-bottom: 3.5rem;
}

body.packaging-page .category-viewport {
  position: relative;
  z-index: 2;
  background-color: transparent !important;
}

/* --------------------------------------------------------------------------
   19. PACKAGING HERO CENTER-RIGHT 4 FLOATING 9:16 VIDEOS
   -------------------------------------------------------------------------- */
.packaging-hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem 0;
  position: relative;
}

.packaging-hero-quad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: 1rem;
}

.hero-video-card {
  position: relative;
  width: 175px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #0d0d0d;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* MULTI-WAY ORGANIC FLOATING ANIMATIONS & 3D TILTS */
.hero-video-card.prod-1 {
  animation: floatMulti1 6s ease-in-out infinite alternate;
}

.hero-video-card.prod-2 {
  animation: floatMulti2 5.2s ease-in-out infinite alternate 0.7s;
}

.hero-video-card.prod-3 {
  animation: floatMulti3 6.5s ease-in-out infinite alternate 1.4s;
}

.hero-video-card.prod-4 {
  animation: floatMulti4 5.6s ease-in-out infinite alternate 2.1s;
}

@keyframes floatMulti1 {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }

  100% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes floatMulti2 {
  0% {
    transform: translateY(-8px) rotate(1.5deg);
  }

  50% {
    transform: translateY(-22px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(-4px) rotate(2deg);
  }
}

@keyframes floatMulti3 {
  0% {
    transform: translateY(-4px) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }

  100% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes floatMulti4 {
  0% {
    transform: translateY(-14px) rotate(2deg);
  }

  50% {
    transform: translateY(-4px) rotate(-2deg);
  }

  100% {
    transform: translateY(-22px) rotate(1.5deg);
  }
}

/* ELASTIC SPRING HOVER POP ANIMATION */
.hero-video-card:hover {
  animation-play-state: paused;
  z-index: 25;
  transform: translateY(-16px) scale(1.14) rotate(0deg) !important;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.hero-video-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.hero-video-card:hover .hero-video-item {
  transform: scale(1.08);
  filter: brightness(120%) contrast(112%);
}

@media (max-width: 1400px) {
  .hero-video-card {
    width: 145px;
  }
}

@media (max-width: 1024px) {

  .packaging-hero-section,
  .branding-hero-section,
  .digital-hero-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    gap: 1.5rem !important;
  }

  .title-left {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .packaging-hero-quad,
  .digital-hero-quad,
  .hero-single-showcase {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .hero-video-card {
    width: 110px;
  }
}

@media (max-width: 650px) {
  .hero-video-card {
    width: 90px;
  }

  .packaging-hero-quad {
    gap: 0.6rem;
  }
}

/* --------------------------------------------------------------------------
   20. DIGITAL HERO 4-LAPTOP MOCKUP DISPLAY
   -------------------------------------------------------------------------- */
.digital-hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem 0;
  position: relative;
}

.digital-hero-quad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: 1.5rem;
}

.hero-laptop-card {
  position: relative;
  width: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* LAPTOP DISPLAY FRAME */
.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000000;
  border-radius: 12px 12px 0 0;
  padding: 7px 7px 0 7px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

.laptop-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: 5;
}

.laptop-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  display: block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* LAPTOP METALLIC BASE STAND */
.laptop-base {
  position: relative;
  width: 106%;
  height: 9px;
  background: linear-gradient(180deg, #3a3a3d 0%, #1c1c1e 100%);
  border-radius: 0 0 9px 9px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.laptop-notch {
  width: 32px;
  height: 4px;
  background: #111;
  border-radius: 0 0 4px 4px;
}

/* MULTI-WAY ORGANIC FLOATING ANIMATIONS FOR LAPTOPS */
.hero-laptop-card.prod-1 {
  animation: floatLaptop1 6s ease-in-out infinite alternate;
}

.hero-laptop-card.prod-2 {
  animation: floatLaptop2 5.2s ease-in-out infinite alternate 0.7s;
}

.hero-laptop-card.prod-3 {
  animation: floatLaptop3 6.5s ease-in-out infinite alternate 1.4s;
}

.hero-laptop-card.prod-4 {
  animation: floatLaptop4 5.6s ease-in-out infinite alternate 2.1s;
}

@keyframes floatLaptop1 {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }

  100% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes floatLaptop2 {
  0% {
    transform: translateY(-8px) rotate(1.5deg);
  }

  50% {
    transform: translateY(-22px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(-4px) rotate(2deg);
  }
}

@keyframes floatLaptop3 {
  0% {
    transform: translateY(-4px) rotate(-1.5deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }

  100% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes floatLaptop4 {
  0% {
    transform: translateY(-14px) rotate(2deg);
  }

  50% {
    transform: translateY(-4px) rotate(-2deg);
  }

  100% {
    transform: translateY(-22px) rotate(1.5deg);
  }
}

/* ELASTIC SPRING HOVER POP ANIMATION FOR LAPTOPS */
.hero-laptop-card:hover {
  animation-play-state: paused;
  z-index: 25;
  transform: translateY(-16px) scale(1.15) rotate(0deg) !important;
}

.hero-laptop-card:hover .laptop-screen {
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-laptop-card:hover .laptop-screen-img {
  transform: scale(1.05);
  filter: brightness(120%) contrast(112%);
}

@media (max-width: 1400px) {
  .hero-laptop-card {
    width: 180px;
  }
}

@media (max-width: 1024px) {
  .digital-hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .digital-hero-quad {
    margin: 0 auto;
    gap: 1.2rem;
  }

  .hero-laptop-card {
    width: 150px;
  }
}

@media (max-width: 650px) {
  .hero-laptop-card {
    width: 110px;
  }

  .digital-hero-quad {
    gap: 0.6rem;
  }
}

/* --------------------------------------------------------------------------
   21. SINGLE FEATURED HERO SLIDESHOW SHOWCASE (DIGITAL & PACKAGING)
   -------------------------------------------------------------------------- */
.hero-single-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: 4rem;
}

/* SINGLE LAPTOP MOCKUP (DIGITAL) */
.single-laptop-card {
  position: relative;
  width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 5;
  animation: floatSingleShowcase 6s ease-in-out infinite alternate;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.single-laptop-card .laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000000;
  border-radius: 14px 14px 0 0;
  padding: 8px 8px 0 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

.single-laptop-card .laptop-base {
  position: relative;
  width: 108%;
  height: 12px;
  background: linear-gradient(180deg, #3a3a3d 0%, #1c1c1e 100%);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.single-laptop-card .laptop-notch {
  width: 42px;
  height: 5px;
  background: #111;
  border-radius: 0 0 5px 5px;
}

/* SINGLE VERTICAL FRAME (PACKAGING) */
.single-frame-card {
  position: relative;
  width: 240px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: #0d0d0d;
  cursor: pointer;
  z-index: 5;
  animation: floatSingleShowcase 6s ease-in-out infinite alternate;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

@keyframes floatSingleShowcase {
  0% {
    transform: translateY(0px) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }

  100% {
    transform: translateY(-22px) rotate(-1deg);
  }
}

.single-laptop-card:hover {
  animation-play-state: paused;
  z-index: 25;
  transform: translateY(-16px) scale(1.06) rotate(0deg) !important;
}

.single-laptop-card:hover .laptop-screen {
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.single-frame-card:hover {
  animation-play-state: paused;
  z-index: 25;
  transform: translateY(-16px) scale(1.08) rotate(0deg) !important;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

/* SINGLE EDITORIAL RECTANGLE POSTER (BRANDING) */
.single-poster-card {
  position: relative;
  width: 440px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: #0d0d0d;
  cursor: pointer;
  z-index: 5;
  animation: floatSingleShowcase 6s ease-in-out infinite alternate;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.single-poster-card:hover {
  animation-play-state: paused;
  z-index: 25;
  transform: translateY(-16px) scale(1.06) rotate(0deg) !important;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.6);
}

/* CROSSFADE SLIDESHOW ENGINE */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s ease;
  transform: scale(1.04);
}

.slide-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* SLIDE DOT INDICATORS */
.slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slide-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dots .dot.active {
  width: 20px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
  .single-laptop-card {
    width: 380px;
  }

  .single-frame-card {
    width: 200px;
  }

  .hero-single-showcase {
    margin-right: 1.5rem;
  }
}


/* --------------------------------------------------------------------------
   16. LIVE INTERACTIVE WEBSITE SHOWCASE & BROWSER FRAME
   -------------------------------------------------------------------------- */
.card-num-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.card-live-pill:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: #34d399;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.live-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* LIVE WEBSITE SECTION IN PROJECT DETAIL PAGE */
.live-website-section {
  width: 100vw;
  background-color: #070707;
  padding: 5rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.live-website-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.live-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.live-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 680px;
}

.live-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c88d51;
  text-transform: uppercase;
}

.live-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.live-desc {
  font-size: 0.95rem;
  color: #999999;
  line-height: 1.5;
  margin-top: 0.2rem;
}

.live-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.live-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.live-visit-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.live-btn-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.live-visit-btn:hover .live-btn-arrow {
  transform: translate(2px, -2px);
}

/* LUXURY BROWSER WINDOW */
.browser-frame-window {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(200, 141, 81, 0.06);
  display: flex;
  flex-direction: column;
}

.browser-toolbar {
  display: none !important;
  height: 48px;
  background-color: #181818;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 1.5rem;
}

.browser-window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 70px;
}

.b-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.close-dot {
  background-color: #ff5f56;
}

.min-dot {
  background-color: #ffbd2e;
}

.max-dot {
  background-color: #27c93f;
}

.browser-url-bar {
  flex: 1;
  max-width: 580px;
  height: 30px;
  background-color: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 1rem;
  margin: 0 auto;
}

.ssl-lock {
  font-size: 0.75rem;
  opacity: 0.8;
}

.browser-url-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #aaaaaa;
  font-family: monospace, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 70px;
  justify-content: flex-end;
}

.browser-btn {
  background: none;
  border: none;
  color: #888888;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.browser-viewport-wrapper {
  position: relative;
  width: 100%;
  height: 720px;
  background-color: #ffffff;
  transition: all 0.4s ease;
}

.fullscreen-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 100000;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-close-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.browser-viewport-wrapper.is-fullscreen .fullscreen-close-btn {
  display: flex;
}

.browser-viewport-wrapper.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.browser-viewport-wrapper.is-fullscreen .live-preview-iframe {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
}

.live-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .live-website-section {
    padding: 3.5rem 2rem;
  }

  .browser-viewport-wrapper {
    height: 580px;
  }
}

@media (max-width: 768px) {
  .live-website-section {
    padding: 2.5rem 1rem;
  }

  .live-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .browser-url-bar {
    max-width: 200px;
  }

  .browser-viewport-wrapper {
    height: 460px;
  }
}

/* VIEWPORT ACTION BUTTONS (REFRESH & FULLSCREEN ABOVE WEBPAGE) */
.viewport-action-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

.viewport-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cccccc;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25 ease;
  font-family: inherit;
}

.viewport-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CINEMATIC KINETIC TYPOGRAPHY INTRO SEQUENCE (BRANDING -> PACKAGING -> DIGITAL)
   ========================================================================== */
.cinema-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f4f1ea;
  color: #111111;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 4rem;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: transform 0.55s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s ease;
}

.cinema-intro-overlay.is-shifting {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05) translateY(-100vh);
  pointer-events: none;
}

/* INTRO HEADER */
.intro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  z-index: 10;
}

.intro-brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111111;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cinema-intro-overlay.is-name-phase .intro-brand {
  opacity: 0;
  visibility: hidden;
}

.intro-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.intro-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #777777;
  letter-spacing: 0.12em;
  font-feature-settings: "tnum";
}

.intro-step-title {
  font-size: 1rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-step-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444444;
}

/* CENTER GIANT TYPOGRAPHY STAGE */
.intro-typography-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.intro-word-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.22) translateY(50px) rotateX(12deg);
  filter: blur(14px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease, visibility 0.35s ease;
  will-change: transform, opacity, filter;
}

.intro-word-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0) rotateX(0deg);
  filter: blur(0px);
}

.intro-word-slide:not(.active) {
  transform: scale(0.84) translateY(-50px) rotateX(-12deg);
  filter: blur(10px);
  opacity: 0;
}

.intro-text-mask {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.intro-giant-text {
  font-size: clamp(4rem, 16vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-transform: uppercase;
  background-size: 125% auto;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.28));
  user-select: none;
  animation: dramaticPulse 1.2s infinite alternate ease-in-out;
}

.intro-giant-text.text-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.9;
  font-size: clamp(3rem, 10vw, 9.5rem);
  white-space: normal;
}

.intro-name-part {
  display: block;
}

@keyframes dramaticPulse {
  0% {
    background-size: 115% auto;
    transform: scale(0.99);
  }

  100% {
    background-size: 135% auto;
    transform: scale(1.01);
  }
}

/* FOOTER CLICK TO ENTER */
.intro-footer {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  z-index: 10;
}

.intro-enter-btn {
  background: none;
  border: none;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
  transition: transform 0.25s ease, color 0.25s ease;
  font-family: inherit;
}

.intro-enter-btn:hover {
  transform: translateX(8px);
  color: #c88d51;
}

.intro-enter-btn .enter-arrow {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.intro-enter-btn:hover .enter-arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   MASTER RESPONSIVE ENGINE (LAPTOPS, TABLETS & MOBILE OPTIMIZATIONS)
   ========================================================================== */

/* 1. GLOBAL OVERFLOW & BASE CONTROL */
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 2. LAPTOP & MEDIUM DESKTOP OPTIMIZATIONS (1025px - 1440px OR Height <= 850px) */
@media (max-width: 1440px),
(max-height: 850px) {
  .portfolio-container {
    padding: 2rem 2.8rem;
    gap: 1.8rem;
  }

  .left-section {
    flex: 0 0 40%;
    padding-right: 1rem;
  }

  .statement-prefix {
    margin-top: 0.8rem;
    font-size: 0.95rem;
  }

  .statement-words {
    gap: 1.6rem;
  }

  .word-text {
    font-size: clamp(2rem, 3.2vw, 3.2rem) !important;
  }

  .word-sub {
    font-size: 0.8rem;
  }

  .utility-controls {
    gap: 0.5rem;
  }

  .utility-btn,
  .kill-counter-pill {
    height: 34px;
    padding: 0 0.9rem;
    font-size: 0.65rem;
  }

  .showcase-card {
    width: 96%;
    height: 94%;
  }

  .category-viewport {
    padding: 2rem 2.8rem 5rem 2.8rem !important;
    min-height: 100vh !important;
    height: auto !important;
    overflow-y: auto !important;
  }

  .canvas-nav {
    margin-bottom: 2.8rem !important;
  }

  .branding-hero-section,
  .packaging-hero-section,
  .digital-hero-section {
    margin-top: 1.5rem !important;
    margin-bottom: 3rem !important;
  }

  .hero-single-showcase {
    margin-top: 1.2rem !important;
    margin-right: 1.5rem !important;
  }

  .single-laptop-card {
    width: 380px !important;
  }

  .single-poster-card {
    width: 370px !important;
  }

  .single-frame-card {
    width: 190px !important;
  }

  /* PROJECT DETAIL LAPTOP SHOWCASE FIT */
  .project-hero-main {
    justify-content: flex-end;
    padding-right: 4.5rem;
  }

  .hero-composition {
    width: 460px;
    height: 350px;
  }

  .hero-brochure-card {
    width: 230px;
    height: 310px;
    left: 10px;
  }

  .hero-brochure-card.hero-brochure-secondary {
    width: 210px;
    height: 280px;
    left: 90px;
  }

  .hero-tag-overlay {
    right: 40px;
    bottom: 30px;
    width: 170px;
    height: 125px;
  }

  .hero-footer-left {
    left: 3rem;
    max-width: 35vw;
  }

  .project-hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  }

  /* CINEMATIC KINETIC INTRO LAPTOP RESPONSIVE FIT */
  .cinema-intro-overlay {
    padding: 2rem 2.5rem;
  }

  .intro-giant-text {
    font-size: clamp(2.6rem, 8.5vw, 7rem);
  }

  .intro-giant-text.text-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0.9 !important;
    font-size: clamp(2.4rem, 7.8vw, 5.5rem) !important;
    white-space: normal !important;
  }

  .intro-giant-text.text-branding {
    font-size: clamp(2.6rem, 8.2vw, 6.2rem) !important;
  }

  .intro-giant-text.text-packaging {
    font-size: clamp(2.2rem, 7vw, 5.2rem) !important;
  }

  .intro-giant-text.text-digital {
    font-size: clamp(2.6rem, 8.2vw, 6.2rem) !important;
  }
}

/* 3. TABLET & SMALL LAPTOP SCREENS (769px - 1024px) */
@media (max-width: 1024px) {
  .portfolio-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 2.5rem 2rem;
    gap: 2.5rem;
    overflow-y: auto;
  }

  .left-section {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 0;
    justify-content: flex-start;
    gap: 2.2rem;
  }

  .statement-wrapper {
    max-width: 100%;
    margin: 0;
  }

  .statement-words {
    gap: 1.6rem;
  }

  .right-section {
    flex: 0 0 auto;
    width: 100%;
    height: 52vh;
    min-height: 360px;
  }

  .showcase-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  /* CATEGORY PAGES TABLET */
  .category-viewport {
    padding: 2rem 2rem 4rem 2rem;
  }

  .canvas-nav {
    margin-bottom: 2rem;
  }

  .project-cards-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem;
  }

  .branding-hero-section,
  .packaging-hero-section,
  .digital-hero-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-single-showcase {
    margin: 0 auto;
    width: 100%;
  }

  .single-laptop-card {
    width: 100%;
    max-width: 440px;
  }

  .single-poster-card {
    width: 100%;
    max-width: 400px;
  }

  .single-frame-card {
    width: 210px;
  }

  /* PROJECT DETAIL SIDEBAR TABLET */
  .project-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .vindex-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
  }

  .vindex-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .cinema-intro-overlay {
    padding: 2rem;
  }

  .intro-giant-text {
    font-size: clamp(3rem, 12vw, 8rem);
  }

  .intro-giant-text.text-name {
    font-size: clamp(2.2rem, 9vw, 6.5rem);
  }
}

/* 4. MOBILE & TABLET SCREENS (< 1024px) — SHIFT IMAGE SHOWCASE TO TOP */
@media (max-width: 1024px) {
  .portfolio-container {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 1.5rem 1.2rem;
    gap: 1.4rem;
    overflow-y: auto;
  }

  /* Expose direct children for mobile order layout */
  .left-section {
    display: contents;
  }

  .brand-logo {
    order: 1;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
  }

  .right-section {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    height: 48vh;
    min-height: 300px;
    margin-bottom: 0.4rem;
  }

  .showcase-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .statement-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.5rem 0;
  }

  .utility-controls {
    order: 4;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .statement-words {
    gap: 1.4rem;
  }
}

/* 4B. MOBILE SPECIFIC OVERRIDES (< 768px) */
@media (max-width: 768px) {
  .portfolio-container {
    padding: 1.2rem 1rem;
    gap: 1.2rem;
  }

  .brand-logo {
    font-size: 0.85rem;
  }

  .statement-prefix {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    margin-bottom: 0.1rem;
  }

  .statement-words {
    gap: 1.2rem;
  }

  .word-branding .word-text,
  .word-packaging .word-text,
  .word-digital .word-text {
    font-size: clamp(1.8rem, 7.5vw, 2.5rem) !important;
  }

  .word-sub {
    font-size: 0.76rem;
  }

  .word-arrow {
    font-size: 1.5rem;
  }

  .right-section {
    height: 44vh;
    min-height: 280px;
  }

  .utility-btn,
  .kill-counter-pill {
    height: 34px;
    padding: 0 0.8rem;
    font-size: 0.65rem;
    gap: 0.35rem;
  }

  .utility-btn svg {
    width: 12px;
    height: 12px;
  }

  .back-text-desktop {
    display: none !important;
  }

  .back-text-mobile {
    display: inline !important;
  }

  /* PROJECT DETAIL MOBILE NAVIGATION & SHOWCASE OVERRIDES (< 768px) — TIDY & ELEGANT VERTICAL RHYTHM */
  body.project-detail-page .project-viewport {
    height: auto !important;
    min-height: auto !important;
    padding: 1.2rem 1.2rem 1rem 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
  }

  .origin-project-info-section,
  .koolhud-project-info-section,
  .tushe-project-info-section,
  .brand-vision-section {
    width: 313.76px !important;
    max-width: 92vw !important;
    margin: 2rem auto 2.5rem auto !important;
    padding: 0 !important;
  }

  body.project-detail-page .project-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.2rem !important;
    width: 100% !important;
    margin-bottom: 1.2rem !important;
    padding-top: 0.2rem !important;
  }

  body.project-detail-page .pnav-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 313.76px !important;
    max-width: 92vw !important;
    margin: 0 auto !important;
    padding-bottom: 0.2rem !important;
  }

  body.project-detail-page .pnav-brand {
    order: 1 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    color: #ffffff !important;
  }

  body.project-detail-page .pnav-back {
    order: 2 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: #888888 !important;
  }

  body.project-detail-page .pnav-right {
    display: none !important;
  }

  .mobile-project-nav-categories {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 313.76px !important;
    max-width: 92vw !important;
    margin: 0 auto !important;
    gap: 0.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-top: 0.2rem !important;
    padding-bottom: 0.8rem !important;
  }

  .mobile-project-nav-categories .cat-link {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 0.4rem 1.4rem !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background 0.25s ease !important;
  }

  .mobile-project-nav-categories .cat-link:active,
  .mobile-project-nav-categories .cat-link:hover {
    background: rgba(255, 255, 255, 0.28) !important;
  }

  /* MOBILE HERO SHOWCASE: EXACT DIMENSIONS 313.76px x 235.32px MATCHING INSPECTED SHOWCASE CARD */
  body.project-detail-page .project-hero-main {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-right: 0 !important;
    margin: 0.4rem auto 1rem auto !important;
  }

  body.project-detail-page .hero-composition {
    width: 313.76px !important;
    height: 235.32px !important;
    max-width: 92vw !important;
    aspect-ratio: 4 / 3 !important;
    transform: none !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  body.project-detail-page .hero-brochure-card {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: rotate(0deg) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin: 0 auto !important;
    z-index: 2 !important;
  }

  body.project-detail-page .brochure-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
  }

  body.project-detail-page .hero-brochure-card.hero-brochure-secondary,
  body.project-detail-page .hero-tag-overlay,
  body.project-detail-page .hero-embossed-seal {
    display: none !important;
  }

  body.project-detail-page .hero-footer-left {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0.8rem 0 0.4rem 0 !important;
    z-index: 10 !important;
  }

  body.project-detail-page .project-hero-title {
    text-align: center !important;
    font-size: clamp(2rem, 8vw, 3.2rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.4rem !important;
  }

  body.project-detail-page .scroll-down-indicator {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* CATEGORY NAV MOBILE — LOGO & BACK ON TOP ROW, 3 TABS ON SECOND ROW WITH ELEGANT PADDING */
  .category-viewport {
    padding: 1.2rem 1.2rem 4rem 1.2rem !important;
    min-height: 100vh !important;
    height: auto !important;
    overflow-y: auto !important;
  }

  .canvas-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    width: 100%;
    margin-bottom: 2.6rem;
    padding-top: 0.6rem;
  }

  .nav-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 0.2rem;
  }

  .nav-categories {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.4rem;
    padding-bottom: 1rem;
  }

  .cat-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
  }

  .cat-link.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
  }

  .title-section {
    margin-bottom: 2rem;
  }

  .title-section .main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .title-section .main-subtitle {
    font-size: 0.9rem;
  }

  .project-cards-grid,
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* CATEGORY HERO SECTIONS ON MOBILE: SHIFT IMAGES ABOVE TEXT */
  .branding-hero-section,
  .packaging-hero-section,
  .digital-hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.8rem !important;
  }

  .hero-single-showcase,
  .packaging-hero-quad,
  .digital-hero-quad {
    order: 1 !important;
    /* IMAGES FIRST ABOVE TEXT ON MOBILE */
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }

  .title-left {
    order: 2 !important;
    /* TEXT BELOW IMAGES ON MOBILE */
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .title-left .main-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    text-align: center !important;
  }

  .title-left .main-subtitle,
  .title-left .category-desc {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .single-laptop-card {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .single-poster-card {
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 auto !important;
  }

  .single-frame-card {
    width: 190px !important;
    margin: 0 auto !important;
  }

  .live-website-section {
    padding: 2.5rem 1.2rem;
  }

  .live-title {
    font-size: 1.6rem;
  }

  .browser-viewport-wrapper {
    height: 380px;
  }

  .info-modal {
    width: 92vw !important;
    max-width: 92vw !important;
    padding: 1.6rem 1.2rem !important;
    border-radius: 18px !important;
  }

  .modal-designer-title {
    font-size: 1.4rem !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .contact-card {
    padding: 0.85rem 1rem !important;
  }

  .cinema-intro-overlay {
    padding: 1.5rem 1rem;
  }

  .intro-giant-text {
    font-size: clamp(2rem, 9vw, 3.8rem);
  }

  .intro-giant-text.text-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0.9 !important;
    font-size: clamp(2rem, 8.5vw, 3.4rem) !important;
    white-space: normal !important;
  }

  .intro-giant-text.text-branding {
    font-size: clamp(2rem, 8.8vw, 3.6rem) !important;
  }

  .intro-giant-text.text-packaging {
    font-size: clamp(1.75rem, 7.5vw, 3.0rem) !important;
  }

  .intro-giant-text.text-digital {
    font-size: clamp(2rem, 8.8vw, 3.6rem) !important;
  }
}

/* 5. EXTRA SMALL MOBILE SCREENS (< 480px) */
@media (max-width: 480px) {
  .portfolio-container {
    padding: 1rem 0.9rem;
  }

  .word-branding .word-text,
  .word-packaging .word-text,
  .word-digital .word-text {
    font-size: 1.65rem !important;
  }

  .right-section {
    height: 36vh;
    min-height: 260px;
  }

  .utility-controls {
    width: 100%;
  }

  .utility-btn,
  .kill-counter-pill {
    flex: 1 1 auto;
    justify-content: center;
  }

  .intro-giant-text {
    font-size: clamp(1.8rem, 8.5vw, 3rem);
  }

  .intro-giant-text.text-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0.9 !important;
    font-size: clamp(1.7rem, 8vw, 2.7rem) !important;
    white-space: normal !important;
  }

  .intro-giant-text.text-branding {
    font-size: clamp(1.65rem, 7.8vw, 2.8rem) !important;
  }

  .intro-giant-text.text-packaging {
    font-size: clamp(1.45rem, 6.6vw, 2.3rem) !important;
  }

  .intro-giant-text.text-digital {
    font-size: clamp(1.65rem, 7.8vw, 2.8rem) !important;
  }
}