/* ═══════════════════════════════════════════════════════════════
   ADVIK CREATIVE STUDIO — Liquid Darkroom Design System
   Concept: Liquid Glass + Brutalist Editorial + Cinematic Dark
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;700&family=Italiana&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --black: #050505;
  --near-black: #0a0a0a;
  --white: #f4f0eb;
  --gold: #fabb18;
  --gold-glow: rgba(250, 187, 24, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shine: rgba(255, 255, 255, 0.18);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-serif: 'Italiana', serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-pad: clamp(80px, 10vw, 160px);
}

/* ── Reset + Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  /* replaced by custom cursor */
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  cursor: none;
  font-family: inherit;
  border: none;
  background: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    cursor: auto;
  }

  #cursor-blob,
  #cursor-dot {
    display: none;
  }
}

/* ── SVG filter container ───────────────────────────────────── */
.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ── Noise Overlay ──────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Custom Cursor — Camera Viewfinder Brackets ────────────────
   Four corner L-brackets inspired by a camera focus frame.
   mix-blend-mode: difference keeps it visible on all backgrounds.
   ──────────────────────────────────────────────────────────── */
#cursor-blob {
  position: fixed;
  width: 34px;
  height: 34px;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  background: transparent;
  border: none;
  mix-blend-mode: difference;
  /* 8 line segments — 2 per corner = L-shape viewfinder bracket */
  background-image:
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff),
    /* top-left  h, v */
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff),
    /* top-right h, v */
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff),
    /* bot-left  h, v */
    linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  /* bot-right h, v */
  background-size:
    9px 1.5px, 1.5px 9px,
    9px 1.5px, 1.5px 9px,
    9px 1.5px, 1.5px 9px,
    9px 1.5px, 1.5px 9px;
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
  background-repeat: no-repeat;
  will-change: transform;
  transition: width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo);
}

/* On hover over interactive elements, brackets expand outward */
#cursor-blob.hovering {
  width: 54px;
  height: 54px;
}

/* Tiny center cross — 2px pixel square */
#cursor-dot {
  position: fixed;
  width: 3px;
  height: 3px;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
  border-radius: 0;
  /* square, not circle */
}

/* ══ LIQUID GLASS ═══════════════════════════════════════════════
   The system is a compound glass compositing effect:
   1. backdrop-filter: blur + saturate     (blur real content behind)
   2. background: rgba white (very low)   (translucency)
   3. border: 1px rgba white             (edge highlight)
   4. box-shadow: inner + outer glow      (depth illusion)
   5. ::before pseudo = top-edge shine   (liquid surface highlight)
   ══════════════════════════════════════════════════════════════ */
.liquid-glass-card {
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.05) inset,
    0 2px 32px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
}

.liquid-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: linear-gradient(135deg, rgba(8, 8, 8, 0.98), rgba(8, 8, 8, 0.95));
  backdrop-filter: blur(28px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Top Mask — Prevents content from showing in the gap ───── */
.top-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to bottom, var(--black) 60%, transparent);
  z-index: 999; /* Below nav (1000), but above content */
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-logo {
  height: clamp(32px, 4vw, 42px);
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(244, 240, 235, 0.6);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 9px 18px;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s;
}

.nav-cta:hover {
  background: #e0bc60;
  transform: translateY(-1px);
}

.nav-admin {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 240, 235, 0.4);
  transition: color 0.25s, border-color 0.25s;
}

.nav-admin:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
  transform: scale(1.08);
  will-change: transform;
  transition: opacity 0.6s ease;
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(5, 5, 5, 0.55) 80%);
}

.hero-bg-scanline {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.07) 3px,
      rgba(0, 0, 0, 0.07) 4px);
  pointer-events: none;
  opacity: 0.5;
}

/* Kinetic type */
.hero-type-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  user-select: none;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0.88;
  gap: 0.02em;
}

.ht {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 14rem);
  letter-spacing: -0.01em;
  color: var(--white);
  opacity: 0;
  transform: translateY(80px) skewX(-4deg);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.ht.visible {
  opacity: 1;
  transform: translateY(0) skewX(0);
}

.ht--outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.ht--ghost {
  -webkit-text-stroke: 1px rgba(244, 240, 235, 0.2);
  color: transparent;
}

.ht--gap {
  font-size: clamp(1rem, 2vw, 2rem);
  opacity: 0;
}

/* invisible gap letter */

/* Glass gold text fill — liquid amber/yellow glass for A STORY. */
.ht--gold-glass {
  background: linear-gradient(140deg,
      #ffe57a 0%,
      #C9A84C 22%,
      #ffd040 42%,
      #e8a800 58%,
      #ffd87a 76%,
      #C9A84C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(201, 168, 76, 0.55));
}

.hero-line--2 {
  position: relative;
}

.hero-pill {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 240, 235, 0.5);
  border: 1px solid rgba(244, 240, 235, 0.2);
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 1s 1.4s var(--ease-out-expo) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-line--3 {
  position: relative;
  margin-top: -0.05em;
}

.ht-glass-word {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  animation: fadeIn 0.8s 1.6s var(--ease-out-expo) forwards;
}

.liquid-glass-card.mini {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(244, 240, 235, 0.7);
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Floating hero info card */
.hero-glass-card {
  position: absolute;
  bottom: 120px;
  right: clamp(20px, 5vw, 80px);
  z-index: 3;
  padding: 28px 32px;
  max-width: 320px;
  opacity: 0;
  transform: translateX(30px);
  animation: slideLeft 0.9s 1.8s var(--ease-out-expo) forwards;
  border-radius: 24px;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hgc-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hgc-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 240, 235, 0.65);
  margin-bottom: 20px;
}

.hgc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.1));
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: #e8c965;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-glass:hover {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.4), rgba(201, 168, 76, 0.2));
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(244, 240, 235, 0.6);
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* Scroll hint — double chevron, auto-hides on scroll */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

.scroll-hint svg {
  display: block;
  color: rgba(201, 168, 76, 0.7);
  animation: chevBounce 1.6s ease infinite;
}

.scroll-hint svg:nth-child(2) {
  margin-top: -8px;
  opacity: 0.4;
  animation-delay: 0.18s;
}

@keyframes chevBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  padding: var(--section-pad) clamp(20px, 5vw, 80px);
  position: relative;
  scroll-margin-top: 100px;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 1px;
  color: var(--white);
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95em;
}

/* Portfolio grid section */
.portfolio-section {
  background: var(--near-black);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 240, 235, 0.5);
  transition: all 0.3s var(--ease-out-expo);
  cursor: none;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 1400px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.pg-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: none;
  aspect-ratio: 4/5;
  background: #111;
  transition: transform 0.5s var(--ease-out-expo);
}

.pg-card:hover {
  transform: translateY(-6px);
}

.pg-card img,
.pg-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s;
  will-change: transform;
}

.pg-card:hover img,
.pg-card:hover video {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.pg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}

.pg-card:hover .pg-overlay {
  opacity: 1;
}

.pg-cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.pg-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}

.pg-type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
}

/* glass distortion on hover */
.pg-card:hover img {
  filter: brightness(0.7);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  z-index: 10;
  transition: background 0.25s;
  cursor: none;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-media-wrap img,
.lightbox-media-wrap video {
  max-width: 85vw;
  max-height: 70vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-info {
  padding: 16px 24px;
  border-radius: 14px;
  text-align: center;
}

.lightbox-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.lightbox-info p {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 4px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.25s;
  cursor: none;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-nav.prev {
  left: 16px;
}

.lightbox-nav.next {
  right: 16px;
}

/* ── MARQUEE DIVIDER ────────────────────────────────────────── */
.marquee-divider {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: rgba(244, 240, 235, 0.25);
}

.marquee-track .md-dot {
  color: var(--gold);
  opacity: 0.5;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── PROJECTS ───────────────────────────────────────────────── */
.projects-section {
  background: var(--black);
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
  min-height: 380px;
}

.project-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.pc-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  z-index: 0;
}

.pc-img-wrap {
  position: relative;
  overflow: hidden;
}

.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s;
}

.project-card:hover .pc-img {
  transform: scale(1.04);
  filter: brightness(0.8);
}

.pc-img-glass {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover .pc-img-glass {
  opacity: 1;
}

.pc-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--gold);
}

.pc-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}

.pc-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 240, 235, 0.5);
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  transition: gap 0.3s;
}

.pc-link:hover {
  gap: 14px;
}

/* Home Screen 4x1 Grid Modifier */
.projects-grid-4x1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.projects-grid-4x1 .project-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: auto;
}

.projects-grid-4x1 .pc-img-wrap {
  aspect-ratio: 1/1;
  height: auto;
}

.projects-grid-4x1 .pc-info {
  padding: 24px;
}

.projects-grid-4x1 .pc-title {
  font-size: 1.4rem;
}

.projects-grid-4x1 .pc-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

/* Projects Grid 4x4 (Archive Page — dense cinematic grid) */
.projects-grid-4x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.projects-grid-4x4 .project-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: auto;
  border-radius: 16px;
}

.projects-grid-4x4 .pc-img-wrap {
  aspect-ratio: 1/1;
  height: auto;
}

.projects-grid-4x4 .pc-info {
  padding: 20px;
}

.projects-grid-4x4 .pc-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.projects-grid-4x4 .pc-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.projects-grid-4x4 .pc-number {
  font-size: 2rem;
  top: 12px;
  right: 12px;
}

@media (max-width: 1200px) {
  .projects-grid-4x4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .projects-grid-4x4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .projects-grid-4x4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.projects-grid-4x1 .pc-number {
  font-size: 2.2rem;
  top: 16px;
  right: 16px;
}

/* Archive page header — compact top spacing + controlled heading size */
.archive-section-header {
  margin-bottom: clamp(24px, 4vw, 48px);
}

.archive-section-header .section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

/* ── View All CTA (Home page) ──────────────────────────────── */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 100px;
  transition: background 0.3s var(--ease-out-expo),
              border-color 0.3s var(--ease-out-expo),
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.btn-view-all:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.2);
}

/* Post cards */
.post-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--near-black);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 36px;
  transition: border-color 0.3s;
}

.post-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.post-date {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.post-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(244, 240, 235, 0.55);
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.post-cover-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-section {
  background: var(--near-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 240, 235, 0.55);
  margin-top: 28px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.astat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.astat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 240, 235, 0.4);
  margin-top: 4px;
}

.about-visual {
  position: relative;
  height: 520px;
}

.av-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.av-img {
  position: absolute;
  overflow: hidden;
  border-radius: 16px;
}

.av-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-img--back {
  width: 70%;
  height: 60%;
  top: 10%;
  right: 0;
  filter: brightness(0.7) saturate(0.8);
}

.av-img--front {
  width: 65%;
  height: 65%;
  bottom: 5%;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.av-badge {
  position: absolute;
  bottom: -16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
  border-radius: 18px;
  z-index: 3;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.av-badge-icon {
  font-size: 1.5rem;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services-section {
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 40px 32px;
  border-radius: 20px;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s, box-shadow 0.25s, opacity 0.25s;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
  /* Perfect 4-layer alignment to prevent browser interpolation tearing */
  box-shadow: 
    0 0 0 0.5px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 2px 32px rgba(0, 0, 0, 0.4),
    0 0 0 transparent;
  will-change: transform, box-shadow;
}

.service-card:hover {
  transform: translateY(-16px) scale(1.03) !important;
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 
    0 0 0 0.5px rgba(201, 168, 76, 0.15) inset,
    0 1px 0 rgba(201, 168, 76, 0.3) inset,
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(201, 168, 76, 0.2) !important;
  z-index: 10;
  transition-delay: 0s !important;
}

.service-card:hover .sc-icon {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(1.2);
}

.sc-icon {
  display: inline-block;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--gold), #de9621);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.5s var(--ease-out-expo), filter 0.5s;
  transform-origin: left bottom;
}

.sc-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.sc-desc {
  font-size: 0.95rem;
  color: rgba(244, 240, 235, 0.6);
  line-height: 1.6;
}

/* ── CLIENTS ────────────────────────────────────────────────── */
.clients-section {
  background: var(--near-black);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 1200px) {
  .client-card {
    flex: 0 0 calc(20% - 13px) !important;
  }
}

@media (max-width: 768px) {
  .client-card {
    flex: 0 0 calc(25% - 12px) !important;
  }
}

@media (max-width: 480px) {
  .client-card {
    flex: 0 0 calc(33.333% - 11px) !important;
  }
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 calc(10% - 15px);
  padding: 8px 4px;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  gap: 12px;
}

.client-logo-wrap {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.client-card:hover .client-logo-wrap {
  transform: translateY(-4px) scale(1.05);
}

.client-card:hover .client-logo-img {
  opacity: 1;
  filter: brightness(1.2);
}

.client-card:hover .client-title {
  color: var(--white);
}

.client-logo-img {
  max-width: 220px;
  max-height: 85px;
  width: auto;
  height: auto;
  opacity: 0.5;
  transition: all 0.4s var(--ease-out-expo);
  object-fit: contain;
}

.client-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1.3;
  letter-spacing: 1.5px;
  color: rgba(244, 240, 235, 0.4);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}

.cc-hover-gold:hover {
  color: var(--gold);
}

/* ── TEAM ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo);
  width: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-avatar-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.6s var(--ease-out-expo);
}

.team-card:hover .team-avatar {
  transform: scale(1.04);
}

.team-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

.team-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.team-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(244, 240, 235, 0.6);
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.5);
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.97) 40%, rgba(5, 5, 5, 0.6) 100%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: var(--section-pad) clamp(20px, 5vw, 80px);
}

.contact-title {
  font-size: clamp(3rem, 7vw, 7rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(244, 240, 235, 0.55);
  transition: color 0.25s;
}

.ci-item:hover:not(.ci-static) {
  color: var(--gold);
}

.contact-form {
  padding: 40px;
  border-radius: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244, 240, 235, 0.4);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
}

.form-input:focus {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.04);
}

.form-input::placeholder {
  color: rgba(244, 240, 235, 0.2);
}

.form-select {
  cursor: none;
  appearance: none;
}

.form-textarea {
  resize: none;
}

.form-group {
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.95rem;
  border-radius: 14px;
  margin-top: 4px;
  transition: all 0.3s;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px clamp(20px, 5vw, 80px) 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 6px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 168, 76, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo-sub {
  font-size: 0.55em;
  vertical-align: super;
  letter-spacing: 0;
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(244, 240, 235, 0.3);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.fl {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(244, 240, 235, 0.4);
  transition: color 0.25s;
}

.fl:hover {
  color: var(--gold);
}

.fl--muted {
  opacity: 0.4;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: rgba(244, 240, 235, 0.4);
  transition: color 0.25s, border-color 0.25s;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(244, 240, 235, 0.2);
}

/* ── SCROLL REVEALS ─────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: var(--delay, 0ms);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── SPLIT TITLE ────────────────────────────────────────────── */
.split-title {
  display: flex;
  flex-direction: column;
}

.st-top {
  font-size: 0.35em;
  color: rgba(244, 240, 235, 0.3);
  letter-spacing: 8px;
}

.st-main {
  line-height: 0.88;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid-4x1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .projects-grid-4x1 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    height: 360px;
    margin-top: 40px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .pc-img-wrap {
    height: 240px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-pill {
    display: none;
  }

  .ht-glass-word {
    display: none;
  }

  .hero-glass-card {
    right: 20px;
    max-width: 280px;
  }

  .nav-center {
    display: none;
  }

  .pg-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .hero-glass-card {
    display: none;
  }

  body {
    cursor: auto;
  }

  #cursor-blob,
  #cursor-dot {
    display: none;
  }
}

/* ── PROJECT DETAIL ─────────────────────────────────────────── */
.project-detail-page {
  background: var(--black);
  color: var(--white);
}

.detail-hero {
  padding-top: 160px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.9;
  color: var(--white);
}

.detail-main-video {
  margin-top: 60px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
}

.detail-main-video video {
  width: 100%;
  display: block;
}

.detail-gallery-wrap {
  margin-top: 100px;
  padding-bottom: 120px;
}

/* Legacy grid rules removed for masonry restoration */

.pc-stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
}

/* ── STYLING THE PROJECT PAGE ───────────────────────────────── */
.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
  color: rgba(244, 240, 235, 0.4);
  font-family: var(--font-display);
  letter-spacing: 2px;
}

.loader {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-msg {
  text-align: center;
  padding: 200px 20px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(244, 240, 235, 0.4);
}

.error-msg a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-item.wide-item {
    grid-column: span 1;
  }
}

/* ─────────────────────────────────────────────────────────────────
   7. PROJECT DETAIL — EDITORIAL (PRO MAX)
   ───────────────────────────────────────────────────────────────── */
/* Legacy Hero Removed */

.detail-main-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.detail-main-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legacy Hero Content Removed */

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: -3px;
}

/* Editorial Layout Grid */
.detail-layout {
  display: flex;
  gap: 80px;
  margin-top: 80px;
  align-items: flex-start;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.detail-sidebar {
  flex: 0 0 350px;
}

.sticky-info {
  position: sticky;
  top: 120px;
}

.meta-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-style: italic;
}

.project-story {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}

.project-body-text {
  max-width: 320px;
}

.project-story p {
  margin-bottom: 30px;
}

.project-story h2, .project-story h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 50px 0 20px;
  text-transform: uppercase;
  font-size: 2rem;
}

.meta-text {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ── NEW PROJECT HEADER DESIGN ────────────────────────────── */
.detail-header-new {
  padding-top: 150px;
  padding-bottom: 60px;
  text-align: center;
}

.detail-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}

.pc-tags-new .tag {
  font-size: 0.8rem;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  margin: 0 5px;
}

/* ── CLEAN PROJECT HEADER (MINIMALIST) ────────────────────────── */
.detail-header-new {
  padding-top: 150px;
  padding-bottom: 60px;
  text-align: center;
}

.detail-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  color: #fff;
}

.pc-tags-new .tag {
  font-size: 0.8rem;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  margin: 0 5px;
}

/* ── Split Layout Logic (1/3 vs 2/3) ──────────────────────── */
.detail-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-top: 80px;
  width: 100%;
}

.detail-sidebar-col {
  flex: 1; /* 1/3 of space */
  position: sticky;
  top: 140px;
  height: max-content;
}

.detail-gallery-col {
  flex: 2; /* 2/3 of space */
}

/* ── Typography & Labels ──────────────────────────────────── */
.serif-label {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 25px;
  font-style: italic;
}

.meta-v-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-row {
  display: flex;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
}

.meta-row span {
  width: 100px;
}

.meta-row strong {
  color: #fff;
  font-weight: 600;
}

/* ── Gallery & Videos ─────────────────────────────────────── */
.detail-video-wrapper {
  max-width: 100%; 
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
}

.featured-video-new {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.detail-gallery {
  column-count: 3;
  column-gap: 16px;
}

.detail-gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 0.6s var(--ease-out-expo);
}

.detail-gallery-item:hover {
  transform: scale(1.03);
}

.detail-gallery-item img, .detail-gallery-item video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1000px) {
  .detail-layout { flex-direction: column; gap: 60px; }
  .detail-sidebar-col { position: relative; top: 0; width: 100%; }
  .detail-gallery { column-count: 2; }
}

@media (max-width: 600px) {
  .detail-gallery { column-count: 1; }
}
