/* ============================================================
   ELEVOTIX — Design System
   Dark cinematic luxury · Editorial serif + modern grotesque
   ============================================================ */

:root {
  --bg: #0b0b0c;
  --bg-2: #101012;
  --surface: #16161a;
  --line: rgba(242, 239, 233, 0.14);
  --line-soft: rgba(242, 239, 233, 0.08);
  --text: #f2efe9;
  --muted: #a09b91;
  --faint: #6e6a62;
  --accent: #c8a96e;
  --accent-soft: rgba(200, 169, 110, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
  --gutter: clamp(20px, 5vw, 72px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #0b0b0c; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.1;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.18;
}
.h-display em, .h-1 em, .h-2 em, .quote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}
.small { font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }

/* ---------- Layout ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.rule { border: none; border-top: 1px solid var(--line-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { color: #0b0b0c; }
.btn:hover::after { transform: scaleX(1); }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-solid { background: var(--accent); color: #0b0b0c; }
.btn-solid::after { background: var(--text); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s, color 0.4s;
}
.text-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
  height: 72px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo img { height: 44px; width: auto; transition: height 0.5s var(--ease); }
.nav.scrolled .nav-logo img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 42px; }
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.35s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 10px; padding: 12px 26px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 102;
}
.nav-burger span {
  width: 26px; height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(11, 11, 12, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  line-height: 1.5;
  color: var(--muted);
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.mobile-menu a.mm-link:hover, .mobile-menu a.mm-link.active { color: var(--text); padding-left: 12px; }
.mobile-menu .mm-meta { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; color: var(--faint); font-size: 14px; }
.mobile-menu .mm-meta a:hover { color: var(--accent); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(60px, 9vh, 110px);
  overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,11,12,0.96) 0%, rgba(11,11,12,0.45) 38%, rgba(11,11,12,0.25) 60%, rgba(11,11,12,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .h-display { max-width: 17ch; margin: 26px 0 30px; }
.hero .lead { max-width: 56ch; }
.hero-actions { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(60px, 9vh, 110px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Interior page hero */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.page-hero .h-display { max-width: 16ch; margin-top: 26px; }
.page-hero .lead { margin-top: 28px; }
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 78% 8%, rgba(200,169,110,0.09), transparent 60%),
    radial-gradient(ellipse 45% 40% at 12% 95%, rgba(200,169,110,0.05), transparent 60%);
  pointer-events: none;
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: 0.5em; color: var(--accent); }
.stat-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}

/* ---------- Services (pillars) ---------- */
.pillars { display: flex; flex-direction: column; }
.pillar {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(34px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.pillar:last-child { border-bottom: 1px solid var(--line-soft); }
.pillar:hover { padding-left: 18px; }
.pillar-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--faint);
  transition: color 0.4s;
}
.pillar:hover .pillar-index { color: var(--accent); }
.pillar-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; }
.pillar-desc { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 46ch; }
.pillar-arrow {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.45s var(--ease);
  flex-shrink: 0;
}
.pillar:hover .pillar-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0c;
  transform: rotate(-45deg);
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.work-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  grid-column: span 4;
}
.work-card.wide { grid-column: span 8; }
.work-card.half { grid-column: span 6; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 1.1s var(--ease), filter 0.7s;
  filter: saturate(0.92);
}
.work-card.wide img { aspect-ratio: 8 / 4.5; }
.work-card:hover img { transform: scale(1.05); filter: saturate(1.05); }
.work-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.work-card:hover .work-card-veil { opacity: 1; }
.work-card-veil .tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-card-veil .name { font-family: var(--font-display); font-size: 1.35rem; margin-top: 6px; }

/* ---------- Client marquee ---------- */
.marquee-section { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: clamp(40px, 5vw, 64px) 0; overflow: hidden; }
.marquee { display: flex; overflow: hidden; user-select: none; gap: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
  padding-right: clamp(60px, 8vw, 130px);
  flex-shrink: 0;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-track img {
  height: 34px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.4s, filter 0.4s;
}
.marquee-track img:hover { opacity: 1; filter: grayscale(0) brightness(1.2); }
.marquee-track img.tall { height: 52px; }

/* ---------- Quote ---------- */
.quote-section { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: var(--accent); display: block; margin-bottom: 34px; }
.quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.35;
  max-width: 24ch;
  margin: 0 auto;
}
.quote-attr { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.quote-attr .who { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.quote-attr .role { font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }

/* ---------- Accordion (who we serve) ---------- */
.serve-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.serve-media { position: sticky; top: calc(var(--nav-h) + 40px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.serve-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.serve-media img.active { opacity: 1; transform: scale(1); }
.acc-item { border-top: 1px solid var(--line-soft); }
.acc-item:last-child { border-bottom: 1px solid var(--line-soft); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--muted);
  transition: color 0.35s;
}
.acc-item.open .acc-trigger, .acc-trigger:hover { color: var(--text); }
.acc-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.4s var(--ease); }
.acc-icon::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.acc-icon::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.acc-body-inner { padding: 0 0 30px; color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 54ch; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.step {
  border: 1px solid var(--line-soft);
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(160deg, rgba(242,239,233,0.02), transparent 45%);
  transition: border-color 0.45s, transform 0.45s var(--ease);
}
.step:hover { border-color: rgba(200, 169, 110, 0.45); transform: translateY(-6px); }
.step-num { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--accent); }
.step-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- Service detail (services page) ---------- */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  padding: clamp(70px, 9vw, 130px) 0;
  border-top: 1px solid var(--line-soft);
}
.svc:first-of-type { border-top: none; }
.svc-media { overflow: hidden; position: relative; }
.svc-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); filter: saturate(0.95); }
.svc-media:hover img { transform: scale(1.04); }
.svc-media .svc-num {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  background: rgba(11,11,12,0.55);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border: 1px solid var(--line-soft);
}
.svc:nth-child(even) .svc-media { order: 2; }
.svc-body .eyebrow { margin-bottom: 20px; }
.svc-body .h-2 { margin-bottom: 22px; }
.svc-body .lead { font-size: 1rem; margin-bottom: 30px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 36px; }
.svc-list li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  letter-spacing: 0.02em;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 50%;
  width: 6px; height: 6px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--accent);
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.team-card { position: relative; }
.team-photo { overflow: hidden; background: var(--surface); aspect-ratio: 3 / 4; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1s var(--ease), filter 0.6s; filter: grayscale(0.25) saturate(0.9); }
.team-card:hover .team-photo img { transform: scale(1.045); filter: grayscale(0) saturate(1); }
.team-meta { padding: 22px 0 0; }
.team-role { font-size: 10.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.team-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; margin: 8px 0 10px; }
.team-bio { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.team-links { margin-top: 14px; display: flex; gap: 18px; }
.team-links a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; padding-bottom: 3px; }
.team-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.value {
  padding: clamp(30px, 3.5vw, 48px);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(242,239,233,0.02), transparent 50%);
  transition: border-color 0.4s;
}
.value:hover { border-color: rgba(200,169,110,0.4); }
.value .v-num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1rem; }
.value h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; margin: 16px 0 12px; }
.value p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(50px, 7vw, 120px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-block .label { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.contact-block a.big, .contact-block .big {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  transition: color 0.35s;
}
.contact-block a.big:hover { color: var(--accent); }
.contact-block p { color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.4s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #0b0b0c; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 300;
  transition: border-color 0.4s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; margin-top: 10px; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); }
.form-status { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #d98a7e; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(100px, 13vw, 190px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img, .cta-band-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.8); }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, transparent, var(--bg) 90%); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-band .h-display { max-width: 15ch; }
.cta-band .lead { text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(36px, 5vw, 70px); margin-bottom: clamp(50px, 7vw, 80px); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; line-height: 1.8; }
.footer h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pillar { grid-template-columns: 60px 1fr auto; }
  .pillar-desc { grid-column: 2 / 3; grid-row: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .work-card, .work-card.wide, .work-card.half { grid-column: span 12; }
  .work-card img, .work-card.wide img { aspect-ratio: 4 / 3; }
  .serve-layout, .svc, .contact-layout { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .serve-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .values-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
