/*
Theme Name: CVC Group
Author: Kiar Novar
Description: Custom theme for CVC Group
Version: 1.0
*/

/* ============================================================
   CVC GROUP — style.css (clean rebuild)
   Manrope (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&family=DM+Sans:ital,wght@0,200;0,300;0,400;0,500;1,300;1,400&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:          #0d0f12;
  --bg-dark:     #0a0c0f;
  --surface:     #14171c;
  --surface-2:   #1a1e24;
  --cream:       #f5f1ea;
  --cream-2:     #ebe6dc;
  --ink:         #0d0f12;
  --gold:        #c69d4e;
  --gold-lt:     #d9b56b;
  --gold-soft:   rgba(198,157,78,.18);
  --muted:       #9aa0a8;
  --muted-2:     #cfd2d6;
  --line:        rgba(245,241,234,.10);
  --line-strong: rgba(245,241,234,.22);
  --f-display:   'Manrope', -apple-system, system-ui, sans-serif;
  --f-body:      'DM Sans', -apple-system, system-ui, sans-serif;
  --container:   1240px;
  --t:           cubic-bezier(.22,.61,.36,1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg); color: var(--cream);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(40px,5.6vw,76px); }
h2 { font-size: clamp(30px,3.8vw,52px); }
h3 { font-size: clamp(20px,2.2vw,28px); }
.italic-accent { color: var(--gold); font-weight: 200; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--t), transform .9s var(--t); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
/* stagger-rv: children animate individually when parent gets .in */
.stagger-rv > * { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--t), transform .85s var(--t); }
.stagger-rv.in > * { opacity: 1; transform: none; }
.stagger-rv.in > *:nth-child(1) { transition-delay: 0ms; }
.stagger-rv.in > *:nth-child(2) { transition-delay: 80ms; }
.stagger-rv.in > *:nth-child(3) { transition-delay: 160ms; }
.stagger-rv.in > *:nth-child(4) { transition-delay: 240ms; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 500; border: 1px solid transparent; transition: all .35s var(--t); cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn .arr { transition: transform .3s var(--t); }
.btn:hover .arr { transform: translateX(4px); }
.link-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; transition: gap .3s var(--t);
}
.link-cta:hover { gap: 16px; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: background .4s var(--t), padding .4s var(--t), border-color .4s var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13,15,18,.9); backdrop-filter: blur(16px);
  padding: 14px 0; border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-svg { height: 44px; width: auto; display: block; }
.logo-mark { font-family: var(--f-display); font-size: 28px; color: var(--cream); letter-spacing: .06em; font-weight: 200; }
.logo-mark span { color: var(--gold); }
.nav-links { display: flex; gap: 38px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-2); position: relative; padding: 6px 0; transition: color .25s var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.nav-cta {
  border: 1px solid var(--cream-2); padding: 11px 24px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cream); transition: all .3s var(--t);
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 1.5px; background: var(--cream); transition: .3s; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s var(--t);
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,15,.92) 0%, rgba(10,12,15,.55) 45%, rgba(10,12,15,.15) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tags { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 30px; }
.hero-tags span { color: var(--muted); }
.hero-title { margin-bottom: 32px; max-width: 760px; }
.hero-sub { max-width: 480px; color: var(--muted-2); font-size: 15px; line-height: 1.7; margin-bottom: 42px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 18px; z-index: 3;
}
.hero-dot {
  font-size: 11px; letter-spacing: .18em; color: var(--muted);
  position: relative; padding-right: 28px; cursor: pointer; transition: color .3s var(--t); font-weight: 500;
}
.hero-dot::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 1px;
  background: var(--muted); transition: all .3s var(--t);
}
.hero-dot.active { color: var(--gold); }
.hero-dot.active::after { width: 24px; background: var(--gold); }
.hero-arrows { position: absolute; right: 32px; bottom: 60px; display: flex; gap: 12px; z-index: 3; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,15,18,.4); transition: all .3s var(--t);
}
.hero-arrow:hover,
.hero-arrow.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── SECTIONS ────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 110px 0; }
.section-light { background: var(--cream); color: var(--ink); }
.section-dark { background: var(--bg-dark); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { max-width: 780px; margin: 0 auto; }

/* ── SERVICE TRIPTYCH ────────────────────────────────────── */
.tri { display: grid; grid-template-columns: repeat(3,1fr); background: var(--cream); }
.tri-item {
  padding: 64px 40px; text-align: center;
  border-right: 1px solid rgba(13,15,18,.08);
  color: var(--ink); transition: background .35s var(--t);
}
.tri-item:last-child { border-right: none; }
.tri-item:hover { background: #ebe6dc; }
.tri-icon { width: 60px; height: 60px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.tri-item h3 { margin-bottom: 12px; color: var(--ink); font-weight: 500; transition: color .35s var(--t); }
.tri-item p { color: #5a5e64; font-size: 14px; line-height: 1.7; margin-bottom: 22px; max-width: 280px; margin-left: auto; margin-right: auto; }
.tri-item .link-cta { opacity: .7; transition: opacity .35s var(--t), gap .3s var(--t); }
.tri-item:hover .link-cta { opacity: 1; }

/* ── PROJECTS CAROUSEL ───────────────────────────────────── */
.proj-carousel-section { background: var(--bg-dark); padding: 110px 0 80px; }
.proj-carousel-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.proj-carousel-header .section-head { text-align: left; margin-bottom: 0; }
.proj-carousel-header .section-head h2 { margin: 0; }
.carousel-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-bottom: 4px; }
.carousel-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--cream); background: transparent;
  transition: all .35s var(--t); cursor: pointer;
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.carousel-btn svg { width: 16px; height: 16px; pointer-events: none; }
.carousel-counter {
  font-family: var(--f-display); font-size: 12px; font-weight: 300;
  letter-spacing: .14em; color: var(--muted); min-width: 56px; text-align: center;
}
.carousel-viewport {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.carousel-track {
  display: flex; gap: 18px; padding: 0 32px;
  width: max-content;
  transition: transform .85s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.proj-card-c {
  flex-shrink: 0; width: clamp(280px,34vw,480px); aspect-ratio: 3/4;
  position: relative; overflow: hidden; cursor: pointer;
  transition: opacity .85s cubic-bezier(.16,1,.3,1);
}
.proj-card-c.is-active { width: clamp(320px,40vw,560px); }
.proj-card-c img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .85s cubic-bezier(.16,1,.3,1), opacity .5s;
}
.proj-card-c::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 30%, rgba(10,12,15,.9) 100%);
  opacity: .8; transition: opacity .5s;
}
.proj-card-c:not(.is-active) img { opacity: .5; }
.proj-card-c:not(.is-active)::after { opacity: 1; }
.proj-card-c:hover img { transform: scale(1.04); }
.proj-card-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 26px 26px 30px; }
.proj-card-num { font-size: 10px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 10px; display: block; }
.proj-card-title { font-family: var(--f-display); font-size: clamp(18px,2.2vw,26px); font-weight: 300; color: var(--cream); letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.2; }
.proj-card-cat { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: block; }
.proj-card-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-lt); border-bottom: 1px solid rgba(217,181,107,.35);
  padding-bottom: 2px; transition: gap .35s var(--t), color .3s;
}
.proj-card-link:hover { gap: 14px; color: var(--cream); }
.carousel-progress { margin: 32px 32px 0; }
.carousel-progress-track { height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.carousel-progress-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--gold); transition: width .85s cubic-bezier(.16,1,.3,1); }
.proj-carousel-cta { text-align: center; margin-top: 56px; }

/* ── PHILOSOPHY SPLIT ────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.4fr; }
.split-text {
  padding: 90px 80px; background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
}
.split-text .eyebrow { margin-bottom: 18px; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: #5a5e64; margin-bottom: 30px; max-width: 420px; line-height: 1.8; }
.split-img { position: relative; overflow: hidden; min-height: 520px; background: #1a1e24; }
.split-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ── APPROACH ────────────────────────────────────────────── */
.approach { background: var(--bg-dark); padding: 90px 0; }
.approach-head { text-align: center; margin-bottom: 60px; }
.approach-head .eyebrow { margin-bottom: 14px; }
.approach-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
/* Fixed-height container — NO layout shift on hover */
.approach-item {
  height: 220px; position: relative; overflow: hidden;
  border-right: 1px solid var(--line); cursor: default;
}
.approach-item:last-child { border-right: none; }
/* Front layer — default visible */
.approach-front {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 28px 16px;
  transition: opacity .4s var(--t), transform .4s var(--t);
}
/* Back layer — hover reveal */
.approach-back {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 18px;
  background: var(--surface-2);
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--t), transform .4s var(--t);
}
.approach-item:hover .approach-front { opacity: 0; transform: translateY(-14px); }
.approach-item:hover .approach-back  { opacity: 1; transform: translateY(0); }
.approach-icon { width: 40px; height: 40px; color: var(--gold); flex-shrink: 0; }
.approach-front h4 {
  font-family: var(--f-body); font-weight: 500; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cream); line-height: 1.5; text-align: center;
}
.approach-back h4 {
  font-family: var(--f-body); font-weight: 500; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); line-height: 1.5; text-align: center;
}
.approach-desc { font-size: 12px; color: var(--muted-2); line-height: 1.6; text-align: center; }

/* ── ABOUT FEATURE (below approach) ─────────────────────── */
.about-feature { background: var(--cream); color: var(--ink); padding: 110px 0; overflow: hidden; }
.about-feature-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-feature-text { display: flex; flex-direction: column; gap: 0; }
.about-feature-started {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.about-feature-started::before { content: "←"; font-size: 12px; }
.about-feature-headline {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(22px,2.4vw,34px); line-height: 1.25;
  letter-spacing: -.02em; color: var(--ink);
  max-width: 22ch; margin-bottom: 32px;
}
.about-feature-headline em { font-style: normal; color: var(--gold); }
.about-feature-stat-row { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.about-feature-big-num {
  font-family: var(--f-display);
  font-size: clamp(72px,9vw,130px);
  font-weight: 200; line-height: .85; letter-spacing: -.04em; color: var(--ink);
}
.about-feature-stat-label {
  font-family: var(--f-display); font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.4; padding-bottom: 10px; max-width: 10ch;
}
.about-feature-right { display: flex; flex-direction: column; gap: 0; }
.about-feature-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.about-feature-img { overflow: hidden; background: var(--surface-2); }
.about-feature-img:first-child { aspect-ratio: 4/5; margin-top: 48px; }
.about-feature-img:last-child  { aspect-ratio: 3/4; }
.about-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--t); }
.about-feature-img:hover img { transform: scale(1.04); }
.about-feature-body { font-size: 14px; color: #5a5e64; line-height: 1.75; max-width: 44ch; margin-bottom: 28px; margin-top: 20px; }

/* ── STATS ───────────────────────────────────────────────── */
.stats { background: var(--cream); color: var(--ink); padding: 90px 0; position: relative; overflow: hidden; }
.stats-bg { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 380px; opacity: .16; pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; z-index: 1; }
.stat-num { font-family: var(--f-display); font-size: 64px; font-weight: 200; color: var(--ink); line-height: 1; margin-bottom: 12px; letter-spacing: -.03em; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.stat-desc { font-size: 13px; color: #5a5e64; max-width: 200px; line-height: 1.6; }

/* ── BRANDS — single-row marquee ────────────────────────── */
.brands {
  background: var(--bg-dark); padding: 54px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
}
.brands-head { text-align: center; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; }
.brands-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.brands-rows { display: flex; flex-direction: column; }
.brand-row {
  display: flex; align-items: center; gap: 52px; flex-wrap: nowrap;
  width: max-content; font-family: var(--f-display); font-size: 20px;
  letter-spacing: .02em; color: var(--cream-2);
}
.brand-row-1 { animation: marquee 28s linear infinite; }
.brand-row-2 { display: none; }
.brands-track:hover .brand-row { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-logo { opacity: .65; white-space: nowrap; flex-shrink: 0; transition: opacity .3s var(--t); }
.brand-logo:hover { opacity: 1; }
.brand-logo.sans { font-family: var(--f-body); font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.brand-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .35; flex-shrink: 0; }

/* ── HOME CONTACT ────────────────────────────────────────── */
.home-contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
/* Left: bg image set via inline style on the element itself */
.home-contact-left {
  position: relative; overflow: hidden;
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
  background-size: cover; background-position: center;
}
/* Dark gradient overlay */
.home-contact-left::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(10,12,15,.15) 0%, rgba(10,12,15,.55) 50%, rgba(10,12,15,.88) 100%);
}
.home-contact-left > * { position: relative; z-index: 1; }
.home-contact-left .eyebrow { color: var(--gold-lt); margin-bottom: 18px; }
.home-contact-left h2 { font-size: clamp(26px,3vw,44px); color: #fff; margin-bottom: 16px; line-height: 1.1; }
.home-contact-left > p { color: rgba(245,241,234,.72); font-size: 15px; line-height: 1.7; max-width: 34ch; margin-bottom: 32px; }
/* Right: form panel */
.home-contact-right {
  background: var(--surface); padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.home-contact-right h3 {
  font-family: var(--f-display); font-size: clamp(20px,2vw,28px); font-weight: 300;
  letter-spacing: -.01em; margin-bottom: 32px; color: var(--cream);
}
.home-contact-form { display: flex; flex-direction: column; gap: 14px; }
.home-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-contact-form .form-input,
.home-contact-form .form-select,
.home-contact-form .form-textarea {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--line);
  padding: 14px 18px; color: var(--cream); font-family: var(--f-body); font-size: 13px;
  transition: border-color .25s var(--t);
}
.home-contact-form .form-input:focus,
.home-contact-form .form-select:focus,
.home-contact-form .form-textarea:focus { outline: none; border-color: var(--gold); }
.home-contact-form .form-input::placeholder,
.home-contact-form .form-textarea::placeholder { color: var(--muted); }
.home-contact-form .form-select {
  appearance: none; cursor: pointer; color: var(--muted); background-color: var(--bg-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239aa0a8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.home-contact-form .form-select option { background: var(--surface); color: var(--cream); }
.home-contact-form .form-textarea { min-height: 100px; resize: none; }

/* ── SECONDARY PAGE CTA ──────────────────────────────────── */
.page-cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; overflow: hidden; }
.page-cta-img { position: relative; overflow: hidden; }
.page-cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--t); }
.page-cta:hover .page-cta-img img { transform: scale(1.04); }
.page-cta-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,15,.25), transparent 50%);
}
.page-cta-content {
  background: var(--bg-dark); padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  border-left: 1px solid var(--line);
}
.page-cta-content .eyebrow { margin-bottom: 0; }
.page-cta-content h2 { font-size: clamp(26px,3vw,44px); }
.page-cta-content > p { color: var(--muted-2); font-size: 15px; line-height: 1.75; max-width: 38ch; }
.page-cta-content .btn { align-self: flex-start; margin-top: 8px; }

/* ── CONTACT PAGE BRAND GRID ─────────────────────────────── */
.brands-grid-section {
  background: var(--bg-dark); padding: 72px 0; border-top: 1px solid var(--line);
}
.brands-grid-head {
  text-align: center; font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 40px;
}
.brands-tile-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.brand-tile {
  background: var(--bg-dark); display: flex; align-items: center; justify-content: center;
  padding: 42px 32px; transition: background .35s var(--t); min-height: 110px;
}
.brand-tile:hover { background: var(--surface); }
.brand-tile-wide { grid-column: span 2; }
.brand-tile-name { display: block; text-align: center; color: var(--cream-2); opacity: .65; transition: opacity .3s var(--t); white-space: nowrap; }
.brand-tile:hover .brand-tile-name { opacity: 1; }
.brand-tile-name.sans { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.brand-tile-name.serif { font-family: var(--f-display); font-weight: 300; font-size: 22px; letter-spacing: .01em; }

/* ── INNER PAGE HERO ─────────────────────────────────────── */
.page-hero { position: relative; padding: 200px 0 100px; background: var(--bg-dark); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; opacity: .32; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,12,15,.7), var(--bg-dark)); }
.page-hero-inner { position: relative; z-index: 2; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(38px,5vw,68px); margin-bottom: 18px; }
.page-hero p { max-width: 600px; margin: 0 auto; color: var(--muted-2); font-size: 15px; }
.breadcrumb { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.breadcrumb span { color: var(--gold); }

/* ── TWO-COL PROSE ───────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.two-col-img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }
.two-col-text .eyebrow { margin-bottom: 16px; }
.two-col-text h2 { margin-bottom: 24px; }
.two-col-text p { color: var(--muted-2); margin-bottom: 18px; line-height: 1.8; }
.section-light .two-col-text p { color: #5a5e64; }

/* ── VALUES GRID ─────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.value { background: var(--bg); padding: 48px 36px; transition: background .35s var(--t); }
.value:hover { background: var(--surface); }
.value-num { font-family: var(--f-display); font-size: 36px; color: var(--gold); margin-bottom: 18px; font-weight: 200; }
.value h3 { font-size: 20px; margin-bottom: 14px; font-weight: 400; }
.value p { font-size: 14px; color: var(--muted-2); line-height: 1.7; }

/* ── ALTERNATING TIMELINE ────────────────────────────────── */
.timeline-alt { position: relative; padding: 20px 0 60px; }
.timeline-alt::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
  transform: translateX(-50%);
}
.tl-alt-item {
  display: grid; grid-template-columns: 1fr 80px 1fr;
  align-items: center; min-height: 260px; position: relative;
}
.tl-alt-item.left .tl-content  { grid-column: 1; text-align: right; padding: 48px 52px 48px 0; }
.tl-alt-item.left .tl-marker   { grid-column: 2; }
.tl-alt-item.left .tl-visual   { grid-column: 3; padding: 48px 0 48px 52px; }
.tl-alt-item.right .tl-visual  { grid-column: 1; padding: 48px 52px 48px 0; }
.tl-alt-item.right .tl-marker  { grid-column: 2; }
.tl-alt-item.right .tl-content { grid-column: 3; text-align: left; padding: 48px 0 48px 52px; }
.tl-marker { display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; position: relative; }
.tl-marker-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--bg-dark);
  transition: background .4s var(--t), transform .4s var(--t); flex-shrink: 0;
}
.tl-alt-item:hover .tl-marker-dot { background: var(--gold); transform: scale(1.35); }
.tl-year-badge {
  display: inline-block; font-family: var(--f-display); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; color: var(--gold); border: 1px solid var(--gold-soft);
  padding: 5px 14px; margin-bottom: 16px;
}
.tl-content h4 { font-family: var(--f-display); font-size: clamp(18px,1.8vw,24px); font-weight: 300; letter-spacing: -.01em; color: var(--cream); margin-bottom: 12px; line-height: 1.25; }
.tl-content p { font-size: 14px; color: var(--muted-2); line-height: 1.7; max-width: 36ch; }
.tl-alt-item.left .tl-content p  { margin-left: auto; }
.tl-alt-item.right .tl-content p { margin-right: auto; }
.tl-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--surface); }
.tl-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--t); display: block; }
.tl-alt-item:hover .tl-img-wrap img { transform: scale(1.04); }
.tl-stat-card { background: var(--surface); border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 8px; }
.tl-stat-num { font-family: var(--f-display); font-size: clamp(42px,5vw,64px); font-weight: 200; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.tl-stat-label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.tl-alt-item + .tl-alt-item { border-top: 1px solid var(--line); }

/* ── FORM ELEMENTS (contact page) ───────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; padding: 100px 0; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--muted-2); margin-bottom: 40px; line-height: 1.8; max-width: 440px; }
.contact-card { border: 1px solid var(--line); padding: 28px 30px; margin-bottom: 14px; display: flex; gap: 20px; align-items: flex-start; transition: border-color .3s var(--t); }
.contact-card:hover { border-color: var(--gold); }
.contact-card-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-card h4 { font-family: var(--f-body); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-card p { color: var(--cream-2); font-size: 14px; line-height: 1.6; }
.contact-form { background: var(--surface); padding: 48px; border: 1px solid var(--line); }
.contact-form h3 { font-family: var(--f-display); font-size: 24px; font-weight: 300; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  padding: 14px 18px; color: var(--cream); font-family: var(--f-body); font-size: 13px; transition: border-color .25s var(--t);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); font-size: 13px; }
.form-textarea { margin-bottom: 18px; resize: vertical; min-height: 90px; font-family: var(--f-body); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239aa0a8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}

/* ── CAPABILITIES / SHOWCASE / SERVICE INNER PAGES ──────── */
.service-intro { padding: 100px 0; background: var(--cream); color: var(--ink); }
.service-intro h2 { margin-bottom: 24px; }
.service-intro p { font-size: 16px; line-height: 1.8; color: #3d4148; max-width: 680px; }
.service-intro .lead { font-size: 20px; line-height: 1.7; color: var(--ink); margin-bottom: 32px; font-weight: 300; }
.capabilities { padding: 100px 0; background: var(--bg-dark); }
.cap-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); margin-top: 50px; }
.cap { background: var(--bg); padding: 42px 38px; transition: background .35s var(--t); }
.cap:hover { background: var(--surface); }
.cap-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 20px; }
.cap h3 { font-size: 20px; margin-bottom: 12px; font-weight: 400; }
.cap p { color: var(--muted-2); font-size: 14px; line-height: 1.7; }
.showcase { padding: 110px 0; background: var(--bg); }
.showcase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 50px; }
.showcase-item { position: relative; aspect-ratio: 1/1.2; overflow: hidden; cursor: pointer; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--t); }
.showcase-item:hover img { transform: scale(1.06); }
.showcase-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,15,.92), transparent 60%); }
.showcase-cap { position: absolute; left: 24px; bottom: 22px; z-index: 2; }
.showcase-cap .eyebrow { color: var(--gold); font-size: 9px; margin-bottom: 6px; }
.showcase-cap h4 { font-family: var(--f-display); font-size: 20px; color: var(--cream); font-weight: 300; }

/* ── PROJECTS PAGE ───────────────────────────────────────── */
.filters { display: flex; gap: 8px; justify-content: center; margin-bottom: 54px; flex-wrap: wrap; }
.filter-btn { padding: 11px 22px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--cream-2); transition: all .3s var(--t); background: transparent; font-weight: 500; }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.proj-card { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; background: #222; display: block; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--t); }
.proj-card:hover img { transform: scale(1.06); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,15,.95) 0%, rgba(10,12,15,.5) 38%, transparent 70%); }
.proj-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.proj-cat { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.proj-title { font-family: var(--f-display); font-size: 22px; color: var(--cream); margin-bottom: 14px; line-height: 1.2; font-weight: 300; }
.proj-link { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-2); display: inline-flex; gap: 8px; align-items: center; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--bg-dark); border-top: 1px solid var(--line); padding: 38px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-logo .logo-svg { height: 38px; width: auto; }
.footer-links { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); transition: color .25s var(--t); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted-2); }
.footer-contact div { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cream-2); transition: all .3s var(--t); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-dark); padding: 32px; gap: 24px; border-top: 1px solid var(--line); }
  .tri { grid-template-columns: repeat(2,1fr); }
  .tri-item:nth-child(2) { border-right: none; }
  .approach-grid { grid-template-columns: repeat(3,1fr); }
  .approach-item:nth-child(3n) { border-right: none; }
  .proj-carousel-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .proj-card-c, .proj-card-c.is-active { width: calc(80vw) !important; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 360px; }
  .about-feature-inner { grid-template-columns: 1fr; gap: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .home-contact { grid-template-columns: 1fr; }
  .home-contact-left { min-height: 380px; justify-content: flex-end; }
  .home-contact-right { padding: 60px 40px; }
  .page-cta { grid-template-columns: 1fr; }
  .page-cta-img { min-height: 300px; position: relative; }
  .page-cta-img img { position: absolute; }
  .page-cta-content { padding: 56px 40px; border-left: none; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-logo { align-items: center; }
  .footer-links { justify-content: center; }
  .hero-dots { display: none; }
  .container { padding: 0 22px; }
  .stats-bg { display: none; }
  .values { grid-template-columns: repeat(2,1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .projects-grid, .showcase-grid { grid-template-columns: repeat(2,1fr); }
  .home-contact-form .form-row { grid-template-columns: 1fr; }
  .brands-tile-grid { grid-template-columns: repeat(2,1fr); }
  .brand-tile-wide { grid-column: span 1; }
}

@media (max-width: 680px) {
  .tri { grid-template-columns: 1fr; }
  .tri-item { border-right: none; border-bottom: 1px solid rgba(13,15,18,.08); }
  .approach-grid { grid-template-columns: repeat(2,1fr); }
  .approach-item { border-right: none; border-bottom: 1px solid var(--line); }
  .approach-item:nth-child(odd) { border-right: 1px solid var(--line); }
  /* Touch approach: stack layers */
  .approach-item { height: auto; }
  .approach-front { position: static; opacity: 1; transform: none; padding: 24px 16px 10px; pointer-events: auto; }
  .approach-back  { position: static; opacity: 1; transform: none; background: transparent; padding: 0 16px 24px; pointer-events: auto; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-num { font-size: 52px; }
  .section { padding: 72px 0; }
  .values { grid-template-columns: 1fr; }
  .projects-grid, .showcase-grid { grid-template-columns: 1fr; }
  .proj-card-c, .proj-card-c.is-active { width: calc(100vw - 44px) !important; }
  .carousel-track { padding: 0 22px; gap: 12px; }
  .timeline-alt::before { left: 24px; transform: none; }
  .tl-alt-item, .tl-alt-item.left, .tl-alt-item.right { display: block; padding: 32px 0 32px 56px; min-height: auto; }
  .tl-alt-item + .tl-alt-item { border-top: 1px solid var(--line); }
  .tl-marker { position: absolute; left: 15px; top: 36px; }
  .tl-alt-item { position: relative; }
  .tl-content, .tl-alt-item.left .tl-content, .tl-alt-item.right .tl-content { padding: 0; text-align: left; }
  .tl-content p, .tl-alt-item.left .tl-content p, .tl-alt-item.right .tl-content p { margin-left: 0; margin-right: 0; max-width: none; }
  .tl-visual, .tl-alt-item.left .tl-visual, .tl-alt-item.right .tl-visual { display: none; }
  .brands-tile-grid { grid-template-columns: repeat(2,1fr); }
  .split-text { padding: 60px 22px; }
  .home-contact-left { padding: 60px 24px 48px; }
  .home-contact-right { padding: 48px 24px; }
}

/* ============ CONTACT FORM 7 OVERRIDES ============ */
.wpcf7-form p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 form.contact-form, .wpcf7 form.home-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.wpcf7-form .form-grid, .wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form .form-grid > span,
.wpcf7-form .form-row > span,
.wpcf7-form .form-grid .wpcf7-form-control-wrap,
.wpcf7-form .form-row .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form p:has(textarea) {
  width: 100%;
}

/* Fallback: if CF7 strips custom div wrappers, pair up auto-generated <p> tags
   for the contact-page form (name+phone, email+company, service+timeline) */
.contact-form form.wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form form.wpcf7-form > p:nth-child(1),
.contact-form form.wpcf7-form > p:nth-child(2),
.contact-form form.wpcf7-form > p:nth-child(3),
.contact-form form.wpcf7-form > p:nth-child(4),
.contact-form form.wpcf7-form > p:nth-child(5),
.contact-form form.wpcf7-form > p:nth-child(6) {
  grid-column: span 1;
  margin: 0;
}
.contact-form form.wpcf7-form > p:nth-child(7),
.contact-form form.wpcf7-form > p:last-child {
  grid-column: 1 / -1;
}
@media (max-width: 720px) {
  .contact-form form.wpcf7-form {
    grid-template-columns: 1fr;
  }
}
.wpcf7-form .form-input,
.wpcf7-form .form-select,
.wpcf7-form .form-textarea {
  width: 100%;
}
.wpcf7-form textarea.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 12px;
  margin-top: 4px;
}
.wpcf7-response-output {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid var(--line);
}
.wpcf7-mail-sent-ok {
  color: var(--gold);
  border-color: var(--gold);
}
@media (max-width: 720px) {
  .wpcf7-form .form-grid, .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }
}
