/* ==========================================================================
   MAHMOUD SAYED (MIGO) — LUXURY DARK MODE EDITORIAL DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-void: #060608;
  --bg-obsidian: #0b0b0f;
  --bg-surface: #121218;
  --bg-elevated: #181820;
  --bg-glass: rgba(16, 16, 22, 0.72);

  --gold: #d4af37;
  --gold-bright: #f2d57e;
  --gold-soft: rgba(212, 175, 55, 0.16);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-glow: rgba(212, 175, 55, 0.22);

  --text-ivory: #f5f2eb;
  --text-silver: #b3b0be;
  --text-muted: #767385;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(212, 175, 55, 0.45);

  --whatsapp: #25d366;
  --behance: #1769ff;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.11), transparent 65%),
    radial-gradient(ellipse 50% 40% at 92% 35%, rgba(212, 175, 55, 0.05), transparent 60%),
    var(--bg-void);
  color: var(--text-ivory);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle architectural film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Interactive cursor ambient light */
.ambient-spotlight {
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, rgba(212, 175, 55, 0.02) 40%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: left, top;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: min(1260px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   INTRO CURTAIN
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: curtainOut 0.55s var(--ease-lux) 0.42s forwards;
}

@keyframes curtainOut {
  0% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; pointer-events: none; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  background: linear-gradient(110deg, #8b6f23 0%, #f5dc8b 48%, #c99d2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preloader-bar {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 2px;
}

.preloader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: shimmerLoad 0.9s ease forwards;
}

@keyframes shimmerLoad {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding 0.4s var(--ease-lux), background 0.4s var(--ease-lux), border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 13px 0;
  background: rgba(6, 6, 8, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--gold-border);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18), rgba(18, 18, 24, 0.9));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-silver);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.35s var(--ease-lux);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-ivory);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-behance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-ivory);
  transition: all 0.3s var(--ease-lux);
}

.nav-behance-pill:hover {
  border-color: var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #e5c366 0%, #c6992c 100%);
  color: #09090b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.28);
  transition: transform 0.3s var(--ease-lux), box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(212, 175, 55, 0.42);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  color: var(--text-ivory);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: min(100vh, 920px);
  padding: 132px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseRing 2.2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .serif-accent {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 1em;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fae8ad 0%, #d4af37 52%, #b58923 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: var(--text-silver);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: var(--text-ivory);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease-lux);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, #f0d178 0%, #cfa12f 100%);
  color: #08080a;
  font-weight: 700;
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-ivory);
}

.btn-outline:hover {
  border-color: var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-whatsapp {
  border: 1px solid rgba(37, 211, 102, 0.38);
  background: rgba(37, 211, 102, 0.1);
  color: #7ef7a9;
}

.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #05180c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.32);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  max-width: 560px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

/* Hero Portrait Showcase Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  width: min(440px, 100%);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(155deg, rgba(212, 175, 55, 0.34), rgba(255, 255, 255, 0.05) 45%, rgba(212, 175, 55, 0.14));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(212, 175, 55, 0.12);
}

.portrait-inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: #070709;
  aspect-ratio: 4 / 5;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(1.04);
  transition: transform 0.8s var(--ease-lux);
}

.portrait-card:hover .portrait-inner img {
  transform: scale(1.03);
}

.portrait-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 6, 8, 0.88) 100%);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.portrait-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.portrait-loc {
  font-size: 0.76rem;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(6, 6, 8, 0.78);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  backdrop-filter: blur(8px);
}

.floating-badge {
  position: absolute;
  top: 18px;
  left: -36px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(14, 14, 19, 0.9);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 5.5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
}

.floating-badge strong {
  display: block;
  font-size: 0.84rem;
  color: var(--text-ivory);
  line-height: 1.2;
}

.floating-badge span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CLIENTS MARQUEE STRIP
   ========================================================================== */
.marquee-section {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 54px;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: var(--gold-bright);
}

.marquee-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.65;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: clamp(76px, 9vw, 124px) 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-title em,
.contact-headline em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg, #fae8ad 0%, #d4af37 55%, #b58923 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  max-width: 460px;
  color: var(--text-silver);
  font-size: 0.96rem;
}

/* ==========================================================================
   PORTFOLIO FILTER & BENTO GALLERY
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-silver);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-lux);
}

.filter-btn .count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.65;
}

.filter-btn:hover {
  border-color: var(--gold-border);
  color: var(--text-ivory);
}

.filter-btn.active {
  background: linear-gradient(135deg, #ebd07c 0%, #c89b2c 100%);
  border-color: transparent;
  color: #08080a;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}

.filter-btn.active .count {
  opacity: 0.85;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.chapter-divider {
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 8px;
  margin-top: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-divider:first-child {
  margin-top: 0;
  padding-top: 4px;
}

.chapter-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-bright);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
}

.chapter-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-ivory);
  letter-spacing: -0.02em;
}

.chapter-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Museum-Grade Visual-First Luxury Showcase Card */
.project-card {
  grid-column: span 4;
  position: relative;
  border-radius: 20px;
  background: #0a0a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: clamp(290px, 25vw, 370px);
  transition: transform 0.5s var(--ease-lux), border-color 0.4s ease, box-shadow 0.5s ease;
}

.project-card.wide {
  grid-column: span 8;
  height: clamp(290px, 25vw, 370px);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78), 0 0 46px rgba(212, 175, 55, 0.14);
}

.project-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #08080c;
}

.project-media-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: 100%;
  background: #060608;
}

.project-media-dual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-lux), filter 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 8, 0.25) 0%,
    rgba(6, 6, 8, 0.02) 38%,
    rgba(6, 6, 8, 0.58) 72%,
    rgba(6, 6, 8, 0.94) 100%
  );
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

.project-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 6, 8, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-bright);
  backdrop-filter: blur(10px);
}

.project-slides-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(6, 6, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-ivory);
  backdrop-filter: blur(10px);
}

.project-body {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.project-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.project-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.project-subtitle {
  font-size: 0.82rem;
  color: rgba(245, 242, 235, 0.78);
  line-height: 1.4;
}

.project-open-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(6, 6, 8, 0.65);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.35s var(--ease-lux);
}

.project-card:hover .project-open-pill {
  background: linear-gradient(135deg, #f0d178, #c89a2c);
  border-color: transparent;
  color: #08080a;
  transform: scale(1.08) translate(2px, -2px);
}

/* Behance Live Showcase Grid + Banner */
.behance-section {
  margin-top: 56px;
}

.behance-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.be-stat {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(23, 105, 255, 0.09), rgba(18, 18, 24, 0.92));
  border: 1px solid rgba(23, 105, 255, 0.24);
}

.be-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--text-ivory);
  line-height: 1.1;
}

.be-stat span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7db0ff;
}

.behance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.be-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-lux), border-color 0.35s ease, box-shadow 0.4s ease;
}

.be-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 255, 0.55);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.65), 0 0 32px rgba(23, 105, 255, 0.16);
}

.be-card-media {
  position: relative;
  aspect-ratio: 404 / 316;
  overflow: hidden;
  background: #09090d;
}

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

.be-card:hover .be-card-media img {
  transform: scale(1.06);
}

.be-card-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(23, 105, 255, 0.9);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.be-card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.be-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 3px;
}

.be-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-ivory);
  line-height: 1.25;
}

.be-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--text-silver);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.be-card:hover .be-card-arrow {
  background: #1769ff;
  border-color: #1769ff;
  color: #ffffff;
  transform: translate(2px, -2px);
}

@media (max-width: 960px) {
  .behance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .behance-stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* Behance Showcase Banner */
.behance-banner {
  margin-top: 44px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  background:
    radial-gradient(circle at 88% 50%, rgba(23, 105, 255, 0.16), transparent 52%),
    radial-gradient(circle at 12% 50%, rgba(212, 175, 55, 0.12), transparent 55%),
    var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.behance-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 6px;
}

.behance-banner p {
  color: var(--text-silver);
  max-width: 560px;
}

.btn-behance {
  background: #1769ff;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(23, 105, 255, 0.32);
}

.btn-behance:hover {
  background: #2c78ff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.48);
}

/* ==========================================================================
   YOUTUBE STUDIO SHOWCASE — MIGO FOR KIDS
   ========================================================================== */
.yt-studio {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 68, 68, 0.25);
  background:
    radial-gradient(ellipse 60% 55% at 88% 12%, rgba(255, 38, 38, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 55% at 10% 88%, rgba(212, 175, 55, 0.1), transparent 58%),
    var(--bg-obsidian);
  padding: clamp(28px, 4.5vw, 52px);
  position: relative;
  overflow: hidden;
}

.yt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 30px;
}

.yt-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.yt-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 68, 68, 0.55);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.22);
  flex-shrink: 0;
}

.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff6b6b;
  margin-bottom: 6px;
}

.yt-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-ivory);
}

.yt-sub {
  font-size: 0.9rem;
  color: var(--text-silver);
  margin-top: 4px;
}

.yt-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.yt-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-silver);
}

.yt-pill strong {
  color: var(--gold-bright);
}

.btn-youtube {
  background: linear-gradient(135deg, #ff2e2e 0%, #c81010 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 30, 30, 0.3);
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 30, 30, 0.45);
}

.yt-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.yt-video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.4s var(--ease-lux), border-color 0.35s ease, box-shadow 0.4s ease;
}

.yt-video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 68, 68, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 46, 46, 0.14);
}

.yt-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070709;
}

.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-lux);
}

.yt-video-card:hover .yt-thumb-wrap img {
  transform: scale(1.06);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 24, 24, 0.92);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease-lux), background 0.3s ease;
}

.yt-video-card:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ff2e2e;
}

.yt-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 6, 8, 0.85);
  color: #ffffff;
}

.yt-video-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.yt-video-series {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.yt-video-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-ivory);
  line-height: 1.35;
}

.channel-icon.yt {
  background: rgba(255, 46, 46, 0.14);
  color: #ff6b6b;
  border: 1px solid rgba(255, 46, 46, 0.35);
}

/* Cinema Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(4, 4, 6, 0.94);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-box {
  width: min(980px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-obsidian);
  border: 1px solid var(--gold-border);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85);
}

.video-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.video-modal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-ivory);
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .yt-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ==========================================================================
   DISCIPLINES / SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-lux), border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(18, 18, 24, 0.9));
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-silver);
  line-height: 1.68;
}

/* ==========================================================================
   EXPERIENCE, SKILLS & EDUCATION (SPLIT EDITORIAL LAYOUT)
   ========================================================================== */
.career-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-lux);
}

.timeline-item:hover {
  border-color: var(--gold-border);
  transform: translateX(4px);
}

.timeline-item.highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.09), rgba(18, 18, 24, 0.96) 55%);
  border-color: var(--gold-border);
}

.timeline-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.timeline-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-silver);
}

.timeline-item.highlight .timeline-badge {
  background: var(--gold-soft);
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
}

.timeline-company {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.timeline-role {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-summary {
  font-size: 0.88rem;
  color: var(--text-silver);
}

.career-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.glass-panel {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-title span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.skill-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.skill-row-head strong {
  color: var(--text-ivory);
  font-weight: 600;
}

.skill-row-head span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.skill-bar {
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #b88c24, #f4d887);
  width: 0;
  transition: width 1.1s var(--ease-lux);
}

.edu-item + .edu-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.edu-item h4 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-ivory);
}

.edu-item p {
  font-size: 0.82rem;
  color: var(--text-silver);
  margin-top: 3px;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.lang-pill {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  color: var(--text-silver);
}

.lang-pill strong {
  color: var(--gold-bright);
  margin-right: 4px;
}

/* ==========================================================================
   CREATIVE CONTACT STUDIO (WHATSAPP + EMAIL + BEHANCE)
   ========================================================================== */
.contact-studio {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  background:
    radial-gradient(ellipse 65% 60% at 15% 15%, rgba(212, 175, 55, 0.14), transparent 62%),
    radial-gradient(ellipse 55% 55% at 90% 85%, rgba(37, 211, 102, 0.08), transparent 58%),
    var(--bg-obsidian);
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.contact-headline em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, #fae8ad 0%, #d4af37 55%, #b58923 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-lead {
  color: var(--text-silver);
  margin-bottom: 28px;
  font-size: 0.96rem;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.3s var(--ease-lux);
}

.channel-card:hover {
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.07);
  transform: translateX(4px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.channel-icon.wa { background: rgba(37, 211, 102, 0.14); color: #4ade80; border: 1px solid rgba(37, 211, 102, 0.3); }
.channel-icon.mail { background: rgba(212, 175, 55, 0.14); color: var(--gold-bright); border: 1px solid var(--gold-border); }
.channel-icon.be { background: rgba(23, 105, 255, 0.15); color: #60a5fa; border: 1px solid rgba(23, 105, 255, 0.35); }
.channel-icon.li { background: rgba(10, 102, 194, 0.16); color: #7dd3fc; border: 1px solid rgba(10, 102, 194, 0.35); }

.channel-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.channel-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-ivory);
}

.copy-mini-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-silver);
  transition: all 0.25s ease;
}

.copy-mini-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* Interactive Inquiry Builder Card */
.brief-builder {
  padding: 30px;
  border-radius: 22px;
  background: rgba(18, 18, 25, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.brief-builder h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.brief-builder .hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.scope-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-silver);
  transition: all 0.25s ease;
}

.scope-chip.selected {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-bright);
  font-weight: 600;
}

.input-group {
  margin-bottom: 16px;
}

.luxury-input,
.luxury-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 6, 8, 0.75);
  color: var(--text-ivory);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.luxury-input:focus,
.luxury-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.luxury-textarea {
  min-height: 98px;
  resize: vertical;
}

.builder-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER & FLOATING QUICK DOCK
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0 46px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 450;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 14, 20, 0.92);
  border: 1px solid var(--gold-border);
  color: var(--text-ivory);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease-lux), background 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.dock-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.dock-btn.wa {
  background: linear-gradient(135deg, #25d366, #16a34a);
  border-color: transparent;
  color: #05180c;
}

.dock-btn.be:hover {
  background: #1769ff;
  border-color: #1769ff;
}

.dock-btn.mail:hover {
  background: var(--gold);
  color: #08080a;
}

.dock-tooltip {
  position: absolute;
  right: 58px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(10, 10, 14, 0.96);
  border: 1px solid var(--gold-border);
  color: var(--text-ivory);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   CASE STUDY LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  width: min(1160px, 100%);
  max-height: 92vh;
  border-radius: var(--radius-lg);
  background: var(--bg-obsidian);
  border: 1px solid var(--gold-border);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease-lux);
}

.lightbox.open .lightbox-dialog {
  transform: translateY(0) scale(1);
}

.lightbox-stage {
  background: #060608;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 460px;
  max-height: 92vh;
}

.lightbox-image-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  min-height: 360px;
}

.lightbox-image-wrap.light-bg {
  background: #f2f2f2;
}

.lightbox-image-wrap img {
  max-height: 64vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 8, 12, 0.82);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: #08080a;
}

.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

.lightbox-caption-bar {
  padding: 12px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-silver);
  background: rgba(12, 12, 16, 0.95);
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 22px 16px;
  overflow-x: auto;
  background: #09090d;
  border-top: 1px solid var(--border-subtle);
}

.lightbox-thumb {
  width: 68px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--gold-bright);
}

.lightbox-info {
  padding: 28px 26px;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 92vh;
}

.lightbox-close-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--text-silver);
  transition: all 0.25s ease;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: rotate(90deg);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 6px;
}

.lightbox-sub {
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: var(--text-silver);
  line-height: 1.72;
  margin-bottom: 22px;
}

.lightbox-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-ivory);
  margin-top: 2px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.lightbox-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lightbox-actions .btn {
  width: 100%;
  padding: 13px 18px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 1500;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(14, 14, 20, 0.96);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-lux);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-lux), transform 0.75s var(--ease-lux);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .career-grid,
  .contact-studio {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .portrait-card {
    width: min(380px, 100%);
  }

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

  .project-card,
  .project-card.wide,
  .project-card.tall {
    grid-column: span 6;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .lightbox-info {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    max-height: none;
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-behance-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 4vw;
    right: 4vw;
    padding: 24px;
    border-radius: 20px;
    background: rgba(10, 10, 14, 0.98);
    border: 1px solid var(--gold-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    gap: 18px;
  }

  .project-card,
  .project-card.wide,
  .project-card.tall {
    grid-column: span 12;
  }

  .services-grid,
  .builder-actions {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    left: 10px;
    top: 14px;
  }

  .floating-dock {
    right: 14px;
    bottom: 14px;
  }
}
