/* =========================================================
   Luminous Digital Hub — Premium Design System 2026
   Dark + Light themes (gold accent)
   ========================================================= */
:root {
  --gold: #c9a227;
  --gold-warm: #d4af37;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --ink: #0a0a0a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --max: 1280px;

  /* Dark theme (default) */
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-soft: #1c1c1c;
  --grey: #2a2a2a;
  --text: #faf9f7;
  --text-soft: #e8e2d6;
  --muted: #8a8680;
  --line: rgba(201, 162, 39, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --paper: #f5f2eb;
  --header-bg: rgba(10, 10, 10, 0.82);
  --header-bg-scrolled: rgba(10, 10, 10, 0.94);
  --footer-bg: #070707;
  --card-bg: rgba(20, 20, 20, 0.82);
  --form-bg: rgba(20, 20, 20, 0.88);
  --input-bg: rgba(0, 0, 0, 0.35);
  --nav-mobile-bg: rgba(10, 10, 10, 0.98);
  --sticky-bg: rgba(10, 10, 10, 0.92);
  --overlay: rgba(10, 10, 10, 0.55);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

  /* Legacy aliases */
  --black: var(--bg);
  --charcoal: var(--bg-elevated);
  --dark: var(--bg-soft);
  --white: var(--text);
  --beige: var(--text-soft);
}

[data-theme="light"] {
  --bg: #f7f4ef;
  --bg-elevated: #ffffff;
  --bg-soft: #efeae3;
  --grey: #e4dfd6;
  --text: #141414;
  --text-soft: #3f3a34;
  --muted: #6f6a63;
  --line: rgba(160, 120, 20, 0.28);
  --line-soft: rgba(0, 0, 0, 0.09);
  --paper: #ffffff;
  --header-bg: rgba(247, 244, 239, 0.88);
  --header-bg-scrolled: rgba(255, 255, 255, 0.95);
  --footer-bg: #111111;
  --card-bg: rgba(255, 255, 255, 0.94);
  --form-bg: rgba(255, 255, 255, 0.96);
  --input-bg: #ffffff;
  --nav-mobile-bg: rgba(247, 244, 239, 0.98);
  --sticky-bg: rgba(247, 244, 239, 0.95);
  --overlay: rgba(10, 10, 10, 0.5);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  --gold-glow: rgba(201, 162, 39, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; color: var(--gold-warm); }

.container { width: min(100% - 2 * 6vw, var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 16px;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--beige); opacity: 0.78; max-width: 36rem; margin: 1.25rem 0 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 { max-width: 16ch; }

/* ---------- Progress / UI chrome ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-warm));
  z-index: 1000; pointer-events: none;
}
.custom-cursor {
  position: fixed; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 9999;
  mix-blend-mode: difference; transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .25s; opacity: 0;
}
.custom-cursor.active { opacity: 1; }
.custom-cursor.hover { width: 42px; height: 42px; background: transparent; border: 1px solid var(--gold); }
.back-top, .wa-float, .sticky-cta {
  position: fixed; z-index: 90; transition: opacity .3s, transform .3s;
}
.back-top {
  right: 24px; bottom: 96px; width: 48px; height: 48px;
  border: 1px solid var(--line); background: var(--bg-elevated);
  color: var(--gold); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.wa-float {
  right: 24px; bottom: 24px; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.wa-float svg { width: 28px; height: 28px; }
.sticky-cta {
  left: 0; right: 0; bottom: 0; padding: 12px 20px;
  background: var(--sticky-bg); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: none; justify-content: center;
}
.page-transition {
  position: fixed; inset: 0; background: var(--bg); z-index: 2000;
  transform: scaleY(0); transform-origin: bottom; pointer-events: none;
  transition: transform .4s var(--ease);
}
.page-transition.active { transform: scaleY(1); transform-origin: top; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--ink);
  display: grid; place-items: center; transition: opacity .5s, visibility .5s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader img { width: min(180px, 40vw); height: auto; }
.loader-bar {
  width: 120px; height: 1px; margin-top: 28px; background: var(--grey); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0; background: var(--gold);
  animation: loadBar 1.2s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; transition: .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn.primary {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.btn.primary:hover { background: var(--gold-warm); box-shadow: 0 0 40px var(--gold-glow); }
.btn.ghost {
  background: transparent; color: var(--text); border-color: var(--line-soft);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.magnetic { will-change: transform; }
.text-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--gold); border-bottom: 1px solid transparent;
  transition: .3s;
}
.text-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 0 5vw;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-color: var(--line-soft); background: var(--header-bg-scrolled); }
.header .logo { grid-column: 1; }
.header .nav { grid-column: 2; justify-self: end; }
.header .header-actions { grid-column: 3; }
.header-actions { display: flex; align-items: center; gap: 10px; z-index: 110; }
.theme-toggle {
  width: 42px; height: 42px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold);
  transition: .3s var(--ease); flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); background: var(--gold-soft); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.logo {
  display: inline-flex; align-items: center; gap: 12px; z-index: 110;
}
.logo img {
  height: 84px; width: auto; object-fit: contain;
  background: transparent; border-radius: 0;
}
.logo-text {
  font-size: 12px; letter-spacing: 0.18em; font-weight: 500;
  text-transform: uppercase; display: none;
}
.nav {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px; font-weight: 450; letter-spacing: 0.04em;
}
.nav a { opacity: 0.65; transition: .25s; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--gold-warm); }
.nav-cta {
  opacity: 1 !important; padding: 11px 18px;
  border: 1px solid var(--gold); color: var(--gold) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.menu-toggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: 110;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  margin: 6px auto; transition: .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 920px);
  display: grid; align-items: end; padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.92) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(201,162,39,.18), transparent 55%);
  z-index: 1;
}
.hero-glow {
  position: absolute; width: 40vw; height: 40vw; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  top: 10%; right: 5%; filter: blur(40px); opacity: .45;
  animation: glowDrift 12s ease-in-out infinite alternate; z-index: 1; pointer-events: none;
}
@keyframes glowDrift {
  from { transform: translate(0,0); }
  to { transform: translate(-40px, 30px); }
}
.hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.hero-particles i {
  position: absolute; width: 2px; height: 2px; background: var(--gold);
  border-radius: 50%; opacity: .5; animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: .6; }
  90% { opacity: .4; }
  100% { transform: translateY(-20vh); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 3;
  padding: clamp(100px, 14vh, 160px) 6vw clamp(80px, 10vh, 120px);
  width: min(100%, var(--max)); margin: 0 auto;
}
.hero-content h1 { max-width: 14ch; text-shadow: 0 20px 60px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-floats {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}
.float-card {
  position: absolute; background: var(--card-bg);
  border: 1px solid var(--line); backdrop-filter: blur(12px);
  padding: 18px 22px; min-width: 140px;
  animation: floatY 6s ease-in-out infinite;
  color: #faf9f7;
}
.float-card b {
  display: block; font-family: var(--font-display);
  font-size: 2rem; color: var(--gold-warm); line-height: 1;
}
.float-card span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8680; }
.float-1 { top: 28%; right: 8%; animation-delay: 0s; }
.float-2 { top: 48%; right: 22%; animation-delay: 1.2s; }
.float-3 { bottom: 22%; right: 10%; animation-delay: 2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Trusted ---------- */
.trusted {
  padding: 48px 0; border-bottom: 1px solid var(--line-soft);
  background: var(--charcoal);
}
.trusted h2 {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 28px;
}
.trust-track {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
}
.trust-badge {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--beige); opacity: .55; padding: 10px 0;
  border-bottom: 1px solid transparent; transition: .3s;
}
.trust-badge:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }

/* ---------- Stats ---------- */
.stats-section { background: var(--black); border-bottom: 1px solid var(--line-soft); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-item {
  padding: 28px 8px; border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: 0; }
.stat-item strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem); color: var(--gold-warm); line-height: 1;
}
.stat-item span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Editorial services ---------- */
.services-editorial { background: var(--charcoal); }
.services-editorial { position: relative; overflow: visible; }

/* Services Grid Card Layout */
.services-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 6vw, 72px);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--gold-soft);
}

.service-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--bg-soft);
  min-height: 240px;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  opacity: 1;
}

.service-card-image.img-reveal img {
  opacity: 1;
}

/* Service Card Gradient Backgrounds */
.service-card-bg-1 {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
}

.service-card-bg-2 {
  background: linear-gradient(135deg, rgba(100, 180, 220, 0.15) 0%, rgba(100, 180, 220, 0.05) 100%);
}

.service-card-bg-3 {
  background: linear-gradient(135deg, rgba(200, 100, 150, 0.15) 0%, rgba(200, 100, 150, 0.05) 100%);
}

.service-card-bg-4 {
  background: linear-gradient(135deg, rgba(150, 120, 80, 0.15) 0%, rgba(150, 120, 80, 0.05) 100%);
}

.service-card-bg-5 {
  background: linear-gradient(135deg, rgba(120, 150, 180, 0.15) 0%, rgba(120, 150, 180, 0.05) 100%);
}

.service-card-bg-6 {
  background: linear-gradient(135deg, rgba(180, 120, 150, 0.15) 0%, rgba(180, 120, 150, 0.05) 100%);
}

.service-icon {
  width: 80px;
  height: 80px;
  color: var(--gold);
  opacity: 0.8;
  transition: opacity .4s var(--ease);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.65), rgba(10, 10, 10, 0.65));
  opacity: 0;
  transition: opacity .4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.card-overlay .explore {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.service-card-image:hover img {
  transform: scale(1.08);
}

.service-card:hover .card-overlay {
  opacity: 1;
}

.service-card:hover .service-icon {
  opacity: 1;
  transform: scale(1.1);
}

.service-card-content {
  padding: clamp(20px, 4vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content .num {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

.service-card-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  line-height: 1.35;
  margin: 0 0 12px 0;
  color: var(--text);
  font-family: var(--font-display);
}

.service-card-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}

.service-card-content .text-link {
  align-self: flex-start;
  margin-top: auto;
}

/* Decorative side visuals for services section */
.services-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  max-width: 20vw;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: .98;
  z-index: 2;
  pointer-events: none;
  display: none;
}
.services-left { left: 3vw; }
.services-right { right: 3vw; }

@media (max-width: 1100px) {
  .services-side { display: none; }
}

/* ---------- About home ---------- */
.about-home { background: var(--black); }
.about-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.about-visuals { position: relative; min-height: 520px; }
.about-visuals .main-img {
  width: 78%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1;
}
.about-visuals .sec-img {
  position: absolute; width: 48%; aspect-ratio: 1; object-fit: cover;
  right: 0; bottom: 8%; z-index: 2; border: 6px solid var(--black);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.about-visuals .gold-line {
  position: absolute; left: 10%; top: 8%; width: 2px; height: 120px;
  background: linear-gradient(var(--gold), transparent); z-index: 3;
}
.about-float-stat {
  position: absolute; left: 4%; bottom: 18%; z-index: 4;
  background: var(--card-bg); border: 1px solid var(--line); padding: 18px 22px;
  box-shadow: var(--shadow);
}
.about-float-stat b { font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; }
.about-copy h2 { margin-bottom: 8px; }
.about-copy .split-title { display: block; }

/* ---------- Creative studio collage ---------- */
.studio-section { background: var(--charcoal); overflow: hidden; }
.collage {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 280px;
  gap: 16px; margin-top: 48px;
}
.collage img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); filter: saturate(.92) contrast(1.05);
}
.collage figure { overflow: hidden; margin: 0; position: relative; }
.collage figure:hover img { transform: scale(1.05); }
.collage .c1 { grid-row: 1 / 3; }
.collage .c2 { transform: translateY(24px); }
.collage .c3 { transform: translateY(-16px); }

/* ---------- Portfolio ---------- */
.portfolio-section { background: var(--black); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 16px; border: 1px solid var(--line-soft); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: .3s;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--gold); color: var(--gold);
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.portfolio-item { cursor: pointer; }
.portfolio-thumb {
  position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--dark);
}
.portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease);
}
.portfolio-thumb .p-overlay {
  position: absolute; inset: 0; background: rgba(10,10,10,.55);
  opacity: 0; transition: .45s; display: flex; flex-direction: column;
  justify-content: end; padding: 24px;
}
.portfolio-thumb .p-cat {
  color: var(--gold); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(12px); transition: .4s;
}
.portfolio-thumb .p-title {
  font-family: var(--font-display); font-size: 1.85rem; transform: translateY(16px); transition: .45s .05s;
}
.portfolio-thumb .p-arrow {
  margin-top: 8px; color: var(--beige); font-size: 13px;
  opacity: 0; transform: translateY(10px); transition: .4s .1s;
}
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-item:hover .p-overlay { opacity: 1; }
.portfolio-item:hover .p-cat,
.portfolio-item:hover .p-title,
.portfolio-item:hover .p-arrow { transform: none; opacity: 1; }
.portfolio-meta { margin-top: 16px; }
.portfolio-meta small { font-size: 11px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.portfolio-meta h3 { margin: 6px 0 4px; font-size: 1.5rem; }
.portfolio-meta p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Case studies ---------- */
.case-section { background: var(--charcoal); }
.case-grid { display: grid; gap: 40px; }
.case-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; min-height: 380px;
  background: var(--black); overflow: hidden;
}
.case-card:nth-child(even) .case-img { order: 2; }
.case-img { position: relative; min-height: 320px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .8s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case-metrics { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.case-metrics div {
  border-left: 1px solid var(--gold); padding-left: 14px;
}
.case-metrics strong {
  display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--gold-warm);
}
.case-metrics span { font-size: 12px; color: var(--muted); }

/* ---------- Before / After ---------- */
.ba-section { background: var(--black); }
.ba-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; margin-top: 48px;
}
.ba-panel { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.ba-panel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.ba-panel.after img { filter: none; }
.ba-panel .label {
  position: absolute; top: 16px; left: 16px;
  background: var(--ink); color: var(--gold); padding: 8px 14px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.ba-panel .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: 14px; color: var(--beige);
}
.ba-vs {
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 1.5rem; color: var(--gold); writing-mode: vertical-rl;
}

/* ---------- Process ---------- */
.process-section { background: var(--charcoal); }
.process-layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start;
}
.process-steps { display: grid; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: .3s;
}
.process-step .n { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
.process-step.active .n, .process-step:hover .n { color: var(--gold); }
.process-step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.process-step p { margin: 0; font-size: 14px; color: var(--muted); max-height: 0; overflow: hidden; transition: .4s; }
.process-step.active p { max-height: 80px; margin-top: 6px; }
.process-visual {
  position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4/3; overflow: hidden; background: var(--dark);
}
.process-visual img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s, transform .8s; transform: scale(1.05);
}
.process-visual img.active { opacity: 1; transform: scale(1); }

/* ---------- Video ---------- */
.video-section { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; }
.video-bg {
  position: absolute; inset: 0;
}
.video-bg img, .video-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10,10,10,.62);
}
.video-content { position: relative; z-index: 2; text-align: center; padding: 40px 6vw; }
.play-btn {
  width: 88px; height: 88px; border-radius: 50%; margin: 28px auto 0;
  border: 1px solid var(--gold); display: grid; place-items: center;
  transition: .35s; color: var(--gold);
}
.play-btn:hover { background: var(--gold); color: var(--ink); box-shadow: 0 0 50px var(--gold-glow); }
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- Social grid ---------- */
.social-section { background: var(--black); }
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px;
}
.ig-item {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ig-item .ig-hover {
  position: absolute; inset: 0; background: rgba(10,10,10,.55);
  display: grid; place-items: center; opacity: 0; transition: .35s;
  color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
.ig-item:hover img { transform: scale(1.08); }
.ig-item:hover .ig-hover { opacity: 1; }

/* ---------- Team ---------- */
.team-section { background: var(--charcoal); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card { overflow: hidden; }
.team-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(.25);
  transition: .5s;
}
.team-card:hover img { filter: none; transform: scale(1.03); }
.team-card h3 { margin: 16px 0 4px; font-size: 1.35rem; }
.team-card .role { color: var(--gold); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.team-card p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.placeholder-note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--black); }
.t-slider { position: relative; overflow: hidden; }
.t-track { display: flex; transition: transform .55s var(--ease); }
.t-slide {
  min-width: 100%; padding: 20px 0 40px;
  display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center;
}
.t-slide img {
  width: 200px; height: 200px; object-fit: cover; border: 1px solid var(--line);
}
.t-stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; font-size: 14px; }
.t-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35; max-width: 36ch; margin: 0 0 24px;
}
.t-name { font-weight: 500; }
.t-meta { color: var(--muted); font-size: 14px; }
.t-nav { display: flex; gap: 12px; margin-top: 8px; }
.t-nav button {
  width: 48px; height: 48px; border: 1px solid var(--line); color: var(--gold);
  transition: .3s;
}
.t-nav button:hover { background: var(--gold); color: var(--ink); }

/* ---------- Blog ---------- */
.blog-section { background: var(--charcoal); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .cover {
  aspect-ratio: 16/10; overflow: hidden; background: var(--dark); margin-bottom: 18px;
}
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.blog-card:hover .cover img { transform: scale(1.06); }
.blog-meta {
  display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.blog-meta .cat { color: var(--gold); }
.blog-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; margin: 0 0 16px; }

/* ---------- Contact band ---------- */
.contact-band {
  position: relative; padding: clamp(80px, 12vw, 140px) 0; overflow: hidden;
}
.contact-band .bg {
  position: absolute; inset: 0;
}
.contact-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-band .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.88), rgba(10,10,10,.75));
}
.contact-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px);
}
.contact-info-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-info-list a, .contact-info-list span {
  display: block; font-size: 1.05rem;
}
.contact-info-list small {
  display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contact-form {
  background: var(--form-bg); border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(12px);
  display: grid; gap: 16px;
  color: var(--text);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; margin-top: 8px; padding: 14px 14px;
  background: var(--input-bg); border: 1px solid var(--line-soft);
  color: var(--text); font: inherit; outline: none; transition: border-color .3s;
  border-radius: var(--radius);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form .error-field { border-color: #c44 !important; }
.form-status { font-size: 13px; min-height: 1.2em; color: var(--gold); }
.form-status.error { color: #e88; }
.form-status.success { color: #8d8; }
.btn.loading { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg); border-top: 1px solid var(--line-soft);
  padding: 72px 6vw 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  color: #eee;
}
.footer .logo img { height: 64px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .logo img { height: 56px; }
}

@media (max-width: 640px) {
  .logo img { height: 40px; }
}
.footer p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer h4 {
  font-family: var(--font-body); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 500;
}
.footer a, .footer span { display: block; color: var(--muted); font-size: 14px; margin: 8px 0; transition: .25s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px; padding-top: 28px; margin-top: 24px; border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted);
}
.footer-bottom a { display: inline; margin: 0 12px 0 0; }

/* ---------- Page heroes / shared ---------- */
.page-hero {
  padding: clamp(100px, 14vh, 150px) 6vw 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,162,39,.12), transparent 50%),
    var(--black);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .lead { max-width: 40rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(5,5,5,.94); display: none; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: min(1100px, 92vw); text-align: center; position: relative; }
.lightbox-inner img {
  max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.lightbox-meta { margin-top: 18px; }
.lightbox-meta .cat { color: var(--gold); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.lightbox-meta h3 { font-size: 1.6rem; margin-top: 6px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 48px; height: 48px; border: 1px solid var(--line);
  color: var(--gold); display: grid; place-items: center; background: rgba(0,0,0,.4);
}
.lb-close { top: 20px; right: 20px; position: fixed; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); position: fixed; }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); position: fixed; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.paper-section { background: var(--paper); color: var(--ink); }
.paper-section .eyebrow { color: #8a7018; }
.paper-section .muted, .paper-section p { color: #5c5850; }
.paper-section em { color: #9a7b1a; }

/* ---------- Theme-locked cinematic sections (always light text) ---------- */
.hero-content,
.hero-content .lead,
.video-content,
.contact-band .contact-inner > .reveal,
.contact-band h1,
.contact-band h2,
.contact-band .lead,
.contact-info-list a,
.contact-info-list span {
  color: #faf9f7;
}
.hero-content .lead,
.contact-band .lead { color: #e8e2d6; opacity: 0.85; }
.hero em,
.video-content em,
.contact-band em { color: var(--gold-warm); }
.hero .btn.ghost,
.contact-band .btn.ghost {
  color: #faf9f7; border-color: rgba(255,255,255,.35);
}
.portfolio-thumb .p-title,
.portfolio-thumb .p-arrow,
.service-media .overlay { color: #faf9f7; }

[data-theme="light"] .trusted { background: var(--bg-elevated); }
[data-theme="light"] .case-card { box-shadow: var(--shadow); }
[data-theme="light"] .filter-btn { background: var(--bg-elevated); }
[data-theme="light"] .contact-form select option { color: #141414; background: #fff; }
[data-theme="light"] .menu-toggle span { background: var(--text); }
