/* ==========================================================================
   VETRA MEDIA — Design System
   --------------------------------------------------------------------------
   Brand tokens are derived from the Vetra Media logo (cobalt blue / crimson
   red / ink black / warm cream, bold condensed display type + a script "PR"
   accent). Everything below reads from the CSS variables in :root — to
   re-theme the entire site, edit ONLY the variables block. Nothing else
   should need to change.
   ========================================================================== */

/* -------------------------- Fonts -------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

:root {
  /* ---- Brand colors (from the Vetra Media logo) ---- */
  --ink: #0a0a0d;
  --ink-soft: #141418;
  --ink-elev: #1c1c22;
  --bone: #f7f2ea;
  --bone-dim: #ece4d8;
  --blue: #3576d6;
  --blue-deep: #1e3f8f;
  --blue-bright: #4f8ef0;
  --red: #c6342b;
  --red-deep: #8f2019;
  --red-bright: #e2453a;
  --teal: #2bb8ae;
  --periwinkle: #a9c6ef;

  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(53,118,214,0.16) 0%, rgba(198,52,43,0.16) 100%);
  --gradient-radial-glow: radial-gradient(circle at 30% 20%, rgba(53,118,214,0.35), transparent 60%),
                          radial-gradient(circle at 75% 75%, rgba(198,52,43,0.3), transparent 55%);

  /* ---- Semantic tokens ---- */
  --bg: var(--ink);
  --bg-soft: var(--ink-soft);
  --bg-elev: var(--ink-elev);
  --fg: var(--bone);
  --fg-dim: rgba(247,242,234,0.68);
  --fg-faint: rgba(247,242,234,0.42);
  --line: rgba(247,242,234,0.12);
  --line-strong: rgba(247,242,234,0.22);

  --bg-light: var(--bone);
  --fg-on-light: var(--ink);
  --fg-on-light-dim: rgba(10,10,13,0.64);
  --line-on-light: rgba(10,10,13,0.12);

  /* ---- Type ---- */
  --font-display: 'Clash Display', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Instrument Serif', 'Times New Roman', serif;

  /* ---- Scale / layout ---- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* -------------------------- Reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--bone); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-elev); border-radius: 10px; border: 2px solid var(--ink); }

/* subtle grain texture for premium editorial feel */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }

.h-display { font-size: clamp(2.8rem, 7vw, 6.4rem); font-weight: 600; }
.h-xl { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.h-lg { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
.h-md { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--fg-dim); font-weight: 400; line-height: 1.55; }
.on-light .lede { color: var(--fg-on-light-dim); }

.accent-serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim);
}
.on-light .eyebrow { color: var(--fg-on-light-dim); }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gradient-brand); flex: none; border-radius: 2px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-light { background: var(--bg-light); color: var(--fg-on-light); }
.on-light h1, .on-light h2, .on-light h3, .on-light h4 { color: var(--fg-on-light); }
.on-soft { background: var(--bg-soft); }

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

/* -------------------------- Buttons -------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1em 1.9em; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease), background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  white-space: nowrap; will-change: transform;
}
.btn svg { width: 1em; height: 1em; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--primary { background: var(--gradient-brand); color: var(--bone); box-shadow: 0 8px 30px -10px rgba(198,52,43,0.55); }
.btn--primary:hover { box-shadow: 0 12px 40px -8px rgba(198,52,43,0.7); }

.btn--outline { border-color: var(--line-strong); color: var(--fg); }
.btn--outline:hover { border-color: var(--fg); background: rgba(247,242,234,0.06); }
.on-light .btn--outline { border-color: var(--line-on-light); color: var(--fg-on-light); }
.on-light .btn--outline:hover { background: rgba(10,10,13,0.05); border-color: var(--fg-on-light); }

.btn--sm { padding: 0.7em 1.3em; font-size: 0.82rem; }
.btn--block { width: 100%; }

/* -------------------------- Nav -------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: clamp(0.9rem, 2vw, 1.4rem) var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10,10,13,0.72); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }

.logo { display: inline-flex; align-items: baseline; gap: 0.4em; font-family: var(--font-display); }
.logo .l1 { font-size: 1.4rem; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.logo .l2 { font-size: 1.4rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .dot { color: var(--red); }
.logo img { height: 34px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.2rem); }
.nav-links a:not(.btn) {
  position: relative; font-size: 0.92rem; font-weight: 600; color: var(--fg-dim);
  transition: color 0.3s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gradient-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--fg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 600; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--fg); transition: transform 0.4s var(--ease), opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0; z-index: 400; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 8vh var(--gutter);
  transform: translateY(-100%); transition: transform 0.55s var(--ease); background-image: var(--gradient-radial-glow);
}
.mobile-panel.is-open { transform: translateY(0); }
.mobile-panel a { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--fg); }
.mobile-panel .btn { align-self: flex-start; margin-top: 1rem; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* -------------------------- Hero -------------------------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  position: relative; padding-top: 6rem; padding-bottom: 3rem;
  background: var(--ink); overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--gradient-radial-glow); opacity: 0.9; }
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero h1 { max-width: 16ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; transform: translateY(110%); }
.hero .lede { max-width: 46ch; margin-block: 1.6rem 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute; bottom: clamp(1.5rem, 4vw, 2.5rem); left: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 0.7rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint);
}
.hero-scroll .stick { width: 1px; height: 34px; background: linear-gradient(var(--fg-faint), transparent); position: relative; overflow: hidden; }
.hero-scroll .stick::after { content: ""; position: absolute; top: -100%; left: 0; right: 0; height: 100%; background: linear-gradient(var(--blue-bright), var(--red-bright)); animation: scrollDrip 2.2s ease-in-out infinite; }
@keyframes scrollDrip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.hero-stats { position: absolute; right: var(--gutter); bottom: clamp(1.5rem,4vw,2.5rem); z-index: 2; display: flex; gap: clamp(1.5rem,3vw,3rem); }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: clamp(1.4rem,2.4vw,2rem); }
.hero-stats .stat span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }

@media (max-width: 700px) { .hero-stats { display: none; } }

/* -------------------------- Marquee -------------------------- */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--ink-soft); }
.marquee-label { padding: 1.1rem var(--gutter) 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); text-align: center; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; padding-block: 1.4rem; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); padding-inline: clamp(2.5rem, 6vw, 5rem); }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; color: var(--fg-faint); white-space: nowrap; transition: color 0.3s ease; }
.marquee-track a:hover span { color: var(--fg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------- Reveal on scroll -------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.42s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.5s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.58s; }

/* -------------------------- Section headers -------------------------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 18ch; }
.section-head .lede { max-width: 40ch; margin: 0; }

/* -------------------------- Services grid (home teaser + full page) -------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { background: var(--ink); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; transition: background 0.4s ease; min-height: 220px; }
.service-card:hover { background: var(--ink-elev); }
.service-card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--fg-faint); }
.service-card .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--gradient-brand-soft); color: var(--blue-bright); }
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.2rem; margin-top: auto; }
.service-card p { color: var(--fg-dim); font-size: 0.94rem; }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-visual { order: -1; }
.service-detail .service-index { font-family: var(--font-display); font-size: 1rem; color: var(--fg-faint); margin-bottom: 1rem; }
.service-detail ul { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.6rem; }
.service-detail ul li { display: flex; gap: 0.7rem; font-size: 0.96rem; color: var(--fg-dim); align-items: flex-start; }
.service-detail ul li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.service-visual {
  aspect-ratio: 4/3.2; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.service-visual span { font-family: var(--font-display); font-size: clamp(3rem,7vw,5.5rem); font-weight: 700; opacity: 0.9; }
@media (max-width: 780px) { .service-detail, .service-detail:nth-child(even) .service-visual { grid-template-columns: 1fr; order: 0; } .service-detail { grid-template-columns: 1fr; } }

/* -------------------------- Approach / process -------------------------- */
.process { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 100px 1fr; gap: clamp(1.5rem,3vw,3rem); padding-block: clamp(1.8rem,3vw,2.6rem); border-top: 1px solid var(--line-on-light); align-items: baseline; }
.process-step:last-child { border-bottom: 1px solid var(--line-on-light); }
.process-step .step-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--fg-on-light-dim); }
.process-step h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.process-step p { color: var(--fg-on-light-dim); max-width: 62ch; }
@media (max-width: 620px) { .process-step { grid-template-columns: 1fr; gap: 0.4rem; } }

/* -------------------------- Values grid -------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(1.5rem,3vw,2.5rem); }
.value-card { padding: clamp(1.6rem,2.6vw,2.2rem); border: 1px solid var(--line-on-light); border-radius: var(--radius-md); background: rgba(10,10,13,0.02); transition: transform 0.4s var(--ease), border-color 0.4s ease; }
.value-card:hover { transform: translateY(-6px); border-color: var(--fg-on-light); }
.value-card .n { font-family: var(--font-display); font-size: 0.85rem; color: var(--fg-on-light-dim); margin-bottom: 1rem; }
.value-card p { color: var(--fg-on-light-dim); margin-top: 0.6rem; }
/* modifier for use on dark sections (e.g. homepage "Why Vetra") */
.value-card--dark { background: var(--ink-soft); border-color: var(--line); }
.value-card--dark:hover { border-color: var(--line-strong); }
.value-card--dark .n { color: var(--fg-faint); }
.value-card--dark p { color: var(--fg-dim); }

/* -------------------------- Clients grid + filters -------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(2rem,4vw,3rem); }
.filter-chip { padding: 0.55em 1.2em; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.85rem; font-weight: 600; color: var(--fg-dim); transition: all 0.3s var(--ease); background: none; }
.filter-chip:hover { border-color: var(--fg); color: var(--fg); }
.filter-chip.is-active { background: var(--gradient-brand); border-color: transparent; color: var(--bone); }

.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(1.5rem, 2.5vw, 2rem); }
.client-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--ink-soft); display: flex; flex-direction: column; transition: transform 0.5s var(--ease), border-color 0.5s ease;
}
.client-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.client-card .cc-visual { aspect-ratio: 16/11; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.client-card .cc-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.client-card:hover .cc-visual img { transform: scale(1.06); }
.client-card .cc-visual .cc-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,5vw,3.2rem); color: rgba(247,242,234,0.92); z-index: 2; }
.client-card .cc-visual .cc-bg { position: absolute; inset: 0; }
.client-card .cc-body { padding: clamp(1.4rem,2.4vw,1.9rem); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.client-card .cc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.client-card .cc-top h3 { font-size: 1.3rem; }
.client-card .cc-badge { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--bone); overflow: hidden; }
.client-card .cc-badge img { width: 100%; height: 100%; object-fit: cover; }
.client-card p.cc-desc { color: var(--fg-dim); font-size: 0.93rem; flex: 1; }
.client-card .cc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.client-card .cc-tags span { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-faint); }
.client-card .cc-cta { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 0.88rem; margin-top: 0.4rem; }
.client-card .cc-cta svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.client-card:hover .cc-cta svg { transform: translate(4px,-4px); }
.client-card .cc-cta { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.client-card .cc-cta svg { color: var(--red-bright); }

.clients-empty { text-align: center; padding: 5rem 1rem; color: var(--fg-dim); }
.clients-empty h3 { margin-bottom: 0.8rem; }

/* -------------------------- Case study -------------------------- */
.cs-hero { padding-top: 9rem; padding-bottom: 3rem; position: relative; overflow: hidden; }
.cs-hero::before { content:""; position:absolute; inset:0; background: var(--gradient-radial-glow); opacity: 0.7; }
.cs-back { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.85rem; font-weight: 600; color: var(--fg-dim); margin-bottom: 2rem; }
.cs-back:hover { color: var(--fg); }
.cs-meta-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.cs-meta-row span { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35em 0.85em; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-faint); }
.cs-hero h1 { position: relative; z-index: 2; max-width: 20ch; }
.cs-hero .lede { position: relative; z-index: 2; max-width: 56ch; margin-top: 1.4rem; }
.cs-hero-actions { position: relative; z-index: 2; display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }

.cs-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; margin-top: clamp(2rem,4vw,3.5rem); border: 1px solid var(--line); position: relative; display: flex; align-items: center; justify-content: center; }
.cs-cover img { width: 100%; height: 100%; object-fit: cover; }
.cs-cover .cc-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem,9vw,7rem); color: rgba(247,242,234,0.95); position: relative; z-index: 2; }

.cs-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(2.5rem, 6vw, 6rem); }
.cs-side dl { display: flex; flex-direction: column; gap: 1.4rem; }
.cs-side dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 0.4rem; }
.cs-side dd { font-size: 1rem; font-weight: 600; }
.cs-side .cs-services { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cs-side .cs-services span { font-size: 0.78rem; padding: 0.35em 0.8em; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg-dim); }
.cs-body h2 { margin-bottom: 1rem; margin-top: 2.6rem; }
.cs-body h2:first-child { margin-top: 0; }
.cs-body p { color: var(--fg-dim); max-width: 68ch; }
.cs-body p + p { margin-top: 1rem; }

.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1.5rem; margin-block: clamp(2.5rem,4vw,4rem); padding: clamp(1.8rem,3vw,2.6rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-soft); }
.cs-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); }
.cs-stat span { font-size: 0.78rem; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.cs-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.2rem; margin-block: clamp(2rem,4vw,3rem); }
.cs-gallery figure { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; }

.cs-quote { border-left: 2px solid transparent; border-image: var(--gradient-brand) 1; padding-left: clamp(1.2rem,3vw,2rem); margin-block: clamp(2.2rem,4vw,3.5rem); }
.cs-quote p { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.8rem); color: var(--fg); max-width: 42ch; }
.cs-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.85rem; color: var(--fg-faint); }

.cs-nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--line); margin-top: clamp(3rem,6vw,5rem); }
.cs-nav a { display: flex; flex-direction: column; gap: 0.4rem; max-width: 46%; }
.cs-nav a:last-child { text-align: right; align-items: flex-end; }
.cs-nav .cs-nav-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-faint); }
.cs-nav .cs-nav-name { font-family: var(--font-display); font-size: clamp(1.1rem,2vw,1.5rem); font-weight: 600; }

@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr; } }

/* -------------------------- Testimonial band -------------------------- */
.quote-band { text-align: center; }
.quote-band p { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.5rem,3.4vw,2.6rem); max-width: 26ch; margin-inline: auto; }
.quote-band cite { display: block; margin-top: 1.6rem; font-style: normal; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; }

/* -------------------------- CTA banner -------------------------- */
.cta-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(3rem,7vw,6rem) var(--gutter); text-align: center; background: var(--ink-soft); border: 1px solid var(--line); }
.cta-banner::before { content:""; position:absolute; inset:0; background: var(--gradient-radial-glow); }
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { max-width: 18ch; margin-inline: auto; }
.cta-banner .btn { margin-top: 2rem; }

/* -------------------------- Forms -------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--fg-dim); }
.field input, .field select, .field textarea {
  background: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.9em 1em; color: var(--fg); font-size: 0.96rem; transition: border-color 0.3s ease, background 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: var(--ink-elev); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23F7F2EA' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; }
.form-note { font-size: 0.82rem; color: var(--fg-faint); margin-top: 1rem; }
.form-status { margin-top: 1.2rem; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status.is-success { display: block; color: var(--teal); }
.form-status.is-error { display: block; color: var(--red-bright); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem,5vw,5rem); }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info .ci-item dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-faint); margin-bottom: 0.5rem; }
.contact-info .ci-item dd { font-size: 1.15rem; font-weight: 600; }
.contact-info .ci-item dd a:hover { color: var(--blue-bright); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* -------------------------- Footer -------------------------- */
.footer { padding-block: clamp(3rem,6vw,4.5rem) 2rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; padding-bottom: clamp(2.5rem,5vw,4rem); }
.footer-brand p { max-width: 34ch; color: var(--fg-dim); margin-top: 1rem; }
.footer-cols { display: flex; gap: clamp(2.5rem,6vw,5rem); flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-faint); margin-bottom: 1.2rem; font-family: var(--font-body); }
.footer-col a { display: block; font-size: 0.95rem; color: var(--fg-dim); margin-bottom: 0.8rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--fg-faint); }
.footer-bottom .socials { display: flex; gap: 1.2rem; }
.footer-bottom .socials a:hover { color: var(--fg); }

/* -------------------------- Cursor / magnetic ---------------------- */
.cursor-dot { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient-brand); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); mix-blend-mode: difference; transition: opacity 0.3s ease; opacity: 0; }
.cursor-dot.is-active { opacity: 1; }
@media (hover: none) { .cursor-dot { display: none; } }

/* -------------------------- Page transition veil -------------------------- */
.page-veil { position: fixed; inset: 0; z-index: 10000; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.page-veil.is-active { animation: veilIn 0.6s var(--ease) forwards; }
@keyframes veilIn { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* -------------------------- Misc utilities -------------------------- */
.stack { display: flex; flex-direction: column; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.badge-soft { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.4em 0.9em; border-radius: 999px; background: var(--gradient-brand-soft); font-size: 0.78rem; font-weight: 700; color: var(--blue-bright); }

@media (max-width: 720px) {
  .form-grid { gap: 1.1rem; }
  .cs-hero, .about-hero, .services-hero, .clients-hero, .contact-hero { padding-top: 7rem; }
}
