/* ============================================================
   EVIC MEDIA — styles.css
   Design system: #151412 canvas, teal→blue→green gradient accent
   Fonts: Space Grotesk (headings) + Inter (body) via Google Fonts
   ============================================================ */

/* ── CUSTOM FONTS ────────────────────────────────────────── */
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LemonMilk';
  src: url('../fonts/LEMONMILK-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Kapiler';
  src: url('../fonts/Kapiler.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #151412;
  --bg-card:      #1a1916;
  --bg-elevated:  #201f1c;
  --text:         #f0ede8;
  --text-muted:   #888580;
  --text-dim:     #555250;

  --grad-start:   #1094A9;
  --grad-mid:     #1774B9;
  --grad-end:     #16A066;

  --grad: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
  --grad-diag: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));

  --border:       rgba(255,255,255,0.07);
  --border-glow:  rgba(16,148,169,0.25);

  --radius:       6px;
  --radius-lg:    12px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'LemonMilk', system-ui, sans-serif;
  --font-head:    'LemonMilk', system-ui, sans-serif;
  --font-accent:  'Kapiler', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w:        1200px;
  --section-pad:  120px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

::selection { background: rgba(16,148,169,0.35); }

/* ── UTILITY ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.label-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--grad);
  vertical-align: middle;
  margin-right: 10px;
}

/* ── GRADIENT BUTTON ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn-primary:hover::after { background: rgba(255,255,255,0.08); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,148,169,0.3); }

.btn-outline {
  border: 1px solid var(--border-glow);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--grad-start);
  background: rgba(16,148,169,0.08);
  transform: translateY(-2px);
}

.btn-arrow::after { content: '→'; font-size: 1rem; }

/* ── SCROLL REVEAL ANIMATION ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── GRADIENT DIVIDER ────────────────────────────────────── */
.grad-line {
  width: 48px;
  height: 2px;
  background: var(--grad);
  margin: 24px 0 40px;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: padding var(--transition), background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  padding: 14px 0;
  background: rgba(21, 20, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

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

.nav-logo img {
  height: 52px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 3px;
  background: var(--grad);
  color: #fff;
  transition: var(--transition);
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(16,148,169,0.3); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(21,20,18,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--text); }
.nav-mobile .nav-cta { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ── CINEMATIC PARTICLE CANVAS ──────────────────────────────── */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── CURSOR GLOW ────────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(16,148,169,0.12) 0%, transparent 70%);
  transition: opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: screen;
}

/* ── ORBs ───────────────────────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 18s ease-in-out infinite;
}

.hero-orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16,148,169,0.13), transparent 70%);
  top: -20%;
  right: -15%;
  animation-duration: 20s;
}

.hero-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(22,160,102,0.10), transparent 70%);
  bottom: -10%;
  left: -12%;
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.06); }
  66%       { transform: translate(-25px, 20px) scale(0.96); }
}

/* ── HERO TEXT SHIMMER ──────────────────────────────────────── */
@keyframes textShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes breatheGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(16,148,169,0.35)) drop-shadow(0 0 30px rgba(16,148,169,0.12)); }
  50%       { filter: drop-shadow(0 0 22px rgba(16,148,169,0.6))  drop-shadow(0 0 55px rgba(22,160,102,0.2)); }
}

.electric-text {
  display: inline-block;
  background: linear-gradient(90deg,
    #1094A9 0%,
    #16A066 25%,
    #ffffff 45%,
    #a8f0e0 55%,
    #16A066 75%,
    #1094A9 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 5s linear infinite, breatheGlow 4s ease-in-out infinite !important;
}

/* Hero photo — right half */
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-photo img,
.hero-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.6;
  animation: heroPhotoIn 1.2s ease 0.3s both;
}

@keyframes heroPhotoIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 0.6; transform: scale(1); }
}

/* Gradient mask: fade photo into dark bg on the left */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 40%),
              linear-gradient(to top, var(--bg) 0%, transparent 30%);
  z-index: 1;
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--grad);
}

.hero-eyebrow-text {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-headline em {
  font-family: var(--font-accent);
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.04em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.8s forwards;
}

.hero-tagline {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.1s forwards;
}

.hero-tagline-text {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--grad-start), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
#services {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  margin-bottom: 72px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

/* ── SERVICE CARD — immersive ───────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  cursor: pointer;
  background: #0a0a09;
}

/* background image */
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.7s ease;
  filter: brightness(0.3) saturate(0.7);
  will-change: transform;
}
.service-card.in-view .service-card-bg {
  transform: scale(1.06);
  filter: brightness(0.4) saturate(1);
}
.service-card.in-view {
  box-shadow: 0 0 32px rgba(255, 200, 60, 0.18), 0 0 8px rgba(255, 200, 60, 0.1);
}
.service-card:hover .service-card-bg {
  transform: scale(1.08);
  filter: brightness(0.45) saturate(1.1);
}

/* background video */
.service-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.7s ease;
  filter: brightness(0.3) saturate(0.7);
  will-change: transform;
}
.service-card:hover .service-card-video {
  transform: scale(1.08);
  filter: brightness(0.45) saturate(1.1);
}

/* Audio card — singer video stays bright and vivid */
.service-card--bright .service-card-video {
  filter: brightness(0.75) saturate(1.2) contrast(1.05);
}
.service-card--bright:hover .service-card-video {
  filter: brightness(0.95) saturate(1.3) contrast(1.08);
  transform: scale(1.05);
}
/* Lighten the gradient overlay so the red room shows through */
.service-card--bright .service-card-grad {
  background:
    linear-gradient(to top, rgba(21,20,18,0.92) 0%, rgba(21,20,18,0.3) 45%, rgba(21,20,18,0.05) 100%),
    linear-gradient(135deg, rgba(180,30,30,0.08) 0%, transparent 60%);
}

/* gradient overlay */
.service-card-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(21,20,18,0.98) 0%, rgba(21,20,18,0.6) 50%, rgba(21,20,18,0.1) 100%),
    linear-gradient(135deg, rgba(16,148,169,0.08) 0%, transparent 60%);
  z-index: 1;
  transition: background 0.5s ease;
}
.service-card:hover .service-card-grad {
  background:
    linear-gradient(to top, rgba(21,20,18,0.96) 0%, rgba(21,20,18,0.5) 40%, rgba(21,20,18,0.05) 100%),
    linear-gradient(135deg, rgba(16,148,169,0.14) 0%, transparent 60%);
}

/* electric border on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(16,148,169,0);
  box-shadow: inset 0 0 0 0 rgba(16,148,169,0);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover::after {
  border-color: rgba(16,148,169,0.5);
  box-shadow: inset 0 0 60px rgba(16,148,169,0.07), 0 0 40px rgba(16,148,169,0.15);
}

/* top gradient line reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  z-index: 4;
}
.service-card:hover::before { transform: scaleX(1); }

/* content layout */
.service-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 44px 44px;
}

/* large watermark number */
.service-watermark {
  position: absolute;
  top: 16px;
  right: 28px;
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.5s ease, transform 0.5s ease;
  user-select: none;
}
.service-card:hover .service-watermark {
  color: rgba(16,148,169,0.12);
  transform: scale(1.05) translateX(-4px);
}

/* top row: tag + icon */
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-tag {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(16,148,169,0.12);
  border: 1px solid rgba(16,148,169,0.25);
  padding: 5px 12px;
  border-radius: 20px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.service-card:hover .service-tag {
  color: #1094A9;
  background: rgba(16,148,169,0.2);
  border-color: rgba(16,148,169,0.5);
}

.service-icon-sm {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease;
  flex-shrink: 0;
}
.service-card:hover .service-icon-sm { color: #1094A9; }

/* bottom: title, desc, link */
.service-bottom { display: flex; flex-direction: column; gap: 16px; }

.service-title {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  opacity: 1 !important;
  transform: none !important;
}

.service-tag {
  opacity: 1 !important;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 360px;
  opacity: 1;
  transform: none;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1094A9;
  text-decoration: none;
  opacity: 1;
  width: fit-content;
  transition: color 0.2s;
}
.service-link:hover { color: #16A066; }

/* legacy — keep for any remaining refs */
.service-icon { display: none; }
.service-number { display: none; }

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 340px;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  transition: gap var(--transition);
}

.service-link:hover { gap: 14px; }

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO / WORK
═══════════════════════════════════════════════════════════ */
#work {
  padding: 0 0 var(--section-pad);
  background: linear-gradient(to bottom, var(--bg), #111010, var(--bg));
}

.work-video-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 80px;
}

.work-video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
}

.work-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(21,20,18,0.4) 0%, rgba(21,20,18,0.0) 40%, rgba(21,20,18,0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 36px;
}

.work-video-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.portfolio-filter {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 3px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--grad);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  grid-auto-flow: dense;
}

.portfolio-item {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
}

.portfolio-item[data-type="video"] { grid-column: span 2; aspect-ratio: 16/9; }

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item--video-loop {
  cursor: default;
  background: #000;
  aspect-ratio: unset !important;
  height: auto;
  transform-style: preserve-3d;
  transition: transform 0.12s ease, box-shadow 0.3s ease;
  will-change: transform;
  border-radius: 4px;
  overflow: hidden;
}

.portfolio-item--video-loop::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(16,148,169,0.18) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.portfolio-item--video-loop::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(16,148,169,0) 0%, rgba(16,148,169,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: inset 0 0 0 1px rgba(16,148,169,0.6), 0 0 30px rgba(16,148,169,0.3), 0 0 60px rgba(16,148,169,0.15);
}

.portfolio-item--video-loop:hover::before { opacity: 1; }
.portfolio-item--video-loop:hover::after  { opacity: 1; }

.portfolio-item--video-loop:hover {
  box-shadow: 0 20px 60px rgba(16,148,169,0.25), 0 0 0 1px rgba(16,148,169,0.3);
  z-index: 10;
}

/* Landscape video tile: spans full width, 16/9 */
.portfolio-item--landscape {
  grid-column: 1 / -1 !important;
  aspect-ratio: 16/9 !important;
  height: auto;
}
.portfolio-item--landscape .portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.portfolio-item--video-loop .portfolio-thumb {
  transition: none;
  object-fit: contain;
  height: auto;
  width: 100%;
  display: block;
}

/* ── MOBILE TOUCH EFFECTS ───────────────────────────────────── */
.touch-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(16,148,169,0.9);
  box-shadow: 0 0 12px rgba(16,148,169,0.6);
  transform: translate(-50%,-50%) scale(0);
  animation: mobileRipple 0.9s ease-out forwards;
  pointer-events: none;
  z-index: 12;
}

.touch-ripple-fill {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16,148,169,0.4);
  transform: translate(-50%,-50%) scale(0);
  animation: mobileRippleFill 0.4s ease-out forwards;
  pointer-events: none;
  z-index: 12;
}

@keyframes mobileRipple {
  0%   { transform: translate(-50%,-50%) scale(0);  opacity: 1; }
  70%  { opacity: 0.4; }
  100% { transform: translate(-50%,-50%) scale(22); opacity: 0; }
}

@keyframes mobileRippleFill {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(8); opacity: 0; }
}

.touch-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1094A9;
  box-shadow: 0 0 8px 3px rgba(16,148,169,0.9), 0 0 16px rgba(16,148,169,0.5);
  transform: translate(-50%,-50%);
  animation: mobileSpark 0.65s cubic-bezier(0,0,0.3,1) forwards;
  pointer-events: none;
  z-index: 13;
}

@keyframes mobileSpark {
  0%   { transform: translate(-50%,-50%) translate(0,0) scale(1.8); opacity: 1; }
  100% { transform: translate(-50%,-50%) translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.touch-spark.alt { background: #16A066; box-shadow: 0 0 8px 3px rgba(22,160,102,0.9); }
.touch-spark.white { background: #fff; box-shadow: 0 0 6px 2px rgba(255,255,255,0.8); width: 3px; height: 3px; }

@media (max-width: 900px) {
  .portfolio-item--video-loop {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.12s ease, box-shadow 0.3s ease;
  }
  .portfolio-item--video-loop::after {
    transition: opacity 0.2s ease;
  }
}

/* Electric spark dots on corners */
.portfolio-item--video-loop .spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1094A9;
  box-shadow: 0 0 8px 2px rgba(16,148,169,0.9), 0 0 20px 4px rgba(16,148,169,0.5);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  animation: sparkPulse 0.6s ease forwards;
}

@keyframes sparkPulse {
  0%   { opacity: 0; transform: scale(0); }
  30%  { opacity: 1; transform: scale(1.5); }
  70%  { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* Placeholder tiles */
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-elevated);
  transition: background var(--transition);
}

.portfolio-placeholder-icon {
  width: 40px;
  height: 40px;
  opacity: 0.2;
}

.portfolio-placeholder-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,20,18,0.92) 0%, rgba(21,20,18,0.2) 50%, transparent 100%);
  opacity: 1;
  transition: background 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(21,20,18,0.97) 0%, rgba(21,20,18,0.4) 60%, transparent 100%);
}

.portfolio-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  pointer-events: none;
  transition: background 0.3s ease, transform 0.3s ease;
  padding-left: 4px;
}
.portfolio-item:hover .portfolio-play-icon {
  background: rgba(16,148,169,0.7);
  transform: translate(-50%, -50%) scale(1.1);
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.04); }
.portfolio-item:hover .portfolio-placeholder { background: #222; }

.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio-meta-type {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-meta-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

.portfolio-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.portfolio-item[data-type="video"]:hover .portfolio-play-icon { opacity: 1; }
.portfolio-item[data-type="video"]:hover .portfolio-play-icon { transform: translate(-50%, -50%) scale(1.1); }

/* Hidden items during filter */
.portfolio-item.hidden {
  display: none;
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,9,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

#lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  animation: lightboxIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-media iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-caption {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.lightbox-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}

.lightbox-type {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.4rem;
  transition: color var(--transition);
}

.lightbox-close:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
#about {
  padding: var(--section-pad) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  aspect-ratio: 3/4;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder portrait */
.about-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-placeholder-icon {
  width: 56px;
  height: 56px;
  opacity: 0.15;
}

.about-placeholder-text {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Accent border */
.about-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  pointer-events: none;
}

.about-accent-bar {
  position: absolute;
  bottom: -20px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
}

.about-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about-role {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text strong { color: var(--text); font-weight: 500; }

.about-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.discipline-tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 2px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.discipline-tag:hover {
  border-color: var(--border-glow);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
#contact {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow behind contact */
#contact::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16,148,169,0.06), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-info-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.contact-detail-body {}
.contact-detail-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-detail-value a {
  transition: color var(--transition);
}

.contact-detail-value a:hover { color: var(--grad-start); }

/* ── FORM ────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--grad-start);
  box-shadow: 0 0 0 3px rgba(16,148,169,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option { background: var(--bg-elevated); }

.form-textarea { min-height: 140px; resize: vertical; }

.form-submit {
  align-self: flex-start;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

.footer-logo img { height: 32px; width: auto; }

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-link:hover {
  border-color: var(--border-glow);
  color: var(--text);
  background: rgba(16,148,169,0.08);
  transform: translateY(-2px);
}

.social-link svg { width: 16px; height: 16px; }

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.footer-right {
  text-align: right;
}

.footer-contact-link {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
  display: block;
  margin-bottom: 6px;
}

.footer-contact-link:hover { color: var(--text); }

/* ── GRAD FOOTER ACCENT LINE ─────────────────────────────── */
.footer-grad-line {
  width: 100%;
  height: 1px;
  background: var(--grad);
  margin-bottom: 60px;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 90px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 44px 36px; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item[data-type="video"] { grid-column: span 2; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { max-width: 400px; }

  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }

  .container { padding: 0 20px; }

  /* Mobile hero: photo right side, clearly visible */
  .hero-photo {
    width: 72%;
    right: 0;
  }
  .hero-photo img,
  .hero-photo video {
    opacity: 0.92;
    object-position: center top;
    animation: none;
  }
  /* Only darken the far left edge (behind text), let photo breathe on right */
  .hero-photo::before {
    background:
      linear-gradient(to right, var(--bg) 0%, var(--bg) 8%, rgba(21,20,18,0.75) 35%, transparent 65%),
      linear-gradient(to top, var(--bg) 0%, transparent 25%);
  }
  /* Tighten hero text on mobile */
  .hero-content {
    max-width: 62%;
  }
  .hero-headline {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
    font-size: 0.72rem;
    padding: 14px 20px;
  }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .services-grid { gap: 1px; }
  .service-card { padding: 36px 28px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item[data-type="video"] { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right { text-align: center; }
  .footer-logo { display: flex; flex-direction: column; align-items: center; }

  .about-stat-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .portfolio-filter { gap: 6px; }
}
