/* ═══════════════════════════════════════════════════════════════
   FilmPix Studios — main.css  v3.0
   Apple-dark theme · Cork, Ireland
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --black:      #000000;
  --off-black:  #111111;
  --card:       #161616;
  --border:     rgba(255,255,255,0.10);
  --mid:        #6e6e73;
  --light:      #a1a1a6;
  --white:      #ffffff;
  --nav-h:      52px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "Helvetica Neue", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ─── NAV ────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
#nav.scrolled { background: rgba(0,0,0,0.95); }

.nav-logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  padding: 7px 18px;
  border-radius: 980px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.mobile-nav .mobile-cta {
  font-size: 17px;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  padding: 14px 36px;
  border-radius: 980px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--black);
  padding: 13px 26px; border-radius: 980px;
  font-size: 15px; font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-white:hover { opacity: 0.9; transform: scale(1.02); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.38);
  padding: 12px 26px; border-radius: 980px;
  font-size: 15px; font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-black {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: var(--white);
  padding: 14px 30px; border-radius: 980px;
  font-size: 15px; font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-black:hover { opacity: 0.82; transform: scale(1.02); }

/* ─── SECTION LABEL ──────────────────────────────────────────── */
.label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
}

/* ─── FADE-UP ANIMATION ──────────────────────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94),
              transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.fu.vis { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero/hero-main.jpg') center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 9s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.50) 38%,
    rgba(0,0,0,.18) 65%,
    rgba(0,0,0,.06) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 64px 90px;
  max-width: 960px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(46px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.01;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; right: 44px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.65);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0% { top:-100%; } 100% { top:100%; } }

/* ─── MARQUEE ────────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 500;
  display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.marquee-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.2); flex-shrink: 0;
}

/* ─── CLIENTS ────────────────────────────────────────────────── */
.clients { background: var(--off-black); padding: 72px 64px; }
.clients-label { text-align: center; margin-bottom: 44px; }
.clients-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}
.clients-logos img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.38; object-fit: contain;
  transition: opacity 0.3s;
}
.clients-logos img:hover { opacity: 0.78; }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: 130px 64px;
}
.about h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.07;
  margin-bottom: 26px;
}
.about p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  line-height: 1.72; margin-bottom: 14px;
}
.about p:last-of-type { margin-bottom: 38px; }

.about-imgs { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 18px;
}
.about-img-float {
  position: absolute; bottom: -28px; left: -28px;
  width: 52%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 13px; border: 4px solid var(--black);
}

/* ─── SERVICES ───────────────────────────────────────────────── */
.services {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding: 110px 64px;
}
.services-hd { max-width: 1280px; margin: 0 auto 68px; }
.services-hd h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
}
.services-hd h2 span { color: rgba(255,255,255,0.2); }

.services-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.svc {
  background: var(--off-black); padding: 44px 36px 56px;
  position: relative; transition: background 0.3s;
}
.svc:hover { background: #181818; }
.svc-num {
  font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.2);
  margin-bottom: 28px; font-weight: 500;
}
.svc h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.svc p { font-size: 14px; color: rgba(255,255,255,0.46); line-height: 1.72; }
.svc-arrow {
  position: absolute; bottom: 26px; right: 26px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.svc:hover 

/* ─── WORK PREVIEW (homepage) ────────────────────────────────── */
.work-preview { padding: 110px 64px 120px; background: var(--black); border-top: 1px solid var(--border); }
.work-preview-hd {
  max-width: 1280px; margin: 0 auto 56px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.work-preview-hd h2 {
  font-size: clamp(36px,5vw,60px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
}
.work-preview-hd a {
  font-size: 15px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s; white-space: nowrap;
}
.work-preview-hd a:hover { color: var(--white); }

/* Mosaic grid */
.work-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 420px 420px;
  gap: 10px;
}
.wc { position: relative; overflow: hidden; border-radius: 14px; background: var(--card); cursor: pointer; }
.wc:nth-child(1) { grid-column: 1/8; grid-row: 1; }
.wc:nth-child(2) { grid-column: 8/13; grid-row: 1; }
.wc:nth-child(3) { grid-column: 1/5; grid-row: 2; }
.wc:nth-child(4) { grid-column: 5/9; grid-row: 2; }
.wc:nth-child(5) { grid-column: 9/13; grid-row: 2; }

/* video cards */
.wc-video-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 980px; padding: 4px 12px 4px 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.85);
}
.wc-video-badge svg { width: 12px; height: 12px; fill: var(--white); }

.wc img, .wc video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.wc:hover img, .wc:hover video { transform: scale(1.06); }

.wc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
}
.wc:hover .wc-overlay { opacity: 1; }

.wc-info {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.wc:hover .wc-info { opacity: 1; transform: none; }
.wc-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.wc-cat   { font-size: 12px; color: rgba(255,255,255,0.58); }

/* ─── VALUES ─────────────────────────────────────────────────── */
.values {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding: 110px 64px;
}
.values-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 96px; align-items: start;
}
.values-left h2 {
  font-size: clamp(32px,4vw,52px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
  position: sticky; top: 80px;
}
.val-item {
  border-top: 1px solid var(--border); padding: 34px 0;
  display: grid; grid-template-columns: 160px 1fr; gap: 28px;
}
.val-name { font-size: 17px; font-weight: 600; padding-top: 2px; }
.val-desc { font-size: 15px; color: rgba(255,255,255,0.46); line-height: 1.75; }

/* ─── CTA ────────────────────────────────────────────────────── */
.cta-wrap { padding: 0 64px 90px; }
.cta-box {
  max-width: 1280px; margin: 0 auto;
  border-radius: 28px; background: var(--white); color: var(--black);
  padding: 96px 80px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.cta-box h2 {
  font-size: clamp(36px,5vw,58px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
}
.cta-box p { font-size: 17px; color: #6e6e73; margin-top: 16px; line-height: 1.6; max-width: 460px; }
.cta-box .label { color: #6e6e73; }
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: unset; }
.cta-info { font-size: 13px; color: #6e6e73; line-height: 1.85; }
.cta-info a { color: #1d1d1f; }
.cta-info a:hover { text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  margin-top: 80px; padding: 64px 64px 48px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 52px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.footer-brand img { height: 26px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.36); line-height: 1.65; max-width: 270px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,0.36); transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span {
  font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p, .footer-bottom a {
  font-size: 12px; color: rgba(255,255,255,0.28);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal { display: flex; gap: 18px; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════════ */

.gallery-hero {
  padding: 140px 64px 72px;
  background: var(--off-black);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.gallery-hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: 18px;
}
.gallery-hero p {
  font-size: 18px; color: rgba(255,255,255,0.5);
  max-width: 560px; margin: 0 auto; line-height: 1.65;
}

/* ─── FILTER TABS ────────────────────────────────────────────── */
.filters {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  padding: 48px 64px 0; max-width: 1280px; margin: 0 auto;
}
.filter-btn {
  background: transparent; color: rgba(255,255,255,0.48);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 980px; padding: 8px 20px;
  font-size: 13px; font-family: inherit; cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.filter-btn.on { background: var(--white); color: var(--black); border-color: var(--white); }

/* ─── MASONRY-STYLE GALLERY GRID ─────────────────────────────── */
.gal-grid {
  max-width: 1280px; margin: 40px auto 0; padding: 0 64px 100px;
  columns: 3; column-gap: 10px;
}
.gal-item {
  break-inside: avoid; margin-bottom: 10px;
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--card); display: block; cursor: pointer;
  transition: opacity 0.4s;
}
.gal-item.hidden { display: none; }
.gal-item img {
  width: 100%; display: block;
  transition: transform 0.65s cubic-bezier(.25,.46,.45,.94);
}
.gal-item:hover img { transform: scale(1.05); }

/* Video items in gallery */
.gal-item.is-video { position: relative; }
.gal-item .vid-thumb { position: relative; }
.gal-item .vid-thumb img { width: 100%; display: block; }
.gal-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.2s;
}
.gal-item:hover .gal-play { background: rgba(0,0,0,0.45); }
.gal-play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.gal-item:hover .gal-play-btn { transform: scale(1.1); }
.gal-play-btn svg { width: 20px; height: 20px; fill: var(--black); margin-left: 3px; }

.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-label {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s;
}
.gal-item:hover .gal-label { opacity: 1; transform: none; }
.gal-label-title { font-size: 14px; font-weight: 600; }
.gal-label-cat   { font-size: 12px; color: rgba(255,255,255,0.56); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lb {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s;
}
.lb.open { opacity: 1; pointer-events: all; }

.lb-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 92vw; max-height: 92vh;
}
.lb-media {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.lb.open .lb-media { transform: scale(1); }
.lb-video-wrap {
  max-width: 90vw; width: 900px;
  border-radius: 12px; overflow: hidden;
  background: #000; line-height: 0;
}
.lb-video-wrap iframe, .lb-video-wrap video {
  width: 100%; aspect-ratio: 16/9; border: none; display: block;
}
.lb-caption {
  display: none;
}

.lb-close {
  position: fixed; top: 22px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; line-height: 1; z-index: 901;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 901;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-hero {
  padding: 140px 64px 72px;
  background: var(--off-black); border-bottom: 1px solid var(--border);
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(44px,7vw,84px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  margin-bottom: 18px;
}
.contact-hero p {
  font-size: 18px; color: rgba(255,255,255,0.5);
  max-width: 500px; margin: 0 auto; line-height: 1.65;
}

.contact-wrap {
  max-width: 1280px; margin: 0 auto; padding: 90px 64px 110px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start;
}

/* Contact info */
.contact-info h2 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.6); }
.contact-detail-label { font-size: 12px; color: rgba(255,255,255,0.36); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-detail-value { font-size: 16px; color: var(--white); }
.contact-detail-value a { color: var(--white); transition: opacity 0.2s; }
.contact-detail-value a:hover { opacity: 0.7; }

.contact-map {
  margin-top: 36px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); height: 220px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; filter: grayscale(1) invert(1) contrast(0.85); }

/* Form */
.contact-form h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.form-group label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  color: var(--white); font-size: 15px; font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  width: 100%; resize: none;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  outline: none; border-color: rgba(255,255,255,0.4); background: #1a1a1a;
}
.form-group select option { background: var(--off-black); }
.form-group textarea { height: 140px; }
.form-note {
  font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 20px; line-height: 1.6;
}
.form-success {
  display: none; text-align: center; padding: 32px;
  background: var(--card); border-radius: 14px; border: 1px solid var(--border);
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p  { color: rgba(255,255,255,0.5); font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .wc { grid-column: auto !important; grid-row: auto !important; height: 280px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 860px) {
  #nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-content { padding: 0 24px 68px; }
  .hero-scroll   { display: none; }

  .clients, .work-preview, .values, .cta-wrap, footer { padding-left: 24px; padding-right: 24px; }
  .services { padding: 80px 24px; }

  .about { grid-template-columns: 1fr; gap: 40px; padding: 80px 24px; }
  .about-img-float { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .work-grid     { grid-template-columns: 1fr; }
  .wc            { height: 240px; }
  .wc-overlay    { opacity: 1; }
  .wc-info       { opacity: 1; transform: none; }

  .values-inner  { grid-template-columns: 1fr; gap: 48px; }
  .values-left h2 { position: static; }
  .val-item       { grid-template-columns: 1fr; gap: 6px; }

  .cta-box { grid-template-columns: 1fr; padding: 56px 32px; border-radius: 20px; }

  .gallery-hero, .contact-hero { padding: 120px 24px 56px; }
  .filters { padding: 36px 24px 0; }
  .gal-grid { columns: 2; padding: 28px 24px 60px; }

  .contact-wrap { grid-template-columns: 1fr; gap: 60px; padding: 60px 24px 80px; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .gal-grid { columns: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .clients-logos img { height: 20px; }
  .clients-logos { gap: 32px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fu           { opacity: 1; transform: none; transition: none; }
  .hero-bg      { transform: none !important; transition: none !important; }
  .wc:hover img,
  .gal-item:hover img { transform: none; }
  .marquee-track { animation: none; }
  .hero-scroll-line::after { animation: none; }
}

/* ── SERVICES: no arrows, elegant animation ── */
.svc-arrow { display: none; }

.svc {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s;
}
.svc.svc-vis {
  opacity: 1;
  transform: translateY(0);
}

/* ── CLIENT LOGOS: bigger ── */
.clients-logos img {
  height: 44px !important;
  opacity: 0.55 !important;
}
.clients-logos img:hover {
  opacity: 0.85 !important;
}

/* ── ABOUT: remove float image ── */
.about-img-float { display: none !important; }

/* ── CONTACT MAP: hidden ── */
.contact-map { display: none !important; }

/* ── SELECT: match other fields exactly ── */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-group select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background-color: #1a1a1a;
}

/* ── GALLERY LINK OPTION B ── */
.gallery-link-b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: 980px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.gallery-link-b:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ── CLIENTS SECTION: tighter, bigger ── */
.clients {
  padding: 52px 64px !important;
}
.clients-label {
  margin-bottom: 32px !important;
}
.clients-logos {
  gap: 72px !important;
}
.clients-logos img {
  height: 52px !important;
  opacity: 0.6 !important;
}
.clients-logos img:hover {
  opacity: 1 !important;
}
@media (max-width: 860px) {
  .clients { padding: 44px 24px !important; }
  .clients-logos { gap: 36px !important; }
  .clients-logos img { height: 36px !important; }
}

/* ── WORK GRID: no hover overlay, clean click ── */
.wc-overlay { display: none !important; }
.wc-info    { display: none !important; }
.wc-video-badge { z-index: 3; }

/* Ensure <a> inside .wc is fully clickable */
.wc a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}


/* ── CLIENTS: force larger ── */
.clients-logos img {
  height: 72px !important;
  opacity: 0.7 !important;
  max-width: 180px !important;
}
.clients-logos img:hover { opacity: 1 !important; }
.clients-logos { gap: 80px !important; }
.clients { padding: 64px 64px !important; }
@media (max-width: 860px) {
  .clients-logos img { height: 48px !important; max-width: 130px !important; }
  .clients-logos { gap: 40px !important; }
}

/* ── GALLERY: remove hover labels ── */
.gal-overlay { display: none !important; }
.gal-label   { display: none !important; }


/* ── WORK MASONRY (homepage) ── */
.work-masonry {
  max-width: 1280px;
  margin: 0 auto;
  columns: 3;
  column-gap: 10px;
}

.wm-item {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.wm-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s cubic-bezier(.25,.46,.45,.94);
}

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

@media (max-width: 860px) {
  .work-masonry { columns: 2; }
}
@media (max-width: 540px) {
  .work-masonry { columns: 1; }
}

/* ── CTA BOX: single column, button centered below text ── */
.cta-box {
  grid-template-columns: 1fr !important;
  text-align: center !important;
}
.cta-box p { margin: 16px auto 40px !important; }
.cta-box .label { justify-content: center !important; display: flex !important; }
.cta-right {
  display: flex !important;
  justify-content: center !important;
  min-width: unset !important;
}

/* ── CLIENT LOGOS: 110px ── */
.clients-logos img {
  height: 110px !important;
  max-width: 220px !important;
  opacity: 0.7 !important;
}
.clients-logos img:hover { opacity: 1 !important; }

/* ── CTA BUTTON: proper pill, not full width ── */
.cta-right .btn-black {
  width: auto !important;
  padding: 16px 48px !important;
  font-size: 16px !important;
}

/* ── ALL CTA BUTTONS: proper pill size everywhere ── */
.cta-right a.btn-black,
.cta-right button.btn-black {
  width: auto !important;
  padding: 16px 48px !important;
  font-size: 16px !important;
  justify-content: center;
}

/* ── CONTACT FORM SUBMIT BUTTON ── */
#contact-form button[type="submit"] {
  width: auto !important;
  padding: 14px 48px !important;
  margin-top: 8px;
  background: var(--white) !important;
  color: var(--black) !important;
  font-size: 15px !important;
}
#contact-form button[type="submit"]:hover {
  opacity: 0.88 !important;
}

/* ── CTA BUTTON: final fix, never stretch ── */
.cta-box .btn-black,
.cta-box .btn-black:link {
  align-self: center !important;
  width: auto !important;
  padding: 15px 52px !important;
}
